From 54ab40eca3eaf93df47610e9a57eb5d2b8c84220 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Thu, 9 May 2019 12:31:56 +0530 Subject: [PATCH] inline image changes :ps --- .sourcemaps/main.js.map | 2 +- package.json | 2 +- .../app/src/main/assets/www/build/main.css | 33193 ++- .../app/src/main/assets/www/build/main.js | 25787 +- .../src/main/assets/www/build/polyfills.js | 0 .../src/main/assets/www/build/sw-toolbox.js | 0 .../app/src/main/assets/www/build/vendor.js | 203814 ++++++++++++++- src/pages/input/input.ts | 2 +- .../pd-question-address.html | 13 + .../pd-question-business-info.html | 259 +- .../pd-question-business-info.ts | 84 +- .../pd-question-general-info.html | 96 +- .../pd-question-general-info.scss | 19 +- .../pd-question-general-info.ts | 68 +- src/providers/common-provider/camera.ts | 5 +- www/build/main.css | 16 +- 16 files changed, 263246 insertions(+), 114 deletions(-) mode change 100755 => 100644 platforms/android/app/src/main/assets/www/build/main.css mode change 100755 => 100644 platforms/android/app/src/main/assets/www/build/main.js mode change 100755 => 100644 platforms/android/app/src/main/assets/www/build/polyfills.js mode change 100755 => 100644 platforms/android/app/src/main/assets/www/build/sw-toolbox.js mode change 100755 => 100644 platforms/android/app/src/main/assets/www/build/vendor.js diff --git a/.sourcemaps/main.js.map b/.sourcemaps/main.js.map index 851e0ef1..5af468bd 100644 --- 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/pipes/rupee-currency-format/rupee-currency-format.ts","../../src/providers/constants/constants.ts","../../src/pages/input/input.ts","../../src/pages/otp/otp.ts","../../src/providers/storage/storage.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.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/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/providers/database/database.ts","../../src/providers/common-provider/camera.ts","../../node_modules/@angular/core/esm5 lazy","../../src/providers/common-provider/loading.ts","../../src lazy","../../src/pages/login/login.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-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.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-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.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/pages/map-address/map-address.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/pages/complete-list/complete-list.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/aws-service/cognito.service.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/providers/aws-service/aws-service.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/pdtrigger/pdtrigger.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/common-provider/toast.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAEnB;AAExC;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B,EAAS,KAAkB;QAA7E,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QAAS,UAAK,GAAL,KAAK,CAAa;QAC9F,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC;IACpC,CAAC;IAGD,kD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AAC;YAC9B,KAAK,EAAC,qBAAqB;YAC3B,OAAO,EAAE,qFAAqF;YAChG,QAAQ,EAAC,gBAAgB;YACzB,OAAO,EAAC;gBACN;oBACE,IAAI,EAAC,sBAAsB;oBAC3B,OAAO,EAAC;wBACP,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;wBACtB,MAAM,CAAC,KAAK;oBACb,CAAC;iBACF;gBACD;oBACE,IAAI,EAAC,KAAK;oBACV,OAAO,EAAC;wBACP,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;wBACpB,MAAM,CAAC,KAAK;oBACb,CAAC;iBACF;gBACD;oBACE,IAAI,EAAC,IAAI;oBACT,OAAO,EAAC;wBACP,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;wBACnB,MAAM,CAAC,KAAK;oBACb,CAAC;iBACF;aACF;SACA,CAAC;QACF,kBAAkB;QAClB,6BAA6B;QAE/B,MAAM,CAAC,KAAK;IACZ,CAAC;IAzGY,aAAa;QADzB,yEAAU,EAAE;yCAGc,wEAAU,EAAc,sEAAe,EAAmB,sEAAe;OAFvF,aAAa,CA0GzB;IAAD,oBAAC;CAAA;AA1GyB","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ConstantsProvider } from '../constants/constants';\nimport { Observable } from 'rxjs';\nimport {CacheService} from 'ionic-cache'\n\n/*\n Generated class for the QuestionCategoryProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class QuestionCategoryProvider {\napiurl:any;\n constructor(public http: HttpClient,public constant:ConstantsProvider,private cache:CacheService) {\n console.log('Hello QuestionCategoryProvider Provider');\n this.apiurl = constant.apiurl();\n }\n \n \n getLoadTemplate(pdid)\n {\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\n }\n saveQusetion(saveData)\n {\n let records = {'records':[saveData]};\n return this.http.post(this.apiurl+'savePDQuestions',records);\n }\n\n \n getAnswerTemplate(qustDetails)\n {\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\n }\n\n /***\n * Get PD Questions dropdown api\n * sriram\n */\n getcommondrop(tableName)\n {\n \n // return Observable.defer(()=>{\n let masters = {'master_name':tableName}\n return this.http.post(this.apiurl+'getListOfMaster',masters);\n // return this.cache.loadFromObservable(cacheKey,data)\n // })\n }\n\n saveForm(records)\n { let record = {'records':records};\n return this.http.post(this.apiurl+'savePDFormDetails',record);\n }\n\n retiverForm(records)\n {\n return this.http.post(this.apiurl+'getPDFormDetails',records);\n }\n\n /**Assessed Form Details API */\n saveassessedForms(api,saveData)\n {\n return this.http.post(this.apiurl+api,saveData);\n }\n\n retiverassessedForm(api,records)\n {\n console.log(\"rec\",records)\n return this.http.post(this.apiurl+api,records);\n }\n\n updatePdApplicant(editData: any) {\n // editData.fk_updatedby = this._aws.getlocale();\n // editData.updatedon = currentdate;\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\n\n \n}\n\ngetEndUseForLoan(pdid:any,subproduct){\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\n}\ngetCompaniesListsForBusiness(pdid:any){\n // let cacheKey=pdid\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\n // return this.cache.loadFromObservable(cacheKey,data)\n}\ngetStateWiseCities(stateid:any){\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\n}\ngetAllPersonsName(pdid:any){\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\n \n}\ngetStateCityDetails(){\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\n}\ngetAssetsWithLoanFromBusiness(pdid:any){\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\n\n}\n\n\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\n}\n\n/** For Stock Details \n * To Get The Products With TypeofActivity From Business \n **/\nstockFormAccess(pdid: any,companyid: any) {\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\n}\n\n\n\n/*****Save Images */\nsavePDImages(imagesDetails)\n{ \n let record = {'records':imagesDetails};\n return this.http.post(this.apiurl+'savePDPhotos',record);\n}\ngetPDImages(records){\n let record={'records':records};\n return this.http.post(this.apiurl+'getPDImages',record);\n}\ngetFamilyDetails(pdid:any){\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\n}\ngetAddressDetails(pdid:any){\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\n}\ngetStateCityNamesAndPincode(values:any){\n return this.http.post(this.apiurl+'getStateCityNamesAndPincode',{'records':values})\n}\n // get customers list\ngetCustomersDetails(): Observable {\n return this.http.get(this.apiurl + 'getListOfCustomerSegments')\n \n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdQuestionPage } from '../pd-question/pd-question';\nimport Chart from 'chart.js';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\n\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionBusinessPage } from '../pd-question/pd-question-business/pd-question-business'\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\nimport {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\n/**\n * Generated class for the PdQuestionCategoryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question-category',\n templateUrl: 'pd-question-category.html',\n})\nexport class PdQuestionCategoryPage {\n searchTempForm: any;\n searchQuestion: any;\n viewchange: boolean;\n templateAccess: boolean;\n bgColortempForm: any=[];\n bgColorqustCat: any=[];\n dis_forms:any;\n // @ViewChild('doughnutCanvas') doughnutCanvas;\n pdinfo: any;\nquestionList:any;\nquestionCate:any;\nquestionCateAccess:boolean = null;\nquestionfinishedList:any =[];\npddetails:any=[];\noverallqustioncountAccess:boolean = true;\ndoughnutChart: any;\ncompletedAccess:any;\nsearchitem:any;\n enableAddonPD: boolean=false;\n pageTitle:string;\n complete_btn:boolean=true;\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,public pdstatusprovide:PdtriggerProvider) {\n this.pddetails = this.navParams.get('pdDetails');\n this.pageTitle=this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for'+' '+this.pddetails.parent_pd_id\n \n let params: any={};\n params.pd_id = this.pddetails.pd_id;\n this.pdstatusprovide.getPDCompleteDetails(params).subscribe(result => {\n if (result['dataStatus'] === true) {\n this.enableAddonPD = result['records'].address_count>0 ? true: false;\n console.log(\"addon\",this.enableAddonPD);\n }\n });\n\n this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewCanEnter()\n {\n this.getcategoryList(); \n }\n // doughuntChart()\n // {\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\n \n // type: 'doughnut',\n // data: {\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n // datasets: [{\n // label: '# of Votes',\n // data: [12],\n // backgroundColor: [\n // // 'rgba(255, 99, 132, 0.2)',\n // 'rgba(54, 162, 235, 0.2)',\n // // 'rgba(255, 206, 86, 0.2)',\n // // 'rgba(75, 192, 192, 0.2)',\n // // 'rgba(153, 102, 255, 0.2)',\n // // 'rgba(255, 159, 64, 0.2)'\n // ],\n // hoverBackgroundColor: [\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\",\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\"\n // ]\n // }]\n // }\n\n // });\n // }\n ionViewDidLoad() {\n this.shared.refresh();\n //this.doughuntChart();\n console.log('ionViewDidLoad PdQuestionCategoryPage');\n }\n \n getcategoryList()\n {\n let j = 1;\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\n {\n this.questionCate = res;\n if(this.questionCate.dataStatus == true)\n {\n \n this.questionCate = this.questionCate.records;\n this.random_ng_past(); \n this.complete_btn= this.questionCate.pdmaster_details.pd_status == \"ADD_ON_PENDING\" ? false : this.questionCate.pdmaster_details.pd_status == \"COMPLETED\" ? false :true\n // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\n // {\n // this.questionCateAccess = true;\n // this.templateAccess = true;\n // this.questionCate = this.questionCate;\n // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n // this.searchQuestion = this.questionCate.question_answers;\n\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)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n \n \n \n \n \n // }else \n if(this.questionCate.template_forms!='')\n {\n this.templateAccess = true;\n this.questionCate = this.questionCate\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n console.log(\"temp\",this.questionCate);\n\n this.searchTempForm = this.questionCate.template_forms\n // for(let i of this.dis_forms){\n // if(i.)\n // }\n let answered=this.dis_forms.filter(res=>res.isAnswered == true)\n console.log(\"an len\",answered);\n if(answered.length == this.dis_forms.length){\n this.overallqustioncountAccess= true;\n }\n else{\n this.overallqustioncountAccess=false\n }\n \n \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)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n }\n else\n {\n this.questionCateAccess = false;\n this.templateAccess = false; \n this.questionCate = \"No Template Available\";\n }\n }\n })\n \n }\n random_ng_past()\n {\n for(let id of this.questionCate.question_answers){\n var a = Math.floor(Math.random() * 256);\n var b = Math.floor(Math.random() * 256);\n var c = Math.floor(Math.random() * 256);\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\n \n }\n for(let id of this.questionCate.template_forms){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n questionsTag(categroyId){\n \n this.pdinfo = this.pddetails; \n \n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\n // if(this.questionCate.questions.length !=\"0\"){\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\n \n // }else\n // {\n // this.getcategoryList();\n // this.toast.pdTriggerappmessage('No Question Available');\n // }\n }\n\n tempQustionTag(categroyId)\n {\n //FOR UPDATING THE PD APPLICANT LIST\n this.pdinfo = this.pddetails; \n let newData= this.questionCate.pdapplicants_detials\n console.log(\"new Data\",newData);\n this.pdinfo.applicat_details=newData\n console.log(this.pdinfo);\n\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\n if(categroyId ==5)\n {\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\n \n }else if(categroyId==12){\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }else if(categroyId==10)\n {\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==8){\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==13)\n {\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n \n }else if(categroyId==7)\n {\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n\n }else if(categroyId==6)\n {\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==4){\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==9){\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==3){\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==11)\n {\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==14)\n {\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==2)\n {\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId ==17)\n {\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }\n else if(categroyId==16)\n {\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==15)\n {\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==18)\n {\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==19)\n {\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }\n else if(categroyId==20)\n {\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n }\n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n // this.questionCate = this.searchQuestion;\n // this.questionCate.template_forms = this.searchTempForm;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n if(this.searchQuestion !== undefined){\n if (q.trim() == '') {\n return ;\n }else{\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n // return true;\n // }\n // })\n }\n }else\n {\n if (q.trim() == '') {\n return ;\n }else{\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n// return true;\n// }\n// })\n }\n }\n}\ncompletePDAlert()\n{ \n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n return;\n }\n if(this.enableAddonPD == true){//FOR CHECKING THE ADDRESS COUNT. IF VALUE 1 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlertForCompletePD() \n alert.present();\n alert.onDidDismiss(data=>{\n if(data == 'yes'){\n \n this.completed('COMPLETED');\n }\n else if(data == 'addon'){\n this.completed('ADD_ON_PENDING')\n } \n else{\n reject();\n }\n })\n })\n}\nelse{ //IF ADDRESS COUNT 0 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlert('Complete Discussion','Please confirm you are completing the Discussion and forwarding for Quality Check ?')\n alert.present()\n alert.onDidDismiss(data=>{\n if(data==false){\n reject()\n }\n else{\n this.completed('COMPLETED')\n }\n })\n })\n}\n}\n completed(status:string)\n {\n \n \n //alert.present();\n let users = this.aws.getlocale();\n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n }\n else{\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':status,'fk_updatedby':users,'updatedon':currentdate};\n \n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\n {\n this.completedAccess = res;\n if(this.completedAccess.dataStatus == true)\n {\n this.toast.pdTriggerappmessage(\"Completed Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.setRoot(PdListPage);\n },2000);\n \n \n }\n })\n }\n}\n doRefresh(refresher) {\n this.questionCate = [];\n this.questionfinishedList = [];\n this.shared.refresh();\n this.getcategoryList();\n setTimeout(() => {\n refresher.complete();\n }, 2000);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the RupeeCurrencyFormatPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'rupeeCurrencyFormat',\n})\nexport class RupeeCurrencyFormatPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any):any {\n if (!isNaN(value) && value) {\n var currencySymbol = '₹';\n //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! \n var result = value.toString().split('.');\n\n var lastThree = result[0].substring(result[0].length - 3);\n var otherNumbers = result[0].substring(0, result[0].length - 3);\n if (otherNumbers != '')\n lastThree = ',' + lastThree;\n var output = otherNumbers.replace(/\\B(?=(\\d{2})+(?!\\d))/g, \",\") + lastThree;\n \n if (result.length > 1) {\n output += \".\" + result[1];\n } \n\n return currencySymbol+output;\n }\n // return value.toLowerCase();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/rupee-currency-format/rupee-currency-format.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\n/*\n Generated class for the ConstantsProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ConstantsProvider {\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\n constructor(public http: HttpClient) {\n console.log('Hello ConstantsProvider Provider');\n }\n\n apiurl()\n {\n let testapiurl = 'http://ssa.sineedge.com/sparqtest/api/';\n let testapiurl_beta='http://ssa.sineedge.com/sparqtest_beta/api/';\n let devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/';\n let devapiurl = 'http://ssa.sineedge.com/sparqapi/api/';\n let localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/';\n return devapiurl;\n }\n\n getcurrentDate()\n {\n var today = new Date();\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\n var time = today.getHours() + \":\" + today.getMinutes();\n let CurrentDate = date+\"T00:00\";\n return CurrentDate.toString();\n }\n \n convertNumberToWords(price) {\n price = price.toString();\n let atemp = price.split(\".\");\n let amount = atemp[0];\n\n var sglDigit = [\"Zero\", \"One\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\", \"Nine\"],\n dblDigit = [\"Ten\", \"Eleven\", \"Twelve\", \"Thirteen\", \"Fourteen\", \"Fifteen\", \"Sixteen\", \"Seventeen\", \"Eighteen\", \"Nineteen\"],\n tensPlace = [\"\", \"Ten\", \"Twenty\", \"Thirty\", \"Forty\", \"Fifty\", \"Sixty\", \"Seventy\", \"Eighty\", \"Ninety\"],\n \n handle_tens = function(dgt, prevDgt) {\n return 0 == dgt ? \"\" : \" \" + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt])\n },\n handle_utlc = function(dgt, nxtDgt, denom) {\n return (0 != dgt && 1 != nxtDgt ? \" \" + sglDigit[dgt] : \"\") + (0 != nxtDgt || dgt > 0 ? \" \" + denom : \"\")\n };\n\n var str = \"\",\n digitIdx = 0,\n digit = 0,\n nxtDigit = 0,\n words = [];\n if (amount += \"\", isNaN(parseInt(amount))) str = \"\";\n else if (parseInt(amount) > 0 && amount.length <= 10) {\n for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) \n switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) {\n case 0:\n words.push(handle_utlc(digit, nxtDigit, \"\"));\n break;\n case 1:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 2:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? \" and\" : \"\") : \"\");\n break;\n case 3:\n words.push(handle_utlc(digit, nxtDigit, \"Thousand\"));\n break;\n case 4:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 5:\n words.push(handle_utlc(digit, nxtDigit, \"Lakh\"));\n break;\n case 6:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 7:\n words.push(handle_utlc(digit, nxtDigit, \"Crore\"));\n break;\n case 8:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 9:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? \" and\" : \" Crore\") : \"\")\n // break; \n // case 10:\n // words.push(0 != digit ? \" \" + sglDigit[digit] + \" Lakh\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] ? \" and\" : \" Hundred\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] || 0 != price[digitIdx + 3] ? \" and\" : \" Crore\")) \n // : \"\")\n // break;\n }\n str = words.reverse().join(\"\")\n // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str;\n } else str = \"\";\n return str\n\n // var words = new Array();\n // words[0] = '';\n // words[1] = 'One';\n // words[2] = 'Two';\n // words[3] = 'Three';\n // words[4] = 'Four';\n // words[5] = 'Five';\n // words[6] = 'Six';\n // words[7] = 'Seven';\n // words[8] = 'Eight';\n // words[9] = 'Nine';\n // words[10] = 'Ten';\n // words[11] = 'Eleven';\n // words[12] = 'Twelve';\n // words[13] = 'Thirteen';\n // words[14] = 'Fourteen';\n // words[15] = 'Fifteen';\n // words[16] = 'Sixteen';\n // words[17] = 'Seventeen';\n // words[18] = 'Eighteen';\n // words[19] = 'Nineteen';\n // words[20] = 'Twenty';\n // words[30] = 'Thirty';\n // words[40] = 'Forty';\n // words[50] = 'Fifty';\n // words[60] = 'Sixty';\n // words[70] = 'Seventy';\n // words[80] = 'Eighty';\n // words[90] = 'Ninety';\n // amount = amount.toString();\n // var atemp = amount.split(\".\");\n // var number = atemp[0].split(\",\").join(\"\");\n // var n_length = number.length;\n // let value:any = \"\";\n // var words_string = \"\";\n // if (n_length <= 9) {\n // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\n // var received_n_array = new Array();\n // for (var i = 0; i < n_length; i++) {\n // received_n_array[i] = number.substr(i, 1);\n // }\n // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\n // n_array[i] = received_n_array[j];\n // }\n // for (var i = 0, j = 1; i < 9; i++, j++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // if (n_array[i] == 1) {\n // n_array[j] = 10 + parseInt(n_array[j]);\n // n_array[i] = 0;\n // }\n // }\n // }\n // value = \"\";\n // for (var i = 0; i < 9; i++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // value = n_array[i] * 10;\n // } else {\n // value = n_array[i];\n // }\n // if (value != 0) {\n // words_string += words[value] + \" \";\n // }\n // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Crores \";\n // }\n // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Lakhs \";\n // }\n // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Thousand \";\n // }\n // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\n // words_string += \"Hundred and \";\n // } else if (i == 6 && value != 0) {\n // words_string += \"Hundred \";\n // }\n // }\n // words_string = words_string.split(\" \").join(\" \");\n // }\n // return words_string;\n}\n//FOR SEARCHABLE DROP DOWN\nsearchData(data,val: any,option) {\n let DataValue:any\n // let nameVal=name.toLowerCase()\n console.log(\"statedata\")\n if (!data) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n DataValue=data.slice()\n return DataValue\n \n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n if(option == \"bank\"){\n DataValue=data.filter(res => res.lender_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"city\"){\n console.log(\"city\",data)\n DataValue=data.filter(res=>res.city_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"pin\"){\n DataValue=data.filter(res=>res.pincode.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else{\n //This is suitable for state\n DataValue=data.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n sentenceCase (str) {\n if ((str===null) || (str===''))\n return '';\n else\n str = str.toString();\n \n return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content,ModalController,ModalOptions } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\nimport {MatDatepicker} from '@angular/material/datepicker';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { Platform } from '@angular/cdk/platform';\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \nimport { AuthPage } from '../auth/auth';\n\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { OtpPage } from '../otp/otp';\n\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\nimport {DatePipe } from '@angular/common';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { observable, Observable } from 'rxjs';\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\nimport {PdQuestionCategoryPage} from '../../pages/pd-question-category/pd-question-category'\nimport {MapAddressPage} from '../../pages/map-address/map-address'\n\n\n\n/**\n * Generated class for the InputPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19);\n\n\n@Component({\n selector: 'page-input',\n templateUrl: 'input.html',\n})\n\n\nexport class InputPage {\n enableStartPD: boolean;\n diffInHours: number;\n updatestarted: any;\n updateinitiated: any;\n appdata: any;\n users: any;\n initiatedAccess: boolean = false;\n scheduleAccess: boolean = false;\napplicatentDetails:any;\nmaxdate :any;\npipe = new DatePipe('en-US');\nupdateStatus:any;\nscheduleDate:any;\nupdateSchedule:any;\nacceptedAccess:boolean = false;\nstartedAccess:boolean = false;\ntimeOut:any = 15*1000;\ntimeInterval:any;\ncurrentPosPDofficer:any;\nother_applicant:any=[];\nloadDetails=false;\nmainApplicant:any=[]\npdMaster:any=[]\ncheckOtpAccess:boolean = false;\n@ViewChild('focusinp') input_focus ;\n@ViewChild('scroll') scrolltop : Content;\n addresses: any=[];\n address_pd_id: any;\n address_pd_status: any='';\n address_allocated_data:any\n // address_child_schedule_time:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions,public modalCtrl:ModalController) {\n\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddTHH:mm').toString();\n // this.maxdate=new Date().toLocaleString();\n \n var date=new Date('dd');\n //console.log(date)\n var curr=date.getDate()+date.getMonth()+date.getFullYear();\n console.log(\"today\",curr)\n /***Header value pass */\n this.statusBar.styleDefault();\n \n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\n \n \n this.applicatentDetails = this.navParams.get('pdDetails');\n \n // this.getFullPD();\n \n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n \n // this.initiatedAccess = true;\n // }\n // //console.log(this.initiatedAccess);\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.getenableAccuracy();\n \n // }\n this.users = this.aws.getlocale();\n \n }\n ionViewCanEnter(){\n this.getFullPD();\n }\n // ionViewDidEnter(){\n // console.log(\"ionViewDidEnter\")\n // this.getFullPD();\n // }\n \n ionViewDidLoad() {\n this.setPermission();\n \n }\n ionViewCanLeave()\n {\n clearInterval(this.timeInterval);\n }\n locationnavicate(index)\n {\n // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode)\n let data=this.addresses[index]\n var address_full:string= data.addressline1+' ' +data.city_name+' ' +data.state_name+'-'+(data.pincode != 'Others' ? data.pincode : data.other_pincode)\n //console.log(\"add\",address_full)\n this.launchNavigator.navigate(address_full);\n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n\n getFullPD()\n {\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let records = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.other_applicant=res['records'].applicants_details\n this.mainApplicant=res['records'].applicants_details[0]\n this.pdMaster=res['records'].pd_master_details[0]\n console.log(\"other\",this.mainApplicant)\n this.addresses=res['records'].pd_address\n this.address_pd_id=this.addresses.addtional_pd_data\n //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID \n this.addresses.forEach(res=>{\n console.log(\"address\",res);\n if(res.addtional_pd_data.length != 0){\n if(res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED'){\n this.address_pd_id=res.addtional_pd_data[0].pd_id\n this.address_pd_status=res.addtional_pd_data[0].pd_status\n this.address_allocated_data=res.addtional_pd_data[0]\n \n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n //FOR CHANGING THE PD ID based on assigned pd address\n //this.applicatentDetails.pd_id=this.address_pd_id\n //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n \n this.initiatedAccess = true;\n }\n //console.log(this.initiatedAccess);\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.getenableAccuracy();\n \n }\n if(this.address_pd_status == 'STARTED')\n {\n this.checkOtpAccess=true;\n }\n console.log(\"address allocated\",this.address_allocated_data);\n console.log(this.other_applicant);\n if(this.address_allocated_data != '' && this.address_allocated_data !=undefined){\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \n let scheduledDateTime: string=this.address_allocated_data.scheduled_on_for_validation;\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\n console.log(diffInHours);\n \n if(diffInHours <-4){\n this.enableStartPD=true;\n }\n else\n {\n this.enableStartPD = false;\n }\n }\n this.loadDetails=true\n } \n \n })\n \n }\n pdStatus(status,appdetails)\n {\n let data :any;\n \n if(status == 'BOUNCED')\n {\n // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.navCtrl.push(BouncedRejectPage,{'details':data})\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {\n // this.updateStatus = res;\n // if(this.updateStatus.dataStatus == true)\n // {\n // this.navCtrl.setRoot(PdListPage); \n // }\n // })\n }else if(status == 'ACCEPTED')\n {\n \n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateStatus = res;\n if(this.updateStatus.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.scheduleAccess = true;\n \n }else\n {\n this.scheduleAccess = false;\n }\n })\n }\n \n }\n\n pdschedule(scheduledate,appdetails)\n {\n \n let data :any;\n console.log(scheduledate);\n if(scheduledate != undefined){\n let schDate = scheduledate.slice(0,19).replace('T',' ');\n console.log(schDate);\n data = {'pd_id':this.address_pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateSchedule = res;\n if(this.updateSchedule.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.initiatedAccess = true;\n }\n });\n }\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\n this.input_focus.setFocus();\n //this.input_focus.scrollToTop();\n this.scrolltop.scrollTop;\n }\n}\n\n getenableAccuracy()\n {\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.getcurrentLocation();\n },\n error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n });\n }\n getcurrentLocation() \n {\n let data:any;\n let options = {\n frequency: 3000, \n enableHighAccuracy: true,\n timeOut:1000,\n };\n \n this.timeInterval = setInterval(()=>{\n this.currentPosPDofficer = '';\n this.geolocation.getCurrentPosition(options).then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n if((resp as Geoposition).coords !=undefined){\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n console.log(this.currentPosPDofficer);\n data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n {\n // this.updateinitiated = res;\n // if(this.updateinitiated.dataStatus == true)\n // { \n // // this.getNewpdupdate();\n // // this.startedAccess = true;\n // }else\n // {\n // this.startedAccess = false;\n // }\n })\n }\n }).catch((error)=>{\n this.toast.pdTriggerappmessage(error.message);\n })\n \n },this.timeOut);\n }\n pdreschedule()\n {\n this.scheduleAccess = true;\n this.initiatedAccess = false;\n }\n pdinitiated(appdetails)\n { let data:any;\n\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.geolocation.getCurrentPosition().then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n this.getNewpdupdate();\n this.getcurrentLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n }).catch((error) => {\n console.log('Error getting location', error);\n });\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n },error=>{\n console.log(\"currnpd\",this.currentPosPDofficer);\n alert(JSON.stringify(error))\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n console.log(\"status\",\"true\");\n this.getNewpdupdate();\n this.getcurrentLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n });\n }\n checkOTP(appdetails){\n let data:any;\n this.geolocation.getCurrentPosition().then((resp) => {\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer };\n console.log(data);\nthis.pdDetails.updatepdStatus(data).subscribe(res=>\n{\n this.updatestarted = res;\nif(this.updatestarted.dataStatus == true)\n{\n //appdetails.pd_id=this.address_pd_id\n //clearInterval(this.timeInterval);\n //console.log(\"appdetails\",appdetails)\n //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n this.getNewpdupdate();\n this.startedAccess=false\n this.checkOtpAccess=true\n \n}\nelse{\n this.checkOtpAccess=false\n}\n\n},err=>alert(JSON.stringify(err)));\n // console.log('Buy clicked');\n },err=>{\n alert(JSON.stringify(err))\n })\n }\n\n startPdDiscussion()\n {\n\n let data:any;\n let alert = this.alertCtrl.create({\n title: 'Start Discussion',\n message: 'Are you starting the Discussion',\n buttons: [\n {\n text: 'No',\n role: 'cancel',\n handler: () => {\n \n // console.log('Cancel clicked');\n // this.toast.pdTriggerappmessage('')\n }\n },\n {\n text: 'YES',\n handler: () => {\n // this.geolocation.getCurrentPosition().then((resp) => {\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n \n // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer };\n // console.log(data);\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {this.updatestarted = res;\n // if(this.updatestarted.dataStatus == true)\n // {\n // appdetails.pd_id=this.address_pd_id\n // clearInterval(this.timeInterval);\n // console.log(\"appdetails\",appdetails)\n // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n // }\n \n // })\n // // console.log('Buy clicked');\n // })\n clearInterval(this.timeInterval);\n //FOR GIVING THE CORRECT ADDRESS MASTER\n console.log(\"address\",this.address_allocated_data);\n //Assigning applicant details to the params\n let pdValues= this.address_allocated_data\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.setRoot(OtpPage,{'pdDetails':pdValues});\n } \n }\n ]\n });\n alert.present();\n }\n getNewpdupdate()\n {\n console.log(\"Started\",this.startedAccess)\n console.log(\"checkOtpAccess\",this.checkOtpAccess)\n this.acceptedAccess = false;\n this.initiatedAccess = false;\n this.scheduleAccess = false;\n this.startedAccess = false;\n this.checkOtpAccess = false;\n this.pdDetails.getpddetails(this.users).subscribe(res=>\n {\n this.appdata = res;\n if(this.appdata.dataStatus == true)\n {\n \n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\n // this.address_pd_status=this.applicatentDetails\n //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let rec_pdid = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(rec_pdid).subscribe(result=>{\n if(result['dataStatus']==true){\n this.addresses= result['records'].pd_address\n result['records'].pd_address.forEach(data=>{\n if(data.addtional_pd_data.length != 0){\n if(data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED'){\n // this.address_pd_id=data.addtional_pd_data[0].pd_id\n this.address_pd_status=data.addtional_pd_data[0].pd_status\n // this.address_allocated_data=data.addtional_pd_data[0]\n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n // this.initiatedAccess = true;\n // this.getFullPD();\n // this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n // }\n\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n // }\n\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n this.initiatedAccess = true;\n this.getFullPD();\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n }\n\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n }\n if(this.address_pd_status == 'STARTED'){\n this.checkOtpAccess=true;\n }\n \n }\n })\n }\n \n })\n console.log(\"app\",this.applicatentDetails);\n \n }\n\n camerasetup()\n {\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\n }\n\n inWords(e){\n return this.constant.convertNumberToWords(+e);\n }\n\n inprogress(data,address_child){\n // data.pd_id=address_child.pd_id\n console.log(address_child)\n let pdValues=address_child\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pdValues})\n }\n mapAddress(values){\n const modalOptions:ModalOptions={\n cssClass:\"mapAddress\"\n }\n \n const modal=this.modalCtrl.create(MapAddressPage,{'master':this.pdMaster,'address':values,'applicants':this.other_applicant},modalOptions)\n modal.present();\n modal.onDidDismiss((data)=>{\n console.log(\"datas\",data)\n this.getFullPD();\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { Geolocation } from '@ionic-native/geolocation'; \nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n\n/**\n * Generated class for the OtpPage 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-otp',\n templateUrl: 'otp.html',\n})\nexport class OtpPage {\n\n \n timeLimit: any;\n reason_otp: any;\n users: any;\n timerOn: boolean = true;\n balance_time: string;\n otpStatus: any;\n pin:any;\n otpStatusAccess:boolean = true;\n applicatentDetails: any;\n commonImage:any;\n maxtime: any=30;\n //address_pd_id:any;\n \n reasonForm:FormGroup\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) {\n this.commonImage = this.commonconstant.commonimage;\n this.applicatentDetails = this.navParams.get('pdDetails');\n console.log(\"this\",this.applicatentDetails);\n // this.address_pd_id=this.navParams.get('address_pd_id')\n this.users = this.aws.getlocale();\n console.log(\"user\",this.users)\n this.reasonForm = this.fb.group(\n {\n reason:[null,Validators.compose([Validators.required])],\n others_reason:[null],\n })\n \n this.getDropdown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad OtpPage');\n }\n ionViewDidEnter(){\n //this.Menu.enable(false);\n this.setPermission();\n this.timer(120);\n \n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n ionViewWillLeave(){\n //this.Menu.enable(true);\n clearTimeout(this.timeLimit);\n }\n getDropdown()\n {\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\n console.log(this.reason_otp);\n \n }\n })\n }\n checkotp(otp)\n {\n //console.log(\"Otp\",otp)\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n //console.log(\"Otp\",res)\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }\n\n timer(remaining) {\n // console.log(remaining);\n let m:any = Math.floor(remaining / 60);\n let s:any = remaining % 60;\n \n m = m < 10 ? '0' + m : m;\n s = s < 10 ? '0' + s : s;\n // var balance_time = m + ':' + s;\n this.balance_time = m + ':' + s;\n remaining -=1;\n // console.log(this.balance_time);\n if(remaining >= 0 && this.timerOn) {\n this.timeLimit = setTimeout(()=> {\n this.timer(remaining);\n }, 1000);\n return;\n }\n \n if(!this.timerOn) {\n // Do validate stuff here\n return;\n }\n \n // Do timeout stuff here\n \n let data:any;\n let alert = this.alertCtrl.create({\n title: 'OTP Expired ',\n message: 'Do you want to resend the OTP ? ',\n buttons: [\n {\n text: 'Start PD Without OTP',\n \n handler: () => {\n \n this.otpStatusAccess = false;\n }\n },\n {\n text: 'Resend OTP',\n handler: () => {\n \n this.geolocation.getCurrentPosition().then((resp) => {\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\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};\n console.log(data);\n this.pddetails.updatepdStatus(data).subscribe(res=>\n {\n this.timer(60);\n })\n });\n // console.log('Buy clicked');\n \n } \n }\n \n ]\n \n });\n alert.present();\n }\n \n saveotpreasno()\n {\n console.log(this.reasonForm.value);\n if(this.reasonForm.valid)\n {\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};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Storage} from '@ionic/storage'\nimport {ToastProvider} from '../common-provider/toast'\n\n/*\n Generated class for the StorageProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n//const storage_key='form_Datas'\n\n@Injectable()\nexport class StorageProvider {\n\n constructor(public http: HttpClient,public storage:Storage,public toast:ToastProvider) {\n console.log('Hello StorageProvider Provider');\n }\ninsertData(data){\n this.toast.pdTriggerappmessage(this.storage.driver);\n const storage_key=data.pd_id\n console.log(\"storage provider\")\n console.log(data);\n console.log(JSON.stringify(data));\n \n console.log(\"sto\",this.storage.get(storage_key))\n return this.storage.get(storage_key).then((res)=>{\n console.log(\"res\",res)\n if(res != null ){\n let option:boolean=false\n if( res.length != 0 && res.length != undefined){\n // res.forEach((value)=>{\n // if(value.form_id==data.form_id){\n // option=true\n // }\n // })\n let current=res.filter(val=>val.form_id==data.form_id)\n console.log(\"current\",current);\n if(current.length > 0){\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n}\n let old_Data:any=[]\n old_Data=res\n console.log(\"old data\",old_Data)\n old_Data.push(data)\n return this.storage.set(storage_key,old_Data)\n \n }\n else{\n //res.push(data)\n // let dataValue=Object.keys(data).map(function(key){\n // return data[key];\n // })\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n })\n \n\n\n}\nretrieveLocalStorage(data){\n const storage_key=data.pd_id\n return this.storage.get(storage_key).then(res=>{\n console.log(\"storage get\",res)\n if(res != null){\n return res.filter(val=>val.form_id==data.form_id)\n \n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/storage/storage.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport{QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionRentalInfoPage} from '../pd-question-rental-info'\n/**\n * Generated class for the PdQuestionRentalDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n// @IonicPage()\n@Component({\n selector: 'page-pd-question-rental-dash',\n templateUrl: 'pd-question-rental-dash.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionRentalDashPage {\n pdDetails:any;\n form_details:any;\n pageTitle:any\n existing_rental_count_id: number=0;\n existing_rental_list: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.form_details=this.navParams.get('FormId');\n console.log(this.form_details);\n \n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalDashPage');\n \n }\n ionViewCanEnter(){\n this.getAllRentalInfo();\n }\n getAllRentalInfo(){\n this.existing_rental_list=[]\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id };\n this.qustCat.retiverForm(records).subscribe(res=>{\n if(res['dataStatus']==true){\n \n // console.log(\"rental\",rentalVal.length)\n // console.log(JSON.parse(res['records']))\n let rentalVal:any=res['records']\n \n \n console.log(\"tyeva\",typeof(rentalVal))\n let tempArray: any = [];\n let amt: any = [];\n this.existing_rental_count_id = rentalVal.length;\n // if(rentalVal.length >0){\n console.log(\"rental val\",rentalVal);\n \n rentalVal.forEach((value,index)=>{\n let annualRentAmt:any\n if(value.property_unit_details){\n let selectedUnit=Object.keys(value.property_unit_details).map(function(key){\n return value.property_unit_details[key]\n });\n if(selectedUnit.length>0){\n selectedUnit.forEach((element,innerIndex)=>{\n tempArray[innerIndex]=element.monthly_rent_amount\n annualRentAmt=tempArray.reduce((sum,val)=> sum+ +val,0);\n annualRentAmt=annualRentAmt*12;\n })\n }\n else{\n annualRentAmt=0;\n }\n amt[index]=annualRentAmt\n }\n let params={'state_id':value.state,'city_id':value.city,'pincode_id':value.pincode}\n this.qustCat.getStateCityNamesAndPincode(params).subscribe(datas=>{\n if(datas.dataStatus==true){\n let obj={\n 'address':value.address_property,\n 'applicants_rent': amt[index],\n 'state': datas.records.state_name,\n 'city': datas.records.city_name,\n 'pincode': datas.records.pincode,\n 'rental_count_id': value.rental_count_id,\n 'rental_existing_data': value\n }\n this.existing_rental_list.push(obj)\n console.log(\"modify\",this.existing_rental_list);\n }\n })\n })\n }\n else{\n this.existing_rental_count_id=0\n // this.addMore();\n }\n })\n console.log(\"ren\",this.existing_rental_list);\n }\n editDet(values){\n let passValues: any = {\n manage_status: 2,\n existing_rental_count_id: values.rental_count_id,\n editData: values\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{'values':passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n console.log(\"hai\");\n console.log(\"d\",values)\n }\n addMore(){\n let passValues: any = {\n manage_status: 1,\n // parentData: this.parentData,\n // masterData: this.masterData,\n existing_rental_count_id: this.existing_rental_count_id + 1,\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{\"values\":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionSupplsierInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-supplier-info',\n templateUrl: 'pd-question-supplier-info.html',\n})\n\nexport class PdQuestionSupplierInfoPage {\n users: any;\n pdDetails: any;\n formDetails: any;\n company_id: any;\n form_id: any;\n questionDetails: any;\n supplierInfoForm: FormGroup;\n\n business_manufacturingProducts: any = [];\n business_tradingProducts: any = [];\n m_titleList: any = [];\n m_paymentList: any = [];\n m_companyRelationShipList: any = [];\n\n noRecordsFound: Boolean = false;\n public submitted = false;\n errorMessage: any = '';\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider,\n public toast: ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider) \n {\n\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id = this.pdDetails.company_id;\n this.users = this.aws.getlocale();\n\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.initFormLoadDetails(datas.type_of_activity);\n this.business_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropList();\n }\n\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\n this.getPDImages();\n }\n\n\n serviceProviderForm: Boolean = false;\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = this.form_id;\n params.company_id = this.company_id;\n\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus'] == true) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.supplierInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if (dataForm.manufacturing_details[0] != null) {\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\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);\n }\n else {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\n }\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if (dataForm.trade_details[0] != null) {\n let api_trading_products = dataForm.trade_details[0].trading_products;\n this.initTradingProductsDetails(api_trading_products);\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);\n }\n else {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.serviceProviderForm = true;\n } \n this.noRecordsFound = true;\n } else {\n this.supplierInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\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);\n }\n this.noRecordsFound = true;\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.serviceProviderForm = true;\n }\n } else {\n this.supplierInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.serviceProviderForm = true;\n }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_raw_material_name: [''],\n manufacturing_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: [''],\n manufacturing_frequency_of_purchase: [''],\n person_stdcode: [''],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [''],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n\n })\n } else {\n return this.fb.group({\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\n person_stdcode: [records.person_stdcode || null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline || null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n trade_supplier_name: [records.trade_supplier_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [records.person_stdcode],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.m_companyRelationShipList = data['records']\n //.filter(data => data.isactive == 1); \n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n\n saveSupplierInfo(FormValues) {\n\n var answerFormValues = FormValues;\n\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.supplierInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n e == 1 ? '' : '';\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n e == 1 ? '' : '';\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n checkCard(e, flag, index) {\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n }\n\n selectedPaymentTerms(items, e, flag) {\n if (flag == 2) {\n if (e == 3) {\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['trade_product_credit_days_from'].clearValidators();\n items.controls['trade_product_credit_days_from'].setValue('');\n items.controls['trade_product_credit_days_to'].clearValidators();\n items.controls['trade_product_credit_days_to'].setValue('');\n }\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\n }\n else if (flag == 1) {\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['manufacturing_credit_days_from'].clearValidators();\n items.controls['manufacturing_credit_days_from'].setValue('');\n items.controls['manufacturing_credit_days_to'].clearValidators();\n items.controls['manufacturing_credit_days_to'].setValue('');\n }\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\n }\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionStockInfoPage 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-stock-info',\n templateUrl: 'pd-question-stock-info.html',\n})\nexport class PdQuestionStockInfoPage {\n\n uomData: any;\n uomDataValue:any;\n rawmaterial: any;\n users: any;\n formDetails: any;\n pdDetails: any;\n company_id: any;\n pdid: any;\n stockForm: FormGroup;\n noRecordsFound: Boolean;\n errorMessage: any = '';\n M_rawValueInWords: any = [];\n M_goodsValueInWords: any = [];\n R_tradedGoodsValueInWords: any = [];\n T_tradedGoodsValueInWords: any = [];\n mrmCommentFlag: any = [];\n mfgCommentFlag: any = [];\n rtrdCommentFlag: any = [];\n wtrdCommentFlag: any = [];\n serviceProviderForm: Boolean = false;\n suppliers_raw_materials: any = [];\n suppliers_retail_trade_details: any = [];\n suppliers_wholesale_trade_details: any = [];\n suppliers_finished_goods: any = [];\n\n protected _onDestroy = new Subject();\n\n RMCommentCard: boolean = false;\n TGCommentCard: boolean = false\n public RMsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",disabled:false},{value:\"no\",isdisplayvalue:\"No\",disabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",disabled:false}];\n public TGsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, \n public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.company_id = this.pdDetails.company_id;\n this.pdid = this.pdDetails.pd_id; \n this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(data => {\n if (data.dataStatus == true) {\n this.initstockForm(data.record);\n }\n else if (data.dataStatus == false) {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }, err => {\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\n this.getPDImages();\n }\n\n public initstockForm(record) {\n let api = Object.keys(record.from_business).map(function (key) {\n return record.from_business[key];\n });\n if (record.from_business.length > 0) {\n let type2 = record.from_business.filter(data => data.type_of_activity_id == 2);\n let type2length = type2[0].hasOwnProperty(\"products\") ? type2[0].products.length : 0;\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\n\n\n let rm_api = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id;\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(value => {\n if (value['status'] == 200) {\n let dataForm = value['records'];\n // dataForm.manufacturing_details.forEach(top=>{\n // top.manufacturing_finished_goods.forEach(below1=>{\n // below1.uomSearch=''\n // })\n // top.manufacturing_raw_materials.forEach(below2=>{\n // below2.uomSearch=''\n // })\n // })\n if (dataForm !== undefined) {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [dataForm.stock_remarks],\n\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\n is_sufficiant_finished_and_traded_goods: [dataForm.is_sufficiant_finished_and_traded_goods],\n finished_and_traded_goods_remarks: [dataForm.finished_and_traded_goods_remarks],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\n let manufacturing_temparr = [];\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials;\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods;\n this.initManufacturingDetails(manufacturing_temparr);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let retail_temparr = [];\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\n\n this.initRetailDetails(retail_temparr);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let trading_temparr = [];\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\n console.log(\"Trade\", trading_temparr)\n this.initTradingDetails(trading_temparr);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n else {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.suppliers_service_product = val.products;\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n }\n else {\n console.log(\"Record\", record)\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.suppliers_raw_materials = rm_api;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.suppliers_service_product = val.products;\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n })\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }\n\n \n\n\n getdropdown() {\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if (data['dataStatus'] == true) {\n this.uomData = data['records'].filter(uom => uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\n this.uomDataValue=this.uomData.slice();\n }\n });\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(record,length) {\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\n let rm_arr = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n //console.log(\"Manufacturing \",arr);\n //console.log(\"rm_arr\",rm_arr);\n if (length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n } else {\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n // return;\n }\n }\n\n retailForm: Boolean = false;\n retailFormCreation(val) {\n //let arr = val.filter(data => data.type_of_activity_id == 3);\n let arr = val\n // console.log(\"retail Form \", arr);\n if (arr > 0) {\n // if(arr.products != undefined){\n this.retailForm = true;\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // }else{\n // this.retailForm = false;\n // return;\n // } \n } else {\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val\n //let arr = val.filter(data => data.type_of_activity_id == 4);\n\n if (arr > 0) {\n\n // if(arr.products === undefined){\n\n // this.tradingForm = false;\n // return;\n // }\n this.tradingForm = true;\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n } else {\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n initManufacturingDetails(datas) {\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n if (this.suppliers_raw_materials.length > 0) {\n this.suppliers_raw_materials.forEach(val => {\n let Ref_RawMaterials: any = {\n 'raw_name': val,\n 'stock_observed': '',\n 'raw_quantity': '',\n 'raw_uom': '',\n 'other_uom': '',\n 'raw_value': '',\n 'is_sufficiant_raw': '',\n 'rawmaterial_remarks': ''\n };\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (this.suppliers_finished_goods.length > 0) {\n this.suppliers_finished_goods.forEach(val => {\n let Ref_Finished_Goods: any = {\n 'goods_name': val,\n 'goods_observed': '',\n 'goods_quantity': '',\n 'goods_uom': '',\n 'goods_other_uom': '',\n 'goods_value': '',\n 'is_sufficiant_goods': '',\n 'finishedgoods_remarks': ''\n };\n finishedGoods.push(this.createGoods(Ref_Finished_Goods));\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n } else {\n if (datas.manufacturing_raw_materials != undefined) {\n datas.manufacturing_raw_materials.forEach((val, index) => {\n if (val.raw_value) {\n this.inWords(val.raw_value, 1, index);\n }\n // this.checkComments(val.is_sufficiant_raw,1,index);\n this.checkComments(val.stock_observed, 1, index);\n rawMaterial.push(this.createRawmaterial(val));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (datas.manufacturing_finished_goods != undefined) {\n datas.manufacturing_finished_goods.forEach((val, index) => {\n if (val.goods_value) {\n this.inWords(val.goods_value, 2, index);\n }\n // this.checkComments(val.is_sufficiant_goods,2,index);\n this.checkComments(val.goods_observed, 2, index);\n finishedGoods.push(this.createGoods(val));\n\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n }\n }\n\n createRawmaterial(records) {\n if (records === null) {\n return this.fb.group({\n raw_name: [''],\n stock_observed: [''],\n raw_quantity: [''],\n raw_uom: [''],\n uomSearch:[null],\n other_uom: [''],\n raw_value: [''],\n is_sufficiant_raw: [''],\n rawmaterial_remarks: ['']\n })\n } else {\n return this.fb.group({\n raw_name: [records.raw_name],\n stock_observed: [records.stock_observed],\n raw_quantity: [records.raw_quantity],\n raw_uom: [records.raw_uom],\n uomSearch:[null],\n other_uom: [records.other_uom],\n raw_value: [records.raw_value],\n is_sufficiant_raw: [records.is_sufficiant_raw],\n rawmaterial_remarks: [records.rawmaterial_remarks]\n })\n }\n }\n\n initRetailDetails(datas) {\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n if (datas === null) {\n if (this.suppliers_retail_trade_details.length > 0) {\n // this.rawMaterialAccess = true;\n this.suppliers_retail_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n 'is_sufficiant_traded_goods': '',\n 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n } else {\n if (datas.retail_traded_goods !== undefined) {\n datas.retail_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 3, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\n this.checkComments(val.traded_goods_observed, 3, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n\n createGoods(records) {\n if (records === null) {\n return this.fb.group({\n goods_name: [''],\n goods_observed: [''],\n goods_quantity: [''],\n goods_uom: [''],\n uomSearch:[null],\n goods_other_uom: [''],\n goods_value: [''],\n is_sufficiant_goods: [''],\n finishedgoods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n goods_name: [records.goods_name],\n goods_observed: [records.goods_observed],\n goods_quantity: [records.goods_quantity],\n goods_uom: [records.goods_uom],\n uomSearch:[null],\n goods_other_uom: [records.goods_other_uom],\n goods_value: [records.goods_value],\n is_sufficiant_goods: [records.is_sufficiant_goods],\n finishedgoods_remarks: [records.finishedgoods_remarks]\n })\n }\n }\n\n initTradingDetails(datas) {\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n if (datas === null) {\n if (this.suppliers_wholesale_trade_details.length > 0) {\n this.suppliers_wholesale_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n 'is_sufficiant_traded_goods': '',\n 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n\n } else {\n if (datas.trading_traded_goods !== undefined) {\n datas.trading_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 4, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\n this.checkComments(val.traded_goods_observed, 4, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n createTradedGoods(records) {\n if (records === null) {\n return this.fb.group({\n traded_goods_name: [''],\n traded_goods_observed: [''],\n traded_goods_quantity: [''],\n traded_goods_uom: [''],\n uomSearch:[null],\n traded_goods_other_uom: [''],\n estimated_traded_goods_value: [''],\n is_sufficiant_traded_goods: [''],\n traded_goods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n traded_goods_name: [records.traded_goods_name],\n traded_goods_observed: [records.traded_goods_observed],\n traded_goods_quantity: [records.traded_goods_quantity],\n traded_goods_uom: [records.traded_goods_uom],\n uomSearch:[null],\n traded_goods_other_uom: [records.traded_goods_other_uom],\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\n is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\n traded_goods_remarks: [records.traded_goods_remarks]\n })\n }\n }\n\n /** Manufacturing -> To Add More Raw Material Details */\n addRawMaterials(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.push(this.createRawmaterial(null));\n }\n }\n\n /** Manufacturing -> To Remove Raw Material Details */\n deleteRawMaterials(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.removeAt(index);\n }\n }\n\n /** Manufacturing -> To Add More Finished Goods */\n addGoods(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.push(this.createGoods(null));\n }\n }\n\n /** Manufacturing -> To Remove Finished Goods */\n deleteGoods(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.removeAt(index);\n }\n }\n\n /**\n * Case 1 Retail Traded -> To Add More trade Goods\n * Case 2 wholesale Traded -> To Add More trade Goods\n */\n addTradedGoods(flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /**\n * Case 1 Retail Traded -> To remove trade Goods\n * Case 2 wholesale Traded -> To remove trade Goods\n */\n deleteTradedGoods(index, flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.removeAt(index);\n break;\n }\n default: {\n break;\n }\n }\n\n //const control = this.stockForm.controls['traded_goods'];\n\n }\n\n ManufacturingCounterArray: any = [];\n FinishedCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n\n not_stock_of_rm: any = [];\n not_stock_of_fg: any = [];\n not_stock_of_tg: any = [];\n not_stock_of_ws: any = [];\n checkComments(value, flag, index) {\n \n console.log(value, flag, index);\n if (flag == 1) {\n \n this.ManufacturingCounterArray[index] = value != \"\" ? 1 : 0;\n this.not_stock_of_rm[index] = value == \"yes\" ? 1 : 0;\n\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\n\n let not_stock1 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n console.log('value',value);\n console.log('not_stock1',not_stock1);\n if(not_stock1 > 0){ \n console.log('not_stock1',not_stock1);\n this.RMsufficientList[0].disabled = false;\n this.RMsufficientList[2].disabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock1 == 0){ \n console.log('0',not_stock1);\n this.RMsufficientList[0].disabled = true;\n this.RMsufficientList[2].disabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('this.RMsufficientList',this.RMsufficientList);\n }\n \n if(flag == 2) {\n this.FinishedCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_fg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 3) {\n this.RetailCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_tg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 4) {\n this.WholeSaleCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_ws[index] = value == \"yes\" ? 1 : 0;\n }\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\n\n let not_stock_fg = this.not_stock_of_fg.reduce((sum, val) => sum + +val, 0);\n let not_stock_ws = this.not_stock_of_ws.reduce((sum, val) => sum + +val, 0);\n let not_stock_tg = this.not_stock_of_tg.reduce((sum, val) => sum + +val, 0);\n let not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg;\n console.log('not_stock2',not_stock2);\n if(not_stock2 > 0){ \n console.log('not_stock2',not_stock2);\n this.TGsufficientList[0].isdisabled = false;\n this.TGsufficientList[2].isdisabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock2 == 0){ \n console.log('0',not_stock2);\n this.TGsufficientList[0].isdisabled = true;\n this.TGsufficientList[2].isdisabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('Data',this.TGsufficientList);\n // else if(not_stock == 0){ \n // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n // }\n \n }\n\n\n /** To Save/Edited Popup Data */\n saveStockInfo(answerFormValues) {\n //To Remove The \"Null\" With Key also\n // if(answerFormValues.manufacturing_details){\n // answerFormValues.manufacturing_details.forEach(parent=>{\n // if(parent.manufacturing_finished_goods){\n // parent.manufacturing_finished_goods.forEach(finish_goods=>{\n // delete finish_goods.uomSearch\n // })\n // }\n // if(parent.manufacturing_raw_materials){\n // parent.manufacturing_raw_materials.forEach(raw_mat=>{\n // delete raw_mat.uomSearch\n // })\n // }\n // })\n // }\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.stockForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n }\n\n inWords(e, flag: number, i) {\n switch (flag) {\n case 1:\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 2:\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 4:\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n searchFun(control,index){\n console.log(\"control\",control.controls['uomSearch'].value)\n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.uomDataValue=this.constant.searchData(this.uomData,control.controls['uomSearch'].value,'')\n })\n \n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n\n}\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,ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport { FormGroup,Validators,FormBuilder, FormArray } from '@angular/forms'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionFinancialInfoPage 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-financial-info',\n templateUrl: 'pd-question-financial-info.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PdQuestionFinancialInfoPage {\n \n public financialForm: FormGroup;\n\n pdDetails:any;\n FormId:any;\n users:any;\n company_id:any;\n isDisplay:boolean;\n customerCommentsFlag:boolean;\n FY_annualSalesInwords: any =[]\n FY_netProfitAmtInwords: any=[]\n FY_netLossAmtInwords: any=[]\n AV_annualSalesInwords: any=[]\n AV_netProfitAmtInwords: any=[]\n AV_netLossAmtInwords: any=[]\n AV_netProfitAmtFrmInwords: any=[]\n AV_netProfitAmtToInwords: any=[]\n AV_netLossAmtFrmInwords: any=[]\n AV_netLossAmtToInwords: any=[]\n AV_SalesFrmInwords: any=[]\n AV_SalesToInwords: any=[]\n AV_SalesInwords: any=[];\n AV_marginProfitAmtInwords: any=[];\n AV_marginLossAmtInwords: any=[];\n formDetails: any;\n CustSegAbbr:any;\n\n av : any =[{id:6, name:'Letter of Credit'},\n {id:2, name:'Bank Guarantee'},\n {id:3, name:'Cash Credit Limit'},\n {id:7, name:'OD Limit'},\n {id:4, name:'Factoring'},\n {id:5, name:'Forfaiting'},\n {id:1, name:'Others'}]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,\n public fb:FormBuilder,public cons:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.FormId = this.formDetails.form_id;\n // this.FormId=this.navParams.get('FormId');\n this.company_id=this.pdDetails.company_id\n this.users=this.aws.getlocale();\n let x = this.pdDetails.customer_segment_abbr.split(\"-\");\n this.CustSegAbbr=x[1]\n \n this.initFinancialForm()\n // console.log(\"ld\",this.financialForm.controls['estimated_value'])\n // if(this.financialForm.controls['estimated_value']['controls'].length>0){\n // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls)\n // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average']\n // console.log(estime_value)\n // estime_value.valueChanges.subscribe(res=>{\n // console.log(\"changes\",res);\n // })\n//}\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\n this.getDetails()\n this.getPDImages();\n }\n\n AllCalculation(control,index){\n console.log(\"all\",control)\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != ''){\n console.log(\"calculate marginP\")\n this.calculateMarginProfit(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != ''){\n console.log(\"calculate Profit \")\n this.calculateProfitAmount(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != ''){\n console.log(\"calculate marginL\")\n this.calculateMarginLoss(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != ''){\n console.log(\"calculate Loss\")\n this.calculateLossAmount(index,control)\n }\n }\n }\n selectedStatement(e :any):void{\n\n if(e == 'yes'){\n\n this.isDisplay = true;\n this.financialForm.controls['is_financial_customer'].setValue('');\n \n }\n else if(e == 'no'){\n\n this.isDisplay = false;\n this.financialForm.controls['is_financial_customer'].setValue('no');\n // this.selectedFinancialCustomer('no');\n \n const statementControl = this.financialForm.controls['date_per_financial'];\n \n while (statementControl.length !== 0) {\n statementControl.removeAt(0);\n }\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n this.financialForm.controls['financial_starting_year'].setValue('');\n this.financialForm.controls['financial_no_of_year'].setValue('');\n\n // alert((new Date()).getFullYear());\n // let year1 = (new Date()).getFullYear();\n // let year2 = ((new Date()).getFullYear() + 1); \n // let Year = year1 +'-'+ year2;\n \n }\n\n}\n /** fin customer data from Fin statement*/\n selectedFinancialCustomer(e: any): void {\n if(e == 'yes'){\n const control = this.financialForm.controls['estimated_value'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n }\n else if (e == 'no'){\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n }\n }\n\n selectedProfitOrLossType(e,detail){\n \n if(e.value == 1){\n detail.controls.financial_net_loss.setValue('');\n detail.controls.financial_margin_of_loss.setValue('');\n }\n else if(e.value == 2){\n detail.controls.financial_net_profit.setValue('');\n detail.controls.financial_margin_of_profit.setValue('');\n }\n}\n\n\n /** For Auto-generating FinYear */\n dynamicalFinYear($event){\n \n // let e = $event.target.value;\n let e =this.financialForm.controls['financial_no_of_year'].value\n if(e != null && e != ''){\n if(e == 1){\n this.customerCommentsFlag = false;\n }\n else{\n this.customerCommentsFlag = true;\n }\n\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\n\n const control = this.financialForm.controls['date_per_financial'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n for(let i = 1 ; i<= e ; i++ ){\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\n control.push(this.createDate(Year));\n }\n }\n}\n }\n\n\n initFinancialForm(){\n this.financialForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n company_id: this.company_id,\n fk_createdby: this.users,\n financial_remarks: [''],\n is_financial_statements:[''],\n is_financial_customer:[''],\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n financial_no_of_year : [''],\n financial_reason: [''],\n financial_customer:[''],\n receive_the_money_in_days:[''],\n pay_the_money_in_days:[''],\n unsold_stock_lies_in_days:[''],\n is_there_working_capital_available:[''],\n working_capital_facilities_availed:[''],\n reason_for_working_capital_facilities_availed:[''],\n // same_as_financial_statements:[''],\n date_per_financial: this.fb.array([]),\n estimated_value: this.fb.array([])\n });\n }\n createDate(date){\n return this.fb.group({\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\n finanical_profit_or_loss:[''],\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_margin_of_profit: [''],\n financial_margin_of_loss: [''],\n financial_variation: [''],\n financial_profit_to_sale_variation:[''],\n financial_annualsales_variation : [''],\n })\n }\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\n createValue(date) {\n return this.fb.group({\n \n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n estimate_sales_from: [''],\n estimate_sales_to: [''],\n estimate_sales_average: [''],\n estimate_profit_or_loss:[''],\n estimate_net_margin_availablity:[''],\n estimate_profit_range_from:[''],\n estimate_profit_range_to:[''],\n estimate_profit_margin_percent:[''],\n estimate_profit_margin:[''],\n estimate_net_profit_from:[''],\n estimate_net_profit_to:[''],\n estimate_net_profit_percent:[''],\n estimate_net_profit:[''],\n estimate_loss_range_from:[''],\n estimate_loss_range_to:[''],\n estimate_loss_margin_percent:[''],\n estimate_loss_margin:[''],\n estimate_net_loss_from:[''],\n estimate_net_loss_to:[''],\n estimate_net_loss_percent:[''],\n estimate_net_loss:[''],\n estimate_reason_for_loss:[''],\n // estimate_receive_the_money_in_days:[''],\n // estimate_pay_the_money_in_days:[''],\n // estimate_unsold_stock_lies_in_days:[''],\n // estimate_working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // is_there_working_capital_available:['']\n\n });\n}\nsubmitDetails(){\n \n \n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\n \n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\n \n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n}\n let records=this.financialForm.value;\n this.qustCat.saveForm(records).subscribe(res=>{\n if(res['status']== 200){\n this.financialForm.markAsUntouched();\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\n }\n },err=>{\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\n })\n}\n getDetails(){\n const financeDate=this.financialForm.controls['date_per_financial']\n //financeDate.push(this.createDate(''))\n const estimate= this.financialForm.controls['estimated_value']\n //estimate.push(this.createValue(''))\n let params:any={}\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.pd_form_id=this.FormId\n params.company_id=this.company_id\n this.qustCat.retiverForm(params).subscribe(value=>{\n if(value['dataStatus']==true){\n let retrieveData=value['records'];\n if(value['records'].is_financial_statements == 'yes'){\n this.isDisplay = true;\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\n return value['records'].date_per_financial[key]\n })\n if(result.length>0){\n this.customerCommentsFlag=result.length == 1 ? false : true\n result.forEach((val,index)=>{\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\n financeDate.push(this.createDate(''));\n });\n retrieveData.date_per_financial=result;\n }\n else{\n financeDate.push(this.createDate(''))\n }\n }\n if(this.CustSegAbbr != 'AI'){\n if(value['records'].is_financial_customer == 'no'){\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\n return value['records'].estimated_value[key]\n });\n if(result_val.length>0){\n result_val.forEach((val,index)=>{\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\n estimate.push(this.createValue(''))\n });\n retrieveData.estimated_value=result_val\n }\n else{\n estimate.push(this.createValue(''));\n }\n }\n}\n retrieveData.parent_pdid=this.pdDetails.parent_pd_id\n retrieveData.pdid=this.pdDetails.pd_id\n retrieveData.company_id=this.company_id\n retrieveData.fk_createdby=this.users\n retrieveData.formid=this.FormId\n this.financialForm.setValue(retrieveData)\n }\n else {\n //financial_date.push(this.createDate());\n //estimated_val.push(this.createValue(''));\n }\n })\n }\n\n /**\n * New Calculation for Finanical Statement \n **/\n calculationForFinanicalStatement(){\n \n let parentArray = this.financialForm.controls['date_per_financial'];\n // let prev_annual_sale : any = '';\n // let prev_profit_margin : any = '';\n // let prev_loss_margin : any = '';\n // let prev_profit_amt : any = '';\n // let prev_loss_amt : any = '';\n // let profit_margin : any = '';\n // let loss_margin : any = '';\n // let annual_sale : any = '';\n // let profit_amt : any = '';\n // let loss_amt : any = '';\n let prev_annual_sale : any = '';\n let prev_profit_margin : any = [];\n let prev_loss_margin : any = [];\n let prev_profit_amt : any = '';\n let prev_loss_amt : any = '';\n let profit_margin : any = '';\n let loss_margin : any = '';\n let annual_sale : any = '';\n let profit_amt : any = '';\n let loss_amt : any = '';\n\n parentArray.value.forEach((val,index) => {\n\n let childArray : any = parentArray.controls[index];\n annual_sale = val.financial_annual_sale;\n \n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \n * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales\n * Label name : \" Sale Variation from Previous Year in % \"\n */\n \n if (index != 0) { \n if(annual_sale != ''){\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\n }\n }\n else{\n childArray.controls.financial_annualsales_variation.setValue(0.00);\n }\n \n\n prev_annual_sale = annual_sale;\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\n\n\n profit_amt = val.financial_net_profit;\n loss_amt = val.financial_net_loss;\n\n /** Calculating Profit's Variation - STARTS HERE\n * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount\n * Label name : \"Profit Variation from Previous Year in %\"\n */\n if((profit_amt != '' || loss_amt != '') && index != 0) {\n if(+profit_amt > +annual_sale){\n childArray.controls.financial_margin_of_profit.setValue('');\n } \n else{\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\n\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; \n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\n childArray.controls.financial_variation.setValue(final_variation);\n\n }\n }\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\n\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \n * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss )\n * Label name : \"Net Profit to Sales in % (or) Net Loss to Sales in % \n **/\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\n \n if(SelectedlossOrProfit == 1){\n\n loss_margin = '';\n childArray.controls.financial_margin_of_loss.setValue('');\n \n if (annual_sale != '' && val.financial_net_profit != '') {\n if(+profit_amt>+annual_sale){\n alert(\"profit is greater than Annual Sale \");\n childArray.controls.financial_net_profit.setValue(0);\n childArray.controls.financial_margin_of_profit.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\n \n }\n }\n }\n else if(SelectedlossOrProfit == 2){\n profit_margin = '';\n childArray.controls.financial_margin_of_profit.setValue('');\n \n if (annual_sale != '' && val.financial_net_loss != '') {\n if(+val.financial_net_loss>+annual_sale){\n alert(\"Loss is greater than Annual Sale \");\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n if(+loss_amt>+annual_sale){\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n \n\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\n\n\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\n \n }\n }\n }\n // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit);\n // console.log('profit_margin',profit_margin);\n // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value);\n // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\n // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\n prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0;\n prev_loss_margin[index] = loss_margin !='' ? loss_margin : 0 ;\n \n \n // if(index != 0 ){\n \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; \n \n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\n \n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\n\n // }\n\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\n\n /** Calculating Sales's Profit Variation \n * Label name = \"Variation of Profit % over sales\"\n **/\n \n if ((profit_margin != '' || loss_margin != '') && index != 0) {\n \n \n // console.log('temp_prev_losses',prev_loss_margin);\n // console.log('temp_prev_profits',prev_profit_margin);\n\n // console.log('curr index',index);\n\n loss_margin = loss_margin !== undefined ? loss_margin : 0;\n profit_margin = profit_margin !== undefined ? profit_margin:0;\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\n\n // console.log('profit_margin',profit_margin);\n // console.log('pre year loss_margin',temp_prev_loss_margin);\n // console.log('loss_margin',loss_margin);\n // console.log('pre year profit_margin',temp_prev_profit_margin);\n\n \n if(annual_sale != ''){\n\n \n let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\n let b = a / (temp_prev_profit_margin != 0 ? Math.abs(temp_prev_profit_margin) : Math.abs(temp_prev_loss_margin));\n let c = b * 100;\n \n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\n \n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\n }\n }\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\n\n\n });\n }\n \n \n confirmAlert(i, details){\n\n let estimate_sales_from = +details.value.estimate_sales_from;\n let estimate_sales_to = +details.value.estimate_sales_to;\n\n if (estimate_sales_from != null && estimate_sales_to != null){\n \n if(+estimate_sales_from>+estimate_sales_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_sales_to.setValue('');\n details.controls.estimate_sales_average.setValue('');\n return;\n }\n\n let C = (estimate_sales_to - estimate_sales_from)\n let D = (C / estimate_sales_from) * 100;\n \n if(estimate_sales_from <= 5000000){\n if(D > 20){\n var r = confirm(\"Given Sales Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\n if(D > 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 10000000){\n if(D > 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n\n // if(D >= 30){\n // var r = confirm(\"Given Sales Range is greater than 30%\");\n // if (r == true) {\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \n // }else{\n // details.controls.estimate_sales_to.setValue('');\n // return;\n // }\n // }\n // else{\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\n // }\n }\n this.calculateSalesAverage(i, details);\n }\n\n calculateSalesAverage(i, details){\n \n let estimate_sales_from = details.value.estimate_sales_from;\n let estimate_sales_to = details.value.estimate_sales_to;\n\n if(estimate_sales_from != '' && estimate_sales_to != ''){\n\n let range1 = +estimate_sales_from/10;\n \n let lower = (+estimate_sales_from)+range1;\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\n\n if(lower > higer){\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n \n }\n else{\n details.controls.estimate_sales_average.setValue('');\n }\n\n }\n calculateMarginProfit( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\n if(+estimate_profit_range_from > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_profit_range_to = details.value.estimate_profit_range_to;\n \n if(+estimate_profit_range_to > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\n if(+estimate_profit_range_from>+estimate_profit_range_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n\n \n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \n let Profit_Average = (profit_percent*sales_average)/100;\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\n\n if(difference > 3){\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n }else{\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n }\n \n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\n \n \n \n }\n \n }\n\n\n calculateProfitAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n //alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\n\n if(+estimate_net_profit_to>+sales_average){\n \n //alert(\"Given Profit is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\n if(+estimate_net_profit_from>+estimate_net_profit_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n \n let C = (estimate_net_profit_to - estimate_net_profit_from)\n let D = (C / estimate_net_profit_from) * 100;\n \n let range1 = +estimate_net_profit_from/10;\n \n let lower = (+estimate_net_profit_from)+range1;\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\n\n if(estimate_net_profit_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_profit_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n \n }\n \n}\n\ncalculateMarginLoss( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n // else{\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\n if(+estimate_loss_range_from > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_loss_range_to = details.value.estimate_loss_range_to;\n if(+estimate_loss_range_to > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\n \n if(+estimate_loss_range_from>+estimate_loss_range_to){\n //alert(\"Given Loss Percent is more than 100\");\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n \n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\n let loss_Average = (loss_percent*sales_average)/100;\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\n\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\n \n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n\n if(difference > 3){\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n \n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }else{\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n } \n \n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }\n\n}\n\n\ncalculateLossAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\n\n if(+estimate_net_loss_to > +sales_average){\n \n // alert(\"Given Loss is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\n if(+estimate_net_loss_from > +estimate_net_loss_to){\n //alert(\"Given To value is Lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n \n // if(+estimate_net_loss_to > +estimate_net_loss_from){\n // alert(\"loss is greater than sales\");\n // details.controls.estimate_net_loss_to.setValue('');\n // details.controls.estimate_net_loss.setValue('');\n // details.controls.estimate_net_loss_percent.setValue('');\n // return;\n // }\n \n \n let C = (estimate_net_loss_to - estimate_net_loss_from)\n let D = (C / estimate_net_loss_from) * 100;\n \n let range1 = +estimate_net_loss_from/10;\n \n let lower = (+estimate_net_loss_from)+range1;\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\n\n if(estimate_net_loss_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_loss_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n \n }\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n \n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n }\n \n }\n \n}\n\n \n\n\n \n\n /** On Key Press Event For Input Field */\n keyPress(event: any) {\n //const pattern = /[0-9\\-\\.\\ ]/;\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 }\n\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n\n switch(flag){\n case 1 :\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\n break;\n case 2 : \n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\n break;\n case 3 : \n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\n break;\n case 4 : \n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 5 : \n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 6 : \n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 7 : \n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 8 : \n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 9 : \n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 10 : \n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 11 : \n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 12 : \n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n default:\n break;\n }\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionClientInfoPage 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-client-info',\n templateUrl: 'pd-question-client-info.html',\n})\nexport class PdQuestionClientInfoPage {\n\n users: any;\n pdDetails: any;\n formDetails: any;\n pdid: any;\n company_id: any;\n questionDetails: any;\n clientInfoForm: FormGroup;\n\n\n\n\n public submitted = false;\n\n public m_paymentType = [];\n\n companyRelationShipList: any = [];\n\n titleList: any = [];\n noRecordsFound: Boolean = false;\n errorMessage: any = '';\n m_manufacturingProducts: any = [];\n m_tradingProducts: any = [];\n m_suplierProducts: any = [];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider, public fb: FormBuilder,private loading:LoadingProvider,private cameraProvider:CameraProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.pdid = this.pdDetails.pd_id;\n this.company_id = this.pdDetails.company_id;\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\n\n this.initFormLoadDetails(datas.type_of_activity);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n });\n\n this.getdropList();\n\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\n this.getPDImages();\n }\n\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus']) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n // Load form details for manufacturing\n let arr = record.filter(data => data.type_of_activity_id == 2);\n // if(dataForm.manufacturing_details[0].main_raw_materials){\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if(dataForm.manufacturing_details){\n console.log(dataForm)\n \n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\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);\n }\n else{\n console.log(\"NO Data\",dataForm)\n this.initManufacturingProductsDetails(null)\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\n }\n }\n // }\n\n // Load form details for the wholeshale trading details\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if(dataForm.trade_details){\n let api_trading_products = dataForm.trade_details[0].trading_products;\n\n this.initTradingProductsDetails(api_trading_products);\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);\n }\n else{\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\n }\n }\n\n // Load form details for the service provider prduct details \n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n // return dataForm.service_products[key];\n // });\n if(dataForm.service_provider_details){\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\n this.initServiceProviderProductsDetails(api_service_provider_products);\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);\n }\n else{\n this.initServiceProviderProductsDetails(null)\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n return dataForm.service_products[key];\n });\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProviderProductsDetails(null);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n serviceProviderForm: Boolean = false;\n serviceProviderFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 5);\n if (arr.length > 0) {\n this.serviceProviderForm = true;\n return this.fb.group({\n service_products: this.fb.array([]),\n service_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initManufacturingProducts(val));\n // }\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_product_name: [''],\n manufacturing_client_name: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n // manufacturing_credit_days: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: ['']\n })\n } else {\n return this.fb.group({\n manufacturing_product_name: [records.manufacturing_product_name || null],\n manufacturing_client_name: [records.manufacturing_client_name || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initTradingProducts(val));\n // }\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_client_name: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n trade_client_name: [records.trade_client_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n initServiceProviderProductsDetails(datas) {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n if (datas === null) {\n control.push(this.initServiceProviderProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\n control.push(this.initServiceProviderProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initServiceProviderProducts(val));\n // }\n }\n }\n\n initServiceProviderProducts(records) {\n if (records === null) {\n return this.fb.group({\n service_provider_product_name: [''],\n service_provider_client_name: [''],\n service_provider_product_contact_person_name: [''],\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [''],\n service_provider_product_payment_mode: [''],\n service_provider_product_frequency_of_purchase: [''],\n service_provider_product_credit_days_from: [''],\n service_provider_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n service_provider_product_name: [records.service_provider_product_name],\n service_provider_client_name: [records.service_provider_client_name],\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n\n control.push(this.initServiceProviderProducts(null));\n }\n\n removeServiceProduct(inx): void {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n control.removeAt(inx);\n }\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.companyRelationShipList = data['records'];\n // .filter(data => data.isactive == 1);\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\n });\n }\n // saveclientDetails(answerData)\n // {\n // let records:any ={};\n\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId.form_id;\n // records.fk_createdby = this.users;\n\n // records.client_details = answerData.clientArray;\n\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\n // }\n /** To Save/Edited Popup Data */\n saveClientInfo(answerFormValues) {\n \n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n if (answerFormValues.manufacturing_details[0] == null) {\n delete answerFormValues['manufacturing_details'];\n }\n if (answerFormValues.trade_details[0] == null) {\n delete answerFormValues['trade_details'];\n }\n if (answerFormValues.service_provider_details[0] == null) {\n delete answerFormValues['service_provider_details'];\n }\n\n //To Remove The \"Null\" With Key also\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.clientInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n checkCard(e, flag, index) {\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n\n\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 { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\nimport {PdQuestionAssessedImagesPage} from '../../pd-question/pd-question-assessed-images/pd-question-assessed-images'\n\n/**\n * Generated class for the PdQuestionAssessedDashPage 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-assessed-dash',\n templateUrl: 'pd-question-assessed-dash.html',\n})\nexport class PdQuestionAssessedDashPage {\n\n businessIncome: boolean;\n grossAccess: boolean;\n finalAccess: boolean;\n finalExpense: any;\n finalIncome: any;\n finalData: any;\n houseExpenseData: boolean;\n businessData: boolean;\n salesData: boolean;\n purchaseData: boolean;\n purchaseBillData:boolean=false;\n grossprofit: any;\n assessedProcess: boolean;\n users: any;\n FormId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n alertShown: boolean;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public alertCtrl:AlertController) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n calc_type_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n // radio_for_mode:[null,Validators.compose([Validators.required])],\n mode:[null],\n margin:[null],\n purchase_type:[null,Validators.compose([Validators.required])],\n fk_createdby:[null],\n fk_updatedby:[null],\n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\n }\n ionViewCanEnter()\n {\n this.getassessedIncome(); \n }\n getViewPage(pageId)\n {\nif(pageId == 11){//Summary\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\n}\nelse if(pageId == 12){//IMAGES\n this.navCtrl.push(PdQuestionAssessedImagesPage,{'pdDetails':this.pdDetails,'pageId':pageId,'formdetails':this.FormId})\n}\nelse{\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\n}\n }\n\n saveAssessedForm(answerData)\n {\n \n \n if(this.assessedForm.valid)\n {\n console.log(\"mode\",answerData.purchase_type.value)\n if(this.assessedForm.controls['purchase_type'].value == 1 ){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 2){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 0){\n this.assessedForm.controls['mode'].setValue(2)\n this.assessedForm.controls['margin'].setValue(2)\n this.assessedForm.controls['purchase_type'].setValue(null)\n }\n if(this.assessedForm.controls['calc_type_id'].value != null){\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\n }\n if(this.assessedForm.controls['fk_createdby'].value == null){\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\n }\n console.log(this.assessedForm.value);\n let tempRec=this.assessedForm.value\n tempRec.company_id=this.pdDetails.company_id;\n console.log(\"tempRec\",tempRec)\n let records = {'records':tempRec};\n // delete records.records.radio_for_mode\n\n // console.log(\"after\",records);\n \n \n \n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage(\"Saved Successfully..!\")\n setTimeout(()=>{\n this.getassessedIncome();\n })\n \n }else\n {\n\n }\n })\n \n }\n \n }\n\n getassessedIncome()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.assessedProcess = true;\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\n if(res['records'].purchase_details.length !=0)\n {\n this.purchaseData = true;\n }\n if(res['records'].purchase_billwise.length != 0){\n this.purchaseBillData=true;\n }\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)\n {\n this.salesData = true;\n }\n if(res['records'].business_expenses.length !=0)\n {\n this.businessData = true;\n }\n if(res['records'].house_hold_expenses.length !=0)\n {\n this.houseExpenseData = true;\n }\n if(res['records'].othre_business_income.length !=0)\n {\n this.businessIncome = true;\n }\n \n if(res['records'].final_data.length !=0){\n this.finalAccess = true;\n this.finalData = res['records'].final_data[0]; \n this.finalIncome = this.finalData.income;\n this.finalExpense = this.finalData.expense; \n }\n \n if(this.grossprofit !==undefined && this.grossprofit.length !=0)\n {\n this.grossAccess = true;\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\n if(this.grossprofit.purchase_type == null ){\n this.assessedForm.controls['purchase_type'].setValue(0);\n }\n else{\n this.assessedForm.controls['purchase_type'].setValue(this.grossprofit.purchase_type);\n }\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\n }\n \n \n }else\n {\n this.assessedProcess = false;\n }\n });\n }\n completeAI(){\n let updateStatus={\n \"fk_pd_id\":this.pdDetails.pd_id,\n \"company_id\":this.pdDetails.company_id,\n \"calc_type_id\":this.grossprofit.calc_type_id,\n \"is_completed\":1\n }\n let records:any={'records':updateStatus}\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Assessed Income Completed Successfully\")\n setTimeout(()=>{\n this.navCtrl.pop();\n },1000)\n\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\")\n }\n })\n }\n presentConfirm(){\n let alert=this.alertCtrl.create({\n title:'Complete Assessed Income',\n message:'Please confirm you are completing the Assessed Income details?',\n buttons:[\n {\n text:'No',\n role:'no',\n handler:()=>{\n console.log(\"Cancel clicked\");\n //this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.completeAI()\n }\n }\n ]\n });\n alert.present();\n // this.alertShown=true;\n }\n\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\n/*\n Generated class for the DatabaseProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class DatabaseProvider {\n database:SQLiteObject;\n constructor(public http: HttpClient,public sql:SQLite) {\n console.log('Hello DatabaseProvider Provider');\n this.createnewdb();\n }\n\n createnewdb()\n {\n // alert('function in');\n this.sql.create(\n {\n name:'sinnedge',\n location:'defalut',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \n {\n // alert('db create');\n this.getuserDetails();\n })\n .catch(e => console.log(e));\n })\n }\n getuserDetails()\n {\n // alert('getusers');\n this.sql.create(\n {\n name:'sineedge',\n location:'default',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\n {\n console.log(res);\n })\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Camera } from '@ionic-native/camera';\n/*\n Generated class for the CameraProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class CameraProvider {\n\n constructor(public http: HttpClient,public camera:Camera) {\n console.log('Hello CameraProvider Provider');\n }\n getpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n const base64Image = 'data:image/png;base64,' + imageData;\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.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 = 257;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 257\n// module chunks = 2","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { LoadingController } from 'ionic-angular';\nimport { async } from 'rxjs/internal/scheduler/async';\n/*\n Generated class for the LoadingProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class LoadingProvider {\n\n loading: any;\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\n console.log('Hello LoadingProvider Provider');\n }\n\n pdloader(content)\n {\n this.loading = this.loadingCtrl.create({\n content: content\n });\n\n this.loading.present();\n }\n loaderForSendImage(){\n const loading=this.loadingCtrl.create({\n content:'Sending...',\n duration:2000,\n })\n return loading.present();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.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 = 300;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 300\n// module chunks = 2","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\nimport { AlertController } from 'ionic-angular';\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\n// import { GridPage } from '../grid/grid';\n\n\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\nimport { Camera } from '@ionic-native/camera';\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\n// import { CustomValidators } from 'ng2-validation';\n\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PasswordPage } from '../password/password';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n\n@Component({\n selector: 'page-login',\n templateUrl: 'login.html',\n})\nexport class LoginPage {\n users: any;\nchangepass: FormGroup;\nemail: string;\npassword: string;\nnewpassword: any;\nconfirmPassword: any;\nchangePassword: any;\nstatus: Boolean = false;\nconfig: MatDialogConfig = {\n disableClose: false,\n width: '',\n height: '',\n position: {\n top: '',\n bottom: '',\n left: '',\n right: ''\n }\n};\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\n,public toast:ToastProvider) {\n \n}\nngOnInit(){\n //this.loggedInCheck();\n \n}\nionViewDidEnter(){\n this.Menu.enable(false);\n}\nionViewWillLeave(){\n this.Menu.enable(true);\n}\n/**\n* @param email\n* @param password\n* AWS login service\n*/\nlogin() {\n // console.log(this.email);\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\n let auth = { 'Username': this.email, 'Password': this.password };\n this.aws.dologin(auth).subscribe(awsres => {\n let userid = this.aws.getlocale();\n \n this.aws.getuserprofile(userid).subscribe(usersres=>\n {\n this.users = usersres; \n \n if (this.users.dataStatus == true) {\n \n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\n this.navCtrl.setRoot(PdListPage);\n \n }else\n {\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n\n \n }\n });\n }, err => {\n console.log(JSON.stringify(err.message));\n if (err.message == \"New password is required.\") {\n //console.log(\"if\");\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\n } else {\n console.log(JSON.stringify(err.message));\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\n\n }\n //alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter Email or Password');\n }\n}\n/**\n * New password set\n * Defalut aws function \n * @param email password,newpassword\n */\n// newpassopen() {\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\n// dialogRef.afterClosed().subscribe(result => {\n// if (result !== undefined) {\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\n// console.log(auth);\n// this.aws.dologin(auth).subscribe(res => {\n// console.log(res);\n// // this.router.navigate(['/home']);\n// }, err => {\n// // alert(err.message);\n\n// })\n// }\n// });\n// }\n\nforgotopen() {\n this.status = true;\n}\n\n\nforgotpassword() {\n\n let auth = { 'Username': this.email };\n console.log(auth);\n // this.aws.userforgotpass(auth).subscribe(res => {\n // console.log(res);\n\n // })\n}\nloggedInCheck(){\n //alert(this.shared.isLoggedIn);\n if(this.shared.isLoggedIn){\n alert(\"if\");\n // this.router.navigate(['/home']);\n return false;\n }else{\n alert(\"else\");\n \n return true;\n }\n}\n\n}\n\n// ======================= END ==============================\n/**\n* New password Dialog\n*/\n\n// const newpassword = new FormControl('', Validators.required);\n// const confirmPassword = new FormControl('');\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
New Password Change.
\n\n// \n// \n \n// \n\n\n//
\n// \n// \n// \n\n// Passwords do not math.\n\n//
\n \n// \n \n \n// `\n// })\n// export class NewPasswordDialog {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n\n// }\n\n\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
Forgot Password
\n\n// \n// \n \n// \n\n\n\n//
\n \n// \n \n \n// `\n// })\n// export class ForgotPass {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n// }\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\n\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n/**\n * Generated class for the PdQuestionPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question',\n templateUrl: 'pd-question.html',\n})\nexport class PdQuestionPage {\n \n docqustid: any;\n docName: any = [];\n docArray: any = [];\n imageArray:any = [];\n questionCate: any;\n qustCate: any;\n pdinfo: any;\n items: FormArray;\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= false;\n isLeft:boolean= false;\n tabs:any=[];\n \n questionDetails: any;\n questionAnswer:FormGroup;\n questionanotherData:FormGroup;\n userid:any;\n questionId:any;\n qustType:any;\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) {\n \n this.screenWidth_px=platform.width();\n\n \n this.questionAnswer = this.fb.group(\n {\n answerDetails:[null],\n items:this.fb.array([]),\n })\n this.questionanotherData = this.fb.group(\n {\n questionRemarks:[null]\n })\n this.getpdQuestionDetails();\n this.userid = this.aws.getlocale();\n}\n\n ionViewDidLoad() {\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n ionViewWillLeave() {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n // let answerDetails = this.questionAnswer.value;\n // let remarks = this.questionanotherData.value;\n if(this.isLeft)\n {\n //this.prev(answerDetails,remarks,this.questionDetails);\n }\n if(this.isRight)\n {\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\n }\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n \n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n \n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n \n this.isLeft=false;\n this.isRight=false;\n \n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n \n \n }\n /**\n * Pd Discussion Qustion Load\n */\n getpdQuestionDetails()\n {\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdinfo = this.navParams.get('pdDetails');\n for(let qustimage of this.questionDetails.questions)\n { \n if(qustimage.images !==undefined){\n for(let image of qustimage.images)\n {\n image.questionId = qustimage.fk_question_id; \n this.docArray.push(image);\n }\n for(let answers of qustimage.answers)\n {\n if(qustimage.fk_question_answertype == 3)\n {\n this.items = this.questionAnswer.get('items') as FormArray;\n \n this.items.push(this.getquestionAnswer(answers));\n \n \n }\n }\n }\n }\n for(let i=1;i<=this.questionDetails.questions_count;i++){\n let j = i.toString();\n this.tabs.push(j);\n }\n }\n\ngetquestionAnswer(answers)\n{\n return this.fb.group(\n {\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\n \"pd_answer_id\":answers.question_answer_id,\n \"pd_answer\": answers.answer,\n \"pd_answer_weightage\": answers.template_answer_weightage,\n \"fk_pd_id\":this.pdinfo.pd_id,\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\n \"checkbox\":(answers.isactive == null?false:true)\n \n \n })\n}\n // count = 0;\n getDocUpload(qustid)\n {\n // this.docqustid = qustId;\n this.camera.getpicture().then(res=>\n {\n if(res !== undefined){\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\n }\n });\n // this.count++;\n }\n docnames(name,id,image,qustid)\n {\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\n }\n removeimage(index){\n //for(let i=0;i<=this.igrimage.length;i++){\n //if(this.igrimage[i]== this.igrimage[index]){\n this.docArray.splice(index,1);\n //}\n //}\n }\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\n {\n \n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n\t\t\"fk_pd_id\": pd_id,\n\t\t\"fk_category_id\": catid,\n\t\t\"fk_question_id\": qut_id,\n\t\t\"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n\t\t\"pd_answer\": pd_answer,\n\t\t\"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n\t\t\n\t\t\"fk_createdon\": createon,\n\t\t\"createdby\": createdby,\n\t\t\"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n // {\n // this.qustCate = res;\n // if(this.qustCate.dataStatus == true){\n // this.SwipedTabsSlider.slideNext();\n // this.docArray = [];\n // this.getcategoryList(qt_id,pd_id);\n // }\n // })\n // }else\n // {\n \n // this.SwipedTabsSlider.slideNext(); \n }\n } \n\n getcategoryList(qustinfo,pdId)\n {\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\n };\n let answerData:any;\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\n {\n answerData = res;\n if(answerData.dataStatus == true)\n {\n \n // answerData = answerData.records;\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\n // eachquestion['answers'] = answerData.answers; \n \n // this.questionDetails =\n // this.imageArray = answerData.images;\n // for(let docs of this.imageArray)\n // {\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\n // }\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\n }\n });\n }\n prev(answerDetails,questionRemarks,questionDetails) {\n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n \"fk_pd_id\": pd_id,\n \"fk_category_id\": catid,\n \"fk_question_id\": qut_id,\n \"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n \"pd_answer\": pd_answer,\n \"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n \n \"fk_createdon\": createon,\n \"createdby\": createdby,\n \"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n {\n this.qustCate = res;\n if(this.qustCate.dataStatus == true){\n this.SwipedTabsSlider.slidePrev();\n this.docArray = [];\n this.getcategoryList(qt_id,pd_id);\n }\n })\n }else{\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\n this.SwipedTabsSlider.slidePrev();\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { Observable, Subject, ReplaySubject, from } from 'rxjs';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {Camera} from '@ionic-native/camera'\n\nimport {searchValue} from '../search'\nimport { takeUntil } from 'rxjs/operators';\nimport{LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\nimport 'rxjs/add/observable/interval';\n// import{CacheService} from 'ionic-cache-observable'\n/**\n * Generated class for the PdQuestionAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-address',\n templateUrl: 'pd-question-address.html',\n})\nexport class PdQuestionAddressPage {\n\n // additional_premises: any=[];\n // bussiness_address_type: any=[];\n // formPremisesCityArray: any=[];\n // tempArr: any[];\n // cityData: any = [];\n // PremisesLabel: any=[];\n // formPremisesArray: any=[];\n // z:number = 0;\n \n // PremisesOtherFlag: boolean;\n CITY: any;\n residence: any;\n FormId: any;\n getaddressDetails: any;\n users: any;\n address: string;\n custBehaviour: any;\n cmtlocality: any;\n\n //placeholderName : any = 'Estimated area of the (Address Type)';\n placeholderName:any=[];\n premisesRentAmtInwords:any=[];\n rentAmtInwords : any ;\n\n locality: any = [];\n pdlocation: any = [];\n pdDetails: any;\n questionDetails: any;\n pdQuestionAddress:FormGroup;\n addressTypes:any=[];\n addressRemarksAccess:boolean = false;\n items:FormArray;\n pdState: any;\n pdCity: any;\n pdPincode: any;\n pdOtherPincode: any;\n cityData: any=[];\n pincodeData: any=[];\n stateData: any=[];\n uomData: any=[];\n addressesList: any;\n pincodeValue:any=[]\n cityDataValue:any=[]\n complete_status : boolean = false;\n\n // counts:number = 1;\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n public filteredState:ReplaySubject=new ReplaySubject(1)\n pincodeDataValue: any=[];\n base64: string;\n imageBucket: any=[];\n tab:string='0';\n imageDisplay: any=[];\n public data$:Observable\n timer:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider,\n public camera:Camera,private loading:LoadingProvider,private storagedb:StorageProvider) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n \n this.pdDetails = this.navParams.get('pdDetails');\n \n this.FormId = this.navParams.get('FormId');\n\n this.users = this.aws.getlocale();\n\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\n // }else{\n // this.address = this.pdDetails.addressline1+', - , -'; \n // }\n // this.pdState = this.pdDetails.fk_state;\n // this.getCityAndPincodeDetails(this.pdState);\n // this.pdCity = this.pdDetails.fk_city;\n // this.pdPincode = this.pdDetails.pincode_id;\n \n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\n \n this.getdropdownlist();\n \n //const control=this.pdQuestionAddress.controls['addresses']\n // console.log(\"co\",control)\n\n this.pdQuestionAddress = this.fb.group(\n {\n addresses:this.fb.array([]),\n address_form_remark:['']\n // address_ownership:[null],\n // other_ownership:[null],\n // rent_amt:[null],\n // other_premises_bussiness_activity : [null],\n // bussiness_activity_remark:[null],\n // bussiness_activity:[null],\n // bussiness_address_type:[null],\n // bussiness_address_type_others:[null], \n // business_years:[null],\n // business_month:[null],\n // additional_address_units: this.fb.array([]),\n \n });\n \n //this.loadPD()\n // let con=this.pdQuestionAddress.controls['addresses']['controls']\n \n // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.SearchCity(0);\n // })\n this.timer = Observable.interval(10000)\n .subscribe((val) => { console.log('test',val); });\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n //this.addUnits();\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\n this.getaddressForm(); \n // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE\n this.getPDImages();\n \n }\n\n \n searchFun(control:any,i:number,option){\n// console.log(control,i)\n if (option == 'city') {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"Pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateData.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\ncountRowsForTextarea(text){\n \n // console.log('text.length%100',text.length%190);\n // console.log('text.length/100',text.length/100);\n if(text !='' && text != undefined){\n if(text.length%100 > 5)\n return 5;\n else if(text.length%100 <= 3)\n return 3;\n else return Math.floor(text.length%100);\n\n }\n}\n\n ionViewWillLeave()\n {\n \n\n // let method = this.alerCtrl.create({\t\t\t\n // message: 'Do You Want Save',\n // buttons: [\n // {\n // text: 'Save',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // }\n // },\n // {\n // text: 'Cancel',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // this.navCtrl.pop(); \n // }\n // }\n // ]\n // });\n // method.present()\n \n \n \n }\n\n ionViewCanLeave(){\n this.timer.unsubscribe();\n console.log(\"dirty\",this.pdQuestionAddress.dirty);\n if(this.pdQuestionAddress.dirty){\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n \n //For Inserting the data locally\n // this.localInsert(true);\n\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n /** To Get City And Pincode Data For Address Form \n * Param 'stateID' -> selected StateId\n */\n getCityAndPincodeDetails(stateID: string,i,pincode) {\n // console.log(this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'])\n console.log(this.pdQuestionAddress)\n //this.pdQuestionAddress.controls['addresses']['controls'].controls\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\n if (data.status == 200) {\n this.cityData[i] = data.records.cities;\n this.search=this.cityData[i]\n console.log(\"Slice\",this.cityData[i].slice);\n //this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n //FOR PINCODE FREE TEXT\n // let pin\n // if(pincode != ''){\n // if(pincode != 1){\n // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0]\n // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i])\n // console.log(this.pincodeValue[i])\n // console.log(this.pdQuestionAddress)\n\n // }\n // }\n });\n }\n\n\n\n getdropdownlist()\n {\n // this.addressTypes = [\n \n // {'id':'Office','Name':'Office'},\n // {'id':'Clinic','Name':'Clinic'},\n // {'id':'Factory','Name':'Factory'},\n // {'id':'Warehouse','Name':'Warehouse'},\n // {'id':'Shop','Name':'Shop'},\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\n // {'id':'Residence','Name':'Residence'},\n // {'id':'OTHERS','Name':'OTHERS'}\n // ];\n\n \n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \n console.log(\"dk\",this.addressTypes)\n // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{\n // this.data$=res.get$\n // console.log(\"data\",this.data$)\n // })\n }\n // this.cacheObservable.loadFromObservable()\n \n })\n \n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\n {\n this.pdlocation = res;\n if(this.pdlocation.dataStatus == true)\n {\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\n }\n })\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\n {\n this.cmtlocality = res;\n if(this.cmtlocality.dataStatus ==true)\n {\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\n }\n });\n\n \n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\n // {\n // this.custBehaviour = res;\n // if(this.custBehaviour.dataStatus == true)\n // {\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\n // }\n // })\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.locality = res['records'].filter(loc=>loc.isactive==1);\n }\n })\n\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.residence = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('CITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.CITY = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\n this.stateData=res['records'].filter(val=>val.isactive == 1);\n this.filteredState.next(this.stateData.slice())\n\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\n })\n \n }\n\n // checkaddress(value)\n // {\n // \n // if(value==\"OTHERS\")\n // {\n // this.addressRemarksAccess = true;\n // }else\n // {\n // this.addressRemarksAccess = false;\n // }\n // }\n\n // createItem(): FormGroup {\n // return this.fb.group({\n // name: [null],\n // do_you_know: [null],\n // how_long: [null],\n // is_owner: [null],\n // });\n // };\n \n createUnits(val): FormGroup {\n if(val==null){\n return this.fb.group({\n no_of_additional_units: [''],\n premises_type: [''],\n premises_type_others: [''],\n premises_city: [''],\n // premises_ownership: [''],\n //premises_ownership_others: [''],\n //premises_rent_amt:[''],\n premises_remarks: [''],\n });\n }\n else{\n \n return this.fb.group({\n no_of_additional_units: [val.no_of_additional_units],\n premises_type: [val.premises_type],\n premises_type_others: [val.premises_type_others],\n premises_city: [val.premises_city],\n // premises_ownership: [val.premises_ownership],\n // premises_ownership_others: [val.other_ownership],\n // premises_rent_amt:[val.rent_amt],\n premises_remarks: [val.premises_remarks],\n });\n \n }\n }\n\n addUnits() {\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n this.items.push(this.createUnits(null));\n}\n\n\n removeUnits(i){\n this.items.removeAt(i);\n }\n\n ConvertMonthintoYear(e){\n \n let business_year = this.pdQuestionAddress.controls.business_years.value;\n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\n \n }\n initAddress(AddressDetails){\n console.log(\"pin init\", this.pincodeValue[0])\n if(AddressDetails != null){\n return this.fb.group({\n address: [AddressDetails.address],\n address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\n address_type_others: [AddressDetails.address_type_others],\n state: [AddressDetails.state],\n city: [AddressDetails.city],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n locality: [AddressDetails.locality, Validators.compose([Validators.required])],\n locality_others: [AddressDetails.locality_others],\n // locality_mixuse: [AddressDetails.locality_mixuse],\n pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\n comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\n estimated_area: [AddressDetails.estimated_area],\n uom: [AddressDetails.uom],\n uom_others: [AddressDetails.uom_others] \n })\n }\n else{\n return this.fb.group({\n address: ['' ],\n address_type: ['', Validators.compose([Validators.required])],\n address_type_others: [''],\n state: [''],\n city: [''],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [''],\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n locality: ['', Validators.compose([Validators.required])],\n locality_others: [''],\n // locality_mixuse: [''],\n pd_location: ['', Validators.compose([Validators.required])],\n comment_locality: ['', Validators.compose([Validators.required])],\n estimated_area: [''],\n uom: [''],\n uom_others: [''] \n });\n }\n \n }\n /** On Key Press Event For Numbers */\n keyPress(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 }\n\n inWords(e,i){ \n \n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n \n }\n\n inWordsForRent(e){\n \n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\n }\n\n selectedAddressType(e: any,i){\n this.placeholderName[i] = 'Estimated area of the ' + e;\n }\n\n\n savepdQuestion(answerData)\n {\n let records: any = {};\n // records.address = answerData.address;\n // if(answerData.address_type_others != null){\n // records.address_type_others = answerData.address_type_others;\n // }\n // // records.state =answerData.state\n // records.city = answerData.city\n\n // records.pincode = answerData.pincode\n // records.pincode_others = answerData.pincode== 1 ?\n // this.pdQuestionAddress.controls.pincode_others.value : '';\n\n // records.address_type = answerData.address_type;\n // records.locality = answerData.locality;\n \n // records.locality_others = answerData.locality == 1 ?\n // this.pdQuestionAddress.controls.locality_others.value : '';\n\n // records.locality_mixuse = answerData.locality == 5 ?\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\n\n // records.pd_location = answerData.pd_location;\n // records.comment_locality = answerData.comment_locality;\n // records.other_comment_locality = answerData.other_comment_locality;\n // records.estimated_area = answerData.estimated_area;\n\n // records.uom = answerData.uom;\n // records.uom_others = answerData.uom == 1 ?\n // this.pdQuestionAddress.controls.uom_others.value : '';\n // records.customer_behaviour = answerData.customer_behaviour;\n // records.neighbourhood = answerData.neighbourhood;\n \n // answerData.addresses.forEach(element=>{\n // let temp=element.pincode\n // element.pincode=1\n // element.pincode_others=temp\n // })\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n console.log(\"Answer DAta\",answerData)\n records.addresses=answerData.addresses\n // records.addressess\n records.address_form_remark=answerData.address_form_remark\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.address_form_remark = answerData.address_form_remark;\n // records.address_ownership = answerData.address_ownership;\n // records.other_ownership = answerData.other_ownership;\n // records.rent_amt = answerData.rent_amt;\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\n // records.bussiness_activity = answerData.bussiness_activity;\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\n // records.business_years = answerData.business_years;\n // records.business_month = answerData.business_month;\n \n // records.additional_address_units = answerData.additional_address_units;\n \n \n \n this.qustCat.saveForm(records).subscribe(data => {\n console.log(data);\n // let params: any = {};\n // params.pd_id = '250';\n // params.pd_form_id = '250';\n \n // setTimeout(function(){\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // },5000)\n if(data['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n },err=>{\n this.toast.pdTriggerappmessage('Something went wrong ');\n });\n }\n getaddressFormFromLocal(){\n let local_value:any;\n let data:any={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id};\n // data.pd_id=this.pdDetails.pd_id\n // data.form_id=this.FormId.form_id\n this.storagedb.retrieveLocalStorage(data).then(res=>{\n console.log(\"address get\",res)\n if(res){\n let val_rec:any={}\n val_rec.records=res[0]\n local_value=res[0]\n console.log(\"addd\",val_rec,\"loca\",local_value)\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = val_rec;\n \n if(local_value.active == true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,datas.pincode)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n console.log( \"Pin\" ,this.pincodeValue[index]);\n let val={\n 'address': datas.address,\n 'address_type': datas.address_type,\n 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n 'locality': datas.locality,\n 'locality_others': datas.locality_others,\n // 'locality_mixuse': datas.locality_mixuse,\n 'pd_location': datas.pd_location,\n 'comment_locality': datas.comment_locality,\n 'estimated_area': datas.estimated_area,\n 'uom': datas.uom,\n 'uom_others': datas.uom_others\n }\n \n // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n // console.log(\"selected add type\",selectedAddressType)\n if(datas.address_type != ''){\n this.selectedAddressType(datas.address_type,index);\n // this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark);\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n this.getaddressForm()\n }\n }\n else{\n this.getaddressForm()\n }\n \n \n \n })\n // console.log(\"add\",local_value)\n \n }\n\n getaddressForm()\n {\n console.log(\"pd\",this.pdDetails);\n \n let res:any;\n\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = res;\n \n if(this.getaddressDetails.dataStatus ==true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,datas.pincode)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n console.log( \"Pin\" ,this.pincodeValue[index]);\n let val={\n 'address': datas.address,\n 'address_type': datas.address_type,\n 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n 'locality': datas.locality,\n 'locality_others': datas.locality_others,\n // 'locality_mixuse': datas.locality_mixuse,\n 'pd_location': datas.pd_location,\n 'comment_locality': datas.comment_locality,\n 'estimated_area': datas.estimated_area,\n 'uom': datas.uom,\n 'uom_others': datas.uom_others\n }\n if(datas.address_type != ''){\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\n }\n // if(this.getaddressDetails.additional_address_units != null){\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\n // // return res['records'].additional_address_units[key];\n // //for slicing the automatically created\n \n // });\n // //this.removeUnits(0);\n // }\n\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\n\n // if (this.getaddressDetails.state != '') {\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\n // if (this.getaddressDetails.pincode == 1) {\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\n // }\n // }\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\n // this.selectedAddressType(selectedAddressType);\n\n // if(this.getaddressDetails.address_type != null) {\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\n // }\n\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\n\n // if(this.getaddressDetails.comment_locality != null){\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\n // }\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\n // if(this.getaddressDetails.locality == 1 ){\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\n // }\n // if(this.getaddressDetails.locality == 5){\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\n // }\n \n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\n // if (this.getaddressDetails.uom == 1) {\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\n // }\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\n // if(this.getaddressDetails.rent_amt != null){\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\n // }\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // } \n // else{\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\n // }\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\n\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\n \n \n \n\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\n \n if (result.length == 0) {\n \n control.push(this.createUnits(null));\n } else {*/\n \n //for(let val of this.getaddressDetails.additional_address_units){\n //control.push(this.createUnits(val));\n //}\n //result.forEach((datas,index) => {\n \n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\n \n //});\n \n //}\n \n // }\n\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else\n this.loadPD();\n });\n \n }\n loadPD(){\n const control=this.pdQuestionAddress.controls['addresses']\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus == true){\n this.addressesList = res.records.filter(item => item.isactive == 1 && item.assigned_pd == this.pdDetails.pd_id);\n console.log('this.addressesList',this.addressesList);\n if(this.addressesList.length > 0){\n this.addressesList.forEach((datas,index)=>{\n this.getCityAndPincodeDetails(datas.fk_state,index,datas.pincode)\n \n let obj ={\n 'address': datas.addressline1,\n 'address_type': '',\n 'address_type_others': '',\n 'state': datas.fk_state,\n 'city': datas.fk_city,\n 'pincode':datas.pincode_id,\n 'pincode_others': datas.other_pincode,\n 'locality': '',\n 'locality_others': '',\n // 'locality_mixuse':'',\n 'pd_location': '',\n 'comment_locality': '',\n 'estimated_area': '',\n 'uom': '',\n 'uom_others': ''\n }\n \n control.push(this.initAddress(obj))\n })\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n })\n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n savePhoto(){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n \n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert =this.toast.setAlertForDocName()\n alert.present()\n \n alert.onDidDismiss(value=>{\n console.log(value.Name)\n this.imageBucket[index].Name=value.Name\n })\n \n \n // let alert=this.alerCtrl.create({\n // title:'Document Name',\n // message: 'Please Enter the Document Name',\n // cssClass:'prompt_alert',\n // inputs:[\n // {\n // name:'Name',\n // //value:this.imageBucket[index].Name\n // placeholder:'Document Name'\n // }\n // ],\n // buttons:[\n // {\n // text:'Submit',\n // handler:data=>{\n // console.log(data.Name)\n // this.imageBucket[index].Name=data.Name\n // alert.dismiss\n // }\n // }\n // ]\n // })\n // alert.present();\n //this.inputFocus.setFocus();\n \n }\n // al(){\n // this.toast.pdTriggerappmessage(\"touched\");\n // }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n localInsert(option){\n let datas:any=this.pdQuestionAddress.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n // let alert=this.toast.setAlert('data',JSON.stringify(res))\n // alert.present();\n console.log(\"insert add\",res);\n })\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,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';\nimport { max } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionEmpInfoPage 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-emp-info',\n templateUrl: 'pd-question-emp-info.html',\n})\nexport class PdQuestionEmpInfoPage {\n questionDetails: any;\n pdDetails: any;\n employmentForm:FormGroup;\n FormId: any;\n pd_cus_segment: string;\n customer_segment_abbr: string;\n users: any;\n pdid: any;\n frequency_data: any[];\n company_list: any[];\n person_met_list: any[];\n company_related_applicants_list: any[];\n company_relationship_list: any[];\n filtered_company_relationship_list: any[];\n \n mthlySlryAmtInWords\n grossMthlySlryAmtInWords\n netMthlySlryAmtInWords\n bonusIncentiveAmtInWords\n bankAmtInWords\n cashAmtInWords\n\n workExperienceFlag: boolean = false;\n workExperienceErrorFlag:boolean = false;\n generalExistBusinessYear:any;\n generalExistBusinessMonth:any;\n tab:any='0'\n imageBucket:any=[]\n imageDisplay:any=[]\n\n public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n public todate: any[] = this.dateonly;\n @ViewChild('workExp') expFocus: ElementRef\n @ViewChild('cashPaidFocus') inputCashPaidFocus :ElementRef\n @ViewChild('yearFocus') inputYearFocus :ElementRef\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\n this.generalExistBusinessYear=100;\n this.generalExistBusinessMonth=12;\n this.getDropDownList();\n this.getCompanyFromGeneralDetails();\n this.getEmploymentDetails();\n this.employmentForm = this.fb.group(\n {\n employer_name: [''],\n employer_in_brief:[''],\n \n // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n \n how_long_year: ['',Validators.max(this.generalExistBusinessYear)],\n how_long_month: [''],\n total_business_experience: [''],\n total_business_previous_experience: [''],\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n name_person_met: [''],\n designation_person_met: [''],\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n confirm_salary_amount: [''],\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n from_date_the_salary_is_rcv: [''],\n to_date_the_salary_is_rcv: [''],\n gross_monthly_salary: [''],\n net_monthly_salary: [''],\n amount_paid_in_cash: [''],\n amount_paid_through_bank: [''],\n check_validated:[''],\n how_was_it_validated: [''],\n why_was_it_not_validated: [''],\n bonus_incentive: [''],\n bonus_frequency: [''],\n bonus_type: [''],\n bonus_type_other: [''],\n any_delays: [''],\n employment_remarks: [''],\n // nameOfEmp:[null],\n // yearWithEmp:[null],\n // empMet:[null],\n // designationOfEmp:[null],\n // salaryConfirm:[null],\n // actualSalary:[null],\n // attRegisterSeen:[null],\n // salaryRegisterSeen:[null]\n })\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.employmentForm.dirty);\n if(this.employmentForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getDropDownList()\n {\n\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.frequency_data = data['records'];\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\n }\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\n }\n });\n }\n\n getCompanyFromGeneralDetails(){\n \n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\n \n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\n this.company_related_applicants_list = value['records'].company_with_relationships;\n } \n else {\n\n }\n })\n \n }\n \n ValidateNetSalary(){\n let salary = this.employmentForm.controls['net_monthly_salary'].value; \n console.log('this.employmentForm.controls[amount_paid_in_cash].value',this.employmentForm.controls['amount_paid_in_cash'].value);\n \n if(salary != ''){\n let cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value;\n // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value;\n\n this.employmentForm.controls['amount_paid_in_cash'].setValidators([Validators.max(salary)]); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n let maxamt = salary-cash_amount\n if( this.employmentForm.controls['amount_paid_in_cash'].value !=''){\n let balance=salary-this.employmentForm.controls['amount_paid_in_cash'].value\n console.log(\"bal\",balance)\n this.employmentForm.controls['amount_paid_through_bank'].setValue(balance);\n this.inWords(balance,5)\n }\n if(maxamt >= 0 ){\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(salary-cash_amount)]); \n }\n else{\n this.employmentForm.controls['amount_paid_through_bank'].setValue('0');\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(0)]); \n }\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n \n }\n else{\n this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!');\n this.employmentForm.controls['amount_paid_in_cash'].setValue(''); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n this.employmentForm.controls['amount_paid_through_bank'].setValue(''); \n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n return;\n }\n \n \n }\n\n saveEmpInfo(){\n // console.log(\"has Error\",this.employmentForm.controls['how_long_year'].hasError('max'))\n if(this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Higher than business Vintage\")\n this.inputYearFocus.nativeElement.focus();\n return\n }\n \n if(this.employmentForm.controls['total_business_experience'].hasError('min') ){\n this.toast.pdTriggerappmessage('Total working Experience is Lower');\n this.expFocus.nativeElement.focus();\n return\n }\n // console.log(\"this.em\",this.employmentForm.controls['amount_paid_in_cash'].errors)\n if(this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Given Value is Maximum of Net Salary\")\n this.inputCashPaidFocus.nativeElement.focus();\n return\n }\n \n if (!this.employmentForm.valid) {\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\n return;\n }\n \n\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.employer_name = this.employmentForm.controls['employer_name'].value;\n records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\n records.was_met = this.employmentForm.controls['was_met'].value;\n if (this.employmentForm.controls['was_met'].value == 'yes') {\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\n }else{\n records.name_person_met = '';\n records.designation_person_met = '';\n }\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\n \n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\n records.check_validated = this.employmentForm.controls['check_validated'].value;\n records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';\n records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';\n \n records.any_delays = this.employmentForm.controls['any_delays'].value;\n\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\n\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\n \n this.qustCat.saveForm(records).subscribe(data => {\n\n\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.employmentForm.markAsUntouched();\n this.employmentForm.reset(this.employmentForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n })\n }\n \n\n filtercompanyrelationship(companyid, applicantid) {\n var array = companyid.split(\"-\");\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\n if (data.length > 0) {\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\n }\n else {\n this.employmentForm.controls['designation_person_met'].setValue('');\n }\n }\n\n formDate(value){\n // console.log('to',this.todate)\n // console.log(value);\n // console.log('to length',this.todate.length);\n // console.log('index',value-1);\n // console.log('this.todate',this.todate[11]);\n // console.log('this.todate',this.todate[11].isdisabled);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');\n this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n var i ;\n \n if(value != 0 && value != '')\n for(i=0;i<=value-1;i++){\n this.todate[i].isdisabled = true;\n if(value == 31){\n this.todate[30].isdisabled = false;\n }\n }\n \n }\n checkWithExistYear(e) {\n \n let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];\n \n console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);\n console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);\n if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){\n this.generalExistBusinessMonth = data1.business_month\n }\n if(data1.business_years){\n this.generalExistBusinessYear = data1.business_years\n }\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n \n }\n\n \nConvertMonthintoYear(e) {\n\n let how_long_year = this.employmentForm.controls.how_long_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n if (how_long_year > this.generalExistBusinessYear) {\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n this.employmentForm.controls['how_long_year'].setValue('');\n this.employmentForm.controls['how_long_month'].setValue('');\n }\n else {\n if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n \n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity(); \n\n this.employmentForm.controls['how_long_month'].setValidators([Validators.max(this.generalExistBusinessMonth)]); \n this.employmentForm.controls['how_long_month'].updateValueAndValidity(); \n\n } else { \n\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\n\n }\n }\n}\n\n\ncheckWorkingExperiences(){\n // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;\n // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;\n\n this.employmentForm.controls['total_business_experience'].setValidators([Validators.min(+this.employmentForm.controls.how_long_year.value)]); \n this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); \n \n if(!this.employmentForm.controls['total_business_experience'].valid){\n this.expFocus.nativeElement.focus();\n }\n\n this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false;\n\n if(!this.workExperienceFlag){\n this.employmentForm.controls['total_business_previous_experience'].setValue('');\n this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); \n }\n\n}\n\ninWords(val,flag:number){\n switch(flag){\n case 1 :\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \n break;\n case 2 : \n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 3 :\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 4 :\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 5 :\n this.bankAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 6 :\n this.cashAmtInWords = this.constant.convertNumberToWords(val); \n break;\n }\n }\n\n\n getEmploymentDetails(){\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let Emp = value['records'];\n console.log('emp',Emp);\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\n this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief)\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\n if(this.employmentForm.controls['total_business_experience'] != null && this.employmentForm.controls['total_business_previous_experience'] != null){\n //this.checkWorkingExperiences();\n }\n\n if (Emp.name_person_met) {\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\n }\n if (Emp.designation_person_met) {\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\n }\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\n if (Emp.confirm_salary) {\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\n this.inWords(Emp.confirm_salary_amount,1);\n \n }\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\n this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\n \n this.inWords(Emp.gross_monthly_salary,2);\n this.inWords(Emp.net_monthly_salary,3);\n this.inWords(Emp.bonus_incentive,4);\n this.inWords(Emp.amount_paid_in_cash,6);\n this.inWords(Emp.amount_paid_through_bank,5);\n if(Emp.total_business_experience != ''){\n this.checkWorkingExperiences();\n}\n\n } \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus, ViewChild, ElementRef } 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'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\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})\n\nexport class PdQuestionCurrentLoansPage {\napplicants: 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 tentureErrorFlag:boolean=false\n others_loanAccess:boolean=false\n @ViewChild('balanceTenure') TenureFocus : ElementRef\n lenderDataValue: any;\n protected _onDestroy = new Subject();\n base64: any;\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public toast:ToastProvider, \n public aws:AwsServiceProvider,public constant:ConstantsProvider,\n public cameraProvider:CameraProvider,private loading:LoadingProvider) {\n\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.filter(val=>val.pd_co_applicant_id != 0);\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n \n\n this.getdropdown();\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 //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n console.log('{{FormId.form_name}}',this.FormId.form_name,this.FormId);\n this.getcurrentLoans()\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.currentLoans.dirty);\n if(this.currentLoans.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n this.lenderDataValue=this.lenderData.slice();\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 \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true )// && val.is_company_applicant===true\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 \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n // modifyApplicantList.push()\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n \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 \n if(val ==\"Yes\")\n {\n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n loan_amount: data == null ? [''] : [data.loan_amount],\n frequency: data == null ? [''] : [data.frequency],\n other_frequency: data == null ? [''] : [data.other_frequency],\n emi: data == null ? [''] : [data.emi],\n loan_type: data == null ? [''] : [data.loan_type],\n others_loan_type: data == null ? [''] : [data.others_loan_type],\n loan_taken_by: data == null ? [''] : [data.loan_taken_by],\n others_loan_taken: data == null ? [''] : [data.others_loan_taken],\n lender: data == null ? [''] : [data.lender],\n bankSearch:[''],\n others_lender: data == null ? [''] : [data.others_lender],\n original_tenure: data == null ? [''] : [data.original_tenure],\n current_balance_tenure: data == null ? [''] : [data.current_balance_tenure],\n elapsed_tenure: data == null ? [''] : [data.elapsed_tenure]\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 console.log(values)\n let status\n if(values.length != 0 && values != null){\n status=values.filter(res=>res.id == 0) \n status=status.length > 0 ?true : false\n console.log(status)\n this.others_loanAccess=status\n }\n else {\n this.others_loanAccess= false;\n }\n \n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n // if(originalTenure>=details.value.current_balance_tenure){\n // this.tentureErrorFlag=true\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.setValue\n // }\n // else{\n\n // this.toast.pdTriggerappmessage(\"Current Tenure \")\n \n \n \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,flag)\n{\n \n switch(flag){\n \n \n case 1:\n let ElapsedValues;\n console.log(details)\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '' ){\n console.log(\"not null\")\n \n if(details.value.current_balance_tenure == 0){\n details.controls['elapsed_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.current_balance_tenure <= details.value.original_tenure){\n \n console.log(\"validate\")\n this.tentureErrorFlag=false\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n \n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n this.TenureFocus.nativeElement.focus();\n }\n \n}\nelse{\n this.tentureErrorFlag=false\n}\nbreak;\ncase 2:\nlet balance\nconsole.log(\"case 2\",details);\n if(details.value.original_tenure !=null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != ''){\n \n if(details.value.elapsed_tenure == 0){\n details.controls['current_balance_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.elapsed_tenure <= details.value.original_tenure){\n this.tentureErrorFlag=false\n balance=details.value.original_tenure - details.value.elapsed_tenure;\n \n console.log(\"ba\",balance);\n details.controls['current_balance_tenure'].setValue(balance)\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n // this.TenureFocus.nativeElement.focus();\n }\n}\nelse{\n this.tentureErrorFlag=false\n}\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 \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 \n}\n\nsubmitCurrentloan(answerData) {\n console.log(answerData)\n console.log(\"true\",this.tentureErrorFlag);\n let inde=[]\n // answerData.loan_details.forEach((element,index)=>{\n \n // if(element.current_balance_tenure > element.original_tenure){\n // this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n // inde=index\n // }\n \n // })\n // console.log(\"index\",inde);\n // if(inde){\n // return\n // }\n if(this.tentureErrorFlag == true){\n // this.toast.pdTriggerappmessage(\"Original Tenure Less than Current Balance Tenure\");\n this.toast.pdTriggerappmessage(\"Original Tenture is Lower\");\n this.TenureFocus.nativeElement.focus();\n return\n }\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\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 records.loan_details.forEach(val=>{\n delete val.bankSearch\n })\n console.log(' final records when save',records);\n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n // this.currentLoans.markAsUntouched();\n this.currentLoans.reset(this.currentLoans.value);\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'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 \n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n currentLoanDetails.loan_details.forEach(val=>{\n val.bankSearch=''\n })\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n \n return res['records'].loan_details[key];\n \n });\n console.log(\"resutl\",result);\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 \n result.forEach((datas,index)=>\n {\n //this.calculateTenure(res['records'])\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'].patchValue(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 \n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n \n\n if(data.dataStatus == true){\n \n \n \n let AssetData = data.record;\n \n \n \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 other_owner: element.business_name_of_the_other_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 other_owner: element.business_name_of_the_other_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 other_owner: element.other_owner,\n form_type:'Data From Other Asset'\n })\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 \n let owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n \n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n // return e.name.split(',')\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n \n let owner: any = \"Owner Not Mentioned\";\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.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n \n let owner:any=\"Owner Not Mentioned\";\n if(val.owner_name.length>0)\n {\n owner=val.owner_name.map((e=>{\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\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.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\n var vals= owner + ' - '+ val.mode_name \n \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 \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 \n control.push(this.createLoanDetail(null));\n }\n \n }\n });\n }\n })\n \n \n }\n searchFun(control){\n console.log(control)\n let name:string=\"bank\"\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.lenderDataValue=this.constant.searchData(this.lenderData,control.controls['bankSearch'].value,name)\n })\n \n }\n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_loan_taken').value\n value.get('others_loan_taken').setValue(this.constant.sentenceCase(name));\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormArray, FormBuilder, Validators, FormControl } 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';\nimport { takeUntil } from 'rxjs/operators';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\n\n/**\n * Generated class for the PdQuestionLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nexport interface Dbmaster{\n bt_lender_list_id: number;\n lender_name: string;\n // constant_name: string;\n}\n\n@Component({\n selector: 'page-pd-question-loans',\n templateUrl: 'pd-question-loans.html',\n})\n\nexport class PdQuestionLoansPage {\n enduse: any = [];\n propertyType: any;\n mortagetypeAccess: boolean;\n mortageAccess: boolean = false;\n mortageCardAccess: boolean;\n topUpAmtInWords: any;\n ownContributionInWords: any;\n valAsPerAgmtInWords: any;\n balTxrfAmtInWords: any;\n loanAmtInWords: any;\n\n emiAmtInWords:any;\n emvAmtInWords:any;\n\n m_btLenderList: any;\n applicants: any;\n m_endUseofLoad: any;\n m_sourceofamount: any;\n m_mortageTypeProperty: any;\n m_statusofCunstruction: any;\n ownerNames: any=[];\n isOtherPurpose: boolean=false;\n endUserList: any=[];\n pdDetails: any;\n FormId: any;\n productAbbr:any;\n loanDetailsForm: FormGroup;\n users: any;\n mergeCompanyApplicant:any=[];\n existCompanyList:any;\n m_endUseOFTopUpList:any=[]\n isContribution: boolean = false;\n\n \n isOtherSource: boolean = false;\n isPLSource: boolean = false;\n\n sourceList:any=[];\n pdid:number;\n m_endUseForLoan:any;\n subProductName : any;\n //public filterCtrl:FormControl=new FormControl\n private dbmasters: Dbmaster[];\n /** Subject that emits when the component has been destroyed. */\n protected _onDestroy = new Subject();\n public filteredBanks: ReplaySubject = new ReplaySubject(1);\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n console.log(\"pd\",this.pdDetails);\n this.applicants = this.pdDetails.applicat_details\n this.applicants = this.applicants.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);\n this.productAbbr = this.pdDetails.product_abbr;\n this.subProductName = this.pdDetails.subproduct_name;\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.getDropdown();\n\n this.loanDetailsForm = this.fb.group({\n loan_amount: [''],\n loan_tenure:[''],\n sub_product:[''],\n end_use: ['', Validators.compose([Validators.required])],\n end_use_other: [''],\n is_transfer: ['', Validators.compose([Validators.required])],\n //is_topup: ['', Validators.compose([Validators.required])],\n // is_topup: [''],\n balance_transfer_amount: [''],\n topup_amount: [''],\n end_use_topup:[''],\n other_end_use_topup:[''],\n lender: [''],\n filterCtrl:[''],\n other_bt_lender : [''],\n own_contribution: ['', Validators.compose([Validators.required])],\n source: [''],\n //personal_loan_source:[''],\n other_source:[''],\n //lender_name_type: [''],\n emi_level: ['', Validators.compose([Validators.required])],\n property_type: ['', Validators.compose([Validators.required])],\n property_type_others:[''],\n owner_name: ['', Validators.compose([Validators.required])],\n construction_status: ['', Validators.compose([Validators.required])],\n //percentage_of_construction : [''],\n emv_per_customer: ['', Validators.compose([Validators.required])],\n //value_per_agreement: ['', Validators.compose([Validators.required])],\n loandetails_remarks: ['', Validators.compose([Validators.required])],\n });\n console.log(this.pdDetails)\n //Setting Initial value from PD Master\n if(this.pdDetails.loan_amount!=null){\n this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount)\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\n }\n if(this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != ''){\n this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id)\n this.onChangeSubProduct(this.pdDetails.fk_subproduct_id);\n }\n \n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\n {\n this.mortagetypeAccess = true;\n }else\n {\n this.mortagetypeAccess = false;\n }\n \n \n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\n this.isContribution = true;\n }\n this.loanDetailsForm.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.filterBank();\n })\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n ionViewDidLoad() {\n console .log('ionViewDidLoad PdQuestionLoansPage');\n \n this.getLoanDetails();\n this.getPDImages();\n }\n ngOnDestroy() {\n this._onDestroy.next();\n this._onDestroy.complete();\n }\n \n ionViewCanLeave(){\n console.log(\"dirty\",this.loanDetailsForm.dirty);\n if(this.loanDetailsForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n // this.localInsert(true)\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n protected filterBank(){\n if(!this.dbmasters){\n return\n }\n let search=this.loanDetailsForm.controls['filterCtrl'].value \n if(!search){\n this.dbmasters=this.m_btLenderList\n // this.dbmasters=this.dbmasters.sort((a,b)=>{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name master.lender_name.toLowerCase().indexOf(search) > -1)\n //this.dbmasters.filter(master => master.lender_name==search)\n )\n // console.log(\"mbtlender\",this.m_btLenderList)\n // console.log(\"Filtered banks\",this.filteredBanks)\n }\n\n\n \n\n\n getDropdown() {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.dbmasters=this.m_btLenderList\n this.dbmasters=this.dbmasters.sort((a,b)=>{\n if(a.lender_name>b.lender_name){\n return 1;\n }\n if(a.lender_name{\n \n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\n \n });\n\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\n data => {\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\n data => {\n if(data['dataStatus']==true){\n console.log('data[records]',data['records']);\n let that = this;\n this.m_mortageTypeProperty = data['records'].filter(\n function (data) {\n if (that.pdDetails.product_abbr != \"LAP\") {\n if (data.group_name == that.pdDetails.product_abbr && data.isactive == 1) {\n return data;\n }\n }\n else if (that.pdDetails.product_abbr == \"LAP\") {\n if (data.group_name == that.productAbbr && data.sub_group_name == that.subProductName && data.isactive == 1) {\n return data;\n }\n else if (data.group_name == that.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) {\n return data;\n }\n }\n });\n // this.mortage_type(this.propertyType);\n }\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n });\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\n data => {\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\n });\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\n subdata => {\n if(subdata['dataStatus']==true){\n let that = this;\n this.m_endUseofLoad = subdata['records'].filter(\n function(data)\n {\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\n {\n return data;\n }\n });\n this.endUserChange(this.enduse)\n }\n });\n \n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\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 this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n }\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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n if(this.productAbbr != 'LAP'){\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\n }\n }\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\n }) \n \n }\n\n selectedBalancesTransferChanges(event: any){\n // if(event.value == 'no') { \n // this.loanDetailsForm.controls['is_topup'].clearValidators();\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // this.loanDetailsForm.controls['is_topup'].setValue('');\n //}\n //else if(event.value == 'yes'){\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // }\n if (event.value == 'no') {\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \n this.loanDetailsForm.controls['lender'].setValue('');\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\n this.topUpAmtInWords=''\n\n }\n else if (event.value == 'yes') {\n this.loanDetailsForm.controls['source'].setValue('');\n this.loanDetailsForm.controls['source'].clearValidators();\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.isOtherSource = false;\n this.loanDetailsForm.controls['other_source'].setValue('');\n \n }\n\n}\n \n mortage_type(mortage_value)\n {\n console.log('mortage_value',mortage_value);\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\n let property_name = mortagetypes.property_name.replace(/\\s/g, \"\").toLowerCase();\n if(property_name=='others(pleasespecify)' || property_name=='others')\n {\n this.mortageAccess = true;\n }else\n {\n this.mortageAccess = false; \n }\n \n \n }\n compareObjects(o1: any, o2: any){\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n \n }\n\n\n loanCalc()\n {\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\n let loanAmount = this.loanDetailsForm.value.loan_amount;\n let topupAmt ;\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\n {if (loanAmount >= BtAmount) {\n topupAmt = loanAmount - BtAmount;\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n \n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\n } else {\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\n this.balTxrfAmtInWords = '';\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.topUpAmtInWords = '';\n } }\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n }\n\n onChangeSubProduct(subproduct) {\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\n data => {\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n endUserChange(event) {\n //this.endUserList = [];\n event.forEach(option => {\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\n this.endUserList.push({ end_use: option });\n if (othresData == 'others') {\n \n this.isOtherPurpose = true;\n return ;\n }else\n {\n this.isOtherPurpose = false;\n \n }\n });\n }\n ownerNameChange(event) {\n this.ownerNames = [];\n event.value.forEach(option => {\n this.ownerNames.push({ owner_name: option });\n });\n }\n sourceChange(evt) {\n\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\n\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\n\n this.sourceList = [];\n\n evt.forEach(option => {\n this.sourceList.push({source: option});\n });\n}\n inWords(e,flag:number){\n switch(flag){\n case 1 :\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 2 : \n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 3 :\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 4 :\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 5 :\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 6:\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\n break;\n case 7:\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\n default:\n break;\n }\n}\n submitLoanDetails() {\n // if(this.loanDetailsForm.valid){\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\n // get end user final group data\n let dataEnd_user_data = [];\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\n dataEnd_user_data.push({end_use: element})\n });\n records.end_use_group = dataEnd_user_data;\n\n if (this.isOtherPurpose) {\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\n }\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\n }\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\n \n let dataSource_list=[];\n if(this.loanDetailsForm.controls['source'].value != '')\n {\n \n this.loanDetailsForm.controls['source'].value.forEach(element => {\n dataSource_list.push({sources : element})\n });\n }\n records.source_group=dataSource_list;\n \n }\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\n //}\n if(records.topup_amount > 0){\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\n if(records.end_use_topup == 1){\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\n }\n }\n \n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.lender = this.loanDetailsForm.controls['lender'].value;\n }\n if(this.loanDetailsForm.controls['lender'].value == 1){\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\n } \n \n \n\n \n /* records.source = this.loanDetailsForm.controls['source'].value;\n if (this.loanDetailsForm.controls['source'].value == 'other') {\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\n }*/\n if(this.isOtherSource){\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\n }\n else{\n records.other_source = ''; \n }\n \n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\n if(this.mortageCardAccess == true){\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\n };\n // records.owner_name_group = this.ownerNames;\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\n let dataOwner_name = [];\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\n dataOwner_name.push({owner_name: element})\n });\n records.owner_name_group = dataOwner_name;\n }\n else{\n records.owner_name_group='';\n }\n \n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\n \n }else{\n records.property_type = null;\n records.property_type_others = null;\n records.owner_name_group = null;\n records.construction_status = null;\n records.emv_per_customer = null;\n }\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.loanDetailsForm.markAsUntouched();\n this.loanDetailsForm.reset(this.loanDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n // this.notifier.notify('success', 'Saved Successfully.');\n })\n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter The All Field');\n // }\n }\n\n getLoanDetails() {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let loanDetails = value['records'];\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\n return loanDetails.end_use_group[key];\n });\n \n\n //this.enduse\n result.forEach(val => {\n this.enduse.push(val.end_use);\n //this.endUserList.push({'end_use':val.end_use});\n });\n let ownername: any = [];\n if(loanDetails.owner_name_group != null){\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\n return loanDetails.owner_name_group[key];\n });\n owner.forEach(val => {\n ownername.push(val.owner_name);\n this.ownerNames.push({'end_use':val.end_use});\n });\n }\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\n this.endUserChange(this.enduse);\n\n if (loanDetails.end_use_other!='') {\n //this.endUserChange(this.enduse);\n // this.isOtherPurpose=true;\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\n }\n \n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \n if(loanDetails.topup_amount > 0){\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\n if (loanDetails.end_use_topup == 1) {\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\n }\n } \n }\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n }\n if (loanDetails.lender) {\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\n }\n // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\n // if(loanDetails.own_contribution)\n // {\n // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\n // }\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\n if ((this.isContribution == true) && (loanDetails.is_transfer != 'yes')) {\n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['other_source'].setValue('');\n this.loanDetailsForm.controls['source'].setValue('');\n }\n else{\n if(this.isContribution == false && loanDetails.is_transfer!='yes')\n {\n let source=Object.keys(loanDetails.source_group).map(function(key){\n return loanDetails.source_group[key];\n });\n let dbsourcelist:any=[];\n source.forEach(val=>{\n dbsourcelist.push(val.sources);\n });\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution)\n if (loanDetails.own_contribution) { this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); }\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\n this.sourceChange(dbsourcelist);\n if(loanDetails.other_source) {\n // this.isOtherSource = true;\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\n }\n \n \n }\n }\n\n/* if (loanDetails.lender_name_type) {\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\n }*/\n \n if(loanDetails.emi_level){\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\n }\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\n this.propertyType =loanDetails.property_type;\n if(loanDetails.property_type !=null && loanDetails.property_type !=''){\n this.mortage_type(this.propertyType);\n if(this.mortageCardAccess == true){\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \n // this.mortage_type(loanDetails.property_type_others);\n \n }\n }\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\n if(loanDetails.emv_per_customer)\n {\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\n }\n \n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\n } else {\n\n }\n })\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL'){\n this.mortageCardAccess = false;\n this.loanDetailsForm.controls['owner_name'].setValue('');\n this.loanDetailsForm.controls['owner_name'].clearValidators();\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }else{\n this.mortageCardAccess = true;\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }\n \n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n localInsert(option){\n let datas:any=this.loanDetailsForm.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let form_id=this.FormId.form_id\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n let alert=this.toast.setAlert('data',JSON.stringify(res))\n alert.present();\n console.log(res);\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\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'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBankingPage 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-banking',\n templateUrl: 'pd-question-banking.html',\n // changeDetection:ChangeDetectionStrategy.OnPush\n})\nexport class PdQuestionBankingPage {\n \n m_btLenderList: any;\n applicants: any ;\n salaryField: boolean;\n FormId: any;\n accountType: any;\n users: any;\n bankDetails:FormGroup;\n pdDetails: any;\n pdid:any;\n bankitems:FormArray;\n\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n limitCaseFlag: any=[];\n amtInwords: any=[];\n\n protected _onDestroy = new Subject();\n m_btLenderListValue: any=[];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public cons: ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n //this.applicants.pop();\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 this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n \n \n // alert();\n this.users = this.aws.getlocale();\n this.bankDetails = this.fb.group(\n {\n bankitems:this.fb.array([]),\n banking_form_remark:[null],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n // this.bankDetails.controls['bankitems'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.filterBank();\n // })\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBankingPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.bankDetails.dirty);\n if(this.bankDetails.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n checkImage(){\n let value\n if(this.imageDisplay.length>0){\n // return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Captured Images are not Saved\",\"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n // reject();\n value=false;\n }\n else{\n // resolve();\n value=true;\n }\n })\n // })\n }\n return value\n }\n searchFun(control){\n control.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.filterBank(control);\n })\n}\n\n filterBank(event){\n if(!this.m_btLenderListValue){\n return\n }\n let search=event.controls['filterCtrl'].value\n if(!search){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n search=search.toLowerCase()\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(search)> -1)\n }\n }\n getdropdown()\n {\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \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 // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n\n/** Amount InWords */\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e){\n \n \n let year = itemrow.controls.vintage_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n \n}\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n //is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n \n addBankDetails() {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem('')); \n }\n\n removebank(i){\n\n if(this.bankitems.length==1){\n this.bankitems.reset();\n }\n else\n this.bankitems.removeAt(i);\n }\n\n savepdBank(answerData)\n {\n\n answerData.bankitems.forEach(element=>{\n //console.log(\"items\",element.filterCtrl);\n // if(element.filterCtrl){\n // console.log(\"enter\",element.filterCtrl)\n delete element.filterCtrl\n // }\n });\n // console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.banking_details = answerData.bankitems;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.bankDetails.dirty=false;\n // this.bankDetails.markAsDirty();\n // console.log(\"Dir\",this.bankDetails.markAsDirty())\n // console.log(\"pristine\",this.bankDetails.markAsPristine());\n // console.log(\"Touched\",this.bankDetails.markAsTouched());\n\n //TO CHANGE THE FORM STATE \n // this.bankDetails.markAsUntouched();\n // console.log(\"touched\",this.bankDetails.touched)\n // console.log(\"untouched\",this.bankDetails.untouched)\n // console.log(\"pristine\",this.bankDetails.pristine)\n this.bankDetails.reset(this.bankDetails.value)\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n retiveBankDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'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 var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n if(result.length ==0){\n \n this.bankitems.push(this.createBankItem(''))\n }else\n {\n \n \n \n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this.selectedAccTypeChanges(+datas.account_type,index)\n if(datas.limit != ''){\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n } \n // this.selectedBorrower(datas.applicant_name,index);\n this.bankitems.push(this.createBankItem(''));\n })\n this.bankDetails.controls['bankitems'].setValue(result);\n }\n \n \n }else\n {\n \n this.addBankDetails();\n }\n });\n \n }\n\n \n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n}\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'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\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 cityDataValue:any=[]\n stateDataValue:any=[]\n protected _onDestroy = new Subject();\n pincodeDataValue: any=[];\n relationDataValue: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n titleList: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public cons:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\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 //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.familyForm.dirty);\n if(this.familyForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \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: [''],\n residence_city: [''],\n citySearch:[''],\n residence_state: [''],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin: [''],\n residence_other_pincode:[''],\n residence_No_of_years: [''],\n residence_ownership: [''],\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 this.inWords(val.rent,index,2)\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,Validators.compose([Validators.required])],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n citySearch:[''],\n residence_state:[val.residence_state],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years],\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: [''],\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.inWords(vals.earning_gross_income_per_month,index,1);\n }\n let datas = this.fb.group({\n family_member_salutation:[vals.family_member_salutation || null],\n family_member_name: [vals.family_member_name || null],\n family_member_relationship: [vals.family_member_relationship || null],\n relationSearch:[''],\n family_member_age: [vals.family_member_age || null],\n family_member_earning_status: [vals.family_member_earning_status || null],\n earning_segment: [vals.earning_segment || null],\n earning_if_others_segment:[vals.earning_if_others_segment || null],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null],\n non_earning_occupation: [vals.non_earning_occupation || null],\n non_earning_if_others: [vals.non_earning_if_others || null],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null],\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:[''],\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_salutation:[''],\n family_member_name: ['' ],\n family_member_relationship: [''],\n relationSearch:[''],\n family_member_age: [''],\n family_member_earning_status: [''],\n earning_segment: [''],\n earning_if_others_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 non_earning_occupation: [''],\n non_earning_if_others: [''],\n non_earning_if_schoolorcollege:[''],\n non_earning_if_retired_from: [''],\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 this.relationDataValue=this.relationData.slice();\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 this.stateDataValue=this.stateData.slice();\n }\n })\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.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.cityDataValue[i]=this.cityData[i].slice();\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\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}*/\nsetValidation(control){\n console.log(control)\n if(control.controls['family_member_earning_status'].value == 1){\n control.controls['non_earning_occupation'].clearValidators()\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n if(control.controls['family_member_earning_status'].value == 2 ){\n control.controls['non_earning_occupation'].setValidators(Validators.compose([Validators.required]))\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n}\n\nsavepdfamily(answerData)\n{\n if(!this.familyForm.valid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields\");\n return\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 \n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n records.family_details.forEach(parVal=>{\n console.log(\"par\",parVal)\n delete parVal.stateSearch\n delete parVal.citySearch\n delete parVal.pinSearch\n parVal.family_members_details.forEach(childVal=>{\n console.log(\"childval\",parVal)\n delete childVal.relationSearch\n })\n })\n this.qustCat.saveForm(records).subscribe(res=>{\n //TO CHANGE THE FORM STATE \n this.familyForm.reset(this.familyForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\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}\nprevFamilyMembersCtrlLength: number = 0;\ncurrFamilyMembersCtrlLength: number = 0;\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 this.currFamilyMembersCtrlLength = control.length;\n \n let i : number = 0 ;\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\n console.log(i,this.prevFamilyMembersCtrlLength);\n control.removeAt(i);\n }\n // while(index < this.prevFamilyMembersCtrlLength)\n // { \n // }\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\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 this.prevFamilyMembersCtrlLength = data.length;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\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_salutation':'',\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 this.prevFamilyMembersCtrlLength = 1;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n \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_salutation:[val.family_member_salutation],\n family_member_name: [val.family_member_name],\n family_member_relationship: [val.family_member_relationship],\n relationSearch:[''],\n family_member_age: [val.family_member_age],\n family_member_earning_status: [val.family_member_earning_status],\n earning_segment: [val.earning_segment],\n earning_if_others_segment:[val.earning_if_others_segment],\n earning_gross_income_per_month: [val.earning_gross_income_per_month],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business],\n non_earning_occupation: [val.non_earning_occupation],\n non_earning_if_others: [val.non_earning_if_others],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege],\n non_earning_if_retired_from: [val.non_earning_if_retired_from],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n // console.log(res);\n if(res['dataStatus']==true){\n // console.log('res.record.from_general_form',res.record.from_general_form,res['record']);\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 // console.log('Temparr',Temparr);\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={'parent_pdid':this.pdDetails.parent_pd_id,'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 //FOR REMOVING CONTROL\n res['records'].family_details.forEach(parVal=>{\n parVal.stateSearch=''\n parVal.citySearch=''\n parVal.pinSearch=''\n parVal.family_members_details.forEach(childVal=>{\n delete childVal.relationSearch\n })\n })\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\n \n \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,i,flag:number){\n switch(flag){\n case 1 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \n break;\n case 2 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \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,Validators.compose([Validators.required])],\n residence_place:[val.residence_place]\n })\n }\n }\n\n\nsearchFun(control:any,i:number,option){\n console.log(\"control\",control)\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n console.log(\"City Data value\",this.cityDataValue[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n this.stateDataValue=this.stateData.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.stateDataValue=this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n searchRelation(val:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val);\n val.controls['relationSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.relationDataValue=this.cons.searchData(this.relationData,val.controls['relationSearch'].value,'')\n \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n \n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n \n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n \n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('family_member_name').value\n value.get('family_member_name').setValue(this.cons.sentenceCase(name));\n }\n }\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {Camera} from '@ionic-native/camera'\n// import {CacheService} from 'ionic-cache-observable'\n// import { Observable } from 'rxjs/Observable';\n\n/**\n * Generated class for the PdQuestionAssestsPage 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-assests',\n templateUrl: 'pd-question-assests.html',\n})\nexport class PdQuestionAssestsPage {\n tab:any='0'\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n m_relation: any;\n applicants: any ;\n users: any;\n FormId: any;\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\n m_investmentType: { 'id': string; 'name': string; }[];\n m_insuranceType: { 'id': string; 'name': string; }[];\n m_propertyType: { 'id': string; 'name': string; }[];\n m_assets_type: { 'id': string; 'name': string; }[];\n m_vehicle_type: any=[];\n m_uom_type: any=[];\n pdDetails: any;\n assetItem: any;\n items:FormArray;\n AssetsDetailsForm:FormGroup;\n details:FormArray;\n FormList:boolean = false;\n loadDetails:boolean = true;\n assestInfo:any;\n PremiumPaidInwords: any=[]; \n SumAssuredInwords: any=[];\n AmtInvestInwords: any=[];\n ApproxInwords:any =[];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOtherOwner: any = [];\n pdid:any;\n currentYear: any = new Date().getFullYear();\n imageBucket: any=[];\n base64: string;\n imageDisplay: any=[];\n @ViewChild('focusName') inputFocus;\n @ViewChild('picContent') content: Content\n complete_status: boolean = false;\n // data:Observable ;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider,public camera:Camera,public alert: AlertController) {\n \n this.assestInfo = \"busass\";\n this.FormId = this.navParams.get('FormId');\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.AssetsDetailsForm = this.fb.group({\n assets_details:this.fb.array([]),\n assets_form_remark:['']\n })\n \n this.getAssetDetails();\n this.getdropList();\n this.loadDetails = true;\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssestsPage');\n console.log(\"Form\",this.AssetsDetailsForm)\n this.getPDImages();\n }\n // ionViewWillLeave(){\n // console.log(this.AssetsDetailsForm.dirty);\n // if(this.AssetsDetailsForm.dirty){\n // return;\n // }\n \n // }\n ionViewCanLeave(){\n console.log(\"dirty\",this.AssetsDetailsForm.dirty);\n if(this.AssetsDetailsForm.dirty){\n // console.log(\"dirty\",this.AssetsDetailsForm.dirty)\n //return false;\n // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back');\n // console.log(\"v\",val)\n // if(val==1){\n\n // }\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n\n getdropList()\n {\n //GETTING Asset Type\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\n \n }\n })\n \n //GETTING Property Type;\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\n \n }\n })\n \n //GETTING Investment Type;\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Insurance Type;\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\n }\n })\n \n //GETTING Frequency Type;\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Relationship;\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \n {\n if(data['dataStatus']==true)\n {\n this.m_relation = data['records'].filter(data => data.isactive == 1);\n }\n });\n\n //GETTING VEHICLE TYPE;\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n }\n })\n \n //GETTING UOM List;\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\n }\n })\n\n //GETTING Company And Applicant List.\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\n { \n if(data['dataStatus']==true)\n {\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\n \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 this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n })\n \n \n }\n createAsset() : FormGroup\n {\n return this.fb.group(\n {\n assets_mode: [null],\n details: this.fb.array([]),\n approximate_market_value: [null],\n name_of_the_owner: [''],\n other_owner:[''],\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n vintage_personal : [''],\n emi: [null],\n });\n }\n\n addAsset(flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n this.assetItem.push(this.createAsset());\n }\n }\n\n deleteAsset(i,flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n if(this.assetItem.length==1)\n {\n this.AssetsDetailsForm.controls['assets_details'].reset();\n }else{\n this.assetItem.removeAt(i);\n } \n }\n }\n \n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n \n loanCalc(details ,flag)\n {\n if(flag == 1){\n \n let ElapsedValues;\n \n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n }\n }\n \n show: boolean;\n selectedAssetsType(e: any, i: any,flag : any): void {\n \n let val = i;\n if(flag == 1){\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n }\n \n switch (e.value) {\n case '1': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\n control.push(this.otherAssetsDescription());\n break;\n }\n case '2': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n case '5': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadConsumerDurableDescription());\n break;\n }\n case '6': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInsuranceDescription());\n break;\n }\n case '7': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInvestDescription());\n break;\n }\n case '8': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.otherAssetsDescription());\n break;\n }\n default: {\n break;\n }\n }\n }\n\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: [''],\n describe_of_the_property_asset: [''],\n area_covered_by_this_property: [''],\n uom_of_the_property: [''],\n other_uom: ['']\n });\n } \n\n loadConsumerDurableDescription() {\n return this.fb.group({\n consumer_durable_description: [null]\n });\n }\n \n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n\n otherAssetsDescription() {\n return this.fb.group({ any_other_assets: [''] });\n }\n\n loadInsuranceDescription() {\n return this.fb.group({\n // insurance_type: [null],\n premium_paid: [null],\n frequency_mode: [null],\n other_frequency_mode:[null],\n sum_assured: [null],\n members_coverd: [null]\n });\n }\n\n loadInvestDescription() {\n return this.fb.group({\n investments_type: [''],\n other_investments_type:[''],\n in_which_organisation:[''],\n amount_of_invest: [''],\n bank_name: ['']\n });\n }\n\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n \n\n load_Two_Weeler() {\n return this.fb.group({\n manufacturer_model_two_weeler: ['']\n });\n }\n\n\n\n loadPropertyWithData(data) {\n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\n area_covered_by_this_property: [data.area_covered_by_this_property],\n uom_of_the_property: [data.uom_of_the_property],\n other_uom: [data.other_uom]\n });\n }\n\n loadJwellDescriptionWithData(data) {\n return this.fb.group({\n // jwell_description: [data.jwell_description]\n });\n }\n\n loadConsumerDurableDescriptionWithData(data) {\n return this.fb.group({\n consumer_durable_description: [data.consumer_durable_description]\n });\n }\n\n otherAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n });\n }\n \n loadInsuranceDescriptionWithData(data) {\n return this.fb.group({\n //insurance_type: [data.insurance_type],\n premium_paid: [data.premium_paid],\n frequency_mode: [data.frequency_mode],\n other_frequency_mode:[data.other_frequency_mode],\n sum_assured: [data.sum_assured],\n members_coverd: [data.members_coverd]\n });\n }\n\n loadInvestDescriptionWithData(data) {\n return this.fb.group({\n investments_type: [data.investments_type],\n other_investments_type:[data.other_investments_type],\n in_which_organisation:[data.in_which_organisation],\n amount_of_invest: [data.amount_of_invest],\n bank_name: [data.bank_name]\n });\n }\n\n \n\n load_Four_WeelerWithData(data) {\n return this.fb.group({\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n });\n }\n\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n\n load_Two_WeelerWithData(data) {\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\n });\n }\n\n\n initDetailsWithdata(data) {\n return this.fb.group({\n assets_mode: [data.assets_mode],\n details: this.fb.array([]),\n approximate_market_value: [data.approximate_market_value],\n name_of_the_owner: [data.name_of_the_owner],\n other_owner:[data.other_owner || ''],\n vintage_personal:[data.vintage_personal],\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n emi: [data.emi || 0],\n });\n }\n\n saveAssetDetails(answerData)\n {\n if(!this.AssetsDetailsForm.dirty){\n this.toast.pdTriggerappmessage(\"Modified\"+' '+this.AssetsDetailsForm.dirty);\n return;\n }\n \n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n // answerData.assets_details.map(val => {\n // if (val.emi == 'no') {\n // val.emi_paid = '';\n // val.elapsed_tenure = '';\n // val.balance_tenure = '';\n // val.original_loan_tenure ='';\n // }\n // });\n answerData.parent_pdid=this.pdDetails.parent_pd_id\n answerData.pdid = this.pdDetails.pd_id;\n answerData.formid = this.FormId.form_id;\n answerData.fk_createdby = this.users;\n \n this.qustCat.saveForm(answerData).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.AssetsDetailsForm.reset(this.AssetsDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n apiLoadFinish:boolean = false;\n\n // To Fetch The Asset Value;\n getAssetDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n return res['records'].assets_details[key];\n });\n \n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n if (assetArray.length > 0) {\n assetArray.forEach((val, index) => {\n let vals = {\n assets_mode: val.assets_mode,\n approximate_market_value: val.approximate_market_value,\n name_of_the_owner: val.name_of_the_owner,\n other_owner:val.other_owner,\n purchase_year: val.purchase_year,\n vintage_personal:val.vintage_personal,\n emi: val.emi,\n };\n \n let Avaliablity = 1;\n if(val.name_of_the_owner.length>0){\n val.name_of_the_owner.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\n \n const control = this.AssetsDetailsForm.controls['assets_details'];\n control.push(this.initDetailsWithdata(vals));\n this.inWords(+val.approximate_market_value,index,4);\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\n });\n \n }\n \n this.apiLoadFinish = true;\n \n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\n }else{\n this.apiLoadFinish = true;\n this.addAsset(1);\n // this.addAsset(2);\n }\n })\n \n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\n let val = i;\n \n let data = datas;\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n switch (assets_details_mode) {\n case '1': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'any_other_assets': datas.any_other_assets };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.otherAssetsDescriptionWithData(array_data));\n break;\n }\n \n case '2': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\n 'uom_of_the_property': datas.uom_of_the_property,\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadPropertyWithData(array_data));\n break;\n }\n case '3': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\n 'vehicle_type': datas.vehicle_type,\n 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.load_Four_WeelerWithData(array_data));\n break;\n }\n case '4': {\n let array_data:any\n data.forEach((datas,i)=>{\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\n })\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\n break;\n }\n case '5': {\n this.FormList = true;\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\n break;\n }\n case '6': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { \n 'premium_paid': datas.premium_paid,\n 'frequency_mode': datas.frequency_mode,\n 'other_frequency_mode':datas.other_frequency_mode,\n 'sum_assured': datas.sum_assured,\n 'members_coverd': datas.members_coverd\n };\n this.inWords(+datas.premium_paid,i,1);\n this.inWords(+datas.sum_assured,i,2);\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInsuranceDescriptionWithData(array_data));\n break;\n }\n case '7': {\n let array_data : any;\n data.forEach((datas,i) => {\n this.inWords(+datas.amount_of_invest,i,3);\n array_data = { 'investments_type': datas.investments_type,\n 'other_investments_type' : datas.other_investments_type,\n 'in_which_organisation':datas.in_which_organisation,\n 'amount_of_invest': datas.amount_of_invest,\n 'bank_name': datas.bank_name };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInvestDescriptionWithData(array_data));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /** On Key Press Event For Number only Accepting */\n keyPress(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 }\n\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) { }\n else if (type == 2) { }\n else if (type == 3) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\n }\n\n }\n\n\n setRequiredValidation(value, ParInx, ChdInx, flag) {\n\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\n\n let ChdCtrls: any = ParCtrls.controls[ParInx];\n\n if (flag == 4) {\n let Avaliablity = 1;\n\n if (value.length > 0) {\n value.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n if (Avaliablity == 0) {\n\n\n // ChdCtrls.controlsother_owner.setValidators([Validators.required]);\n this.isOtherOwner[ParInx] = true;\n\n } else if (Avaliablity == 1) {\n\n\n ChdCtrls.controls.other_owner.setValue('');\n // ChdCtrls.controls.other_owner.clearValidators();\n this.isOtherOwner[ParInx] = false;\n\n }\n\n // ChdCtrls.controls.other_owner.updateValueAndValidity();\n\n }\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n savePhoto(){\n let num_of_images=(this.imageBucket.length+1)+(this.imageDisplay.length+1)\n console.log(\"num of images\",num_of_images)\n if(num_of_images <=10){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n \n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n else{\n this.toast.pdTriggerappmessage(\"You are reached the image Limit. To Capture new one Delete the Previous image\");\n }\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert=this.alert.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n this.imageBucket[index].Name=data.Name\n alert.dismiss\n }\n }\n ]\n })\n alert.present();\n //this.inputFocus.setFocus();\n \n }\n// al(){\n// this.toast.pdTriggerappmessage(\"touched\");\n// }\n sendImage(){\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_owner').value\n value.get('other_owner').setValue(this.constprovider.sentenceCase(name));\n }\n \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, 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'\nimport { PdQuestionRentalDashPage } from '../pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\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 existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n applicants: any=[];\n isOrganisationOwner: any=[];\n customer_segment_abbr: any;\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider, public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.applicants=this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0)\n //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\n // {\n // this.one = res;\n // if(this.one.dataStatus == true)\n // {\n // this.one = this.one.records.template_forms;\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\n // console.log(this.one,one);\n // }\n\n // });\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 //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.otherIncomeForm.dirty);\n if(this.otherIncomeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \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 this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\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 this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\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 if (this.customer_segment_abbr == 'SE-RI') {\n let inx = this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\")\n /** -X- Please NOTE THIS :\n * inx is '-1' -> this will remove the last item from array \n * so that If Condition is given. */\n if (inx !== -1) {\n this.sourceIncome.splice(this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\"), 1);\n }\n }\n }\n });\n \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}\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\n console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\nconsole.log(\"chld\",ChdCtrls)\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.others_income_earned_by.setValue('');\n ChdCtrls.controls.others_income_earned_by.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\n\nToview(){\n // alert('Rental Income Details - Is inprogress');\n \n // here Hardcoded;\n this.otherIncomeForm.reset(this.otherIncomeForm.value)\n let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\n}\nsubmitOtherIncome(answerData)\n{\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\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 //TO CHANGE THE FORM STATE \n this.otherIncomeForm.reset(this.otherIncomeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }, error => {\n \n })\n}\n\ngetOtherIncome()\n{\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'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 \n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\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 /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_income_earned_by').value\n value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name));\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 } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\nimport { Message } from '@angular/compiler/src/i18n/i18n_ast';\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionRentalInfoPage 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-rental-info',\n templateUrl: 'pd-question-rental-info.html',\n})\nexport class PdQuestionRentalInfoPage {\n pipe = new DatePipe('en-US');\n users: any;\n pdDetails: any;\n FormId: any;\n rentalForms:FormGroup;\n applicants: any ;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n personType: any=[{id:2,name:\"Tenant / Lessee\"},{id:3,name:\"Owner of the Rented Property\"},{id:4,name:\"Property Caretaker\"},{id:1,name:\"Others (Please Specify)\"}];\n relationShipList: any=[];\n relationToList: any=[];\n rentAmtInwords : String;\n paymentOptions: any=[{id:1,name:\"Received in Cash\"},{id:2,name:\"Received through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n paymentPaidOptions: any=[{id:1,name:\"Paid in Cash\"},{id:2,name:\"Paid through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n propertyNature: any=[{id:2,name:\"Residential Property\"},{id:3,name:\"Commercial Property\"},{id:4,name:\"Industrial Property\"},{id:1,name:\"Others (Please Specify)\"}];\n unitTypeList: any=[];\n stateData:any=[];\n cityData:any=[];\n pincodeData:any=[];\n stateList:any=[];\n cityList:any=[];\n pincodeList:any=[];\n \n documentList: any=[{id:2,name:\"Property Title Document\"},{id:3,name:\"Electricity Bill with name of owner mentioned therein\"},{id:4,name:\"Property tax Receipts\"},{id:1,name:\"Others (Please Specify)\"}];\n //floorList: any=[{id:1,name:\"Ground Floor\"},{id:1,name:\"First Floor\"},{id:1,name:\"Second Floor\"},{id:1,name:\"Third Floor\"}]\n //unitMeasurementList: any=[{id:2,name:\"Square Feet\"},{id:3,name:\"Square Yards\"},{id:4,name:\"Square Meters\"},{id:5,name:\"Acres\"},{id:6,name:\"Hectares\"},{id:1,name:\"Others (Please Specify)\"}];\n unitMeasurementList: any=[];\n\n rent_per_unit_Inwords : any= [];\n amount_Inwords : any=[];\n // rent_per_unit_2_Inwords: any=[];\n floor_rent_per_unit_Inwords : any[][];\n floor_rent_amount_Inwords: any=[];\n monthly_rent_amount_Inwords: any=[];\n amount_received_cash_Inwords: any=[];\n amount_received_bank_Inwords: any=[];\n securtity_deposit_amount_Inwords: any=[]; \n agreement_monthly_rent_amount_Inwords: any=[];\n agreement_security_deposit_amount_Inwords: any=[]\n paid_monthly_rent_per_met_Inwords: any=[];\n amount_received_cash_per_met_Inwords: any=[];\n amount_received_bank_per_met_Inwords: any=[];\n protected _onDestroy = new Subject();\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n pageTitle: string;\n data:any;\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,\n public constprovider:ConstantsProvider,public alertCtrl:AlertController,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) \n {\n this.data=this.navParams.get('values'); // for get the data from dash page\n console.log(\"values\",this.data)\n this.pageTitle = this.data.manage_status==1 ? 'Add RI Details' : 'Update RI Details';\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.getdropList();\n\n this.rentalForms = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId.form_id,\n address_property:['',Validators.required],\n state:['',Validators.required],\n stateSearch:[''],\n city:['',Validators.required],\n citySearch:[''],\n pincode:['',Validators.required],\n pincodeSearch:[''],\n validate_visited_address:[true],\n person_met: ['',Validators.required],\n property_owner: ['',Validators.required],\n property_ownership_proof_documents: ['',Validators.required],\n nature_property: ['',Validators.required],\n unit_type:['',Validators.required],\n no_units:[''],\n multistoried_building_details: this.fb.array([]),\n property_unit_details : this.fb.array([]),\n done_third_party_check :['',Validators.required],\n rental_remark: [''],\n })\n\n // observe person met controls\n this.rentalForms.controls['person_met'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherPersonMetCheck = val.filter(fVal=>fVal.id==0);\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_person_met', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_person_met');\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_name_person_showing_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_showing_property');\n otherPersonMetCheck.length>0 ? '' : this.rentalForms.removeControl('other_name_person_type');\n\n \n }\n else {\n this.rentalForms.removeControl('other_person_met');\n this.rentalForms.removeControl('other_name_person_showing_property');\n this.rentalForms.removeControl('other_name_person_type');\n }\n });\n // observe owner of the property\n this.rentalForms.controls['property_owner'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherOwnerCheck = val.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relationship', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relationship');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relation_to', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relation_to');\n\n }\n else {\n this.rentalForms.removeControl('property_owner_other');\n this.rentalForms.removeControl('property_owner_other_relationship');\n this.rentalForms.removeControl('other_name_person_type');\n this.rentalForms.removeControl('property_owner_other_relation_to');\n }\n });\n // observe other property type\n this.rentalForms.controls['nature_property'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_nature_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_nature_property');\n });\n\n // observe unit type changes\n this.rentalForms.controls['unit_type'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_unit_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_unit_type');\n val.group_id==1 && val.id==6 ? this.rentalForms.removeControl('no_units') : val.group_id==2 && val.id==7 ? this.rentalForms.removeControl('no_units') : this.rentalForms.addControl('no_units', new FormControl(''));\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : this.rentalForms.removeControl('no_floor');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_total_area');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_uom');\n val.group_id==1 && val.id==6 ? '' : val.group_id==2 && val.id==7 ? '' : this.rentalForms.setControl('multistoried_building_details', this.fb.array([]));\n });\n\n // observe visit address\n this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(val => { \n if(val===false){\n this.rentalForms.addControl('other_visited_address', new FormControl('', Validators.required)); \n }\n else {\n this.rentalForms.removeControl('other_visited_address'); \n }\n });\n // get city list based on state changes\n this.rentalForms.controls['state'].valueChanges.subscribe(val => { \n this.qustCat.getStateWiseCities(val).subscribe(data => {\n if (data.status == 200) {\n this.cityData = data.records.cities;\n this.cityList = this.cityData.slice();\n this.pincodeData = data.records.pincode;\n this.pincodeList = this.pincodeData.slice();\n }\n });\n });\n\n // ownership property documents during the visit\n this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('sighted_documents');\n val==\"1\" ? '' : this.rentalForms.removeControl('other_sighted_documents');\n }); \n\n // listen third party check\n this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('whom_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('whom_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('description_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('description_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('rental_rates_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('rental_rates_third_party_check_done');\n val==\"0\" ? this.rentalForms.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('why_third_party_check_not_done');\n }); \n if(this.data.manage_status != 1){\n this.getRentalDetails(); \n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n }\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.rentalForms.dirty);\n if(this.rentalForms.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropList()\n {\n\n let modifyApplicantList: any=[];\n \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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n \n }\n // set unit type list details\n let resiDentialProperty = [{id:2,name:'Independent Flat',group_id:1},{id:3,name:'Independent Floor',group_id:1},\n {id:4,name:'Independent House',group_id:1},{id:5,name:'Independent Row House',group_id:1},{id:6,name:'Multi Storey Building',group_id:1},{id:1,name:'Other (Please Specify)',group_id:1}];\n \n let commercialProperty = [{id:2,name:'Independent Office',group_id:2},{id:3,name:'Independent Shop',group_id:2},{id:4,name:'Warehouse/Godown',group_id:2},\n {id:5,name:'Workshop',group_id:2},{id:6,name:'Independent Clinic',group_id:2},{id:7,name:'Multi Storey Building',group_id:2},{id:1,name:'Other (Please Specify)',group_id:2}];\n\n let industrialProperty = [{id:2,name:'Factory',group_id:3},{id:3,name:'Industrial Shed',group_id:3},{id:1,name:'Other (Please Specify)',group_id:3}];\n \n this.unitTypeList.push({groupID:2,groupName:'Residential Property',groupValues:resiDentialProperty});\n this.unitTypeList.push({groupID:3,groupName:'Commercial Property',groupValues:commercialProperty});\n this.unitTypeList.push({groupID:4,groupName:'Industrial Property',groupValues:industrialProperty}); \n \n\n //GETTING RELATIONSHIPS\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let relationshipList: any = res['records'].filter(item => item.isactive == 1).map(element => {\n return {id:element.relationship_id.toString(),name:element.name,group_id:1};\n });\n relationshipList.length > 0 ? this.relationShipList.push({groupName:'Personal',groupValues:relationshipList}):'';\n }\n })\n \n //GETTING COMPANYRELATIONSHIPS;\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let companyRelationShipList:any = res['records'].filter(item => item.isactive == 1 && item.name != 'Others').map(element => {\n return {id:element.company_relationship_id.toString(),name:element.name,group_id:2};\n });\n companyRelationShipList.length > 0 ? this.relationShipList.push({groupName:'Official',groupValues:companyRelationShipList}):'';\n } \n })\n \n //GETTING STATE;\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.stateData = res['records'].filter(data => data.isactive == 1);\n this.stateList = this.stateData.slice();\n }\n })\n\n //GETTING UOM;\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.unitMeasurementList = res['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2).map(mval=>({id : mval.uom_id , name:mval.name}));\n }\n }) \n }\n\n// initRentalForm() {\n// return this.rentalForms = this.fb.group({\n// pdid: this.pdDetails.pd_id,\n// formid: this.FormId.form_id,\n// address_property:['',Validators.required],\n// state:['',Validators.required],\n// city:['',Validators.required],\n// pincode:['',Validators.required],\n// validate_visited_address:[true],\n// person_met: ['',Validators.required],\n// property_owner: ['',Validators.required],\n// property_ownership_proof_documents: ['',Validators.required],\n// nature_property: ['',Validators.required],\n// unit_type:['',Validators.required],\n// no_units:[''],\n// property_unit_details : this.fb.array([]),\n// done_third_party_check :['',Validators.required],\n// rental_remark: [''],\n// });\n// }\n\n // createrentalHome()\n // {\n // return this.fb.group(\n // {\n // complete_add:[null,Validators.compose([Validators.required])],\n // area_of_property:[null,Validators.compose([Validators.required])],\n // structure_property:[null,Validators.compose([Validators.required])],\n // total_room:[null,Validators.compose([Validators.required])],\n // is_rent:[null,Validators.compose([Validators.required])],\n // date_agreement:[null,Validators.compose([Validators.required])],\n // date_validity:[null,Validators.compose([Validators.required])],\n // rent_agreement:[null,Validators.compose([Validators.required])],\n // actual_rent:[null,Validators.compose([Validators.required])],\n // photo_areegment:[null,Validators.compose([Validators.required])],\n // property_photographs:[null],\n // bank:[null,Validators.compose([Validators.required])],\n // cash:[null,Validators.compose([Validators.required])],\n // rent_each_floor:[null,Validators.compose([Validators.required])],\n // total_rent:[null,Validators.compose([Validators.required])],\n // related_doc_owner:[null,Validators.compose([Validators.required])],\n // details_tenants:this.fb.array([]),\n // third_party_check:[null,Validators.compose([Validators.required])],\n // })\n // }\n\n // other_name_person_showing_property changes\n personShowingChanges(value: any): void { \n if(value.length>0){\n let otherCheck: any = value.filter(fVal=>fVal.id==1);\n otherCheck.length >0 ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_type');\n}\nelse {\n this.rentalForms.removeControl('other_name_person_type');\n}\n}\n\n// dynamic form control generate for other documents sighted\ngetSightedDocs(value): void{\n value.id==1 ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n}\n\n// add more unit details\naddMoreUnitDetails(){\n let control: any = this.rentalForms.controls['property_unit_details'];\n //control.push(this.createUnitDetails(''));\n control.push(this.createUnitDetails(''));\n}\n\n // create unit details\n createUnitDetails(details){\n return this.fb.group({\n tenant_lessees_options:['1',Validators.required],\n name_tenant_lessees:['',Validators.required],\n monthly_rent_amount: ['',Validators.required],\n payment_mode: ['',Validators.required],\n securtity_deposit_amount: ['',Validators.required],\n property_cover_area: ['',Validators.required],\n unit_measurement: ['',Validators.required],\n is_rent_agreement_executed: ['',Validators.required],\n met_tenant_lessees_options: ['',Validators.required],\n });\n }\n\n // remove unit\n removeUnit(index) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.removeAt(index);\n }\n\n // generate payment dynamic fields\n generatePaymentOptions(value:any,index:number,type: number){\n if(type==1){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.payment_mode.id==1){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==2){\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==3){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].addControl('payment_received_reason', new FormControl(value.payment_received_reason ? value.payment_received_reason : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n \n }\n else if(type==2){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"controls\",control.controls['index'])\n if( control.controls[index].controls['payment_difference_per_met']){\n console.log(\"pay\");\n control.controls[index].controls['payment_difference_per_met'].setValue('')\n }\n \n if(value && value.payment_mode_per_met.id==1){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==2){\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==3){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].addControl('payment_received_reason_per_met', new FormControl(value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n }\n \n \n }\n\n// tenant/lessees options\ngenerateTenantOptions(value:any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.tenant_lessees_options==\"1\"){\n control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n else if(value.tenant_lessees_options==\"0\"){\n control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees');\n }\n else {\n control.controls[index].removeControl('name_tenant_lessees');\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n }\n\n // unit of measurement generate other field\n generateOtherunitMeasurement(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n value.unit_measurement.id==\"1\" ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n \n}\n\n// generate multistoried other uom\ngenerateMultistoriedOtherUOM(value: any){\n value.multistoried_uom.id==\"1\" ? this.rentalForms.addControl('multistoried_other_uom', new FormControl('', Validators.required)) : this.rentalForms.removeControl('multistoried_other_uom');\n}\n\n// generate Rent AgreementSeen\ngenerateRentAgreementSeen(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.is_rent_agreement_executed==\"1\"){\n control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required))\n }\n else{\n control.controls[index].removeControl('rent_agreement_seen');\n // after no\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n \n}\n//genearate rent agreement registered options\ngenerateRegisterOptions(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_seen==\"1\"){\n control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required));\n }\n else{\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n\n}\n//genearate if rent agreement yes registered details\ngenerateRegisterDetails(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_registered==\"1\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n\n }\n else if(value.rent_agreement_registered==\"0\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n }\n else{\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n\n}\n\n// calculate expiry date\n// calculateExpiryDate(e: any,index){\n// let control: any = this.rentalForms.controls['property_unit_details'];\n// // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n// let getSeletedDate: any='';\n// let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n// if(getSeletedDate && getEnteredMonth>0){\n// let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n// modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n// // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n// let getExpiryDate='';\n// control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n// // calculate remaining month\n// if(modifySeletedDate >= new Date()){\n// let currentDate:any = new Date();\n// // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n// currentDate = '';\n// let remaingMonths;\n// remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n// remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n// control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n// }\n// else{\n// control.controls[index].controls['rental_remaining_months'].setValue(0);\n// }\n// }\n// else {\n// control.controls[index].controls['agreement_expiring_date'].setValue('');\n// control.controls[index].controls['rental_remaining_months'].setValue('');\n\n// }\n\n// } \n\ncalculateExpiryDate(e: any,index){\n let control: any = this.rentalForms.controls['property_unit_details'];\n let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n if(getSeletedDate && getEnteredMonth>0){\n let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n console.log('getExpiryDate',getExpiryDate);\n control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n // calculate remaining month\n if(modifySeletedDate >= new Date()){\n let currentDate:any = new Date();\n currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n let remaingMonths;\n remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n console.log('remaingMonths',remaingMonths);\n control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n }\n else{\n control.controls[index].controls['rental_remaining_months'].setValue(0);\n }\n }\n else {\n control.controls[index].controls['agreement_expiring_date'].setValue('');\n control.controls[index].controls['rental_remaining_months'].setValue('');\n\n }\n\n} \n\n// generate other owners as per rent agreement\ngenerateAgreementOtherOwners(value:any,index:number) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.length>0){\n let otherOwnerCheck = value.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n else {\n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n}\n\n// validate agreement amount\nvalidateAgreementAmt(actualRent:number,agreementRent:number){\n if(actualRent>0 && agreementRent>0){\n return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent);\n }\n else{\n return \"0\";\n }\n\n}\n \n// generate tenant met details\ngenerateTenantMetDetails(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.met_tenant_lessees_options==\"1\"){\n // remove reason \n control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n \n control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_difference_per_met', new FormControl(''));\n \n\n }\n else{\n control.controls[index].removeControl('name_tenant_lessees_per_met');\n control.controls[index].removeControl('property_owner_per_met');\n control.controls[index].removeControl('paid_monthly_rent_per_met');\n control.controls[index].removeControl('period_of_stay_per_met');\n control.controls[index].removeControl('payment_mode_per_met');\n control.controls[index].removeControl('payment_difference_per_met');\n\n\n // remove other owner details\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n // remove paymnet options\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n // add reason\n control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required));\n\n\n }\n}\n\n// generate met others owner\ngenerateMetOtherOwners(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.property_owner_per_met.length>0){\n let otherCheck: any = value.property_owner_per_met.filter(fVal=>fVal.id==0);\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\nelse {\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\n\n}\n\n// generate floor rows\ngenerateFloor(e:any): void{\n let control = this.rentalForms.controls['multistoried_building_details'];\n if(e.target.value && Math.round(e.target.value)!=0){\n \n if(Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length){\n let rowValue = Math.round(e.target.value)-this.rentalForms.value.multistoried_building_details.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorDetails(''));\n }\n }\n else if(Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length){\n let rowValue = this.rentalForms.value.multistoried_building_details.length-Math.round(e.target.value);\n for(let i=rowValue;i>0;i--){\n control.removeAt(this.rentalForms.value.multistoried_building_details.length-1);\n }\n }\n }\n else if(e.target.value && Math.round(e.target.value)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n e.stopPropagation();\n}\n\n// create floor details\ncreateFloorDetails(details){\n if(details){\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])], \n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n else{\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])],\n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n\n}\n\n// generate floor unit details\ngenerateFloorUnit(values:any, index:number){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n control = control.controls[index];\n control= control.controls['floor_unit_details'];\n if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"0\"){\n if(Math.round(values.no_units_in_floor) > control.value.length){\n let rowValue = Math.round(values.no_units_in_floor)-control.value.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorUnitDetails(2));\n }\n }\n else if(Math.round(values.no_units_in_floor) < control.value.length){\n let rowValue = control.value.length-Math.round(values.no_units_in_floor);\n for(let i=rowValue;i>0;i--){\n control.removeAt(control.value.length-1);\n }\n }\n else if(Math.round(values.no_units_in_floor)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n this.calculateFloorRentAmt(values,index);\n \n }\n else if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"1\") {\n control.controls = [];\n control.setValue([]); \n control.push(this.createFloorUnitDetails(1));\n this.calculateFloorRentAmt(values,index);\n }\n else {\n control.controls = [];\n control.setValue([]); \n }\n\n}\n\n// create floor unit details\ncreateFloorUnitDetails(type:number){\n if(type==1){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n amount: [''],\n });\n }\n else if(type==2){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n });\n }\n\n}\n// calculate floor rent amount\ncalculateFloorRentAmt(values: any, index: number){\n // this.inWords(values,index,1);\n if(values.unit_rent_difference_options==\"1\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n if(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit>0 && values.no_units_in_floor>0){\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,2);\n control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,4);\n }\n else{\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue('');\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n else if(values.unit_rent_difference_options==\"0\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n // console.log(unitcontrol)\n let getunitValues = unitcontrol.value.filter(val=>val.rent_per_unit!='');\n if(getunitValues.length>0){\n control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val), 0));\n this.inWords(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val)),index,4);\n }\n else{\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n\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}\ncompareSingleObjects(o1: any, o2: any) {\n if(o1.id == o2.id)\n return true;\n else return false\n}\n // createTenantsDetails()\n // {\n // return this.fb.group(\n // {\n // name:[null,Validators.compose([Validators.required])],\n // mobile_no:[null,Validators.compose([Validators.required])],\n // tenants_seen:[null,Validators.compose([Validators.required])],\n // tenants_con_owner:[null,Validators.compose([Validators.required])],\n // rent_paid:[null,Validators.compose([Validators.required])],\n // staying_since:[null,Validators.compose([Validators.required])],\n \n // });\n // }\n\n // addrentalHome()\n // {\n // const control = this.rentalForms.get('rental_home') as FormArray;\n // control.push(this.createrentalHome());\n // this.addTenantsDetails(0);\n // }\n\n // addTenantsDetails(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\n \n // // control.controls.splice(0);\n // control.push(this.createTenantsDetails());\n\n // }\n\n // deleteTenantsDetails(rentIndex,TenantsIndex)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\n \n // control.removeAt(TenantsIndex);\n // }\n\n // deleterentalHome(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']) as FormArray;\n // if(control.length==1)\n // {\n // this.rentalForms.controls['rental_home'].reset();\n // }else\n // {\n // control.removeAt(i);\n // }\n // }\n saveAlert(answerData){\n let ApplicantRentAmt : number=0 ; \n let TenantRentAmt : number =0; \n let FloorsTotalRentAmt : number =0; \n\n let TempArray1 : any = [];\n let TempArray2 : any = [];\n let TempArray3 : any = [];\n\n let TextMessage :any;\n\n if(answerData.property_unit_details.length > 0){\n \n answerData.property_unit_details.forEach((data,index) => {\n TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0;\n ApplicantRentAmt = TempArray1.reduce((sum, val) => sum + +val, 0);\n TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0;\n TenantRentAmt = TempArray2.reduce((sum, val) => sum + +val, 0);\n })\n TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt+'
'; \n }\n\n \n if(answerData.multistoried_building_details.length > 0){\n answerData.multistoried_building_details.forEach((val,index) => {\n TempArray3[index] = val.hasOwnProperty('floor_rent_amount')? val.floor_rent_amount : 0;\n FloorsTotalRentAmt = TempArray3.reduce((sum, val) => sum + +val, 0);\n });\n TextMessage = TextMessage +'Rent amount calculated = '+FloorsTotalRentAmt;\n }\n else{\n TextMessage = TextMessage +'Monthly Rent amount as Per Tenant met = '+TenantRentAmt;\n }\n \n let alert=this.alertCtrl.create({\n title:'Confirm The Rent Amount',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.saveRentalDetails(answerData)\n }\n }\n ]\n });\n alert.present();\n }\n saveRentalDetails(answerData) {\n answerData.rental_count_id=this.data.existing_rental_count_id\n console.log('answerData',answerData);\n \n delete answerData.stateSearch;\n delete answerData.citySearch;\n delete answerData.pincodeSearch;\n answerData.fk_createdby = this.users;\n\n console.log('answerData',answerData);\n\n this.qustCat.saveForm(answerData).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.rentalForms.reset(this.rentalForms.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n// s(answerData)\n// {\n// let records:any={}\n \n \n// // if(this.rentalForms.valid){\n// records.pdid = this.pdDetails.pd_id;\n// records.formid = this.FormId.form_id;\n// records.fk_createdby = this.users;\n// records.person_met = answerData.person_met;\n// records.property_own = answerData.property_own;\n// records.nature_property = answerData.nature_property;\n// if(answerData.nature_property=='others')\n// {\n// records.nature_others = answerData.nature_others\n// }\n// records.rental_home = answerData.rental_home;\n// Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\n\n// this.qustCat.saveForm(records).subscribe(res=>\n// { \n// if(res['dataStatus']==true)\n// {\n// this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n// setTimeout(()=>{\n// this.navCtrl.pop();\n// },2000);\n// }\n// })\n// // }else\n// // {\n// // this.toast.pdTriggerappmessage('Enter All Field');\n// // }\n// }\n\n getRentalDetails()\n {\n\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n \n \n \n // this.qustCat.retiverForm(records).subscribe(res=> {\n console.log(\"enter\",this.data.editData)\n if(this.data.editData)\n {\n \n let rentalDetails = this.data.editData;\n console.log(\"rental\",rentalDetails)\n rentalDetails.parent_pdid=this.pdDetails.parent_pd_id\n rentalDetails.pdid = this.pdDetails.pd_id,\n rentalDetails.formid = this.FormId.form_id;\n rentalDetails.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)): this.rentalForms.removeControl('other_name_person_type');\n rentalDetails.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n // this.rentalForms.addControl('stateSearch', new FormControl(''));\n // this.rentalForms.addControl('citySearch', new FormControl(''));\n // this.rentalForms.addControl('pincodeSearch', new FormControl(''));\n rentalDetails.stateSearch = '';\n rentalDetails.citySearch = '';\n rentalDetails.pincodeSearch = '';\n //get Multistoried Building Details\n if(rentalDetails.multistoried_building_details){\n let selectedMultistoriedBuilding = Object.keys(rentalDetails.multistoried_building_details).map(function (key) {\n return rentalDetails.multistoried_building_details[key];\n });\n\n if(selectedMultistoriedBuilding.length>0){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n selectedMultistoriedBuilding.forEach((floorElement,floorIndex)=>{\n control.push(this.createFloorDetails(''));\n let unitControl = control.controls[floorIndex];\n unitControl= unitControl.controls['floor_unit_details'];\n let floor_rent_amount_val;\n floorElement.floor_unit_details.forEach((unitElement,unitIndex) => {\n floorElement.unit_rent_difference_options==\"0\" ? unitControl.push(this.createFloorUnitDetails(2)) : unitControl.push(this.createFloorUnitDetails(1));\n console.log(\"rent per unit\",unitElement.rent_per_unit);\n if(floorElement.unit_rent_difference_options == \"1\"){\n console.log(\"check\",unitElement.rent_per_unit)\n if(unitElement.rent_per_unit !=''){\n this.inWords(unitElement.rent_per_unit,unitIndex,1)\n }\n if(unitElement.amount!=''){\n this.inWords(unitElement.amount,floorIndex,2)\n }\n }\n else if(floorElement.unit_rent_difference_options==\"0\"){\n if(unitElement.rent_per_unit!=''){\n //floor_rent_amount_val+=unitElement.rent_per_unit\n }\n this.inWords(floorElement.floor_rent_amount,floorIndex,4)\n }\n });\n // this.inWords(floor_rent_amount_val,floorIndex,4)\n });\n }\n } \n\n // get property unit details\n if(rentalDetails.property_unit_details){\n console.log(\"property\",rentalDetails.property_unit_details)\n let selectedUnitDetails = Object.keys(rentalDetails.property_unit_details).map(function (key) {\n return rentalDetails.property_unit_details[key];\n });\n if(selectedUnitDetails.length>0){\n selectedUnitDetails.forEach((element,index) => {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n (element.name_tenant_lessees && element.tenant_lessees_options==\"1\") ? control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees');\n (element.name_tenant_lessees_reason && element.tenant_lessees_options==\"0\") ? control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason');\n // for payment options\n element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash');\n element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank');\n element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason');\n \n // unit of other measurement \n element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n // rent agreement seen\n element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_seen');\n element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_registered');\n element.agreement_date ? control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_date');\n element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_no_months');\n element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_expiring_date');\n (element.rental_remaining_months=='' || element.rental_remaining_months>=0) ? control.controls[index].addControl('rental_remaining_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('rental_remaining_months');\n element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_monthly_rent_amount');\n element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_security_deposit_amount');\n element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('', Validators.required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n \n //agreement owners\n element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owners_name');\n element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n \n // name of tenant/lessess as agreement\n element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_tenant_lessees_name');\n \n //met tenant details\n element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_per_met');\n element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_per_met');\n element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n \n // tennat payment\n \n \n // element.payment_difference_per_met=''\n // control.controls[index].addControl('payment_difference_per_met',new FormControl(''))\n console.log(\"payment\",element);\n element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('paid_monthly_rent_per_met');\n element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('period_of_stay_per_met');\n element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_mode_per_met');\n element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash_per_met');\n element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank_per_met');\n element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason_per_met');\n if( element.payment_difference_per_met =='' || element.payment_difference_per_met !='') { control.controls[index].addControl('payment_difference_per_met', new FormControl('')) }\n // control.controls[index].removeControl('payment_difference_per_met');\n this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '',index,5);\n this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '',index,6);\n this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '',index,7);\n this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '',index,8);\n this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '',index,9);\n this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount :'',index,10);\n this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '',index,11);\n this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '',index,12);\n this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '',index,13);\n\n });\n }\n }\n this.rentalForms.patchValue(rentalDetails);\n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n }\n \n \n // });\n \n // this.qustCat.retiverForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // let rentalDetails = res['records'];\n // var rentalData = Object.keys(res['records'].rental_home\n // ).map(function(key) {\n // return res['records'].rental_home\n // [key];\n\n // });\n // var tanantsData = [];\n // var control = (this.rentalForms.controls['rental_home']) as FormArray;\n // var tanantscontrol; \n // rentalData.forEach((val,index)=>\n // {\n \n // // this.addrentalHome();\n // // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\n // // {\n \n \n // // return val.details_tenants[key];\n // // }));\n // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\n // {\n \n \n // return val.details_tenants[key];\n // });\n // // control.push(this.createrentalHome()); \n // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \n \n // rentalData[index].details_tenants.forEach((val,key)=>\n // {\n // //rentalData[index].details_tenants = val;\n \n // // rentalData[index].details_tenants = [key];\n // // tanantscontrol.push(this.createTenantsDetails());\n // });\n \n // // control[index].details_tenants =tanantscontrol; \n // });\n // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\n // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\n // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\n // if(rentalDetails.nature_property=='others'){\n // this.rentalForms.controls['nature_others'].\n // setValue(rentalDetails.nature_others);\n // }\n \n // this.rentalForms.controls['rental_home'].setValue(rentalData); \n // }else\n // {\n // // this.addrentalHome();\n // // this.addTenantsDetails(0);\n // }\n // })\n }\n // createTenantsDetailswithData(index,data)\n // {\n // return this.fb.group(\n // {\n // name:[data.name],\n // mobile_no:[data.mobile_no],\n // tenants_seen:[data.tenants_seen],\n // tenants_con_owner:[data.tenants_con_owner],\n // rent_paid:[data.rent_paid],\n // staying_since:[data.staying_since]\n // });\n // }\n\n inWords(e,i,flag){\n // console.log(e,i,flag);\n switch(flag){\n case 1 : \n this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 5 : \n this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 6 :\n this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 7 :\n this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 8 :\n this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 9 : \n this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 10:\n this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 11 :\n this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 12 :\n this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 13 :\n this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n }\n }\n\n inWordsmultiple(e,i,j,flag){\n // console.log(e,i,j,flag); \n return this.constprovider.convertNumberToWords(e);\n }\n validateAllFormFields(formGroup: any) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n \n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { \n this.validateAllFormFields(control);\n } else if (control instanceof FormArray) { \n this.validateAllFormFields(control);\n }\n });\n }\n\n\n // generate payment dynamic fields\n\nValidatedRentAmount(value:any,index:number,type: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"validated\",value);\n if(type==1){\n if(value && value.payment_mode.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank'].clearValidators();\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash'].clearValidators();; \n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n let monthlyrentamt : any = value.monthly_rent_amount ; \n \n\n if(monthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank;\n\n ChildCtrl.controls['amount_received_bank'].setValidators([Validators.required,Validators.max(monthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n let maxamt = monthlyrentamt-bank_amount\n if(maxamt >= 0 ){\n ChildCtrl.controls['amount_received_cash'].setValue(maxamt);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.required,Validators.max(monthlyrentamt-bank_amount),Validators.min(monthlyrentamt-bank_amount)]); \n this.inWords(maxamt,index,6)\n }\n else{\n ChildCtrl.controls['amount_received_cash'].setValue(0);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n \n }\n }\n }\n if(type==2){\n \n if(value && value.payment_mode_per_met.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank_per_met'].clearValidators();\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash_per_met'].clearValidators();; \n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n let paidmonthlyrentamt : any = value.paid_monthly_rent_per_met; \n \n\n if(paidmonthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank_per_met;\n ChildCtrl.controls['amount_received_bank_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n let remainingAmt = paidmonthlyrentamt-bank_amount\n console.log(\"paid monthly\",paidmonthlyrentamt);\n console.log(\"remaining\",remainingAmt)\n if(remainingAmt >= 0 ){\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt-bank_amount),Validators.min(paidmonthlyrentamt-bank_amount)]); \n this.inWords(remainingAmt,index,12)\n }\n else{\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(0);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n }\n }\n \n }\n}\n\nforSearchableDropdown(val:any,Flag:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val,'Flag',Flag);\n switch(Flag){\n case 'state' : \n console.log(\"val\",val.controls['stateSearch'].value,'Flag',Flag,'1');\n val.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.stateList=this.constprovider.searchData(this.stateData,val.controls['stateSearch'].value,Flag)\n }); break;\n case 'city' : \n console.log(\"val\",val.controls['citySearch'].value,'Flag',Flag,'2');\n val.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.cityList =this.constprovider.searchData(this.cityData,val.controls['citySearch'].value,Flag)\n }); break;\n case 'pin' : \n console.log(\"val\",val.controls['pincodeSearch'].value,'Flag',Flag,'3');\n val.controls['pincodeSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.pincodeList =this.constprovider.searchData(this.pincodeData,val.controls['pincodeSearch'].value,Flag)\n }); break;\n }\n}\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('agreement_property_owner_other').value\n value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, OnInit } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionPersonalInfoPage 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-personal-info',\n templateUrl: 'pd-question-personal-info.html',\n})\nexport class PdQuestionPersonalInfoPage implements OnInit{\n\n questionDetails: any;\n pdDetails: any;\n users: any;\n _personalForm: FormGroup;\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\n relationShipList:any=[];\n \n form_id:number;\n \n\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\n \n public mainApplicantDetails :any=[];\n public coApplicantDetails :any=[];\n \n errorMessage:any;\n //coItem:any;\n //mainItem:any;\n\n repeat:number=3;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n \n \n // this.getRelationMaster();\n \n \n \n }\n ngOnInit() {\n \n this.loadPDDetails();\n this.getRelationMaster();\n this.mainApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 1);\n this.coApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 0);\n }\n\n // load form pd details\n loadPDDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\n \n this.qustCat.retiverForm(records).subscribe(\n data => {\n if (data['status'] == 200) {\n this.loadFormWithIDData(data['records']);\n \n }\n else{\n let defaultMainApp=[];\n let defaultCoApp=[];\n // generate default main applicant form details\n if(this.mainApplicantDetails.length>0){ \n for(let j=0;j this.errorMessage = error);\n}\n\nloadDataStatus: boolean = false;\n\nloadFormWithIDData(data) {\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\n return data.main_applicant_details[key];\n});\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\n return data.co_applicant_details[key];\n});\n\n // main applicant\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n relation_ans:new FormControl(item.relation_ans, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark: [data.personal_info_form_remark]\n });\n this.loadDataStatus = true;\n}\n\n loadFormData(mainApp,coApp){\n // main applicant\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n \n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.coApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.coApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\n relation_id:new FormControl(5),\n relation_ans:new FormControl(null, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark:null\n });\nthis.loadDataStatus = true;\n }\n\n //get pd main applicant array values \n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\n\n // get pd co applicant array values\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\n\n // get relation master details\n getRelationMaster(){\n let relation =\"RELATIONSHIPS\";\n this.qustCat.getcommondrop(relation).subscribe(\n data => {\n if (data['status'] == 200) {\n this.relationShipList=data['records'];\n \n }\n}, error => this.errorMessage = error);\n}\n\n// submit forms details\nsubmitPersonalForm(formData:any) {\n if(this._personalForm.valid){\n let main_applicantDetails:any=[];\n let co_applicantDetails:any=[];\n\n formData.mainItem.forEach((element,key) => {\n if(key==0){\n main_applicantDetails.push({\n \"name_ans\":element.name_ans,\n \"age_ans\":element.age_ans,\n \"entity_ans\":element.entity_ans,\n \"qualification_ans\":element.qualification_ans,\n \"earning_ans\":element.earning_ans, \n })\n }\n \n });\n formData.coItem.forEach((Coelement,Cokey) => {\n co_applicantDetails.push({\n\n \"name_ans\":Coelement.name_ans,\n \"age_ans\":Coelement.age_ans,\n \"qualification_ans\":Coelement.qualification_ans,\n \"entity_ans\":Coelement.entity_ans,\n \"earning_ans\":Coelement.earning_ans, \n \"relation_ans\":Coelement.relation_ans, \n })\n \n });\n\n let save_details:any={\n \"pdid\" : this.pdDetails.pd_id,\n \"formid\" : '341',\n \"fk_createdby\":this.users,\n \"main_applicant_details\":main_applicantDetails,\n \"co_applicant_details\":co_applicantDetails,\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\n };\n this.qustCat.saveForm(save_details).subscribe(result => {\n if (result['dataStatus']==true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n // this.notifier.notify('success', 'Success.');\n }\n else {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n }\n }, error => {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n });\n }\n}\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { FormatWidth } from '@angular/common';\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\n\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport {PdQuestionAssessedDailyPurchasePage} from '../pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n\n/**\n * Generated class for the PdQuestionAssessedInfoPage 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-assessed-info',\n templateUrl: 'pd-question-assessed-info.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedInfoPage {\n\n grossProfitForm:FormGroup\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\n busissnessIncome: any;\n mode: any;\n grossprofitCalc: any;\n houseHold_details: any;\n grandHouseExpenseTotal: any;\n houseannual: any=[];\n businessExpenses_details: any;\n grandExpenseTotal: any;\n expenseannual: any=[];\n businessExpenses: any;\n purchse_details: any;\n sales_item_month_value: any=[];\n sales_wise_month_headers:any = [];\n sales_month_wise_data:any = [];\n sales_item_value: any;\n grandpurchaseTotal: any=null;\n UOM: any;\n m_freqOfPurchase: any;\n users: any;\n pageId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n FormName:any;\n annual:any = [];\n rawMaterialForm:FormGroup;\n BuissnessForm:FormGroup;\n houseHoldForm:FormGroup;\n activateMarginCalculation:boolean=false\n SaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n purchase_bill_wise: any=[];\n purchase_bill_wise_data:any=[]\n purchase_type:any;\n totalAnnualSale_Item_wise;\n totalAnnualpurchase_Item_wise: any;\n totalAnnualBusiness_details: any;\n totalAnnual_House_hold_details: any;\n sales_type: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pageId = this.navParams.get('pageId');\n // this.getAssessedDetails(); \n switch(this.pageId)\n {\n case 1:\n this.FormName = \"Sales Page\";\n break;\n case 2:\n this.FormName = \"Purchase Page\";\n break;\n case 3:\n this.FormName = \"Business Expense Page\";\n break;\n case 4:\n this.FormName = \"House Hold Page\";\n break;\n default:\n this.FormName = \"Question Page\";\n break;\n }\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n sdc_id:[null],\n sales_declared_by_customer:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n margin_per:[null],\n margin_value:[null],\n comments:[null],\n isactive:[1],\n fk_createdby:[this.users],\n \n });\n this.grossProfitForm=this.fb.group({\n calc_type_id:[''],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n mode:['',Validators.compose([Validators.required])],\n margin:[''],\n })\n \n \n \n \n // this.getdropList();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\n }\n\n\n \n \n\n ionViewDidEnter() {\n \n }\n ionViewCanEnter()\n {\n this.getAssessedDetails()\n }\n\n\n \n \n changeOptions(values: any){\n // console.log('values',values);\n this.grossProfitForm.controls['margin'].setValue('');\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\n * Refer => check_sales_type **/\n if(values.mode == 2){\n // console.log('2');\n this.grossProfitForm.controls['margin'].setValue('2');\n }\n }\n\n //PURCHASE DETAILS SUBMIT\n // submitDetails(records: any){\n // if (this.grossProfitForm.invalid) {\n \n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\n // return;\n // }\n // // let datas:any;\n // // datas=records;\n\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\n // this.toast.pdTriggerappmessage('Saved Successfully.');\n // //this.loadAssessedForms.next('1');\n // }, error => {\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n // // this.loadAssessedForms.next('1');\n // });\n // } \n \n\n getMarginCalc()\n {\n \n let margin_per = this.assessedForm.controls['margin_per'].value;\n console.log(\"Margin Per\",margin_per)\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\n if(margin_per !=null && sales_declared_by_customer !=null)\n {\n let value = sales_declared_by_customer * (margin_per/100);\n this.assessedForm.controls['margin_value'].setValue(value);\n }\n }\n\n saveData(answerData)\n {\n let records:any = {};\n answerData.company_id=this.pdDetails.company_id\n \n records ={'records':answerData};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\n {\n // console.log(res);\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n }\n })\n setTimeout(()=>{\n this.getAssessedDetails();\n },1500)\n }\n salesCalculation(values): void {\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\n {\n \n this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per/100)).toFixed(2));\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\n }\n }\n \n getAssessedDetails()\n {\n this.sales_item_month_value = [];\n this.sales_month_wise_data = [];\n this.sales_item_value= [];\n this.purchase_bill_wise_data=[];\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n console.log(\"company\",this.pdDetails.company_id)\n console.log(\"getAssesed\",records)\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let sales_value = res['records'].sales_declared_by_customer[0];\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\n //SALE ANNUAL TOTAL\n this.totalAnnualSale_Item_wise=this.sales_item_value.map(val=>val.annual_sale_value).reduce((original,value)=>original + Number(value),0)\n console.log(\"this.sales_item\",this.totalAnnualSale_Item_wise);\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\n this.purchse_details = res['records'].purchase_details; \n //PURCHASE ANNUAL TOTAL\n this.totalAnnualpurchase_Item_wise=this.purchse_details.map(val=>val.annual_purchase_value).reduce((original,value)=>original+Number(value),0)\n this.purchase_bill_wise=res['records'].purchase_billwise\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\n this.purchase_type=this.grossprofitCalc.purchase_type;\n console.log(\"gross\",this.grossprofitCalc);\n this.mode = this.grossprofitCalc.mode;\n\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\n console.log(\"len\",lenOfGrossProfit)\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\n console.log(this.activateMarginCalculation);\n var result = this.purchse_details.reduce(function(p, c) {\n \n return p;\n },[]);\n console.log(result);\n\n\n this.businessExpenses_details = res['records'].business_expenses;\n //BUSINESS ANNUAL TOTAL\n this.totalAnnualBusiness_details=this.businessExpenses_details.map(val=>val.annual_expenses_value).reduce((original,value)=>original + Number(value),0);\n this.houseHold_details = res['records'].house_hold_expenses;\n //HOUSEHOLD ANNUAL TOTAL\n this.totalAnnual_House_hold_details=this.houseHold_details.map(val=>val.annual_expense_value).reduce((original,value)=>original+Number(value),0)\n this.busissnessIncome = res['records'].othre_business_income;\n // console.log(this.sales_item_month_value);\n // this.getpurchaseDetails(this.purchse_details);\n \n \n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\n\n // const control=this.grossProfitForm['controls']\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\n \n \n \n \n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\n this.sales_type[itemIndex]=itemElement.sales_type\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\n let listItems: any=[];\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\n \n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id,otherSaleItem:itemElement.other_sales_item});\n });\n this.purchase_bill_wise.forEach((itemElement,itemIndex)=>{\n console.log(\"0index\",itemElement.items[0]);\n let result=Object.assign({},...itemElement.items);\n console.log(\"result\",result)\n let expandBodyContent=Object.keys(result).map(key=>({header:key,value:result[key]}));\n console.log(\"expanBody\",expandBodyContent);\n let listItems:any=[];\n expandBodyContent.forEach((expandElement,expandIndex)=>{\n let calculateItems=expandElement.value.reduce((acc,calculate)=>acc + Number(calculate.purchase_value),0)\n listItems.push({items:expandElement,itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((va,rcalc)=>va+Number(rcalc.itemsTotal),0);\n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.purchase_bill_wise_data.push({purchaseItem:itemElement.purchase_item,expandElements:expandBodyContent,footerMessage:footerMessage,pbw_id:itemElement.pbw_id,otherPurchaseItem:itemElement.other_purchase_item});\n })\n console.log(\"val purchase0\",this.purchase_bill_wise_data)\n\n\n console.log(\"value\",this.sales_month_wise_data);\n if(sales_value!==undefined){\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\n if(sales_value.sales_declared_by_customer != null){\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\n }\n if(sales_value.margin_value != null){\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\n }\n \n }\n \n }\n })\n\n }\n grossProfitWithData(data:any){\n return this.fb.group({\n calc_type_id:[data.calc_type_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[data.company_id],\n mode:[data.mode],\n margin:[data.margin],\n})\n }\n /**\n * Add Assessed Forms\n */\n\n AddAssessedForm()\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n\n editDetails(salesCal)\n {\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\n console.log(salesData);\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n editAllDetails(AllsalesData)\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \n }\n\n /**Assessed Daily Form Details */\n\n AddAssessedDailyForm()\n {\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\n }\n editAssessedDailyForm(simId)\n {\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\n console.log(dailySaleDetails);\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\n \n }\n allEditSalesDailyWise(values){\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':values,'margin_calculation_status':this.activateMarginCalculation})\n }\n\n /**purchase Details Forms */\n AddPurchaseForm()\n {\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \n \n }\n\n editPurchaseDetails(purchaseCal)\n {\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \n \n }\n editPurchaseAllDetails(AllpurchaseData)\n {\n console.log('260',AllpurchaseData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \n }\n AddPurchaseBillWiseForm(){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':null})\n }\n \n alleditPurchaseBillWise(all_purchase_daily){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':all_purchase_daily})\n }\n editPurchaseBillWise(daily_purchase){\n let single_purchase=this.purchase_bill_wise.filter(val=>val.pbw_id==daily_purchase)\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':single_purchase})\n }\n\n /**Business Expense */\n AddExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editExpenseDetails(expenseCal)\n {\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editExpenseAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \n }\n \n\n /** Household Expenses Details */\n AddHouseExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editHouseExpenseDetails(expenseCal)\n {\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editHouseExpenseAllDetails(AllExpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \n }\n\n /**\n * Income Details\n */\n AddIncomeForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \n \n }\n\n editIncomeDetails(expenseCal)\n {\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \n \n }\n editIncomeAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \n }\n \n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedSalesPage 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-assessed-sales',\n templateUrl: 'pd-question-assessed-sales.html',\n})\nexport class PdQuestionAssessedSalesPage {\n\n grossprofitCalc: any;\n salesData: any =[];\n annual: any=[];\n grandTotal: any;\n UOM: any;\n m_freqOfPurchase: any;\n assessedForm: FormGroup;\n users: any;\n FormId: any;\n pdDetails: any;\n annualSaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n marginFinalAmtInwords:any =[];\n ratePerUnitAmtInwords: any=[];\n margin_calculation_status:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n product_and_services: any=[];\n complete_status: boolean = false;\n UOMData:any=[]\n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n //this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n \n salesCalItemwise:this.fb.array([]),\n });\n this.salesData = this.navParams.get('sales');\n if(this.salesData!=null)\n {\n this.getSalesItemData(this.salesData);\n }else\n {\n this.addSalesCal();\n }\n // this.addSalesCal();\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n\n createSalesCal()\n {\n return this.fb.group(\n {\n sci_id:[null],\n \n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n sales_item:[null,Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_qty:[null,Validators.compose([Validators.required])],\n sales_type:[\"1\"],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_sale_value:[null],\n margin_per:[null],\n margin_per_uom:[null],\n margin_final_value:[null],\n comments:[null]\n });\n }\n\n addSalesCal()\n {\n if(this.assessedForm.valid){\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n control.push(this.createSalesCal());\n }else\n {\n this.toast.pdTriggerappmessage('Enter the all fields');\n }\n }\n \n removeSalesCal(i,item)\n {\n console.log(\"value\",item)\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n console.log(this.grandTotal);\n console.log(\"pd\",this.pdDetails);\n let deleteRecords:any;\n if(item.sci_id !=null && item.fk_pd_id !=null){\n deleteRecords=[{\n sci_id:item.sci_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n if(control.length==1)\n {\n control.removeAt(i);\n this.addSalesCal(); \n } else{\n control.removeAt(i);\n }\n }\n /**\n * frequency Type \n * 1.Weekly no need\n * 2.Daily 250\n * 3.Yearly \n * 4.Hourly no need\n * 5.Monthly 12\n * 6.none\n * 7.none\n * 8.none\n */\n salecalculat(indexVal,values)\n {\n // console.log(\"Det\",details);\n // let frequencyId = details.value.fk_frequency_id;\n // let salesQty = details.value.sales_qty;\n // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,salesQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(salesQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (salesQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (salesQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (salesQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n // }else\n // {\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\n // }\n \n \n \n \n // console.log(this.annual);\n\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\n console.log(\"Rate Per value\",values.rate_per_unit);\n this.inWords(values.rate_per_unit,indexVal,4)\n }\n \n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n console.log(\"Frequency\",values.fk_frequency_id);\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(AnnualSalesValue,indexVal,1)\n \n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n salesCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.sales_type==\"1\" && values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else if(values.sales_type==\"2\" && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n \n salesMarginPerCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per)/100)).toFixed(2));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n salesMarginAmtCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per'].setValue('');\n \n if(values.sales_type==\"1\" && values.margin_per_uom!='' && values.margin_per_uom !=null && values.sales_qty!='' && values.sales_qty!=null && values.fk_frequency_id!='' && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2));\n this.inWords(Type1CalculatedValue.toFixed(2),indexVal,3)\n }\n else if(values.sales_type==\"2\" && values.margin_per_uom!='' && values.margin_per_uom!=null && values.rate_per_unit!='' && values.rate_per_unit!=null) {\n let Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2));\n this.inWords(Type2CalculatedValue.toFixed(2),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n /*OLD NOT USED CALCULATION*/\n getSalesCalc(indexVal,values)\n {\n // // console.log(details);\n // let margin_per = details.value.margin_per;\n // let margin_amount = details.value.margin_per_uom;\n // let annual_sale_value = details.value.annual_sale_value;\n // let sales_qty = details.value.sales_qty;\n // // console.log(sales_qty,margin_amount);\n // let value:any = '';\n // if(margin_per !=null || margin_amount !=null){\n // if(margin_per !=null)\n // {\n // value = +annual_sale_value * (+margin_per/100);\n // }else\n // {\n // console.log('else');\n // value = +sales_qty* +margin_amount;\n // }\n // console.log(value);\n // details.controls['margin_final_value'].setValue(value);\n // }\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n \n inWords(value,inx,flag){\n switch(flag){\n case 1 : \n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 2 : \n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 3 : \n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 4 : \n console.log(\"Rate\",value);\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n default:break;}\n }\n saveData(answerData)\n {\n \n if(this.assessedForm.valid){\n \n answerData.salesCalItemwise.forEach(parVal=>{\n delete parVal.uomSearch\n })\n\n let records = {'records':answerData.salesCalItemwise};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }\nelse{\n console.log(answerData);\n\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n}\n}\n getSalesItemData(salesData)\n {\n console.log(salesData);\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n\n salesData.forEach((sale,index)=>{\n \n this.annual[index] = sale.annual_sale_value\n control.push(this.createSaleswithData(sale));\n if(sale.rate_per_unit != null){\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\n }\n if(sale.annual_sale_value != null){\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\n }\n if(sale.margin_per_uom != null){\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\n }\n if(sale.margin_final_value != null){\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\n }\n this.changeOptions(index,sale.sales_type)\n })\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\n // console.log(control);\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n }\n changeOptions(indexVal: any,event: any): void{\n console.log(\"ai\")\n let control: any = this.assessedForm.controls['salesCalItemwise'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['fk_frequency_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_frequency_id'].clearValidators();\n control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity();\n\n control.controls[indexVal].controls['annual_sale_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_sale_value'].clearValidators();\n control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity();\n\n control.controls[indexVal].controls['rate_per_unit'].setValue(\"\");\n control.controls[indexVal].controls['rate_per_unit'].clearValidators();\n control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity();\n\n control.controls[indexVal].controls['sales_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['sales_qty'].setValue(\"\");\n control.controls[indexVal].controls['sales_qty'].clearValidators();\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n \n control.controls[indexVal].controls['margin_per_uom'].setValue(\"\");\n \n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n\n createSaleswithData(data)\n {\n return this.fb.group(\n {\n sci_id:[data.sci_id],\n company_id:[this.pdDetails.company_id],\n fk_pd_id:[this.pdDetails.pd_id],\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type,Validators.compose([Validators.required])],\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_sale_value:[data.annual_sale_value],\n margin_per:[data.margin_per],\n margin_per_uom:[data.margin_per_uom],\n margin_final_value:[data.margin_final_value],\n comments:[data.comments]\n });\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\n\n/**\n * Generated class for the PdQuestionAssessedDailySalesPage 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-assessed-daily-sales',\n templateUrl: 'pd-question-assessed-daily-sales.html',\n})\nexport class PdQuestionAssessedDailySalesPage {\n pipe = new DatePipe('en-US');\n\n currentDate: string;\n grossprofitCalc: any;\n salesDaily: any;\n users: any;\n FormId: any;\n pdDetails: any;\n salesDailyForm: FormGroup;\n margin_calculation_status:any\n Value: any=[];\n marginAmtInwords: any=[];\n frequencyData: any=[];\n freqAmtInwords: any=[];\n check_type:any=[{'type_id':\"1\",'type_name':'Date Information'},{'type_id':\"2\",'type_name':'Frequency Information'}]\n product_and_services: any=[];\n maxDate:any;\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\n // this.maxDate=new Date()\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.salesDaily = this.navParams.get('salesDaily');\n // this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\n \n this.salesDailyForm = this.fb.group(\n {\n sales_product: this.fb.array([]),\n })\n if (this.salesDaily != null) {\n this.getDailySalesData(this.salesDaily);\n } else {\n this.adddailySalaesProduct();\n\n }\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\n }\n\n getDropDown(){\n this.qustCat.getcommondrop('FREQUENCY').subscribe(data=>{\n this.frequencyData=data['records'].filter(val=>val.isactive == 1)\n })\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n // change options for either Date/Frequency Information\nchangeOptions(indexVal: any,event: any): void{\n console.log(\"event\",event)\n let control: any = this.salesDailyForm.controls['sales_product'];\n console.log(\"control\",control)\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n if(event==\"1\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n // control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].clearValidators();\n //control.controls[indexVal].controls['comments'].updateValueAndValidity();\n }\n else if(event==\"2\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].setValidators([Validators.required]);\n // control.controls[indexVal].controls['comments'].updateValueAndValidity();\n\n }\n control.controls[indexVal].controls['margin_per'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n\n }\n createdailysalesProduct() {\n return this.fb.group(\n {\n sim_id: [null],\n sales_item: [null, Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_type:[\"1\"],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n margin_per: [null],\n margin_value: [null],\n comments:[null],\n fk_createdby: [this.users],\n isactive: [true],\n });\n }\n createdailyChildSaleProduct() {\n return this.fb.group({\n simc_id: [null],\n fk_sim_id: [null],\n sales_date: [null],\n sales_value: [null],\n fk_frequency_id:[null],\n frequency_value:[null],\n isactive: [true],\n })\n }\n temparr = [];\n tempdate = [];\n getSalesCalc(subchild,child,key) {\n \n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\n let totalitemmargin = child.value.margin_per;\n \n if (totalitemmargin != null && subchild.value.sales_value !=null) {\n let loopAccess = false;\n let loopindex = 0;\n if (this.tempdate.length != 0) {\n for (var i = 0; i < this.tempdate.length; i++) {\n\n if (this.tempdate[i].month == saledate) {\n loopAccess = true;\n loopindex = i;\n }\n }\n\n if (loopAccess) {\n\n \n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\n this.temparr.push(subchild.value.sales_value);\n loopAccess = false;\n loopindex = 0;\n \n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\n }\n\n\n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\n this.temparr.push(subchild.value.sales_value);\n }\n\n let totalMonth = 12 / this.tempdate.length;\n \n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\n \n // let value = tempgrandTotal * (totalitemmargin / 100);\n let value = tempgrandTotal*totalMonth ;\n \n let grandValue = value * (totalitemmargin / 100);\n child.controls['margin_value'].setValue(grandValue);\n \n }\n \n }\n salesCalculation(indexVal: number,values: any): void {\n console.log(indexVal,values)\n console.log(\"Margin\",this.margin_calculation_status);\n if(this.margin_calculation_status===true && values.sales_type==\"1\"){\n console.log(\"value == 1\")\n let control:any = this.salesDailyForm.controls['sales_product'];\n if(values.child.length>0 && values.margin_per!='' && values.margin_per!=null){\n // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive==true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\n return mval;\n });\n console.log(\"transform\",transformData)\n if(transformData.length>0) {\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n .filter((fVal,fIndex,fArray)=>{\n return fIndex === fArray.indexOf(fVal);\n });\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\n .reduce((sum, curr) => parseFloat(sum) + parseFloat(curr));\n console.log(\"value\",(parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2))\n console.log(control.controls[indexVal])\n control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2));\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2)\n }\n else{\n console.log(\"else 1\")\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n console.log(\"else 1\")\n }\n else {\n console.log(\"else 2\")\n control.controls[indexVal].controls['margin_value'].setValue('');\n \n }\n }\n else if(this.margin_calculation_status===true && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n \n let getTotalValueCounts =parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)\n values.margin_per!='' ? control.controls[indexVal].controls['margin_value'].setValue( (getTotalValueCounts * (parseFloat(values.margin_per)/100)).toFixed(2)) : '';\n values.margin_per!='' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per)/100),indexVal,2) : ''\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n }\n else if(this.margin_calculation_status===false && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n }\n }\n \n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.constant.convertNumberToWords(e);\n break;\n case 2 : \n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.freqAmtInwords[c]=this.constant.convertNumberToWords(e)\n default : break;\n }\n }\n adddailySalaesProduct() {\n this.tempdate = [];\n if (this.salesDailyForm.valid) {\n const control = this.salesDailyForm.get('sales_product') as FormArray;\n control.push(this.createdailysalesProduct());\n \n this.adddailyChildSaleProduct(control.length - 1);\n }\n }\n adddailyChildSaleProduct(index) {\n // if(this.salesDailyForm.valid){\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\n\n control.push(this.createdailyChildSaleProduct());\n // }\n }\n\n deletedailySalesProduct(index,item) {\n console.log(\"fk_pd_id\",item);\n this.tempdate.slice(index,1);\n let deleteRecords:any;\n \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n sim_id:item.sim_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\n if (control.length == 1) {\n this.salesDailyForm.controls['sales_product'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n deletedailyChildSaleProduct(saleIndex, saleChildIndex,childVal) {\n let control = this.salesDailyForm.controls['sales_product'];\n control=control.controls[saleIndex].get('child') as FormArray\n if(childVal == '' || childVal == null){\n control.removeAt(saleChildIndex)\n }\n else{\n console.log(\"control\",control.controls[saleChildIndex])\n control.controls[saleChildIndex].get('isactive').setValue(false);\n }\n\n // this.tempdate = [];\n // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\n // if(control.length==1)\n // {\n // control.removeAt(saleChildIndex);\n // this.adddailyChildSaleProduct(saleIndex); \n // }else{\n // control.removeAt(saleChildIndex);\n // }\n }\n saveData(answerData) {\n answerData.sales_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date'];\n }\n if(childVal['sales_date'])\n childVal['sales_date']=this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd');\n });\n });\n if (this.salesDailyForm.valid) {\n let records = { 'records': answerData.sales_product };\n console.log(\"answer Data\",records)\n \n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\n if (res['dataStatus'] == true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n });\n }\n else{\n console.log(\"pd\",this.salesDailyForm);\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n }\n\n\n }\n getDailySalesData(dailySalesData) {\n console.log(\"daily sale\",dailySalesData);\n \n const control = this.salesDailyForm.get('sales_product') as FormArray;\n let control1: any = this.salesDailyForm.controls['sales_product'];\n let salesChildControl;\n let salesChildControlarr = [];\n dailySalesData.forEach((val, index) => {\n \n if(val.margin_per != null && val.margin_per != ''){\n console.log(\"c\",parseInt(val.margin_per).toFixed(2))\n val.margin_per=parseInt(val.margin_per).toFixed(2)\n }\n if(val.margin_value != null && val.margin_value != ''){\n val.margin_value=parseInt(val.margin_value).toFixed(2)\n }\n control.push(this.dailySalesWithData(val));\n if(val.margin_value != null){\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\n }\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\n\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\n\n salesChildControlarr[index].forEach((vals, i) => {\n vals.forEach((item, key) => {\n console.log(\"item\",item,'key',key)\n if(val.sales_type != 2){\n let saleDate = new Date(item.sales_date);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n\n // item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay()+1 )).slice(-2);\n console.log(\"sale Day\",saleDate.getDay())\n item.sales_date = saleDate.getFullYear() + '-' + month+ '-' + date;\n }\n \n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\n console.log(\"itme\",val)\n console.log(\"sale\",item.sales_date)\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id,val.sales_type));\n if(item.sales_value !=null){\n this.Value[i]=this.constant.convertNumberToWords(item.sales_value)\n }\n if(item.frequency_value != null){\n this.freqAmtInwords[i]=this.constant.convertNumberToWords(item.frequency_value);\n }\n })\n \n\n\n });\n // this.changeOptions(index,val.sales_type)\n if(val.sales_type==\"2\"){\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].setValue(\"\");\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].clearValidators();\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]);\n // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity();\n\n }\n });\n \n console.log(\"aall\",this.salesDailyForm.value)\n }\n\n dailySalesWithData(data) {\n\n return this.fb.group(\n {\n sim_id: [data.sim_id],\n sales_item: [data.sales_item],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n fk_createdby: [this.users],\n isactive: [true],\n margin_per: [data.margin_per == null ? '' : data.margin_per],\n margin_value: [data.margin_value == null ? '' :data.margin_value],\n comments:[data.comments]\n })\n }\n dailySalesChildWithData(data, fk_id,salesType) {\n\nconsole.log(\"Sales type\",salesType)\n return this.fb.group(\n {\n simc_id: [data.simc_id],\n fk_sim_id: [fk_id],\n // sales_date: [data.sales_date, Validators.compose([Validators.required])],\n sales_date:[salesType==2 ? '' : data.sales_date],\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\n sales_value: [data.sales_value],\n fk_frequency_id:[data.fk_frequency_id],\n frequency_value:[data.frequency_value],\n isactive: [true],\n })\n \n\n }\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedPurchasePage 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-assessed-purchase',\n templateUrl: 'pd-question-assessed-purchase.html',\n})\nexport class PdQuestionAssessedPurchasePage {\n purchaseDetails: any;\n users: any;\n pdDetails: any;\n businessExpenses: any;\n UOM: any;\n m_freqOfPurchase: any;\n annual: any = [];\n grandpurchaseTotal: any;\n rawMaterialForm:FormGroup;\n RateOfPurchase: any=[];\n AnnualPurchase: any=[];\n productListData:any=[];\n UOMData:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n complete_status: boolean = false;\n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.purchaseDetails = this.navParams.get('purchase');\n console.log(\"purchase\",this.purchaseDetails)\n console.log(\"pd\",this.pdDetails);\n this.users = this.aws.getlocale();\n this.rawMaterialForm = this.fb.group(\n {\n purchase:this.fb.array([]),\n });\n \n if(this.purchaseDetails!=null)\n {\n this.getpurchaseDetails(this.purchaseDetails);\n }else\n {\n this.addPurchaseDetails();\n }\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\n }\n\n\n createPurchaseDetails()\n {\n return this.fb.group(\n {\n purchase_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[null,Validators.compose([Validators.required])],\n other_purchase_item:[null],\n purchase_type:['1'],\n purchase_qty:[null,Validators.compose([Validators.required])],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_purchase_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n }\n })\n this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchaseDetails()\n {\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n control.push(this.createPurchaseDetails());\n }\n\n deletePurchaseDetails(i,item)\n {\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any; \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n purchase_id:item.purchase_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n\n purchaseCalculation(indexVal,values)\n {\n let control:any = this.rawMaterialForm.controls['purchase'];\n if(values.rate_per_unit != null){\n if(values.rate_per_unit != ''){\n this.inWords(values.rate_per_unit,indexVal,1);\n }\n }\n if(values.purchase_type == \"1\" && values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else if(values.purchase_type==\"2\" && values.rate_per_unit !='' && values.rate_per_unit !=null && values.fk_frequency_id != '' && values.fk_frequency_id != null ){\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n }\n else {\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\n }\n // console.log(this.grandpurchaseTotal);\n // console.log(details,index);\n // let frequencyId = details.value.fk_frequency_id;\n // let purchaseQty = details.value.purchase_qty;\n // let UOM = details.value.rate_per_unit;\n // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(purchaseQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (purchaseQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (purchaseQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (purchaseQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\n // }\n }\n savepurchaseData(answerData)\n {\n if(this.rawMaterialForm.valid){\n \n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n \n let records = {'records':answerData.purchase};\n console.log('data',records);\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n // this.getAssessedDetails();\n \n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getpurchaseDetails(purchaseDetails)\n {\n console.log('function in',purchaseDetails);\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \n console.log(control); \n if(purchaseDetails.length ==0)\n {\n console.log('if');\n this.addPurchaseDetails();\n }else{\n console.log('else');\n purchaseDetails.forEach((val,index)=>\n {\n // console.log(index);\n control.push(this.createPurchasewithData(val));\n this.annual[index] = val.annual_purchase_value;\n if(val.rate_per_unit != null){\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\n }\n if(val.annual_purchase_value != null){\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\n }\n });\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\n }\n // console.log(control); \n \n }\n\n createPurchasewithData(data)\n {\n return this.fb.group(\n {\n purchase_id:[data.purchase_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\n other_purchase_item:[data.other_purchase_item],\n purchase_type:[data.purchase_type],\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n changeOptions(indexVal: any,event: any): void{\n console.log('event',event)\n let control: any = this.rawMaterialForm.controls['purchase'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['purchase_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['purchase_qty'].setValue(\"\");\n control.controls[indexVal].controls['purchase_qty'].clearValidators();\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedBusinessPage 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-assessed-business',\n templateUrl: 'pd-question-assessed-business.html',\n})\nexport class PdQuestionAssessedBusinessPage {\n m_freqOfPurchase: any;\n expenseDetails: any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n grandpurchaseTotal(arg0: any): any {\n throw new Error(\"Method not implemented.\");\n }\n grandExpenseTotal: any=[];\n expenseannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessExpenses:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busExpense:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\n }\n\n\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[null,Validators.compose([Validators.required])],\n expense_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_expenses_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n\n businessCalculation(indexVal: number,values: any): void {\n let control:any = this.BuissnessForm.controls['busExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\n }\n }\n \n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i,item)\n {\n console.log(\"item\",item);\n this.expenseannual.splice(i,1); \n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n \n let deleteRecords:any;\n if(item.fk_pd_id !=null){\n deleteRecords=[{\n pd_expense_id:item.pd_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n busExpensecalculat(index,details)\n {\n \n \n let frequencyId = details.value.fk_frequency_id;\n let expenseValue = details.value.expense_value;\n let UOM = details.value.rate_per_unit;\n \n let annual\n if(expenseValue!=null){\n if(frequencyId==1)\n {\n\n }else if(frequencyId==2)\n {\n annual = (expenseValue*250);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual); \n this.inWords(annual,index,2) \n }else if(frequencyId==3)\n {\n annual = (expenseValue);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==4)\n {\n\n }else if(frequencyId==5)\n {\n annual = (expenseValue*12);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==6)\n {\n\n }else if(frequencyId==7)\n {\n\n }else if(frequencyId==8)\n {\n\n }else\n {\n\n }\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }else\n {\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busExpense};\n \n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.expenseannual[index] = val.annual_expenses_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\n }\n })\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_expense_id:[data.pd_expense_id],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedHouseholdPage 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-assessed-household',\n templateUrl: 'pd-question-assessed-household.html',\n})\nexport class PdQuestionAssessedHouseholdPage {\n\n m_freqOfPurchase: any;\n expenseDetails: any;\n houseExpenseDetails: any;\n users: any;\n pdDetails: any;\n houseannual: any =[];\n grandHouseExpenseTotal: any=[];\n houseHoldForm:FormGroup;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n // nn:Object[][]=[]\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.houseExpenseDetails = this.navParams.get('FormId');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.houseHoldForm = this.fb.group(\n {\n houseExpense:this.fb.array([]),\n });\n if(this.expenseDetails !=null)\n {\n this.getHouseholdExpense(this.expenseDetails);\n }else\n {\n this.addHouseExpenses();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n createHouseExpense()\n {\n return this.fb.group(\n {\n household_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [null,Validators.compose([Validators.required])],\n\t\t expense_value: [null,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\n annual_expense_value: [null,Validators.compose([Validators.required])],\n comments:[null],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n\n addHouseExpenses()\n {\n \n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n\n control.push(this.createHouseExpense());\n }\n\n deleteHouseExpense(i,item)\n {\n this.houseannual.splice(i,1); \n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any\n if(item.household_expense_id !=null){\n deleteRecords=[{\n household_expense_id:item.household_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n houseExpensecalculat(indexVal,values)\n {\n\n let control:any = this.houseHoldForm.controls['houseExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\n }\n \n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let expenseValue = details.value.expense_value;\n // // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(details);\n // let annual\n // if(expenseValue!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (expenseValue*250);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (expenseValue);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (expenseValue*12);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n // console.log(this.grandHouseExpenseTotal); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n saveHouseExpenseData(answerData)\n {\n if(this.houseHoldForm.valid)\n {\n let records = {'records':answerData.houseExpense};\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n getHouseholdExpense(houseExpesneDetails)\n {\n if(houseExpesneDetails.length==0)\n {\n this.addHouseExpenses(); \n }else\n {\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \n houseExpesneDetails.forEach((val,index)=>\n {\n this.houseannual[index] = val.annual_expense_value;\n control.push(this.createHouseholdwithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\n }\n \n });\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createHouseholdwithData(data)\n {\n return this.fb.group(\n {\n household_expense_id:[data.household_expense_id],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedBusinessIncomePage 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-assessed-business-income',\n templateUrl: 'pd-question-assessed-business-income.html',\n})\nexport class PdQuestionAssessedBusinessIncomePage {\n m_freqOfPurchase: any = [];\n expenseDetails: any;\n \n grandIncomeTotal: any=[];\n incomeannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessIncome:any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status : boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('income');\n \n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busIncome:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\n }\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_business_income_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[null,Validators.compose([Validators.required])],\n income_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_income_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[null],\n other_frequncy_item:[null],\n })\n }\n\n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i)\n {\n this.incomeannual.splice(i,1); \n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n \n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.removeAt(i);\n }\n\n busIncomecalculate(indexVal,values)\n {\n let control:any = this.BuissnessForm.controls['busIncome'];\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else {\n control.controls[indexVal].controls['annual_income_value'].setValue('');\n }\n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let incomeValue = details.value.income_value;\n // // let UOM = details.value.rate_per_unit;\n \n // let annual:any;\n // if(incomeValue!=null && incomeValue !=null){\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \n // if(frequencyId==1)\n // {\n \n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==2)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==5)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==7)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==8)\n // {\n // annual = (incomeValue);\n // this.incomeannual[index] = annual; \n // details.controls['annual_income_value'].setValue(annual); \n\n // }else\n // {\n\n // }\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busIncome};\n \n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.incomeannual[index] = val.annual_income_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.income_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\n }\n })\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_business_income_id:[data.pd_business_income_id],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\n income_value:[data.income_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[data.other_income_item],\n other_frequncy_item:[data.other_frequncy_item],\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\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';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport { DatePipe } from '@angular/common';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { max } from 'rxjs/operators';\n\n/**\n * Generated class for the PdQuestionAssessedDailyPurchasePage 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-assessed-daily-purchase',\n templateUrl: 'pd-question-assessed-daily-purchase.html',\n})\nexport class PdQuestionAssessedDailyPurchasePage {\n pipe = new DatePipe('en-US');\n pdDetails:any;\n formId:any;\n margin_calculation_status: any;\n users: any;\n purchaseItemForm:FormGroup\n dailyPurchase:any;\n productListData: any=[];\n purchaseData:any;\n purchaseAmtInWords: any=[];\n maxDate:any;\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n private fb:FormBuilder,private quesCat:QuestionCategoryProvider,private toast:ToastProvider,private cons:ConstantsProvider) {\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails=this.navParams.get('pdDetails')\n console.log(\"pd\",this.pdDetails)\n this.formId=this.navParams.get('FormId')\n this.purchaseData=this.navParams.get('purchaseDaily')\n console.log(\"data\",this.purchaseData);\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n\n this.purchaseItemForm=this.fb.group({\n // purchase_item:[''],\n // other_purchase_item:[''],\n purchase_product:this.fb.array([])\n // child:this.fb.array([])\n })\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage');\n if(this.purchaseData != null){\n this.getDailyPurchase(this.purchaseData)\n }\n else{\n this.addPurchase();\n }\n \n }\n getDropDown(){\n this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchase(){\n const control=this.purchaseItemForm.get('purchase_product') as FormArray\n control.push(this.createDailyPurchase())\n this.addDailyPurchaseChild(control.length-1)\n }\n createDailyPurchase(){\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [''],\n purchase_item: ['', Validators.compose([Validators.required])],\n other_purchase_item:[''],\n annual_purchase_value: [''],\n child: this.fb.array([]),\n comments: [''],\n isactive:[true],\n })\n }\n addDailyPurchaseChild(index)\n {\n const control=(this.purchaseItemForm.get('purchase_product')).at(index).get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(''))\n }\n createDailyPurchaseChild(value){\n return this.fb.group({\n pbwc_id: [''],\n fk_pbw_id: [value],\n purchase_date: [''],\n purchase_value: ['', Validators.compose([Validators.required])],\n isactive:[true],\n })\n }\n createPurchaseItemWithData(values: any) {\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [values.pbw_id],\n purchase_item: [values.purchase_item, Validators.compose([Validators.required])],\n other_purchase_item:[values.other_purchase_item === null ? '' : values.other_purchase_item ],\n annual_purchase_value: [values.annual_purchase_value],\n child: this.fb.array([]),\n comments: [values.comments],\n isactive:[true],\n });\n }\n \n // create daily purchase product with Data\n createDailyPurchaseWithData(values: any, parent: any) {\n console.log(\"dd\",new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')))\n return this.fb.group({\n pbwc_id: [values.pbwc_id],\n fk_pbw_id: [parent.pbw_id],\n // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])],\n purchase_date:[values.purchase_date],\n purchase_value: [values.purchase_value, Validators.compose([Validators.required])],\n isactive:[true]\n })\n }\ninWords(values,index){\n console.log(\"value\",values)\n if(values != ''){\n this.purchaseAmtInWords[index]=this.cons.convertNumberToWords(values)\n }\n}\n // this caculation for running total\npurchaseCalculation(indexVal: number,values: any): void {\n \n let control:any = this.purchaseItemForm.controls['purchase_product'];\n \n if(values.child.length>0){\n let transformData = values.child.filter(val=>val.purchase_date!='' && val.purchase_date!=null && val.purchase_date!=undefined && val.purchase_value!='' && val.isactive===true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.purchase_date, 'yyyy-MM');\n return mval;\n });\n\n if(transformData.length>0) {\n // let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n // .filter((fVal,fIndex,fArray)=>{\n // return fIndex === fArray.indexOf(fVal);\n // });\n\n let TotalAnnualValue = transformData.map(val=>val.purchase_value)\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\n // let months:number=12/values.child.length;\n control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue);\n }\n else{\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n \n }\n else {\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n innercontrol.controls[innercontrol.value.length-1].controls['purchase_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n}\naddDailyPurchase(len){\n const control=this.purchaseItemForm.get('purchase_product');\n control.push(this.createDailyPurchase())\n const innercontrol=control.at(len).get('child') as FormArray\n innercontrol.push(this.createDailyPurchaseChild(''))\n}\nremoveDailyPurchase(index){\n const control=this.purchaseItemForm.get('purchase_product');\n control.removeAt(index)\n}\naddChild(parentIndex,values){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(values.pbw_id));\n}\nremoveChild(parentIndex,childIndex,childValue){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n if(childValue.pbwc_id=='' || childValue.pbwc_id==null){\n control.removeAt(childIndex);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n else {\n control.controls[childIndex].controls.isactive.setValue(false);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n}\ngetDailyPurchase(records){\n const control=this.purchaseItemForm.get('purchase_product')\n // const innercontrol=control.at(0).get('child') as FormArray\n records.forEach((element,index)=>{\n let purchaseChildControlarr=[]\n let nexContro=[]\n control.push(this.createPurchaseItemWithData(element))\n console.log(\"records\",element)\n let result=Object.assign({},...element.items);\n console.log(\"result\",result);\n // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] }));\n // console.log(\"expandBody\",expandBodyContent);\n // let listItems: any=[];\n nexContro[index] = Object.keys(element['items']).map(key => element['items'][key]);\n console.log(\"purchasechildcontrol\",nexContro[index])\n purchaseChildControlarr[index]=Object.keys(result).map(key=>result[key])\n console.log(\"nexcontrol\",purchaseChildControlarr[index])\n // expandBodyContent.forEach((expnadElement, expnadIndex) => {\n // console.log(\"expand\",expnadElement)\n // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0);\n // console.log(\"calculateItems\",calculateItems)\n // listItems.push({items:expnadElement, itemsTotal:calculateItems})\n const innercontrol=control.at(index).get('child') as FormArray\n purchaseChildControlarr[index].forEach((chilVal,childIndex)=>{\n chilVal.forEach((val,innerIndex)=>{\n if(val.purchase_date ){\n let saleDate = new Date(val.purchase_date);\n console.log(saleDate.getDay())\n console.log(saleDate.getDate());\n // val.purchase_date= saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() )).slice(-2);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n console.log(\"datamonth\")\n console.log(date,month)\n val.purchase_date= saleDate.getFullYear() + '-' + month + '-' + date;\n console.log( val.purchase_date)\n }\n if(val.purchase_value != ''){\n this.inWords(val.purchase_value,childIndex)\n }\n console.log(\"child\",val)\n innercontrol.push(this.createDailyPurchaseWithData(val,element))\n })\n })\n \n })\n // console.log(\"list_items\",listItems)\n // })\n // control.push(this.createPurchaseItemWithData(records))\n \n //console.log('innercontrol',innercontrol)\n // records.items.forEach((element,index)=>{\n // innercontrol.push(this.createDailyPurchaseWithData(element,records))\n // })\n \n}\n\n\nsubmitDetails(records){\n records.purchase_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date']\n }\n if(childVal['purchase_date']){\n childVal['purchase_date']=this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd')\n }\n })\n })\n let recordVal:any={'records':records.purchase_product}\n this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise',recordVal).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.pop()\n },1500)\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\");\n }\n })\n}\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage 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-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedSummaryPage {\n pdDetails:any;\n salesCustomer:any;\n salesMonthWise:any;\n salesItemWise:any;\n consolidatedReport:any;\n loadData:boolean=false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n // console.log(this.pdDetails)\n this.getAssessedDetails();\n }\n ionViewWillEnter(){\n //console.log(\"ionViewWillEnter\")\n //this.getAssessedDetails();\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n \n }\n getAssessedDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\n if(res['dataStatus']== true){\n if(res['records'].final_data.length != 0){\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\n console.log(this.salesCustomer);\n }\n this.loadData=true\n \n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport { QueueScheduler } from 'rxjs/internal/scheduler/QueueScheduler';\n/**\n * Generated class for the PdQuestionAssessedImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-assessed-images',\n templateUrl: 'pd-question-assessed-images.html',\n})\nexport class PdQuestionAssessedImagesPage {\n imageDisplay: any=[];\n imageBucket: any=[];\n pdDetails:any;\n FormId:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private toast:ToastProvider,public qustCat:QuestionCategoryProvider ) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.FormId=this.navParams.get('formdetails')\n console.log(\"pd\",this.pdDetails,\"form\",this.FormId)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedImagesPage');\n this.getPDImages();\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionLenderRepresentativePage 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-lender-representative',\n templateUrl: 'pd-question-lender-representative.html',\n})\nexport class PdQuestionLenderRepresentativePage {\n\n users: any;\n FormId: any;\n pdDetails: any;\n representativeForm:FormGroup;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n this.users = this.aws.getlocale();\n this.representativeForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdDetails.pd_id],\n formid:[this.FormId.form_id],\n fk_createdby:[this.users],\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\n representative_remarks: ['', Validators.compose([Validators.required])],\n lender_representative_details: this.fb.array([]),\n });\n this.getLenderReDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\n this.getPDImages();\n }\n\n ionViewCanLeave(){\n console.log(\"dirty\",this.representativeForm.dirty);\n if(this.representativeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n \n createlenReDetails()\n {\n return this.fb.group({\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\n });\n }\n\n selectedLoanChanges(e): void {\n if (e.value == 'Yes') {\n const control = this.representativeForm.controls['lender_representative_details'];\n control.push(this.createlenReDetails());\n } else if (e.value == 'No') {\n const arr = this.representativeForm.controls.lender_representative_details;\n arr.removeAt(0);\n }\n }\n\n sumbitData(answerData)\n { \n if(this.representativeForm.valid)\n {\n let records = this.representativeForm.value;\n \n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.representativeForm.reset(this.representativeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getLenderReDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let lenderReDetails = res['records'];\n if(lenderReDetails.lender_representative_accompany=='Yes'){\n\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n\n\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\n {\n return res['records'].lender_representative_details[key];\n });\n \n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \n lender_represent_details.forEach(val=>\n {\n control.push(this.createlenReDetails());\n })\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\n\n }else\n {\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n }\n }\n })\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\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';\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { DatePipe} from '@angular/common';\nimport {PdPipe} from './../../../pipes/pd/pd';\nimport { removeSummaryDuplicates } from '@angular/compiler';\nimport { DataSource } from '@angular/cdk/table';\nimport { MatSelect } from '@angular/material';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n//import {} from 'moment'\n\n/**\n * Generated class for the PdQuestionGeneralInfoPage 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-general-info',\n templateUrl: 'pd-question-general-info.html',\n providers:[PdPipe],\n})\nexport class PdQuestionGeneralInfoPage {\n pipe=new DatePipe('en-US');\n // person_name:any;\n qualification_name:any;\n individuals_order_id:any;\n is_new:any;\n pd_co_applicant_id:any;\n lengthv:any;\n qual_name:any;\n curr_qualification_name;\n curr_business_name;\n \n\n applicant_name: any;\n otherapp: any;\n fetch_related_details: any = [];\n checkApplicantExist: any;\n pd_applicants_details: any = [];\n companyRelationShipList: any;\n qualificationList:any;\n businessEntityTypeList:any;\n relationShipList: any;\n titleList:any;\n users: any;\n FormId: any;\n pdDetails: any;\n generalForm:FormGroup;\n list_value:FormArray;\n fulldata:any\n public buttonClick:boolean;\n public h_companies:boolean\n \n datav:any;\n individualsListBothCase:any;\n individualsList:any;\n companyList:any;\n i:number;\n data_all:any;\n maxDate:any;\n OldData:any=[];\n OldData_indi:any=[];\n updateIndex_indi:any;\n public addComp:boolean\n public addIndi:boolean\n updateIndex_comp: any;\n\n complete_status : boolean = false;\n\n@ViewChild('remark') nameField: ElementRef;\n@ViewChild('focusBusiness') focus_business_entity : MatSelect\n customer_segment_abbr: any;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController,\n private cameraProvider:CameraProvider,private loading:LoadingProvider,private cons:ConstantsProvider) {\n this.maxDate = new Date();\n this.pd_applicants_details = []; \n this.pd_applicants_details.pop(); \n this.pdDetails = this.navParams.get('pdDetails');\n console.log(this.pdDetails)\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\n //this.maxDate=new Date(get_max_date)\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.users = this.aws.getlocale();\n this.getdropdown();\n \n this.generalForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n applicant_list: this.fb.array([]),\n applicant_relation: this.fb.array([]),\n list_value:this.fb.array([]),\n company_value:this.fb.array([]),\n individuals:this.fb.array([]),\n companies:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n company_with_relationships:this.fb.array([]),\n rental_income_rcv_in_years:[''],\n rental_income_rcv_in_month:[''],\n \n general_remark:''\n });\n \n //this.initIndividuals();\n this.pd_applicants_details = this.pdDetails.applicat_details;\n \n \n \n // this.getcoapplicantDetails();\n this.buttonClick=false;\n this.h_companies=false;\n this.addIndi=false\n this.addComp=false\n // this.initCompanies()\n this.datav=[{\n name:\"fairoj\",\n id:1\n },\n {\n name:\"ff\",\n id:2\n }\n \n ]\n //this.fulldata=this.generalForm.value\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['list_value'];\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\n this.fulldata=control.value;\n //control.controls.length\n //control.push()\n });\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['company_value'];\n this.companyList=control.value.filter(element=>element.company_name )\n })\n this.i=0;\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n // this.pd_applicants_details.pop();\n console.log('ionViewDidLoad PdQuestionGeneralInfoPage');\n this.getGeneralForm()\n this.getPDImages();\n \n }\n ionViewLoaded() {\n\n // setTimeout(() => {\n // this.generalForm.controls['general_remark']['controls'].setFocus();\n // },150);\n }\n\n ionViewCanLeave(){\n console.log(\"dirty\",this.generalForm.dirty);\n if(this.generalForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n initlistv(data,purpose) :void\n {\n const control=this.generalForm.controls['list_value'];\n console.log(\"control\",control.length)\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[control.length+1],\n is_new:true,\n is_active:true,\n pd_co_applicant_id:[control.length+1], \n \n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n if(purpose=='get'){\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[val.individuals_order_id],\n is_new:[val.is_new],\n is_active:[val.is_active],\n pd_co_applicant_id:[val.pd_co_applicant_id] , \n \n \n \n \n\n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n}\n\n qualificationById(data):string{\n for(let i of this.qualificationList){\n if(data==i.qualification_id){\n this.qual_name=i.qualification_name\n return this.qual_name\n }\n }\n \n }\n initCompanyValue(data,purpose):void{\n const control=this.generalForm.controls['company_value'];\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n \n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n // company_order_id:[this.lengthv.companies.length+1],\n company_order_id:[control.length+1],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:true,\n is_active:true,\n company_messrs_name:['M/s'],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[this.pdDetails.pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n if(purpose=='get')\n {\n for(let val of data)\n {\n \n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n\n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n company_order_id:[val.company_order_id],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:[val.is_new],\n is_active:[val.is_active],\n company_messrs_name:[val.company_messrs_name],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[val.associate_pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n }\n businessEntityById(val):string{\n for(let v of this.businessEntityTypeList){\n if(val==v.business_entity_type_id){\n var name=v.business_entity_type_name\n return name\n }\n }\n \n }\n \n\n initIndividuals(data):void{\n \n const control=this.generalForm.controls['individuals'];\n control.controls=[]\n if(data==null){\n let formData : FormGroup=this.fb.group({\n applicant_name:['',Validators.required],\n is_person_met:false,\n is_applicant:false,\n age:[''],\n qualification:[''],\n course_name:[''],\n applicant_title_name:['']\n\n });\n control.push(formData);\n }\n else{\n let formData : FormGroup=this.fb.group({\n \n \n applicant_name:[data.applicant_name,Validators.required],\n is_person_met:data.is_person_met,\n is_applicant:data.is_applicant,\n age:[data.age],\n qualification:[data.qualification],\n course_name:[data.course_name],\n applicant_title_name:[data.applicant_title_name]\n \n \n });\n this.buttonClick=!this.buttonClick;\n control.push(formData);\n\n }\n \n \n \n \n }\n initCompanies(data):void{\n const control=this.generalForm.controls['companies'];\n control.controls=[]\n if(data == null){\n let formData:FormGroup=this.fb.group({\n company_name:[''],\n is_company_applicant:false,\n business_entity_type:[''],\n business_entity_type_other:[''],\n business_years:[''],\n business_month:[''],\n business_date_object:[''],\n });\n control.controls=[]\n control.push(formData)\n \n }\n else{\n let formData:FormGroup=this.fb.group({\n company_name:[data.company_name],\n is_company_applicant:data.is_company_applicant,\n business_entity_type:[data.business_entity_type],\n business_entity_type_other:[data.business_entity_type_other],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_date_object:[data.business_date_object]\n })\n this.h_companies=!this.h_companies\n \n control.push(formData)\n }\n }\n initPersonRelationship(value):void{\n const control=this.generalForm.controls['persons_with_relationships'];\n if(value=='')\n {\n \n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[''],\n applicant_name:[''],\n relationship:[''],\n relation_to:[''],\n individuals_order_id:[control.length+1],\n \n });\n \n control.push(formData);\n }\n else{\n for(let val of value)\n {\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[val.pd_co_applicant_id],\n applicant_name:[val.applicant_name],\n relationship:[val.relationship],\n relation_to:[val.relation_to],\n });\n \n control.push(formData);\n }\n }\n \n }\n initCompanyRelationShip(value):void{\n console.log(value)\n if(value=='')\n {\n let formData:FormGroup=this.fb.group({\n applicant_name:[''],\n company_relationship:[''],\n relation_to_company:[''],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n else{\n console.log(\"data\",value);\n for(let val of value){\n let formData:FormGroup=this.fb.group({\n applicant_name:[val.applicant_name],\n company_relationship:[val.company_relationship],\n relation_to_company:[val.relation_to_company],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n }\n \n }\n\n \n \n add():void{\n \n this.initIndividuals(null);\n }\ndata:any;\ncart=[];\ndatajson:any;\ndataobj:any;\n\n addRec(v){\n if(v=='1')\n {\n this.addIndi=true;\n this.buttonClick=!this.buttonClick;\n this.initIndividuals(null);\n }\n if(v=='2')\n {\n console.log(\"companies\",this.h_companies);\n this.addComp=true\n // this.h_companies=true;\n this.h_companies=!this.h_companies;\n console.log(\"companies\",this.h_companies);\n this.initCompanies(null);\n }\n }\n editIndividuals(index){\n let values=this.generalForm.controls.list_value.value[index]\n console.log(values)\n this.addIndi=false\n this.updateIndex_indi=index;\n this.initIndividuals(values);\n // this.nameField.nativeElement.focus();\n\n }\n editCompanies(index){\n console.log(\"index\",index);\n let values=this.generalForm.controls.company_value.value[index]\n console.log(values)\n this.updateIndex_comp=index\n this.addComp=false\n //this.\n this.initCompanies(values)\n }\n update(v,controlVal){\n console.log(\"index\",v)\n if(v=='1'){\n\n let values=this.generalForm.controls['individuals'].value[0]\n // let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\n }\n else{\n let val=this.generalForm.controls.individuals.value[0]\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\n // const control=this.list_value\n var c_qualification_name=this.qualificationById(val.qualification) \n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\n control.patchValue({\n \n applicant_title_name:val.applicant_title_name,\n applicant_name:val.applicant_name,\n is_person_met:val.is_person_met,\n is_applicant:val.is_applicant,\n age:val.age,\n qualification:val.qualification,\n course_name:val.course_name,\n \n individuals_order_id:old.individuals_order_id,\n is_new:old.is_new,\n is_active:old.is_active,\n pd_co_applicant_id:old.pd_co_applicant_id, \n \n qualification_name:c_qualification_name\n });\n this.buttonClick=false;\n console.log(this.generalForm.controls.list_value['controls'])\n // this.generalForm.controls.list_value.value.scrollToTop();\n // this.generalForm.controls['list_value']._scrollContent;\n //this.myinput._scrollContent();\n \n \n console.log(\"values\",val)\n console.log(\"old\",old);\n console.log(control);\n \n }\n }\n else if(v=='2'){\n if(!this.generalForm.controls['companies'].valid)\n {\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\n }\n else{\n let val=this.generalForm.controls.companies.value[0]\n var c_business_name=this.businessEntityById(val.business_entity_type)\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\n control.patchValue({\n company_name:val.company_name,\n // company_order_id:[control.length+1],\n is_company_applicant:val.is_company_applicant,\n business_entity_type:val.business_entity_type,\n business_entity_type_other:val.business_entity_type_other,\n // is_new:true,\n // is_active:true,\n //company_messrs_name:['M/s'],\n \n business_years:val.business_years,\n business_month:val.business_month,\n business_date_object:val.business_date_object,\n\n business_entity_type_name:c_business_name\n })\n this.h_companies=false\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\n }\n }\n \n\n }\n \n addParticular(v,controlVal):void{\n //console.log(\"controlVAl\",controlVal)\n // const control=this.generalForm.controls['individuals'];\n //control.removeAt(i);\n //this.data=this.generalForm.value.individuals;\n this.cart.push(this.generalForm.value.individuals);\n this.data=Object.assign(this.cart);\n // this.data=Object.assign(this.generalForm.value.individuals)\n this.datajson=JSON.stringify(this.cart)\n if(v=='1')\n {let values=this.generalForm.controls['individuals'].value[0]\n let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n // console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initlistv(this.generalForm.value.individuals,'ins')\n this.initPersonRelationship('');\n }\n }\n else if(v=='2')\n {\n if(!this.generalForm.controls['companies'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initCompanyValue(this.generalForm.value.companies,'ins')\n }\n }\n \n }\n removeList(i,index){\n if(index=='1')\n {\n //For List List_value(Individuals)\n const control=this.generalForm.controls['list_value'];\n control.value[i].is_active=false;\n this.OldData_indi.push(control.value[i])\n control.removeAt(i);\n //For Person RelationShip auto Delete\n const control1=this.generalForm.controls['persons_with_relationships'];\n control1.removeAt(i);\n \n }\n if(index==2){\n //For Company_values(Companies)\n const control=this.generalForm.controls['company_value']\n control.value[i].is_active=false\n var vla=control.value[i]\n this.OldData.push(vla);\n control.removeAt(i);\n \n\n // let control: any = this.generalForm.get('companies') as FormArray;\n //this.generalForm.controls['companies']\n //control.controls['is_active'].setValue(false);\n //control.controls[i].clearValidators();\n //control.controls[i].updateValueAndValidity();\n //control.clear\n // control.controls[i].is_active.setValue(false);\n /* control.controls[i].controls.company_name.clearValidators();\n control.controls[i].controls.company_name.updateValueAndValidity();\n control.controls[i].controls.business_years.clearValidators();\n control.controls[i].controls.business_years.updateValueAndValidity();\n control.controls[i].controls.business_entity_type.clearValidators();\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\n }\n if(index==\"companyrel\")\n {\n //For company_relationship\n const control=this.generalForm.controls['company_with_relationships'];\n control.removeAt(i);\n }\n }\n \n \n getdropdown()\n {\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\n if(res['dataStatus']==true)\n {\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\n }\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\n });\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\n }\n });\n \n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n }\n\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\n {\n let applicantControl = this.generalForm.controls['applicant_list'];\n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n if(checkApplicantExist.length > 0)\n {\n checkApplicantExist.forEach(val => {\n applicantControl.push(this.createApplicant(val));\n });\n \n }\n if(exist_applicant_relation.length > 0){\n exist_applicant_relation.forEach(val => {\n relationControl.push(this.createApplicantRelation(val));\n //push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }\n }\n\n createApplicant(elementValue:any){\n return this.fb.group({\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name],\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\n });\n }\n\n coapplicantChange(event,index,item)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n if(item.exist_status.value)\n {\n if(item.pd_co_applicant_id.value==0){\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\n modal.onDidDismiss(data => {\n if(data!=1){\n data.otherName.forEach(val=>\n {\n\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':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n \n }\n });\n modal.present();\n }else\n {\n \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':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(item.applicant_name.value);\n }\n }\n else\n {\n let relationControl = this.generalForm.controls['applicant_relation'];\n let pos_id = relationControl.value.map(e=> \n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\n if(item.pd_co_applicant_id.value !=0){\n relationControl.removeAt(pos_id);\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\n this.fetch_related_details.splice(pos_name, 1); \n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n }\n // remove related to details\n \n }\n\n }\n\n createApplicantRelation(elementValue: any) {\n return this.fb.group({\n \n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\n company_relationship: [elementValue.company_relationship],\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\n relationship: [elementValue.relationship],\n });\n }\n // temparr=[];\n removereferance(index)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n \n \n relationControl.removeAt(index);\n // this.temparr = [];\n \n }\n // createApplicateOthers()\n // {\n // return this.fb.group(\n // {\n // Name:\n // })\n // }\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\n \n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\nif(flag==1){\n let control: any = this.generalForm.get('companies') as FormArray;\n control = control.controls[controlIndex];\n let business_year = control.controls.business_years.value;\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n control.controls.business_month.setValue(Math.floor(converted_month));\n }\n else if(flag==2){\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\n }\n}\ngetDateObjects(values: any, controlIndex) {\n let control: any = this.generalForm.get('companies') as FormArray;\n control.controls['business_years']=''\n control.controls['business_month']=''\n control = control.controls[controlIndex];\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\n let date=new Date()\n\n let curr_date=date.getFullYear()+'/'+('0'+(date.getMonth()+1))+'/'+('0'+date.getDate())\n console.log(\"current date\",curr_date);\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\n console.log(\"pd date\",pd_initiation_date);\n console.log(\"selected date\",selected_date)\n /*WORKING STATEMENT*/\n let months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear()));\n\nif (months >= 12) {\n console.log('years:', (months - (months %12))/12 );\n console.log(\"moth\",months%12);\n} else {\n console.log('only months',months);\n}\ncontrol.controls['business_years'].setValue((months - (months %12))/12);\n control.controls['business_month'].setValue(months%12);\n/*END OF WORKING STATEMENT*/\n //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\n// function monthDiff(d1, d2) {\n// var months;\n// months = (d2.getFullYear() - d1.getFullYear()) * 12;\n// months -= d1.getMonth() + 1;\n// months += d2.getMonth();\n// return months <= 0 ? 0 : months;\n \n// }\n// console.log(\"new\",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010);\n //var start_date=moment(start_date)\n /* old working statement*/\n // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date);\n // let diff: number = Math.floor(diffInMs / 1000);\n // console.log(\"diff\",diff)\n // diff /= (60 * 60 * 24 * 30);\n // console.log(\"diff /\",diff)\n // diff=Math.abs(Math.round(diff));\n // control.controls['business_years'].setValue(0);\n // control.controls['business_month'].setValue(0);\n \n // if(diff){\n // control.controls['business_years'].setValue(Math.floor(diff / 12));\n // control.controls['business_month'].setValue(Math.floor(diff % 12));\n // }\n\n}\ntemp: number = 0;\n\n submitData(answerData)\n {\nconsole.log('1)',this.temp);\n let saveRecords:any={}\n var valuesData_indi:any=[]\n\n var valuesData:any=[]\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\n return answerData.list_value[key]\n })\n existData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n if(this.OldData_indi.length>0){\n this.OldData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n }\n\n var existData=Object.keys(answerData.company_value).map(function(key){\n return answerData.company_value[key]\n })\n if(this.customer_segment_abbr != 'SE-RI'){\n let count=0\n existData.forEach((element,index)=>{\n // console.log(\"company value\",element)\n if(element.business_entity_type=='' || element.business_entity_type == null){\n this.editCompanies(index);\n // this.focus_business_entity.focused=true;\n count=count+1;\n }\n valuesData.push(element)\n })\n if(count >0){\n this.toast.pdTriggerappmessage(\"Please choose business entity type for each companies\");\n return\n }\n }\n if(this.OldData.length>0){\n this.OldData.forEach((element)=>{\n valuesData.push(element)\n })\n }\n \n if (valuesData_indi.length > 0) {\n // console.log('2)',this.temp);\n valuesData_indi.forEach((val, index) => {\n if (val.is_person_met == false) {\n this.temp++;\n }\n // console.log('3)',this.temp);\n });\n // console.log('4)',this.temp,'length',valuesData_indi.length);\n if (this.temp == valuesData_indi.length) {\n // console.log('5)',this.temp);\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\n this.temp = 0;\n // console.log('6)',this.temp);\n return;\n }\n }\n\n if (this.customer_segment_abbr != 'SE-RI') {\n saveRecords.companies=valuesData\n saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.rental_income_rcv_in_years = null;\n saveRecords.rental_income_rcv_in_month = null;\n //saveRecords.applicant_relation=answerData.applicant_relation; \n }\n else if (this.customer_segment_abbr == 'SE-RI') {\n saveRecords.companies = [];\n saveRecords.company_with_relationships = [];\n saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years;\n saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month;\n //saveRecords.applicant_relation=answerData.applicant_relation;\n }\n\n saveRecords.individuals=valuesData_indi;\n // saveRecords.companies=valuesData\n saveRecords.parent_pdid=answerData.parent_pdid\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.fk_createdby=this.users; \n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\n // saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.general_remark=answerData.general_remark;\n \n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\n if(dataResult['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this.generalForm.reset(this.generalForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n \n\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n })\n \n /* Old Data\n if(this.generalForm.valid)\n {\n let saveRecords:any = {}\n let applicantList:any=[];\n let applicantRelationList:any=[];\n // this for applicant list for selected\n answerData.applicant_list.forEach((element,key) => {\n if(element.exist_status==1){\n applicantList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n }) \n }\n });\n // this is for selected applicant relation \n answerData.applicant_relation.forEach((element,key) => {\n applicantRelationList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n \"company_name\":element.company_name,\n \"company_relationship\":element.company_relationship,\n \"applicant_relation_to\":element.applicant_relation_to,\n \"relationship\":element.relationship,\n }) \n });\n \n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.general_remark=answerData.general_remark;\n saveRecords.selected_applicant=applicantList;\n saveRecords.applicant_relation=applicantRelationList;\n saveRecords.fk_createdby = this.users;\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n } \n })\n }*/\n }\n\n getGeneralForm()\n {\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>{\n this.data_all=res['records'];\n let exist_companies:any;\n let exist_company_with_relationship:any;\n let companyControl = this.generalForm.get('company_value') as FormArray;\n companyControl.controls=[]\n this.lengthv=this.data_all;\n if(res['dataStatus']==true)\n {\n \n \n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\n //\n\n var arrlist_indi:any=[] \n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\n return res['records'].individuals[key];\n }) \n if(exist_individuals.length>0){\n exist_individuals.forEach((element)=>{\n if(element.is_active != false){\n arrlist_indi.push(element);\n }\n else{\n this.OldData_indi.push(element)\n }\n })\n }\n this.initlistv(arrlist_indi,'get')\n \n \n if(this.data_all.persons_with_relationships != ''){\n this.initPersonRelationship(this.data_all.persons_with_relationships);\n }\n //Create Company with Relationship\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\n return res['records'].company_with_relationships[key];\n })\n console.log(\"Customer Segment\",this.customer_segment_abbr)\n if(this.customer_segment_abbr !='SE-RI')\n {\n if(exist_company_with_relationship.length>0){\n // exist_company_with_relationship.forEach(key=>{\n // console.log(\"company relation\",key)\n // this.initCompanyRelationShip(key)\n // })\n this.initCompanyRelationShip(exist_company_with_relationship);\n }\n else if(exist_company_with_relationship.length==0){\n this.initCompanyRelationShip('');\n }\n //create Companies\n exist_companies=Object.keys(res['records'].companies).map(function(key){\n return res['records'].companies[key];\n })\n var arraylis:any=[]\n if(exist_companies.length>0){\n exist_companies.forEach((element,cindex)=>{\n if(element.is_active!=false){\n arraylis.push(element);\n }\n else{\n this.OldData.push(element);\n }\n })\n \n }\n this.initCompanyValue(arraylis,'get');\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\n }\n else if(this.customer_segment_abbr == 'SE-RI'){\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\n\n }\n\n // var arraylis:any=[]\n \n \n // if(exist_companies.length>0){\n // exist_companies.forEach((element,cindex)=>{\n // if(element.is_active!=false){\n // arraylis.push(element);\n // }\n // else{\n // this.OldData.push(element);\n // }\n // })\n \n // }\n // this.initCompanyValue(arraylis,'get');\n \n \n\n // if(this.data_all.company_with_relationships != ''){\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\n // }\n \n }\n else{\n console.log(\"Else data\",this.pd_applicants_details)\n this.pd_applicants_details.forEach((datas,index)=>{\n datas.is_applicant=true,\n datas.is_person_met = false;\n datas.is_new = false;\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\n datas.is_active = true;\n datas.individuals_order_id = index + 1;\n // company_order_id = index+1,\n datas.age = '',\n datas.qualification = '',\n datas.course_name = ''\n if (datas.company_name != '' && datas.company_name != null) {\n console.log(\"company\");\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, associate_pd_id:this.pdDetails.pd_id }\n companyControl.push(this.createCompanies(setCompanyValues))\n }\n });\n \n // this.lengthv.push(\"individuals\")\n // this.lengthv.push(\"companies\")\n // this.lengthv.push('persons_with_relationships')\n //this.lengthv.push(\"\")\n console.log(\"applicant\",this.lengthv)\n this.initlistv(this.pd_applicants_details,'get');\n this.initPersonRelationship(this.pd_applicants_details)\n // this.initCompanyValue(this.pd_applicants_details,'get');\n this.initCompanyRelationShip('')\n\n }\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 if(res['dataStatus']==true)\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n let generalDetails = res['records'];\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\n\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\n {\n return res['records'].applicant_relation[key];\n });\n\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\n {\n return res['records'].selected_applicant[key].pd_co_applicant_id;\n });\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\n let checkApplicantExist =actual_applicant.map((id, index) => {\n if (selected_applicant.indexOf(id) < 0) {\n this.pd_applicants_details[index].exist_status=0;\n return this.pd_applicants_details[index];\n }\n else{\n this.pd_applicants_details[index].exist_status=1;\n this.pd_applicants_details[index].applicant_relation_to='';\n this.pd_applicants_details[index].relation='';\n return this.pd_applicants_details[index];\n }\n }).filter(item => item != undefined);\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\n }else\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n }\n })*/\n }\n createCompanies(elementValue:any) {\n var name=this.businessEntityById(elementValue.business_entity_type)\n return this.fb.group({\n company_order_id: [elementValue.company_order_id],\n company_name: [elementValue.company_name,],\n company_messrs_name: ['M/s'],\n is_company_applicant:[elementValue.is_company_applicant],\n business_entity_type :[elementValue.business_entity_type,Validators.required],\n business_years: [elementValue.business_years, Validators.required],\n business_month: [elementValue.business_month],\n business_date_object: [elementValue.business_date_object],\n is_active: [elementValue.is_active],\n is_new:[elementValue.is_new],\n business_entity_type_name:[name],\n associate_pd_id:[elementValue.associate_pd_id]\n \n });\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('applicant_name').value\n value.get('applicant_name').setValue(this.cons.sentenceCase(name));\n }\n \n \n}\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';\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionGeneralOtherApplicantPage 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-general-other-applicant',\n templateUrl: 'pd-question-general-other-applicant.html',\n})\nexport class PdQuestionGeneralOtherApplicantPage {\n otherForm:FormGroup;\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\n this.otherForm = this.fb.group(\n {\n otherName:this.fb.array([]),\n })\n this.addmore();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\n }\n\n createName(elementValue:any)\n {\n return this.fb.group(\n {\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name, Validators.required],\n })\n }\n\n addmore()\n {\n if(this.otherForm.valid)\n {\n const control = this.otherForm.controls['otherName'];\n control.push(this.createName(this.applicantInfo));\n }\n }\n\n deleteappdata(index)\n {\n const control = this.otherForm.controls['otherName'];\n if(control.length==1){\n control.reset();\n }else{\n control.removeAt(index);\n }\n }\n\n closeModal(){\n this.viewCtrl.dismiss(1); \n }\n submitData(answerData)\n {\n if(this.otherForm.valid){\n this.viewCtrl.dismiss(this.otherForm.value);\n }\n }\n\n\n}\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';\n\n/**\n * Generated class for the PdPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'pdPipe',\n})\nexport class PdPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any):any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionNeighbourHoodPage 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-neighbour-hood',\n templateUrl: 'pd-question-neighbour-hood.html',\n})\nexport class PdQuestionNeighbourHoodPage {\n\n frequency: any;\n relationBusiness: any;\n users: any;\n FormId: any;\n pdDetails: any;\n neighbourhoodForm:FormGroup;\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\n {'id': 2,'name': \"Negative\"},\n {'id': 3,'name': \"Insufficient information provided\"}];\n\n // amtInWords:any=[];\n applicants:any;\n isDisplay:any = [];\n isDisplay2:any = [];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOrganisationOwner: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2 && appt.pd_co_applicant_id != 0);\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.neighbourhoodForm = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n check_type:0,\n neighbourhood_list: this.fb.array([]),\n neighbourhood_status:[''],\n referencecheck_list: this.fb.array([]),\n neighbour_reference_remark:'' \n })\n this.users = this.aws.getlocale();\n \n \n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\n this.getneighbourhood();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.neighbourhoodForm.dirty);\n if(this.neighbourhoodForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\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 this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n }\n inWords(val,i)\n {\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n }\n keyPress(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 }\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e,flag){\n if(flag == 2){\n\n let year = itemrow.controls.year_relation_applicant.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\n }\n else if(flag == 1){\n \n let year = itemrow.controls.how_long_do_know_in_year.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\n }\n}\n\ntoggleVisibility(e,index,flag){ \n let val\n \n if(flag == 1){\n this.isDisplay[index] = e;\n }\n else if(flag==2){\n this.isDisplay2[index] = e;\n }\n}\n\ncheckOthers(values){\n if(values!=null) {\n return values==0 ? true : false;\n }\n else {\n return false;\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}\n\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\n //console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\n\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.other_organisation_owner.setValue('');\n ChdCtrls.controls.other_organisation_owner.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \n}\n createreferance()\n {\n return this.fb.group({\n reference_name: [null],\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n statecode:[null],\n landline: [null],\n location:[null],\n relationship_with:[null],\n others:[null],\n year_relation_applicant:[null],\n months_relation_applicant:[null],\n business_volume_amount:[null],\n business_volume_unit:[null],\n others_unit:[null],\n reference_final_remarks:[null],\n specify_final_remark:[null]\n });\n }\n addreferance()\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n control.push(this.createreferance());\n }\n\n removereferance(i)\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n createNeighbourhood(){\n return this.fb.group({\n neighbourhood_name: [null],\n do_know: [''],\n \n how_long_do_know_in_year: [''],\n how_long_do_know_in_month:[''],\n organisation_owner: [''],\n is_applicant_owner:[''],\n other_organisation_owner:[''],\n did_not_know_the_business_operation:[''],\n did_not_know_the_owner:[''],\n });\n }\n\n addneighbourhood()\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n control.push(this.createNeighbourhood());\n }\n\n removeneighbourhood(i)\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n submitData(answerData)\n {\n \n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\n // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]);\n // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity();\n\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required])\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity();\n if (NbhdCtrlLength > 0) {\n let Ncnt = 0;\n while(Ncnt < NbhdCtrlLength){\n\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \n\n // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\n\n // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\n \n\n if(nbhdChildCtrl.controls.do_know.value != ''){\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n }\n Ncnt++;\n }\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\n }\n\n\n if (this.neighbourhoodForm.invalid) {\n // this.validateAllFormFields(this._neighbourhoodForm);\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\n return;\n }\n \n let saveRecords:any = {}\n let referencecheck_list:any=[];\n let neighbourhood_list:any=[];\n // if(answerData.check_type==0){\n answerData.neighbourhood_list.forEach((element,key) => {\n neighbourhood_list.push({\n \"neighbourhood_name\":element.neighbourhood_name,\n \"do_know\":element.do_know,\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\n \"is_applicant_owner\":element.is_applicant_owner,\n \"organisation_owner\":element.organisation_owner,\n \"other_organisation_owner\":element.other_organisation_owner,\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\n \"did_not_know_the_owner\":element.did_not_know_the_owner\n }) \n });\n saveRecords.neighbourhood_list=neighbourhood_list;\n \n // }\n // else{\n // this for referencecheck_list for selected\n answerData.referencecheck_list.forEach((element,key) => {\n referencecheck_list.push({\n \"reference_name\":element.reference_name,\n \"mobile\":element.mobile,\n \"landline\":element.statecode+'-'+element.landline,\n \"location\":element.location,\n \"relationship_with\":element.relationship_with,\n \"others\":element.others,\n \"year_relation_applicant\":element.year_relation_applicant,\n \"months_relation_applicant\":element.months_relation_applicant,\n \"business_volume_amount\":element.business_volume_amount,\n \"business_volume_unit\":element.business_volume_unit,\n \"others_unit\":element.others_unit,\n \"reference_final_remarks\":element.reference_final_remarks,\n \"specify_final_remark\":element.specify_final_remark\n }) \n });\n saveRecords.referencecheck_list=referencecheck_list;\n \n // }\n saveRecords.parent_pdid=answerData.parent_pd_id\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n // saveRecords.check_type=answerData.check_type;\n saveRecords.fk_createdby = this.users;\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\n\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.neighbourhoodForm.reset(this.neighbourhoodForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n getneighbourhood()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let neighbourDetails = res['records'];\n // neighbourDetails.neighbourhood_list.=''\n \n // if(neighbourDetails.check_type==0)\n // {\n \n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\n {\n return res['records'].neighbourhood_list[key];\n });\n console.log('neighbourhood_list',neighbourhood_list);\n console.log('length',neighbourhood_list.length);\n if(neighbourhood_list.length > 0){\n\n \n neighbourhood_list.forEach((element,index)=>\n {\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\n neicontrol.push(this.createNeighbourhood());\n this.getOtherOrganisationOwner(element.organisation_owner,index)\n });\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\n \n\n }else\n {\n this.addneighbourhood();\n }\n // if(neighbourDetails.check_type==1)\n // {\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\n {\n return res['records'].referencecheck_list[key];\n });\n console.log('referencecheck_list',referencecheck_list);\n console.log('length',referencecheck_list.length);\n if(referencecheck_list.length > 0){\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n referencecheck_list.forEach((val,index)=>\n {\n let statecodesearch = val.landline.search(\"-\");\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\n control.push(this.createreferance());\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\n });\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\n \n }else\n {\n this.addreferance();\n }\n }else\n {\n this.addneighbourhood();\n this.addreferance();\n }\n })\n }\n\n /*Image SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_organisation_owner').value\n value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name));\n }\n\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,Validators,FormArray} from '@angular/forms';\n// import { t } from '@angular/core/src/render3';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionFinalRemarkPage 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-final-remark',\n templateUrl: 'pd-question-final-remark.html',\n})\nexport class PdQuestionFinalRemarkPage {\n\n m_remarkTypeCustomerBehaviour:any=[];\n\n users:any;\n pdDetails:any;\n pdid:any;\n FormId:any;\n _finalRemarkForm:FormGroup;\n m_recommendationList: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n mode_of_transport_values=[{'id':'two_wheeler','name':'Two Wheeler'},\n {'id':'four_wheeler','name':'Four Wheeler'},\n {'id':'public_transport','name':'Public Transport'},\n {'id':'others','name':'Others'}]\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder,\n public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n this.FormId=this.navParams.get('FormId');\n this.users=aws.getlocale()\n \n this._finalRemarkForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId.form_id],\n final_custormer_remark_type:[null,Validators.compose([Validators.required])],\n final_other_customer_behaviour:[null],\n is_service_provided:[null],\n final_form_remarks:[null],\n pd_officers_recommendation:[null],\n others_pd_officers_recommendation:[''],\n // reason_for_positive:[''],\n // reason_for_negative:[''],\n // reason_for_refer_to_credit:[''],\n recommendation_positive:this.fb.array([]),\n recommendation_negative:this.fb.array([]),\n recommendation_refer_to_credit:this.fb.array([]),\n\n was_the_pd_address_ogl:[''],\n mode_of_transport_during_visit:['',Validators.compose([Validators.required])],\n others_transport:['',Validators.compose([Validators.required])]\n \n })\n this.getDropDown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\n this.getFinalRemark();\n this.getPDImages();\n \n }\n ionViewCanLeave(){\n console.log(\"dirty\",this._finalRemarkForm.dirty);\n if(this._finalRemarkForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\ngetDropDown(){\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\n })\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\n this.m_recommendationList=res['records']\n })\n}\ncreateRecomendationPositive(data){\n console.log(\"val\",data)\n return this.fb.group({\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\n })\n}\naddRecomendationPositive(){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.push(this.createRecomendationPositive(null))\n}\nremoveRecomendationPositive(index){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.removeAt(index);\n}\ncreateRecomendationNegative(data){\n return this.fb.group({\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\n })\n}\naddRecomendationNegative(){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.push(this.createRecomendationNegative(null))\n}\nremoveRecomendationNegative(index){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.removeAt(index)\n}\ncreateRecomendationCreditRefer(data){\n return this.fb.group({\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\n })\n}\naddRecomendationCreditRefer(){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.push(this.createRecomendationCreditRefer(null));\n}\nremoveRecomendationCreditRefer(index){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.removeAt(index)\n}\n\nRecommendationChange(e) {\n // console.log('Event',e);\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n\n if (e == 1) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n \n\n }\n if (e == 2) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n\n }\n\n if (e == 3) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n }\n }\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\n\n }\n if (e == 4) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n }\n}\n getFinalRemark(){\n let saveRecords={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\n if(data['dataStatus']==true){\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\n \n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\n this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl);\n this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit)\n this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport);\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\n if(data['records'].recommendation_positive.length>0){\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n data['records'].recommendation_positive.forEach((val,index)=>{\n console.log(\"for\",val);\n if(val.reason_for_positive != null){\n let obj={'reason_for_positive':val.reason_for_positive};\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\n }\n })\n }\n if(data['records'].recommendation_negative.length>0){\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n data['records'].recommendation_negative.forEach((val,index)=>{\n console.log(\"for\",val);\n let obj={'reason_for_negative':val.reason_for_negative};\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\n })\n }\n if(data['records'].recommendation_refer_to_credit.length>0){\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n data['records'].recommendation_refer_to_credit.forEach(val=>{\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\n })\n }\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\n }\n else{\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\n }\n })\n \n }\n saveFinalRemark(){\n if(this._finalRemarkForm.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else{\n var answerData=this._finalRemarkForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res=>{\n if(res['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this._finalRemarkForm.reset(this._finalRemarkForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n setValidation(){\n console.log(\"enter\");\n if(this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others'){\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].setValidators(Validators.compose([Validators.required]))\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n else{\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].clearValidators();\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n }\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\n\n/**\n * Generated class for the PdQuestionBusinessGroupPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-business-group',\n templateUrl: 'pd-question-business-group.html',\n})\nexport class PdQuestionBusinessGroupPage {\n \n FormId: any;\n pdDetails: any = [];\n existCompanyList: any = [];\n waitLoading:boolean;\n count:number;\n forms_order:any=[]\n\n constructor(public navCtrl: NavController, \n public navParams: NavParams,\n public qustCat:QuestionCategoryProvider){\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n // this.getCompanyListForBusiness(); \n \n\n }\n ionViewCanEnter()\n {\n this.getCompanyListForBusiness(); \n //this.colorChange();\n\n }\n \n /** To Get General Form's Company List */\n getCompanyListForBusiness(): void{\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList = data.records.filter(val =>val.is_active);\n // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){\n // return this.existCompanyList.form_status[key]\n // })\n //console.log(forms)\n // console.log(this.existCompanyList)\n this.existCompanyList.forEach((key,ele)=>{\n this.forms_order.push(key.form_status)\n })\n console.log(this.forms_order)\n this.forms_order=this.forms_order.filter(val=>val.isAnswerable == true)\n console.log(this.forms_order)\n // this.existCompanyList.forEach(element=>{\n // console.log(element);\n // })\n \n \n // this.existCompanyList.array.forEach(element => {\n // console.log(element)\n // });\n \n \n // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true)\n if(this.existCompanyList.length==1){\n this.count=0\n }\n this.waitLoading = true;\n }\n else {\n this.waitLoading = false;\n }\n })\n }\n \n\n /** To Get Related Form Details */\n OnSelectBusinessGroupForms(details: any, company: any) {\n \n this.pdDetails.company_id = company.company_order_id;\n this.pdDetails.company_name = company.company_name;\n this.pdDetails.business_entity_type = company.business_entity_type;\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\n this.pdDetails.business_years = company.business_years;\n this.pdDetails.business_month = company.business_month;\n console.log(details.form_id);\n \n if(details.form_id==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==2){\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==11){\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==13){\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==14){\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==15){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==21){\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==22){\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==16){\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n\n\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { FormBuilder, FormGroup,FormArray, Validators, FormControl } from '@angular/forms';\nimport { createPipe } from '@angular/compiler/src/core';\nimport { elementAt, takeUntil } from 'rxjs/operators';\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { Subject, ReplaySubject } from 'rxjs';\nimport {searchValue} from '../../search'\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessInfoPage 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-business-info',\n templateUrl: 'pd-question-business-info.html',\n})\nexport class PdQuestionBusinessInfoPage {\n stateList:any=[];\n users: any;formdetails:any;\n FormId: any;\n pdDetails: any;\n businessForm:FormGroup;\n applicants:any=[];\n businessEntityTypeList: any ={\n business_entity_type_id:String,\n business_entity_type_name:String,\n sourcsection_labeleName:String\n }; \n generalExistEntityType:string\n generalExistEntityType_other:string;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n pdid:any;\n step:number\n\n relationData: any = [];\n industryData: any = [];\n activityData: any = [];\n relativeNames: any;\n companyRelationShipList:any=[]\n countryDataList:any=[]\n exist_status:any;\n \n filterCityList : any = [];\n errorMessage:any=[];\n appxSalaryAmtInwords:any;\n titleData:any=[]\n personsList:any=[]\n \n ManufacturingChecked: boolean;\n RetailedChecked: boolean;\n WholeSalesChecked: boolean;\n ServiceChecked: boolean;\n ExportFlag: boolean=false;\n bankList: any=[];\n bankListValue:any=[];\n temp_additiondetailofposmachine:any=[]\n isreadonlyyear: any=[];\n isreadonlymonth: any=[];\n EntityTypeFlag:boolean=false\n\n yearErrorMessage: any = [];\n monthErrorMessage: any = [];\n errorMessageForExistTotalWorkExperience : any = [];\n @ViewChild('shareholding') share_focus:ElementRef\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n //public filterCity=new Rx.Subject()\n public filteredState:ReplaySubject=new ReplaySubject(1)\n cityData:any=[]\n cityDataValue:any=[]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) {\n this.getStateCityDet();\n // console.log(typeof this.filteredCity)\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n \n this.formdetails = this.navParams.get('formDetails');\n \n this.FormId = this.formdetails.form_id;\n this.users = this.aws.getlocale();\n \n this.applicants=this.pdDetails.applicat_details;\n console.log(\"pd\",this.pdDetails);\n this.generalExistEntityType=this.pdDetails.business_entity_type\n this.generalExistEntityType_other=this.pdDetails.business_entity_type_other\n this.generalExistBusinessYear=this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.step=0\n \n \n \n // this.initBusinessForm();\n // this.getBuisnessDetails();\n \n this.businessForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId],\n company_id: this.pdDetails.company_id,\n partners:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n select_business_activity_type:this.fb.array([]),\n manufacturing_activity_details:this.fb.array([]),\n retail_trading_activity_details:this.fb.array([]),\n wholesale_trading_activity_details:this.fb.array([]),\n service_provider_activity_details:this.fb.array([]),\n // others_activity_details:this.fb.array([]),\n export_sale_of_total_sales:[''],\n // applicant_use_mobile_wallets:[''],\n // applicant_use_pos_machines:[''],\n // no_of_pos_machines:[''],\n seasonality:[''],\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n employees_appx_salary:[''],\n was_the_company_name_board_sighted:['',Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n shop_eat_act_cert: [''],\n gst_Regn_cert: [''],\n //export_import_cert: [''],\n // factory_cert: [''],\n //practice_cert: [''],\n pf_regn: [''],\n esic_regn: [''],\n other_documents: [''],\n documents: this.fb.array([]),\n business_remarks:['']\n\n\n\n \n })\n this.getdropdown();\n \n// this.initBusinessForm();\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\n this.getPDImages();\n \n \n }\n getdropdown() {\n \n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.relationData.push(val);\n }\n })\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data=>{\n if(data['dataStatus']==true){\n let filterList = data['records'].filter(val=>val.business_entity_type_id==this.generalExistEntityType);\n console.log(\"Filter\",filterList)\n if(filterList.length>0){\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id==1;\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id!=1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id!=1 ? filterList[0].section_label : this.generalExistEntityType_other;\n \n if(this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship'){ \n this.EntityTypeFlag = true;\n }\n }\n }\n\n });\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.industryData.push(val);\n }\n })\n });\n \n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\n this.activityData.push(val);\n }\n })\n });\n \n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data=>{\n this.companyRelationShipList=data['records'].filter(val=>val.isactive==1);\n \n });\n \n \n \n this.qustCat.getcommondrop('COUNTRY').subscribe(data=>{\n this.countryDataList=data['records'].filter(val=>val.isactive==1);\n \n });\n this.qustCat.getcommondrop('TITLES').subscribe(data=>{\n this.titleData=data['records'].filter(val=>val.isactive==1);\n })\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data=>{\n if(data.dataStatus){\n \n this.personsList=data['record'].filter(val=>val.applicant_type==1)\n \n }\n })\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data=>{\n this.bankList=data['records'].filter(val=>val.isactive ==1 && val.lender_type == 1);\n this.bankListValue=this.bankList.slice();\n })\n \n}\ngetStateCityDet(){\nthis.qustCat.getStateCityDetails().subscribe(data=>{\n \n\n this.stateList=data.records\n this.filteredState.next(this.stateList.slice())\n \n this.getDetails();\n });\n \n \n}\nchangeOfStartedBusiness(members,i,e){\n if(e == 'yes'){\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\n }\n else{\n this.isreadonlyyear[i] =false;\n this.isreadonlymonth[i] = false;\n }\n }\n getDetails(){\n \n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = 13\n params.company_id = this.pdDetails.company_id;\n this.qustCat.retiverForm(params).subscribe(data=>{\n console.log('data[records]',data['records']);\n let businessVal=data['records']\n let constVal: any;\n \n \n const Partnr:any = this.businessForm.controls['partners'];\n \n const control1:any = this.businessForm.controls['persons_with_relationships'];\n \n const business_activity:any = this.businessForm.controls['select_business_activity_type'];\n \n const manufacture_details:any= this.businessForm.controls['manufacturing_activity_details'];\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\n const wholesaleControl:any=this.businessForm.controls['wholesale_trading_activity_details'];\n const serviceProviderControl:any=this.businessForm.controls['service_provider_activity_details'];\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\n const otherDoc = this.businessForm.controls['documents'];\n //retailControl.push(this.manufactureDetails());\n //manufacture_details.push(this.manufactureDetails())\n \n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\n //india_sales.push(this.indiaSalesDone())\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\n // country_sale.push(this.createCountrySale());\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\n //max_sale_state.push(this.maxSaleState())\n\n if(data['status']==200){\n let DocArray: any;\n let PartnrArray=Object.keys(data['records'].partners).map(function(key){\n return data['records'].partners[key];\n })\n \n if(PartnrArray.length==0){\n Partnr.push(this.createPartners())\n }\n else{\n PartnrArray.forEach((datas,key) => {\n Partnr.push(this.createPartners());\n if(datas.partner_name=='Others') {\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\n }\n if(parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else {\n Partnr.controls[key].removeControl('total_business_previous_experience')\n }\n });\n }\n if(data['records'].persons_with_relationships){\n let PartnrArray1=Object.keys(data['records'].persons_with_relationships).map(function (key){\n return data['records'].persons_with_relationships[key];\n })\n if(PartnrArray1.length>0){\n PartnrArray1.forEach((datas,key)=>{\n control1.push(this.createRelationShip());\n })\n businessVal.persons_with_relationships=PartnrArray1\n \n }\n else{\n //control1.push(this.createRelationShip());\n businessVal.persons_with_relationships=[]\n }\n }\n else{\n businessVal.persons_with_relationships=[]\n \n }\n \n\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{document: ''}];\n otherDoc.push(this.createDocument());\n }\n businessVal.parent_pdid=this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdid;\n businessVal.formid = 13;\n businessVal.company_id = this.pdDetails.company_id;\n businessVal.fk_createdby = this.users;\n //businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n // businessVal.persons_with_relationships=PartnrArray1\n businessVal.documents=DocArray\n \n if(businessVal.employees_appx_salary){\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\n }\n \n \n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\n // this.businessForm.setValue(businessVal);\n //this.businessForm.value.seasonality\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id}))\n let exist_activity_data: any=[];\n if(data['records'].select_business_activity_type){\n exist_activity_data=Object.keys(data['records'].select_business_activity_type).map(function(key) {\n return data['records'].select_business_activity_type[key].type_of_activity_id;\n });\n }\n \n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\n let check_exist_businees_activity =actual_businees_activity.map((id, index) => {\n if (exist_activity_data.indexOf(id) < 0) {\n activityData[index].exist_status=0;\n return activityData[index];\n }\n else{\n activityData[index].exist_status=1;\n return activityData[index];\n }\n }).filter(item => item != undefined);\n \n if(check_exist_businees_activity.length > 0)\n {\n check_exist_businees_activity.forEach((val,index) => {\n business_activity.push(this.createBusinessActivity(val));\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\n \n });\n \n businessVal.select_business_activity_type=check_exist_businees_activity;\n }\n // business_activity.push(this.createBusinessActivity())\n \n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\n \n if(data['records'].manufacturing_activity_details){\n let selectedManufacturing=Object.keys(data['records'].manufacturing_activity_details).map(function(key){\n return data['records'].manufacturing_activity_details[key];\n });\n if(selectedManufacturing.length>0){\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\n \n selectedManufacturing.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'MActivity',index)\n manufacture_details.push(this.manufactureDetails())\n if(element.area_of_sale=='Within India'){\n \n manufacture_details.controls[index].addControl('india_where_sale_done',this.fb.array([]))\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n })\n }\n else if(element.area_of_sale=='Export'){\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n \n }\n });\n businessVal.manufacturing_activity_details=selectedManufacturing;\n \n \n }\n else{\n \n businessVal.manufacturing_activity_details=[];\n }\n }\n else{\n \n businessVal.manufacturing_activity_details=[];\n }\n \n if(data['records'].retail_trading_activity_details){ \n\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\n return data['records'].retail_trading_activity_details[key];\n });\n if(selectedRetail.length > 0) {\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\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'); \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')\n selectedRetail.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'RActivity',index)\n retailControl.push(this.manufactureDetails());\n if(element.area_of_sale=='Within India'){\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n });\n businessVal.retail_trading_activity_details=selectedRetail;\n }\n else{\n businessVal.retail_trading_activity_details=[];\n } \n }\n else {\n businessVal.retail_trading_activity_details=[];\n }\n \n\n // update whole sale details\n if(data['records'].wholesale_trading_activity_details){ \n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\n return data['records'].wholesale_trading_activity_details[key];\n });\n if(selectedWholesale.length > 0) {\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\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'); \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')\n selectedWholesale.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'WActivity',index)\n wholesaleControl.push(this.manufactureDetails());\n if(element.area_of_sale=='Within India'){\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n \n });\n businessVal.wholesale_trading_activity_details=selectedWholesale;\n }\n else{\n businessVal.wholesale_trading_activity_details=[];\n } \n }\n else {\n businessVal.wholesale_trading_activity_details=[];\n\n } \n \n \n if(data['records'].service_provider_activity_details){\n let selectedService=Object.keys(data['records'].service_provider_activity_details).map(function (key){\n return data['records'].service_provider_activity_details[key];\n })\n if(selectedService.length > 0) {\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\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'); \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')\n \n selectedService.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'SPActivity',index)\n serviceProviderControl.push(this.manufactureDetails());\n \n if(element.area_of_sale=='Within India'){\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n \n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n \n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n\n \n }\n });\n \n \n businessVal.service_provider_activity_details=selectedService;\n \n }\n else{\n businessVal.service_provider_activity_details=[];\n \n } \n }\n else {\n businessVal.service_provider_activity_details=[];\n\n }\n \n // if(data['records'].others_activity_details){ \n\n // // update others activity details\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\n // return data['records'].others_activity_details[key];\n // });\n // if(selectedOthers.length > 0) {\n // selectedOthers.forEach((element,index)=>{\n // othersControl.push(this.createOthersActivity());\n // });\n // businessVal.others_activity_details=selectedOthers;\n // }\n // else{\n // businessVal.others_activity_details=[];\n // } \n // }\n // else {\n // businessVal.others_activity_details=[];\n\n // } \n \n // dynamically add form group control\n if(data['dataStatus']){\n \n if(data['records'].seasonality.toUpperCase()=='YES'){\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)); }\n\n } \n\n // this.businessForm.controls['partners'].setValue(PartnrArray);\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\n \n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\n if(businessVal.applicant_use_pos_machines == 'yes'){\n //For Adding the bank search in data\n businessVal.pos_machines_details.forEach(value=>{\n value.bankSearch=''\n })\n //-----------------------\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\n const posControl: any = this.businessForm.controls['pos_machines_details'];\n for(let i = 1; i<= businessVal.no_of_pos_machines; i++ ){\n \n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\n }\n }\n \n this.businessForm.setValue(businessVal);\n \n \n }\n else{\n Partnr.push(this.createPartners());\n control1.push(this.createRelationShip())\n \n //otherDoc.push(this.createDocument());\n\n // find business activity type businees activity type list\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id,exist_status:0}))\n if(activityData.length > 0)\n {\n activityData.forEach(val => {\n business_activity.push(this.createBusinessActivity(val));\n });\n }\n\n }\n})\n // change business sessional\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\n val.toUpperCase()=='YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\n });\n \n \n }\n\n filterCity(datasource: any,filterid:number) {\n // if(val){\n // console.log(\"val\",val)\n // return val\n // }\n \n \n if(filterid){\n console.log(\"val filter\",filterid)\n let filter = this.stateList.filter(x=>x.state_id==filterid);\n return filter.length > 0 ? filter[0].cities : [];\n }\n}\nfilterCityData(datasource: any,filterid:number,index) {\n console.log(\"test\")\n console.log(filterid,index)\n \n if(filterid){\n let filter = this.stateList.filter(x=>x.state_id==filterid);\n this.cityData[index] = filter.length > 0 ? filter[0].cities : [];\n // this.filteredCity.next(this.cityData[index].slice())\n this.cityDataValue[index]=this.cityData[index].slice()\n console.log(\"filter \",this.cityDataValue[index])\n }\n // console.log(\"City value\",this.cityData[index])\n}\n\n // filter max sale options\n filterMaxSaleState(datasource: any,filterValues:any){\n this.filterCityList = filterValues;\n if(filterValues){\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n let getStateValues = filterValues.filter(val =>val.state_name).map(mapVal => mapVal.state_name);\n let setStateFilter: any=[];\n setStateFilter = getStateValues.map(x => {\n let findIndex = getOriginalStateList.indexOf(x);\n return datasource[findIndex];\n });\n return setStateFilter.length > 0 ? setStateFilter : [];\n }\n }\n filterMaxSaleCities(datasource: any, filterValues: any, selectedCites: any) {\n if (filterValues) {\n let setCityValues: any=[];\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n filterValues.forEach((stateElement,statePos) => {\n selectedCites.forEach((existElement,existPos) => {\n if(stateElement==existElement.state_name && existElement.city_name.length>0){\n let findIndex = getOriginalStateList.indexOf(stateElement);\n findIndex = datasource[findIndex].cities;\n\n let getAllCities: any = existElement.city_name.filter(cVal=>cVal==\"1\");\n // this is for throuh out states city\n if(getAllCities.length>0){\n setCityValues= setCityValues.concat.apply(setCityValues, findIndex);\n // console.log(\"First\",setCityValues)\n }\n // this is for seleted states city\n else{\n let check: any = findIndex.filter(function (fVal) {\n return existElement.city_name.some(function (sVal) {\n return fVal.city_id == sVal;\n });\n });\n setCityValues= setCityValues.concat.apply(setCityValues, check); \n // console.log(\"second\",setCityValues) \n\n }\n }\n \n });\n });\n return setCityValues.length>0 ? setCityValues.filter(fVal=>fVal.city_id!=\"1\") : [];\n \n }\n else {\n return [];\n }\n}\n// filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \n// console.log(selectedCites)\n// let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\n// console.log(\"selectd\",existCities)\n// existCities = [].concat.apply([], existCities);\n// existCities.forEach(element=>{\n// if(element== 1){\n\n// }\n// })\n// console.log(\"concat\",existCities)\n// if(filterValues){\n// let getOriginalStateList = datasource.map(dval => dval.state_id);\n// console.log(\"Original map\",getOriginalStateList)\n// let setCityFilter = filterValues.map(x => {\n// let findIndex = getOriginalStateList.indexOf(x);\n// findIndex = datasource[findIndex].cities;\n// return findIndex;\n// });\n// console.log(\"findindex\",setCityFilter)\n \n// let merged = [].concat.apply([], setCityFilter);\n// console.log(\"merge\",merged)\n \n// if(merged.length>0){\n// let check: any = merged.filter(function(fVal){\n// return existCities.some(function(sVal){\n// return fVal.city_id==sVal;\n// });\n// })\n// console.log(check);\n// return check;\n \n// }\n// else {\n// return [];\n// }\n// }\n// else {\n// return [];\n// }\n// }\n\n\ncheckTotalEmployee(FormData){\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent ||0)+(+FormData.value.employees_temporary||0));\n }\n// checkWithExistBusinessYear(e,i){\n// if(e > this.generalExistBusinessYear){\n// this.errorMessage[i] = \"Higher than Business Vintage\";\n// }\n// else{\n// this.errorMessage[i] = '';\n// }\n// }\n\ncheckWithExistBusinessYear(e, i, members) {\n\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n members.controls.current_business_experiance_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n}\n\ncheckWithExistTotalWorkExperience(e, i, members) {\n\n if (+members.value.current_business_experiance_year > +e) {\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\n members.controls.total_business_experiance.setValue('');\n }\n else {\n this.errorMessageForExistTotalWorkExperience[i] = '';\n }\n}\n\n// businees activity type change event\nchangeBusinessActivity(event: any){\n \n if(event.value.exist_status==true && event.value.type_of_activity_id==2){\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.controls = [];\n manufacturingControl.setValue([]); \n \n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==2){\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n \n \n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==3){\n this.RetailedChecked=event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.controls = [];\n retailControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==3){\n this.RetailedChecked=event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==4){\n this.WholeSalesChecked=event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.controls = [];\n wholesaleControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==4){\n this.WholeSalesChecked=event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==5){\n this.ServiceChecked=event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.controls = [];\n serviceControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==5){\n this.ServiceChecked=event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\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');\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');\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');\n // check activity for extra question make dynamic\n \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');\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');\n \n\n if(this.ManufacturingChecked || this.ManufacturingChecked==undefined && this.RetailedChecked || this.RetailedChecked==undefined && this.WholeSalesChecked ||this.WholeSalesChecked==undefined && this.ServiceChecked || this.ServiceChecked==undefined){\n this.ExportFlag = false;\n }\n}\n\n\nchangeManufacturingAreaSale(getDetails: any, getIndex){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n // change retail options\n changeRetailAreaSale(getDetails: any, getIndex){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n// change whole options\nchangeWholesaleAreaSale(getDetails: any, getIndex){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n// change service provider \nchangeServiceArea(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n\nchangePanIndiaOptions(type,selectedIndex,value) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n \n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==3){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==4){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n}\n\n // update partner group other form control\n changePartnerGroup(value,key) {\n let control: any = this.businessForm.get('partners') as FormArray;\n value=='Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\n }\n\n createDesignation(): FormGroup {\n return this.fb.group({\n sec_name: ['', Validators.compose([Validators.required])],\n sec_designation: ['', Validators.compose([Validators.required])],\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 }\n getWorkExperience(event, key) {\n let current_experience = event.current_business_experiance_year=='' ? 0 : parseInt(event.current_business_experiance_year);\n let total_experience = event.total_business_experiance=='' ? 0 : parseInt(event.total_business_experiance);\n let control: any = this.businessForm.get('partners') as FormArray;\n if(total_experience > current_experience) {\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else if(total_experience < current_experience) {\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\n control.controls[key].removeControl('total_business_previous_experience')\n }\n\n else {\n control.controls[key].removeControl('total_business_previous_experience')\n }\n // let total ;\n // if(control.length > 0){\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\n // this.businessForm.controls.business_years.updateValueAndValidity();\n // }\n}\n // Out of Total Export Sales what % of Sales is done in Albania?\n getPlaceHolderName(id) {\n let name = this.countryDataList.filter(value => value.country_id == id);\n\n return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?';\n // return name[0].country_name +'?';\n}\nConvertMonthintoYear(itemrow,e,i){\n\nconsole.log('datas',e,i);\n let year = itemrow.controls.current_business_experiance_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n\n // if (year > this.generalExistBusinessYear) {\n // console.log('data')\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // }\n // else {\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // } else {\n // this.monthErrorMessage[i] = '';\n // this.yearErrorMessage[i] = '';\n // itemrow.controls.current_business_experiance_year.setValue(year);\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n // }\n // }\n \n}\n\n\n\ncreatePartners(): FormGroup {\n return this.fb.group({\n partner_name: ['', Validators.compose([Validators.required])],\n // partner_other_name:[''],\n shareholding:[''],\n started_business:[''],\n current_business_experiance_year:[''],\n current_business_experiance_month:[''],\n total_business_experiance:[''],\n // total_business_previous_experience:['']\n /* shareholding: ['', Validators.compose([Validators.required])],\n current_business_experiance: ['', Validators.compose([Validators.required])],\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\n });\n}\ncreateRelationShip(): FormGroup {\n return this.fb.group({\n family_member_salutation:[''],\n family_member_name:[''],\n other_family_relationship_id:[''],\n relation_to_id:[''],\n relationship_with_company_id:[''],\n started_business:['']\n });\n}\ncreateBusinessActivity(details):FormGroup {\n return this.fb.group({\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status:[details.exist_status==1 ? true : false]\n });\n}\ncreateServiceActivity(): FormGroup {\n return this.fb.group({\n main_products: ['', Validators.compose([Validators.required])],\n area_of_sale: ['', Validators.compose([Validators.required])],\n description: ['']\n });\n}\ncreateOthersActivity(): FormGroup {\n return this.fb.group({\n others_details: ['', Validators.compose([Validators.required])]\n });\n}\nmanufactureDetails():FormGroup{\n return this.fb.group({\n main_products:[''],\n area_of_sale:[''],\n description:['']\n // pan_india_options:[''],\n // india_where_sale_done:this.fb.array([]),\n //max_sale_state_name:this.fb.array([]),\n //countries_where_export_done:this.fb.array([])\n })\n}\nindiaSalesDone():FormGroup{\n return this.fb.group({\n state_name:[''],\n city_name:[''],\n stateSearch:[''],\n citySearch:['']\n })\n}\nmaxSaleState():FormGroup{\n return this.fb.group({\n state_name:[''],\n city_name:[''],\n stateSearch:[''],\n citySearch:['']\n })\n}\ncreateDocument() {\n return this.fb.group({\n document: ['']\n });\n}\naddDesignation() {\n const control = this.businessForm.controls['designation'];\n control.push(this.createDesignation());\n}\ndeleteDesignation(index) {\n const control = this.businessForm.controls['designation'];\n if(control.length==1){\n this.businessForm.controls['designation'].reset();\n }else{\n control.removeAt(index);\n }\n}\naddPartnerDetails(event) {\n const control = this.businessForm.controls['partners'];\n event.stopPropagation()\n let length = control.length;\n this.step = length;\n \n control.push(this.createPartners());\n}\naddPersonRelationship(event){\n event.stopPropagation()\n const control=this.businessForm.controls['persons_with_relationships']\n let length=control.length\n this.step=length\n control.push(this.createRelationShip());\n}\ndeletePersonRelationship(index){\n const control=this.businessForm.controls['persons_with_relationships'];\n control.removeAt(index)\n}\ndeletePartnerDetails(index) {\n const control = this.businessForm.controls['partners'];\n if(control.length==1){\n this.businessForm.controls['partners'].reset();\n }else{\n control.removeAt(index);\n }\n}\naddMoreManufacturing() {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n}\nremoveManufacturing(index){\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n if(manufacturingControl.length>1){\n manufacturingControl.removeAt(index)\n }\n else{\n manufacturingControl.reset();\n }\n}\naddMoreRetail(){\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n}\nremoveRetail(index){\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\n if(retailControl.length>1){\n retailControl.removeAt(index)\n }\n else{\n retailControl.reset();\n }\n}\naddMoreWholesale() {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n}\nremoveWholesale(index){\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n if(wholesaleControl.length>1){\n wholesaleControl.removeAt(index)\n }\n else{\n wholesaleControl.reset();\n }\n}\naddMoreServiceprovider() {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n}\nremoveServiceProvider(index){\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n if(serviceControl.length>1){\n serviceControl.removeAt(index)\n }\n else{\n serviceControl.reset();\n }\n}\n// addMoreOthersActivity(){\n// let othersControl = this.businessForm.controls['others_activity_details'];\n// othersControl.push(this.createOthersActivity());\n// }\ncreateCountrySale() {\n return this.fb.group({\n country_name: ['',Validators.compose([Validators.required])],\n approx_sale: ['', Validators.compose([Validators.required])]\n }); \n}\n\naddMoreState(mindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n \n\n}\nremoveState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n\naddRetailMoreState(rindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n}\nremoveRetailState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n// add more whole sale state\naddWholesaleMoreState(windex,type) {\n if(type==1){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n}\n// remove for whole sale\nremoveWholesaleState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n // add more service provider\n addServiceMoreState(sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n \n // remove service provider\n\nremoveServiceState(mindex,sindex,type){\n if(type==1){\n let control:any=this.businessForm.get('service_provider_activity_details') as FormArray;\n control=control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control1:any=this.businessForm.get('service_provider_activity_details') as FormArray;\n control1=control1.controls[mindex].get('countries_where_export_done') as FormArray\n control1.removeAt(sindex)\n }\n}\naddDocuments() {\n const control = this.businessForm.controls['documents'];\n control.push(this.createDocument());\n}\ndeleteDocuments(index) {\n const control = this.businessForm.controls['documents'];\n if(control.length==1){\n this.businessForm.controls['documents'].reset();\n }else{\n control.removeAt(index);\n }\n}\n\nrelationChanged(event) {\n this.relativeNames = [];\n event.value.forEach(option => {\n this.relativeNames.push({member: option});\n });\n}\ncreatePOSMachinesDetails(data){\n if(data==null){\n return this.fb.group({\n pos_machines_financial_institution_name: [''],\n bankSearch:[''],\n tid_no_of_pos_machine: [''],\n })\n }\n else{\n return this.fb.group({\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\n bankSearch:[''],\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\n })\n }\n}\n\n public initBusinessForm(): void {\n this.businessForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n fk_createdby: this.users,\n profession_name: ['', Validators.compose([Validators.required])],\n business_years: ['', Validators.compose([Validators.required])],\n industry: ['', Validators.compose([Validators.required])],\n type_of_activity: ['', Validators.compose([Validators.required])],\n seasonality: ['', Validators.compose([Validators.required])],\n designation: this.fb.array([]),\n partners: this.fb.array([]),\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n officer_permanent: ['', Validators.compose([Validators.required])],\n officer_temporary: ['', Validators.compose([Validators.required])],\n invested_amount: ['', Validators.compose([Validators.required])],\n working_capital: ['', Validators.compose([Validators.required])],\n is_service_provided: ['', Validators.compose([Validators.required])],\n ownership_setup: ['', Validators.compose([Validators.required])],\n ownership_others: [''],\n rent_paid: [''],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n export_import_cert: ['', Validators.compose([Validators.required])],\n factory_cert: ['', Validators.compose([Validators.required])],\n practice_cert: ['', Validators.compose([Validators.required])],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: ['', Validators.compose([Validators.required])],\n documents: this.fb.array([]),\n business_remarks: ['', Validators.compose([Validators.required])],\n who_started: ['', Validators.compose([Validators.required])],\n main_person: ['', Validators.compose([Validators.required])],\n other_main_person: [''],\n family_members_involved: ['', Validators.compose([Validators.required])],\n before_business: ['', Validators.compose([Validators.required])],\n any_delays: ['', Validators.compose([Validators.required])],\n });\n}\n\nsubmitDetails() {\n\n if(this.EntityTypeFlag == true){\n let control: any = this.businessForm.controls['partners'];\n let control2:any = control.controls[0];\n\n control2.controls['shareholding'].clearValidators();\n control2.controls['shareholding'].updateValueAndValidity();\n control2.controls['shareholding'].setValue('100');\n\n \n // control.controls[0].removeControl('shareholding');\n // control.controls[0].removeControl('started_business');\n // control.controls[0].removeControl('current_business_experiance_year');\n // control.controls[0].removeControl('current_business_experiance_month');\n // control.controls[0].removeControl('total_business_experiance');\n \n control2.controls['started_business'].setValue('');\n\n control2.controls['current_business_experiance_year'].clearValidators();\n control2.controls['current_business_experiance_year'].updateValueAndValidity();\n control2.controls['current_business_experiance_year'].setValue('');\n\n control2.controls['current_business_experiance_month'].setValue('');\n\n control2.controls['total_business_experiance'].clearValidators();\n control2.controls['total_business_experiance'].updateValueAndValidity();\n control2.controls['total_business_experiance'].setValue('');\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\n // control2.controls['total_business_previous_experience'].clearValidators();\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\n // control2.controls['total_business_previous_experience'].setValue('0');\n // }\n\n }\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n console.log(\"manufacture\",control);\n // control.controls.forEach(element=>{\n // if(element.controls['india_where_sale_done']){\n // element.controls\n // }\n // })\n \n let family: any = [];\n \n let design: any;\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\n let records:any;\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId;\n // records.fk_createdby = this.users;\n records=this.businessForm.value;\n\n //if(records.persons_with_relationships=='')\n if (records.other_documents == 'no') {\n delete records.documents;\n }\n if (records.rent_paid == '') {\n delete records.rent_paid;\n }\n if (records.ownership_others == '') {\n delete records.ownership_others;\n }\n // records.family_members_involved = this.relativeNames;\nif(!this.EntityTypeFlag) {\nlet count:number=0;\nif(records.partners.length>0){\n records.partners.forEach(element=>{\n console.log(element)\n count+=element.shareholding\n })\n}\nif(count>=101){\n this.toast.pdTriggerappmessage(\"Share Holding is Greater than 100 %\");\n // this.businessForm.get('shareholding').value.setFocus()\n //this.businessForm.controls['partners']\n console.log(this.businessForm.controls)\n // const control=this.businessForm.controls['partners'] as FormArray\n this.share_focus.nativeElement.focus();\n //control.get('shareholding').Focus()\n // this.businessForm.get('business_remarks').value.setFocus()\n return\n}\n}\n let validationFlag : number = 0;\n\n //type 1: Checking manufacturing_activity_details \n if(records.manufacturing_activity_details.length > 0){\n\n records.manufacturing_activity_details.forEach((val,index) => {\n if(val.area_of_sale!= \"Within India\"){ \n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n \n }\n\n //type 3 checking wholesale_trading_activity_details\n if(records.wholesale_trading_activity_details.length > 0){\n\n records.wholesale_trading_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){ \n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n //type 2 checking retail_trading_activity_details\n if(records.retail_trading_activity_details.length > 0){\n\n records.retail_trading_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){ \n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n\n //type 4 checking service_provider_activity_details\n if(records.service_provider_activity_details.length > 0){\n\n records.service_provider_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){\n \n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n //validationFlag is greater then 0 means its display the notifer as warning\n if(validationFlag > 0){\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\n return;\n }\n\n records.select_business_activity_type = records.select_business_activity_type.filter(value=>value.exist_status==1);\nif(records.pos_machines_details){\n records.pos_machines_details.forEach(value=>{\n delete value.bankSearch\n })\n}\n \n// if(records.manufacturing_activity_details.length > 0){\n// records.manufacturing_activity_details.forEach((val,index) => {\n// let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n// let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray;\n// let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray;\n// if(val.area_of_sale != \"Export\"){ \n// if(val.india_where_sale_done.length > 0){\n// val.india_where_sale_done.forEach((vals,inx) => {\n// childCtrl1.controls[inx].removeControl('citySearch');\n// delete vals.citySearch;\n// childCtrl1.controls[inx].removeControl('stateSearch');\n// delete vals.stateSearch;\n// });\n// }\n// if(val.max_sale_state_name.length > 0){\n// val.max_sale_state_name.forEach((vals,inx) => {\n// childCtrl2.controls[inx].removeControl('citySearch');\n// childCtrl2.controls[inx].removeControl('stateSearch');\n// });\n// }\n// }\n// });\n// }\n// console.log('records',records);\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.businessForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n }\n });\n}\n getBuisnessDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId}; \n this.qustCat.retiverForm(records).subscribe(data => {\n let businessVal = data['records'];\n \n let constVal: any;\n const Desgn = this.businessForm.controls['designation'];\n const Partnr = this.businessForm.controls['partners'];\n const otherDoc = this.businessForm.controls['documents'];\n\n if (data['status'] == 200) {\n let DocArray: any;\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\n return data['records'].designation[key];\n });\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n });\n\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\n return data['records'].family_members_involved[key];\n });\n let enduse: any = [];\n let existRelative: any =[];\n selectedMembers.forEach(val => {\n enduse.push(val.member);\n existRelative.push(val);\n });\n this.relativeNames = existRelative;\n if (DesgnArray.length == 0) {\n Desgn.push(this.createDesignation());\n } else {\n DesgnArray.forEach(datas => {\n Desgn.push(this.createDesignation());\n });\n \n }\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners());\n } else {\n PartnrArray.forEach(datas => {\n Partnr.push(this.createPartners());\n });\n }\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{document: ''}];\n otherDoc.push(this.createDocument());\n }\n if (data['records'].ownership_setup != 'others') {\n businessVal.ownership_others = '';\n }\n if (data['records'].ownership_setup != 'rented') {\n businessVal.rent_paid = '';\n }\n businessVal.family_members_involved = enduse;\n businessVal.parent_pdid=this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdDetails.pd_id;\n businessVal.formid = this.FormId;\n businessVal.fk_createdby = this.users;\n businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n businessVal.documents = DocArray;\n\n this.businessForm.setValue(businessVal);\n } else {\n Desgn.push(this.createDesignation());\n Partnr.push(this.createPartners());\n otherDoc.push(this.createDocument());\n }\n\n });\n }\n setStep(index: number) {\n this.step = index;\n}\ninWords(e,flag){\n switch(flag){\n case 1 : \n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\n break;\n }\n }\n ManufacturingCounterArray: any = [];\nRetailCounterArray: any = [];\nWholeSaleCounterArray: any = [];\nServiceCounterArray: any = [];\n\n CheckExport(value,stringFlag,index){\n //this.ExportFlag=false\n const parentControl = this.businessForm.controls['select_business_activity_type'];\n const childControl = parentControl.controls[0];\n\n\n // childControl.forEach((datas,index) => {\n \n \n // // exist_status==true && event.value.type_of_activity_id\n\n // });\n\n \n\n \n \n if(!this.ManufacturingChecked){\n // console.log(\"Manu\")\n if(stringFlag == 'MActivity' && value == \"Both\"){\n this.ManufacturingCounterArray[index] = 1;\n }\n else if(stringFlag == 'MActivity' && value != \"Both\"){\n this.ManufacturingCounterArray[index] = 0;\n }\n }else if (this.ManufacturingChecked && stringFlag == 'MActivity'){\n // console.log(\"manu\");\n this.ManufacturingCounterArray[index] = 0;\n }\n\n if(!this.RetailedChecked){ \n if(stringFlag == 'RActivity' && value == \"Both\"){\n this.RetailCounterArray[index] = 1;\n }\n else if(stringFlag == 'RActivity' && value != \"Both\"){\n this.RetailCounterArray[index] = 0;\n }\n }\n else if(stringFlag == 'RActivity' && this.RetailedChecked){\n this.RetailCounterArray[index] = 0;\n }\n\n if(!this.WholeSalesChecked){\n if(stringFlag == 'WActivity' && value == \"Both\"){\n this.WholeSaleCounterArray[index] = 1;\n }\n else if(stringFlag == 'WActivity' && value != \"Both\"){\n this.WholeSaleCounterArray[index] = 0;\n }\n }\n else if(stringFlag == 'WActivity' && this.WholeSalesChecked){\n this.WholeSaleCounterArray[index] = 0;\n }\n \n if(!this.ServiceChecked){\n \n if(stringFlag == 'SPActivity' && value == \"Both\")\n { \n this.ServiceCounterArray[index] = 1;\n }\n else if(stringFlag == 'SPActivity' && value != \"Both\"){\n this.ServiceCounterArray[index] = 0;\n }\n\n }else if(stringFlag == 'SPActivity'){\n this.ServiceCounterArray[index] = 0;\n } \n\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n \n\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter ;\n \n\n this.ExportFlag = overallCounter > 0 ? true : false ;\n // console.log(this.ExportFlag);\n //console.log(overallCounter)\n\n}\nchangePOSMachinesAvailablity(e, flag) {\n\n e == 'yes'\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\n : this.businessForm.removeControl('no_of_pos_machines');\n\n if (flag == 2) {\n e == 'yes'\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\n : this.businessForm.removeControl('no_of_pos_machines');\n }\n\n}\ntoGetPOSMachinesDetails(e,flag){\n\n if(flag == 1){ this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\n const control = this.businessForm.controls['pos_machines_details'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n if(flag == 1){\n for(let i = 1 ; i<= e ; i++ ){\n control.push(this.createPOSMachinesDetails(null));\n }\n }\n else if(flag == 2){\n for(let i = 1 ; i<= e ; i++ ){\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\n }\n }\n }\n }\n searchFun(control:any,i:number,option){\n \n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n // console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n \n })\n }\n //For Pos bank search using constant provider\n if(option == 'bank'){\n console.log(\"bank\", control.controls['bankSearch'].value)\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.bankListValue=this.cons.searchData(this.bankList,control.controls['bankSearch'].value,option)\n })\n }\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n // console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n // console.log(\"City Data value\",this.cityDataValue[i])\n // this.filterCity('',1,this.cityData[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('partner_other_name').value\n value.get('partner_other_name').setValue(this.cons.sentenceCase(name));\n }\n \n \n\n\n}\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, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessAssetsPage 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-business-assets',\n templateUrl: 'pd-question-business-assets.html',\n})\nexport class PdQuestionBusinessAssetsPage {\n currentYear:any=new Date().getFullYear();\n\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n\n company_id:any;\n pdDetails:any;\n formDetails : any;\n users:any;\n _businessAssetsQuesFrom:FormGroup;\n m_assets_type:any;\n m_propertyType:any;\n AssetValueInwords:any=[];\n appxMarketAmtInwords:any=[];\n RentAmtInwords:any=[]\n mergeCompanyApplicant:any=[];\n existCompanyList:any=[]\n applicants:any;\n data_all:any;\n CustSegAbbr: any;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n addressLabel: any=[];\n placeholderName : any = []\n m_address_type:any=[]\n pageTitle: string;\n main_applicant: any;\n lender_applicant_id: any;\n subproduct_abbr: any;\n customer_segment_abbr: any;\n RentAmtInwordsForAddress: any =[];\n appxMarketAmtInwordsForAddress: any =[];\n isOtherOwnerForAddress : boolean = false;\n isOtherOwner: boolean = false;\n public m_vehicle_type = [];\n cityArr: any=[];\n pinArr: any=[];\n m_state_for_address: any=[];\n @ViewChild('remarksFocus') focusRemark:ElementRef\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n addressType:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n \n \n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.users=this.aws.getlocale();\n this.company_id=this.pdDetails.company_id;\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\n this.main_applicant = this.pdDetails.applicant_name;\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.getDropDown()\n \n \n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\n this.getDetails()\n //this.getAddress()\n this.getPDImages();\n }\n getAddress(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n\n this.qustcat.retiverForm(params).subscribe(data => {\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status'] == 200) {\n \n \n if(data['records'].addresses.length > 0){\n data['records'].addresses.forEach((data,inx)=>{\n this.addressLabel[inx] = '';\n console.log(\"address\",data)\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if(res.dataStatus== true){\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n console.log('this.addressType',this.addressType);\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n\n })\n \n }\n else{\n control.push(this.initBusinessDetails())\n }\n }\n else{\n control.push(this.initBusinessDetails());\n }\n });\n }\n getDropDown(){\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\n })\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\n data => {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n })\n \n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\n \n })\n\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\n })\n\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\n \n }\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 this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n })\n this.qustcat.getcommondrop('STATE').subscribe(data=>{\n this.m_state_for_address = data['records'].filter(val=>val.isactive ==1 )\n })\n\n \n \n }\n apiLoadFinish:boolean=false\n getDetails(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.company_id=this.company_id\n params.pd_form_id=22\n this.qustcat.retiverForm(params).subscribe(res=>{\n \n if(res['dataStatus']==true){\n \n //this.data_all=res['records']\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\n return res['records'].business_assets_details[key]\n });\n \n //this.formLoadData(assestArray)\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\n if(assestArray.length>0){\n for(let val of assestArray){\n let formData={\n business_assets_mode: val.business_assets_mode,\n business_approximate_market_value: val.business_approximate_market_value,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\n }\n }*/\n this.formLoadData(res['records'])\n }\n\n \n else{\n this.formLoadData(null);\n }\n this.apiLoadFinish=true\n \n \n })\n //this.formLoadData(null);\n \n }\n \n formLoadData(data){\n if(data==null){\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n \n business_assets_for_address: this.fb.array([]),\n //this.createBusinessAssetsForAddress(),\n business_assets_details : this.fb.array([\n this.initBusinessDetails(),\n ]),\n business_assets_form_remark:['']\n });\n this.getAddress();\n this.loadDetails=true;\n }\n else{\n \n let value=data;\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n // business_years:[value.business_years],\n // business_month:[value.business_month],\n // business_address_availability:[value.business_address_availability],\n // business_is_pd_visited:[value.business_is_pd_visited],\n // business_pd_visited_remark:[value.business_pd_visited_remark],\n business_assets_for_address: this.fb.array([]),\n business_assets_details : this.fb.array([]),\n business_assets_form_remark:[value.business_assets_form_remark || '']\n });\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\n \n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\n // }\n // else {\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n // control.push(this.createBusinessAssetsForAddress());\n // } \n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n }\n\n this.loadDetails=true\n }\n\n initBusinessDetails(){\n return this.fb.group({\n address_label:[''],\n business_assets_mode:[''],\n business_details: this.fb.array([]),\n \n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n \n business_approximate_market_value: [''],\n business_ownership_type:[''],\n business_monthly_rented_amt:[''],\n business_name_of_the_owner: [],\n business_name_of_the_other_owner: [],\n business_vintage: [''],\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [''],\n \n })\n }\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: ['']\n });\n }\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n otherBusinessAssetsDescription() {\n return this.fb.group({\n any_other_assets: ['',Validators.compose([Validators.required])],\n any_other_asset_value : [''],\n any_other_asset_loan : [''], \n });\n }\n\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n addAssetDetails(e) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetails());\n \n }\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n removeAssetsDetails(i: number) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.removeAt(i);\n\n}\n\ncreateBusinessAssetsForAddress(): FormGroup {\n return this.fb.group({\n address_label:[''],\n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n\n business_approximate_market_value: [''],\n business_ownership_type: [''],\n business_monthly_rented_amt: [''],\n business_name_of_the_owner: [''],\n business_name_of_the_other_owner: [''],\n business_vintage: [''],\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: ['']\n });\n}\n\n selectedAssetsType(e: any, i: any): void {\n let val = i;\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n arr.controls.splice(0);\n \n switch (e.value) {\n case '1': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescription());\n break;\n }\n case '2': {\n let val = i;\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n \n default: {\n break;\n }\n }\n }\n\n loadPropertyWithData(data) { \n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n });\n }\n load_Four_WeelerWithData(data){\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n })\n }\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n otherBusinessAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n any_other_asset_loan : [data.any_other_asset_loan],\n });\n }\n\n loadDetails:boolean\n addBusinessAssetsForAddress(data) {\n console.log(\"add business\")\n var result = Object.keys(data).map(function (key) {\n return data[key];\n });\n if (result.length > 0) {\n result.forEach((datas, index) => {\n //this.placeholderName[index]=datas.address_label.split('/')\n // console.log(datas.address_label.split('/'))\n // console.log(datas.address_label.split('/')[0])\n if(datas.address_label != null && datas.address_label !=''){\n let splitted=datas.address_label.split('/')[1]\n this.placeholderName[index]='Was any business activity seen at the '+splitted+' during PD visit?';\n this.addressType = splitted;\n }\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\n let Avaliablity = 1;\n \n if(datas.business_name_of_the_owner.length > 0){\n datas.business_name_of_the_owner.forEach(option => {\n if(option.id == 0 && option.group_id == 2){\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\n });\n\n for (let val of result) {\n \n let vals = {\n address_label:val.address_label,\n business_years:val.business_years,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type: val.business_ownership_type,\n business_monthly_rented_amt: val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_vintage: val.business_vintage,\n business_purchase_year: val.business_purchase_year,\n business_emi: val.business_emi\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddressWithData(vals));\n }\n } else {\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddress());\n }\n }\n addBusinessAssetsDetailsWithData(supp_data){\n var result=Object.keys(supp_data).map(function(key){\n return supp_data[key];\n })\n \n if(result.length>0){\n console.log(\"length >0\")\n result.forEach((datas,index)=>{\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\n });\n for(let val of result){\n let formData={\n address_label:val.address_label,\n business_assets_mode: val.business_assets_mode,\n\n business_years:val.business_year,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type:val.business_ownership_type,\n business_monthly_rented_amt:val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\n }\n \n }\n this.loadDetails=true\n }\n\n createBusinessAssetsForAddressWithData(data): FormGroup {\n return this.fb.group({\n address_label:[data.address_label],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type: [data.business_ownership_type],\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\n business_vintage: [data.business_vintage],\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [data.business_emi]\n });\n }\n\n initBusinessDetailsWithdata(data) {\n \n\n let formGroup= this.fb.group({\n address_label:[data.address_label],\n business_assets_mode: [data.business_assets_mode],\n \n business_years:[data.business_year],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_details: this.fb.array([]),\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type : [data.business_ownership_type],\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\n // relation: [data.relation || ''],\n business_vintage: [data. business_vintage],\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n // purchase_month: [data.purchase_month],\n business_emi: [data.business_emi || ''],\n });\n return formGroup;\n }\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\n \n let val = i;\n let data = datas;\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n control.controls.splice(0);\n\n switch (assets_details_mode) {\n case '2': {\n let business_property_datas : any;\n data.forEach((datas,i) => {\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 };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadPropertyWithData(business_property_datas));\n break;\n }\n case '3': {\n let business_Four_Weeler_datas : any;\n data.forEach((datas,i) => {\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\n break;\n }\n case '4': {\n let equipment_manufacturing_description_datas : any;\n data.forEach((datas,i) => {\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\n break;\n }\n \n case '1': {\n let array_datas : any;\n data.forEach((datas,i) => {\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\n array_datas = {\n 'any_other_assets': datas.any_other_assets,\n // 'any_other_asset_value': datas.any_other_asset_value,\n 'any_other_asset_loan': datas.any_other_asset_loan,\n };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n public paymentModeTextBox: number;\n selectedPM(e) {\n this.paymentModeTextBox = e.value;\n // this.f.supplier_details.controls.get('payment_mode_value');\n }\n\n public freqPurchaseTextBox: number;\n selectedFreqPurchase(e) {\n this.freqPurchaseTextBox = e.value;\n }\n \n\n onSubmit(){\n //console.log(\"Remarks\",this.focusRemark);\n if(!this._businessAssetsQuesFrom.valid){\n this.toast.pdTriggerappmessage(\"Please Fill the Required Field\")\n this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(element=>{\n console.log(element)\n if(element.business_address_availability != 'no' && element.business_pd_visited_remark ==''){\n this.focusRemark.nativeElement.focus()\n }\n })\n return;\n }\n \n var answerData=this._businessAssetsQuesFrom.value;\n \n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n\n this.qustcat.saveForm(answerData).subscribe(result=>{\n if(result['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\n }\n })\n \n }\n // calculate vintage and purchase {}\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 2) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n if (type == 3) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n }\n\n\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n\n // // check others\n checkOthers(values){\n if(values.length > 0) {\n // return values.id==0 ? true : false;\n let Avaliablity = 1;\n values.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n return Avaliablity == 0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n\n\n setRequiredValidation(value, item, flag,i) {\nif(flag== 11){\n if(value == 'yes'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n }\n else if(value == 'no'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n}\n if (flag == 1) {\n if (value == 'yes') {\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n }\n else {\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n\n\n }\n // if(flag == 2){\n // value==1\n // ? item.controls.premises_type_others.setValidators([Validators.required])\n // : item.controls.premises_type_others.clearValidators();\n // item.controls.premises_type_others.updateValueAndValidity();\n // }\n if (flag == 3) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n if (flag == 4) {\n let Avaliablity = 1;\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n if(Avaliablity == 0){\n \n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n this.isOtherOwner = true;\n }else{\n \n item.controls.business_name_of_the_other_owner.setValue('');\n item.controls.business_name_of_the_other_owner.clearValidators();\n this.isOtherOwner = false;\n }\n \n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n\n // value == 0\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\n // : item.controls.business_name_of_the_other_owner.clearValidators();\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n }\n if (flag == 5) {\n value == 1\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\n : item.controls.other_vehicle_type.clearValidators();\n item.controls.other_vehicle_type.updateValueAndValidity();\n }\n if (flag == 6) {\n value == 1\n ? item.controls.other_property_type.setValidators([Validators.required])\n : item.controls.other_property_type.clearValidators();\n item.controls.other_property_type.updateValueAndValidity();\n\n value != ''\n ? item.controls.address_of_the_property.setValidators([Validators.required])\n : item.controls.address_of_the_property.clearValidators();\n item.controls.address_of_the_property.updateValueAndValidity();\n }\n if (flag == 7) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n // if(flag == 8){\n // let Avaliablity = 1;\n // value.forEach(option => {\n // if(option.id == 0 && option.group_id == 2){\n \n // Avaliablity = option.id;\n // }\n // });\n // this.isOtherOwner = false;\n // if(Avaliablity == 0){\n \n // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n // this.isOtherOwnerForAddress = true;\n // }else{\n \n // item.controls.business_name_of_the_other_owner.setValue('');\n // item.controls.business_name_of_the_other_owner.clearValidators();\n // this.isOtherOwnerForAddress = false;\n // }\n \n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n \n // }\n\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(e,ind){\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\n \n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n let Year = +business_year + +Math.floor(converted_year);\n \n if(Year > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }\n else{\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\n {\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }else{\n this.monthErrorMessage[ind] = '';\n this.yearErrorMessage[ind] = '';\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\n }\n }\n }\n\n checkWithExistBusinessYear(e,ind){\n \n if(+e > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n \n }\n else{\n this.yearErrorMessage[ind] = '';\n }\n }\n\n\n inWords(e,i,flag){\n switch(flag){\n case 1:\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 : \n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 3:\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 9:\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 10:\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n\n }\n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('business_name_of_the_other_owner').value\n value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name));\n }\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\n// import { QueryState } from '@angular/core/src/render3/interfaces';\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionBusinessBankingPage 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-business-banking',\n templateUrl: 'pd-question-business-banking.html',\n})\nexport class PdQuestionBusinessBankingPage {\npdDetails:any;\nm_btLenderList: any;\napplicants: any \nsalaryField: boolean;\nformDetails: any;\nform_id:any;\naccountType: any;\nusers: any;\nbankingForm:FormGroup;\npublic pd_cus_segment:string\ncompany_id:any;\n\npdid:any;\nitemRows:FormArray;\n\nexistCompanyList: any=[];\nmergeCompanyApplicant: any=[];\nstep:number\n amtInwords: any=[];\n emiAmtInwords: any=[];\n limitCaseFlag: any=[];\n generalExistBusinessYear: number;\n generalExistBusinessMonth:number\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n m_btLenderListValue:any=[]\n protected _onDestroy = new Subject();\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n \n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\n this.pdid=this.pdDetails.pd_id;\n this.formDetails=this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n \n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n this.generalExistBusinessMonth=this.pdDetails.business_month\n this.generalExistBusinessYear=this.pdDetails.business_years\n \n\n this.users = this.aws.getlocale();\n this.step=0\n this.bankingForm = this.fb.group(\n {\n itemRows:this.fb.array([]),\n banking_form_remark:[''],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\n this.getPDImages();\n }\n searchFun(control){\n if(!this.m_btLenderListValue){\n return\n }\n let searchVal=control.controls['filterCtrl'].value\n if(!searchVal){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n searchVal=searchVal.toLowerCase();\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(searchVal)>-1)\n }\n }\n getdropdown(){\n \n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true) /*&& val.is_company_applicant===true*/\n \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 this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n \n checkWithExistBusinessYear(itemrow,e, i) {\nconsole.log(this.generalExistBusinessYear)\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow, e,i) {\n console.log(this.generalExistBusinessMonth)\n\n\n let year = itemrow.controls.vintage_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n let Year = +year + +Math.floor(converted_year);\n \n if (Year > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n\n }\n else {\n if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n console.log(this.monthErrorMessage[i])\n\n } else {\n this.monthErrorMessage[i] = '';\n this.yearErrorMessage[i] = '';\n itemrow.controls.vintage_year.setValue(Year);\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n }\n }\n\n\n}\n /** Amount InWords */\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n }\n\n setRequiredValidation(value,item,flag) {\n \n \n if(flag == 1){\n value==0\n ? item.controls.other_applicant.setValidators([Validators.required])\n : item.controls.other_applicant.clearValidators();\n item.controls.other_applicant.updateValueAndValidity();\n }\n if(flag == 2){\n value==1\n ? item.controls.other_bank.setValidators([Validators.required])\n : item.controls.other_bank.clearValidators();\n item.controls.other_bank.updateValueAndValidity();\n }\n \n }\n\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n \n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n addBankDetails(index,event) {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n event.stopPropagation()\n const control = this.bankingForm.controls['itemRows'];\n let length = control.length;\n this.step = length;\n \n control.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\n \n this.itemRows.push(this.createBankItem('')); \n }\n\n removebank(i){\n const control = this.bankingForm.controls['itemRows'];\n if(control.length==1){\n control.reset();\n }\n else\n \n \n control.removeAt(i);\n }\n \n setStep(index: number) {\n this.step = index;\n }\n\n retiveBankDetails(){\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\n const control = this.bankingForm.controls['itemRows'];\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n \n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n \n \n if(result.length == 0){\n \n control.push(this.createBankItem(''))\n }else\n {\n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this. selectedAccTypeChanges(datas.account_type,index);\n if(datas.limit != ''){\n \n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n }\n this. selectedAccTypeChanges(datas.account_type,index);\n control.push(this.createBankItem(''));\n })\n \n this.bankingForm.controls['itemRows'].setValue(result);\n } \n }else\n {\n \n control.push(this.createBankItem(''));\n }\n });\n \n }\n\n savepdBank(answerData)\n {\n answerData.itemRows.forEach(element=>{\n delete element.filterCtrl\n })\n console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.form_id;\n records.fk_createdby = this.users;\n records.company_id=this.company_id;\n records.banking_details = answerData.itemRows;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.bankingForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n })\n \n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n \n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n/**\n * Generated class for the PdGeneralImagesPage 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-general-images',\n templateUrl: 'pd-general-images.html',\n})\nexport class PdGeneralImagesPage {\n\n cameraArr:any = [];\n applicatentDetails: any;\n count:any = 0;\n saveAccess:boolean =false;\n FormId:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\n\n this.applicatentDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdGeneralImagesPage');\n }\n \n takePicture()\n {\n this.camera.getpicture().then(image=>\n {\n this.count = this.count+1;\n \n this.cameraArr.push({'image':image,'name':''});\n });\n }\n\n removeimage(i)\n {\n this.count = this.count - 1; \n this.cameraArr.splice(i,1);\n }\n\n docnames(doc,i,img)\n {\n \n this.cameraArr[i] = {'image':img,'Name':doc};\n // console.log(JSON.stringify(this.pddocdata)); \n }\n savePDImages()\n {\n \n this.saveAccess = true;\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\n records.images = this.cameraArr;\n this.qustCat.savePDImages(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.saveAccess = false;\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n } \n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { PdListPage } from '../../pd-list/pd-list';\nimport {ToastProvider} from '../../../providers/common-provider/toast'\n\n/**\n * Generated class for the BouncedRejectPage 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-bounced-reject',\n templateUrl: 'bounced-reject.html',\n})\nexport class BouncedRejectPage {\n\n users: any;\n bounseMaster: any;\n pdDetails: any;\n status: any;\n bounce_reason:any;\n bounce_reason_others:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\n // this.pdDetails = this.navParams.get('appdetails');\n // this.status = this.navParams.get('status');\n this.pdDetails=this.navParams.get('details')\n // console.log(this.pdDetails)\n this.users = this.aws.getlocale();\n this.getDropdown();\n \n }\n\n getDropdown()\n {\n \n \n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\n console.log(this.bounseMaster);\n }\n })\n \n }\n updatePDStatus()\n {\n if(this.bounce_reason !=null && this.bounce_reason !=1)\n {\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};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\n {\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};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n \n \n\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../providers/question-category/question-category'\nimport { FormGroup,FormBuilder, Validators } from '@angular/forms';\nimport{AwsServiceProvider} from '../../providers/aws-service/aws-service'\nimport {PdtriggerProvider} from '../../providers/pdtrigger/pdtrigger'\nimport {ToastProvider} from '../../providers/common-provider/toast'\n\n\n/**\n * Generated class for the MapAddressPage 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-map-address',\n templateUrl: 'map-address.html',\n})\nexport class MapAddressPage {\n cus_seg:any=[]\n addressMapping:FormGroup\n mobileDisable:boolean=false;\n master:any=[]\n addressData:any=[]\n applicants:any=[]\n pageTitle=\"Choose customer segment For this PD address\"\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider,\n private fb:FormBuilder,private aws:AwsServiceProvider,private pdTrigger:PdtriggerProvider,private toast:ToastProvider) {\n\nthis.master=this.navParams.get('master')\nthis.addressData=this.navParams.get('address')\nthis.applicants=this.navParams.get('applicants')\nconsole.log(\"d\",this.master,'kd',this.applicants,'dks',this.applicants);\n this.addressMapping=this.fb.group({\n fk_customer_segment:[''],\n pd_co_applicant_id:[''],\n mobile_no:['']\n })\n this.dropDown();\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad MapAddressPage');\n }\n updateMobile(data){\n \n let mobile=this.applicants.filter(val=>val.pd_co_applicant_id==data.pd_co_applicant_id).map(val=>val.mobile_no)[0]\n console.log(mobile)\n if(mobile != '' && mobile != null){\n this.addressMapping.controls['mobile_no'].setValue(mobile)\n this.addressMapping.controls['mobile_no'].clearValidators();\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=true\n }\n else{\n\n this.addressMapping.controls['mobile_no'].setValue('')\n this.addressMapping.controls['mobile_no'].setValidators(Validators.compose([Validators.required]));\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=false\n }\n }\n dropDown(){\n this.qustCat.getCustomersDetails().subscribe(res=>{\n if(res['dataStatus']== true){\n this.cus_seg=res['records']\n }\n })\n }\n cancel(){\n this.navCtrl.pop();\n }\n submit(values){\n if(this.addressMapping.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\");\n return;\n }\n let update_records={\"pd_id\":null,\"parent_pd_id\":this.master.parent_pd_id,\"fk_address_id\":this.addressData.pd_address_id,\"pd_status\":\"ACCEPTED\",\"fk_updatedby\":this.aws.getlocale(),\n \"fk_customer_segment\":values.fk_customer_segment,\n \"pd_co_applicant_id\":values.pd_co_applicant_id,\n \"mobile_no\":values.mobile_no\n }\n console.log(\"update\",update_records);\n this.pdTrigger.updatepdStatus(update_records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Saved Successfully..\");\n this.navCtrl.pop();\n }\n else{\n this.toast.pdTriggerappmessage(\"Something went wrong!!\")\n }\n },err=>{\n console.log(\"Error\",JSON.stringify(err))\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map-address/map-address.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the PasswordPage 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-password',\n templateUrl: 'password.html',\n})\nexport class PasswordPage {\n commonImage: string;\n newpassword: any;\n confirmPassword: any;\n pin:any;\n Username:any;\n Password:any;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.Username = this.navParams.get('Username');\n this.Password = this.navParams.get('Password');\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PasswordPage');\n }\n setNewPassword(newpass)\n {\n if(newpass !='' && newpass !=null && newpass !== undefined){\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\n console.log(auth);\n this.aws.dologin(auth).subscribe(res => {\n console.log(res);\n this.navCtrl.setRoot(PdListPage);\n // this.router.navigate(['/home']);\n }, err => {\n this.toast.pdTriggerappmessage(err.message);\n // alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter the new Password');\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n\nimport { PdListPage } from '../pd-list/pd-list';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\n\nimport { LoadingProvider } from '../../providers/common-provider/loading';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the AuthPage 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-auth',\n templateUrl: 'auth.html',\n})\nexport class AuthPage {\n pinAccess: any;\n newpindetails: any;\n userDetails: any;\npin:any;\n mpinaccess:boolean =false;\n newpassword:any;\n ConfirmPassword:any;\n commonImage:any;\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) {\n this.commonImage = this.commonconstant.commonimage;\n this.shared.refresh();\n this.getuserDetails();\n \n\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad AuthPage');\n }\n ionViewDidEnter(){\n this.Menu.enable(false);\n }\n ionViewWillLeave(){\n this.Menu.enable(true);\n }\n getuserDetails()\n {\n this.loadingCtrl.pdloader('loading...');\n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.loadingCtrl.loading.dismiss();\n this.userDetails = this.userDetails.records;\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\n if(this.userDetails[0].mpin ==null)\n {\n \n this.mpinaccess = true;\n \n }else\n {\n this.mpinaccess = false;\n }\n }else{\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n }else{\n this.toast.pdTriggerappmessage('')\n }\n //console.log(this.mpinaccess);\n });\n }\n setnewpin(newpin)\n {\n console.log(\"set Pin\")\n this.aws.userpinupdate(newpin).subscribe(res=>\n {\n this.newpindetails = res;\n if(this.newpindetails.dataStatus == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n /**Finger print */\n \n checkpin(pin) {\n console.log(\"Check pin\",pin);\n if(pin !='' && pin !=null)\n {\n if(this.userDetails[0].mpin == pin)\n {\n console.log(\"Entering List page\")\n this.navCtrl.setRoot(PdListPage);\n }else\n {\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\n }\n }else\n {\n this.toast.pdTriggerappmessage('Enter The PIN');\n }\n\n \n \n }\n checkfingerprint()\n {\n console.log(\"Check Finger\");\n this.faio.show({\n clientId: 'Fingerprint-Demo',\n clientSecret: 'password', // Only Android\n localizedFallbackTitle: 'Use Pin', // Only iOS\n localizedReason: 'Please authenticate',\n disableBackup:true,\n })\n .then((result: any) => {\n this.navCtrl.setRoot(PdListPage);\n })\n .catch((error: any) => {\n this.toast.pdTriggerappmessage('err: '+ error);\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { InputPage } from '../input/input';\n\n/**\n * Generated class for the CompleteListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-complete-list',\n templateUrl: 'complete-list.html',\n})\nexport class CompleteListPage {\n // random_ng_past(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n // random_bg_color(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n aws: any;\n pdlistaccess: boolean;\n pdofficer: any;\n pdlistdetails: any = [];\n pdschduleDetails: any;\n searchpast: any;\n pdcomplete: any=[];\n searchcomplete: any;\n bgColorPast: any = [];\n bgColor: any = [];\n viewchange: boolean;\n pdlist:any = \"0\";\n\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public awsservice:AwsServiceProvider,public PdtriggerProvider:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad CompleteListPage');\n\n this.db.getuserDetails();\n \n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n \n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdcomplete = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.awsservice.getlocale();\n //.log(\"User\",userid)\n // this.pdlistaccess = true;\n\n this.PdtriggerProvider.getpddetails(userid).subscribe(res=>\n {\n console.log('res',res);\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n \n // this.searchpast = this.pdschduleDetails;\n \n this.pdcomplete = this.pdlistdetails.records.filter(complete=>complete.pd_status == \"COMPLETED\");\n this.searchcomplete = this.pdcomplete;\n \n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n random_bg_color() {\n for(let id of this.pdcomplete){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n \n PdAllocation(pddetails)\n {\n \n if(pddetails.pd_status == 'COMPLETED')\n {\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/complete-list/complete-list.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\nimport { enableProdMode } from '@angular/core';\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\n\nimport { MyApp } from './app.component';\n\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\nimport { SQLite } from '@ionic-native/sqlite';\nimport { DatabaseProvider } from '../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {MapAddressPage} from '../pages/map-address/map-address'\n\nimport {\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule\n} from '@angular/material';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { AuthGuard } from '../providers/_guard/auth.guard';\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { ConstantsProvider } from '../providers/constants/constants';\nimport { AuthPage } from '../pages/auth/auth';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\nimport { PasswordPage } from '../pages/password/password';\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\nimport { InputPage } from '../pages/input/input';\nimport { ToastProvider } from '../providers/common-provider/toast';\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\n\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\nimport { OtpPage } from '../pages/otp/otp';\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\n\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\nimport { CameraProvider } from '../providers/common-provider/camera';\nimport { LoadingProvider } from '../providers/common-provider/loading';\nimport { Camera } from '@ionic-native/camera';\n\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\n\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { Geolocation } from '@ionic-native/geolocation';\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { DatePicker } from '@ionic-native/date-picker';\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\n\nimport { PdQuestionBusinessPage } from '../pages/pd-question/pd-question-business/pd-question-business'\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport { PdPipe } from '../pipes/pd/pd';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\nimport { NgxMatSelectSearchModule} from 'ngx-mat-select-search'\nimport { ContentLoaderModule } from '@netbasal/content-loader';\nimport {PdQuestionAssessedDailyPurchasePage} from '../pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionAssessedImagesPage} from '../pages/pd-question/pd-question-assessed-images/pd-question-assessed-images'\n// import {PipesModule} from '../pipes/pipes.module'\nimport {IonicStorageModule} from '@ionic/storage'\nimport { StorageProvider } from '../providers/storage/storage';\nimport {PdQuestionRentalDashPage} from '../pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport {CacheModule} from 'ionic-cache'\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\n\n@NgModule({\n declarations: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n CompleteListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionBusinessPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n RupeeCurrencyFormatPipe,\n PdQuestionRentalDashPage,\n MapAddressPage\n // PipesModule\n \n ],\n imports: [\n BrowserModule,ReactiveFormsModule,FormsModule,\n IonicModule.forRoot(MyApp),\n BrowserAnimationsModule,\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,MatListModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,\n ContentLoaderModule,\n IonicStorageModule.forRoot(),\n CacheModule.forRoot()\n \n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n CompleteListPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionBusinessPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n PdQuestionRentalDashPage,\n MapAddressPage\n \n ],\n providers: [\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,\n {\n provide:HTTP_INTERCEPTORS,\n useClass: TokenInterceptor,\n multi: true\n },\n {\n provide: ErrorHandler,\n useClass: IonicErrorHandler\n },LaunchNavigator,\n AwsServiceProvider,\n QuestionCategoryProvider,\n CameraProvider,Camera,\n PdPipe,LocationAccuracy,\n LoadingProvider,Geolocation,\n DatabaseProvider,\n StorageProvider\n \n ]\n})\nexport class AppModule {}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\nimport { Nav, Platform } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { MethodCall } from '@angular/compiler';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { PasswordPage } from '../pages/password/password';\nimport { AuthPage } from '../pages/auth/auth';\nimport {AlertController} from 'ionic-angular'\nimport { platformBrowser } from '@angular/platform-browser';\nimport {CacheService} from 'ionic-cache'\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\n\n\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n userDetails: any;\n userAccess:boolean = false;\n @ViewChild(Nav) nav: Nav;\n\n rootPage: any = LoginPage;\n public alertShown:boolean=false\n\n pages: Array<{title: string,icon:any, method: any}>;\n\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\n ,public alertCtrl:AlertController,cache:CacheService) {\n cache.setDefaultTTL(60*60)\n this.initializeApp();\n\n // used for an example of ngFor and navigation\n this.pages = [ \n // { title: 'Home', component: HomePage, icon: 'home' },\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)},\n { title: 'Complete List', icon: 'checkmark-circle',method:()=>this.menulist(3)}\n\n ];\n\n\n }\n\n initializeApp() {\n this.platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n this.statusBar.styleDefault();\n if (this.platform.is('android')) {\n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n \n }\n this.splashScreen.hide();\n\n this.shared.getAccessToken().then(()=>{\n this.getuserDetails();\n this.rootPage = AuthPage\n }).catch(()=>{\n setTimeout(() => {\n this.rootPage = LoginPage;\n }, 1000);\n });\n \n });\n this.platform.registerBackButtonAction(()=>{\n if(this.nav.length()==1){\n if(this.alertShown==false){\n //this.presentConfirm(); \n let alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n });\n alert.present();\n this.alertShown=true\n }\n }\n else{\n this.nav.pop()\n }\n });\n }\n\n presentConfirm(){\nlet alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n // this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n});\n alert.present();\n // this.alertShown=true;\n }\n getuserDetails()\n {\n this.userDetails=''\n \n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.userAccess = true;\n this.userDetails = this.userDetails.records[0];\n \n }\n \n });\n }\n menulist(id){\n //alert();\n switch(id)\n {\n case 1:\n this.nav.setRoot(PdListPage);\n break;\n case 2:\n this.AWS.logout().subscribe(()=>{\n this.nav.setRoot(LoginPage);\n });\n break;\n case 3:\n this.nav.setRoot(CompleteListPage);\n break;\n case 4:\n break;\n}\n}\n logout()\n {\n // this.aws.logout();\n this.nav.setRoot(LoginPage);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\n\n// import { CanActivateChild, Router } from '@angular/router';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\n\n// import { environment } from '../../environments/environment';\n\nimport { BehaviorSubject,Observable,of } from 'rxjs';\n\nconst sineedge_poolData = { \n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\n};\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"\",\n ClientId: \"\"\n}\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"\";\n// serviceProvider\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\n// const apiurl = \"http://localhost/sparqapi/api/\";\n\n@Injectable()\n\nexport class CognitoServiceProvider {\n public loggedIn :boolean = false;\n // public static _REGION = environment.region;\n\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\n // public static _USER_POOL_ID = environment.UserPoolId;\n // public static _CLIENT_ID = environment.ClientId;\n\n // public static _POOL_DATA: any = {\n // UserPoolId: CognitoService._USER_POOL_ID,\n // ClientId: CognitoService._CLIENT_ID\n // };\n \n\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\nisloggin:boolean = false; \n\n\n \n\n \n constructor() { \n \n }\n getCurrentUser() {\n \n return sineedgedevUserpool.getCurrentUser();\n}\n get isLoggedIn() {\n if(sineedgedevUserpool.getCurrentUser() !=null){\n this.loggedIn = true;\n }else{\n this.loggedIn = false;\n }\n return this.loggedIn; // {2}\n }\n \nrefresh() {\n let tokenexp:boolean;\n \n if(this.getCurrentUser() !=null){\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n }\n\n else {\n if (session.isValid()) {\n tokenexp = session.isValid();\n of(tokenexp)\n console.log(\"CognitoUtil: refreshed successfully\");\n \n } else {\n tokenexp = session.isValid();\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\n \n }\n }\n \n return tokenexp;\n \n });\n }else{\n this.loggedIn = false;\n }\n}\ngetAccessToken(){\n this.refresh();\n return new Promise((resolve, reject) => {\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n //console.log(JSON.stringify(this.getCurrentUser()));\n // console.log('76 if');\n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n jwttoken ='';\n // console.log('81 if')\n reject(err);\n }\n else {\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n resolve();\n } else {\n \n }\n }\n });\n }\n else {\n //console.log(\"else\");\n reject();\n }\n});\n}\n\ngetToken():any {\n let isloggin = false;\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n isloggin = false;\n //console.log('81 if')\n }\n else {\n //alert('function else');\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n isloggin = true;\n } else {\n \n isloggin = false;\n }\n }\n });\n }\n else {\n // console.log(\"else\");\n isloggin = false;\n }\n return jwttoken;\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { Injectable } from '@angular/core';\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n\n\n@Injectable()\nexport class AuthGuard {\n \n constructor() { \n\n \n }\n\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n // // if (this.shared.getToken()) {\n // alert(\"if\");\n // // this.router.navigate(['']);\n // return true\n // } else {\n // alert(\"else\");\n // this.router.navigate(['/login']);\n // return false;\n // }\n // }\n getlogin(){\n // if (this.shared.getToken()) {\n // // alert(\"if\");\n // //alert();\n // return true;\n // } else {\n // // alert(\"else\");\n \n // //this.myGlobalServiceNav.setRoot(LoginPage);\n // this.shared.isloggin = false;\n // return false;\n \n \n // }\n }\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n \n \n // }\n\n // public getToken(): string {\n // return localStorage.getItem('token');\n // }\n\n // public logOut() {\n // localStorage.clear();\n // if(localStorage.getItem('token') === null){\n // this.router.navigate(['/login']);\n // }\n // }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\nimport {\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpInterceptor,\n HttpHeaders\n} from '@angular/common/http';\n// import { AuthGuard } from './auth.guard';\nimport { Observable, of} from 'rxjs';\n\n// import { Router } from '@angular/router';\n\nimport { catchError, map, tap } from 'rxjs/operators';\nimport { HttpErrorResponse } from \"@angular/common/http\";\n\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\n\n@Injectable()\nexport class TokenInterceptor implements HttpInterceptor{\n constructor(public shared:CognitoServiceProvider ) {\n \n }\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n // request = request.clone({\n // setHeaders: {\n // Authorization: `${this.auth.getToken()}`\n // }\n // });\n let token:any;\n this.shared.refresh();\n token = this.shared.getToken() || null;\n \n token = token.getIdToken().getJwtToken();\n \n //console.log(token);\n let requests = request.clone({\n headers:new HttpHeaders({\n \n 'Authorization': 'sparqvenba2018',\n 'Token':token,\n 'From':'1',\n \n \n }) \n \n });\n \n return next.handle(requests).pipe(\n catchError(this.handleError('role', []))\n )\n }\n\n private handleError (operation = 'operation', result?: T) {\n return (error: any): Observable => {\n if(error instanceof HttpErrorResponse){\n console.error(\"Error: \" + error.status);\n if(error.status == 401){\n localStorage.clear();\n // this.router.navigate(['/authentication/login']);\n }\n return of(result as T);\n }\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\n\n/**\n * Generated class for the GoogleplaytabPage 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-googleplaytab',\n templateUrl: 'googleplaytab.html',\n})\nexport class GoogleplaytabPage {\n\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= true;\n isLeft:boolean= true;\n tabs:any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\n console.log('Width: ' + platform.width());\n this.screenWidth_px=platform.width();\n \n}\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad GoogleplaytabPage');\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n\n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n\n this.isLeft=false;\n this.isRight=false;\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n\n }\n\n\n\n}\n\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the PdAllocationPage 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-allocation',\n templateUrl: 'pd-allocation.html',\n})\nexport class PdAllocationPage {\npdFullDetails:any = [];\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n \n this.pdFullDetails = this.navParams.get('pdDetails');\n console.log(this.pdFullDetails);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdAllocationPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n\n\nimport { Observable } from \"rxjs/Observable\";\nimport \"rxjs/add/operator/map\";\nimport { CognitoServiceProvider } from './cognito.service';\nimport { ConstantsProvider } from '../constants/constants';\nimport { UrlResolver } from '@angular/compiler';\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"ap-south-1_K57yPaWxV\",\n ClientId: \"\"\n}\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\n\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Injectable()\nexport class AwsServiceProvider {\napiurl:any;\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\n this.apiurl = con.apiurl();\n }\n\n dologin(authenticationData) {\n // alert();\n //(authenticationData);\n const authenticationDetails = new AuthenticationDetails(authenticationData);\n let Newpassword = authenticationData.newpassword;\n let attributesData = [];\n const userData = {\n Username: authenticationData.Username, // User email id\n Pool: sineedgedevUserpool // user Pool ID\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observer => {\n cognitoUser.authenticateUser(authenticationDetails, {\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \n cognitoUser.completeNewPasswordChallenge(\n Newpassword,\n attributesData,\n {\n onSuccess: function (result) {\n observer.next(result);\n observer.complete();\n },\n onFailure: function (err) {\n //(err);\n observer.error(err);\n //LoginComponent.prototype.open();\n }\n }\n );\n },\n onSuccess: function (result) { // success user login\n // let accessToken = result.getAccessToken().getJwtToken();\n ////(result);\n //window.localStorage.setItem('Currentuser', '1');\n observer.next(result);\n observer.complete();\n this.shared.isloggin = true;\n },\n onFailure: function (err) { // error user login\n\n //alert(err.message);\n observer.error(err);\n }\n });\n });\n }\n userforgotpass(auth) {\n ////(auth);\n const userData = {\n Username: auth.Username,\n Pool: sineedgedevUserpool\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observe => {\n cognitoUser.forgotPassword({\n onSuccess: function (data) {\n // successfully initiated reset password request\n //('CodeDeliveryData from forgotPassword: ' + data);\n observe.next(data);\n },\n onFailure: function (err) {\n alert(err.message || JSON.stringify(err));\n },\n //Optional automatic callback\n inputVerificationCode: function (data) {\n //('Code sent to: ' + data);\n var verificationCode = prompt('Please input verification code ', '');\n var newPassword = prompt('Enter new password ', '');\n cognitoUser.confirmPassword(verificationCode, newPassword, {\n onSuccess() {\n //('Password confirmed!');\n },\n onFailure(err) {\n //('Password not confirmed!');\n }\n });\n }\n });\n });\n\n\n }\n /**\n * End of the function \n */\n\n /**\n * Logout function\n */\n logout(){\n \n return Observable.create(observe=>{\n this.shared.getCurrentUser().signOut(); \n \n observe.next();\n \n observe.complete();\n });\n }\n\n\n /**\n * Config function\n */\n // getconfig() {\n // let session:any = this.shared.getAccessToken() || \"\";\n \n // let config = \"\";\n // config += AWS.config.region = \"ap-south-1\";\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\n // Logins: {\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\n // .getIdToken()\n // .getJwtToken()\n // }\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\n // });\n // return config;\n // }\n\n getlocale(){\n let session:any = this.shared.getToken() || null;\n let userid = session.idToken.payload.locale;\n return userid;\n }\n getuserprofile(userid)\n {\n \n \n // alert();\n \n //console.log(cogusers.idToken.payload.locale);\n let roles = {'userid':userid}; \n \n \n // let request = new RequestOptions({headers:headers});\n return this.http.post(this.apiurl+'getUsersDetails',roles);\n \n }\n\n userpinupdate(pin)\n {\n let userid = this.getlocale(); \n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\n let formdata = new FormData();\n \n formdata.append('records',JSON.stringify(records));\n return this.http.post(this.apiurl+'updateExistUser',formdata);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category'\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service'\n\n/**\n * Generated class for the PdQuestionBusinessPage 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-business',\n templateUrl: 'pd-question-business.html',\n})\nexport class PdQuestionBusinessPage {\n pdDetails:any;\n pdid:any;\n users:any;\n FormId:any;\n existCompanyList:any=[]\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId=this.navParams.get('FormId');\n this.users=this.aws.getlocale\n\n this.getDropDown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessPage');\n }\ngetDropDown(){\n this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(res=>{\n this.existCompanyList=res['records'].filter(data=>data.is_active == true && data.is_company_applicant == true);\n console.log(this.existCompanyList);\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business/pd-question-business.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionSalaryInfoPage 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-salary-info',\n templateUrl: 'pd-question-salary-info.html',\n})\nexport class PdQuestionSalaryInfoPage {\n\n salaryDetails:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\n \n this.salaryDetails = this.fb.group(\n {\n gross:[null],\n netTakeHome:[null],\n bounsIncentive:[null],\n salaryDate:[null],\n anydelays:[null], \n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {ConstantsProvider} from '../constants/constants';\n\n/*\n Generated class for the PdtriggerProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\n@Injectable()\nexport class PdtriggerProvider {\n apiurl:any;\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\n this.apiurl = constants.apiurl();\n console.log('Hello PdtriggerProvider Provider');\n }\n\n \n\n /**get dropdonw list */\n\n /**Get list of PD Trigger */\n\n getpddetails(userid)\n { \n console.log(userid);\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\n }\n\n getFullPDdetails(pdid)\n {\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\n }\n\n updatepdStatus(dataStatus)\n {\n let records = {'records':dataStatus};\n return this.http.post(this.apiurl+'updatePDMaster',records);\n }\n\n saveCurrentLocation(data)\n {\n let records = {'records':data};\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\n }\n\n checkotp(otpDetails)\n {\n\n let records = {'records':otpDetails};\n \n return this.http.post(this.apiurl+'checkOTP',records); \n }\n getPDCompleteDetails(details){\n return this.http.post(this.apiurl+'getPDCompleteDetails',{'records':details})\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { Component,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { InputPage } from '../input/input';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\nimport { OtpPage } from '../otp/otp';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n/**\n * Generated class for the PdListPage 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-list',\n templateUrl: 'pd-list.html',\n})\nexport class PdListPage {\n\n @ViewChild('slider') slider:Slides;\n searchinprogress: any;\n searchpast: any;\n pdschduleDetails: any;\n bgColorPast: any = [];\n bgColor: any = [];\n pdinprogress: any=[];\n pdlistdetails: any=[];\n viewchange: boolean;\n pdlist:any = \"0\";\n pdlistaccess:boolean = null;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n //this.getlenderpddetails(); \n // this.getpdTriggerdetails();\n \n }\n selectedTab(ind)\n {\n this.slider.slideTo(ind)\n }\n moveButton(event){\n this.pdlist=event._snapIndex.toString();\n }\n\n ionViewDidLoad() {\n \n console.log('ionViewDidLoad PdListPage');\n this.db.getuserDetails();\n this.setpermission();\n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n this.pdinprogress = this.pdinprogress;\n this.pdschduleDetails = this.pdschduleDetails;\n }\n \n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n \n this.pdinprogress = this.searchinprogress;\n this.pdschduleDetails = this.searchpast;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n \n if(this.pdlist == \"inpro\"){\n if (q.trim() == '') {\n return ;\n }else{\n this.pdinprogress = this.searchinprogress.filter((v) => {\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) {\n return true;\n }\n return false;\n })\n }\n }else\n {\n if (q.trim() == '') {\n \n return ;\n }else{\n this.pdschduleDetails = this.searchpast.filter((v) => {\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\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) {\n \n return true;\n }\n \n return false;\n })\n }\n \n}\n}\n newpage(){\n this.navCtrl.push(InputPage);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.aws.getlocale();\n //.log(\"User\",userid)\n this.pdlistaccess = true;\n\n this.pdofficer.getpddetails(userid).subscribe(res=>\n {\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \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.pd_status == \"ADD_ON_PENDING\" );\n this.searchpast = this.pdschduleDetails;\n \n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\n this.searchinprogress = this.pdinprogress;\n console.log(\"allocated\",this.pdinprogress);\n console.log(\"inpr\",this.pdschduleDetails);\n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n\n random_bg_color() {\n for(let id of this.pdinprogress){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdinprogress = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n \n PdAllocation(pddetails)\n {\n \n \n if(pddetails.pd_status == '')//for STARTED\n {\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\n \n // }else if(pddetails.pd_status == 'INPROGRESS'){\n // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\n }else //if(pddetails.pd_status == 'ADD_ON_PENDING' || pddetails.pd_status == 'ALLOCATED')\n {\n //FOR ASSIGNING THE PARENT PD ID\n //pddetails.pd_id=pddetails.parent_pd_id\n // pddetails.pd_id=pddetails.parent_pd_id\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n setpermission()\n {\n // let permission = this.androidPermissions.PERMISSION; \n // let premission_list = [\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\n // permission.CAMERA,\n\n\n // ];\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Toast, ToastController,AlertController} from 'ionic-angular';\n\n/*\n Generated class for the ToastProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ToastProvider {\n\n constructor(public http: HttpClient,public toast:ToastController,private alertCtrl:AlertController) {\n console.log('Hello ToastProvider Provider');\n }\n pdTriggerappmessage(mess){\n let valalert = this.toast.create({\n message:mess, \n duration: 3000, \n position: 'bottom',\n dismissOnPageChange: true,\n });\n\n valalert.present();\n} \nsetAlert(title_name,msg){\n \n\nlet alert=this.alertCtrl.create({\n title:title_name,\n message:msg,\n cssClass:'buttoncss',\n buttons:[\n {\n text:'No',\n cssClass:'btnNo',\n handler:()=>{\n alert.dismiss(false)\n return false\n }\n },{\n text:'Yes',\n cssClass:'btnYes',\n handler:()=>{\n alert.dismiss('s')\n return false\n }\n }]\n});\n//alert.present()\nreturn alert\n\n}\nsetAlertForDocName(){\n \n let alert=this.alertCtrl.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n alert.dismiss(data.Name)\n }\n \n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertForCompletePD(){\n let alert=this.alertCtrl.create({\n title:'Complete Discussion',\n message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?',\n cssClass:'complete_alert',\n buttons:[\n {\n text:'Yes / Allow Addon PD',\n handler:()=>{\n alert.dismiss('addon')\n return false\n }\n },\n {\n text:'Yes',\n handler:()=>{\n alert.dismiss('yes')\n return false\n }\n },\n {\n text:'No',\n handler:()=>{\n alert.dismiss('no')\n return false\n }\n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\n}\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/pipes/rupee-currency-format/rupee-currency-format.ts","../../src/providers/constants/constants.ts","../../src/pages/input/input.ts","../../src/pages/otp/otp.ts","../../src/providers/storage/storage.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.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/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../src/providers/database/database.ts","../../src/providers/common-provider/camera.ts","../../node_modules/@angular/core/esm5 lazy","../../src/providers/common-provider/loading.ts","../../src lazy","../../src/pages/login/login.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-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.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-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.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/pages/map-address/map-address.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/pages/complete-list/complete-list.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/aws-service/cognito.service.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/providers/aws-service/aws-service.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/pdtrigger/pdtrigger.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/common-provider/toast.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAEnB;AAExC;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B,EAAS,KAAkB;QAA7E,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ,GAAR,QAAQ,CAAkB;QAAS,UAAK,GAAL,KAAK,CAAa;QAC9F,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,CA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MAAM;oBACX,oCAAoC;oBACpC,WAAW,EAAC,eAAe;iBAC5B;aACF;YACD,OAAO,EAAC;gBACN;oBACE,IAAI,EAAC,QAAQ;oBACb,OAAO,EAAC,cAAI;wBACV,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;wBACtB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;oBAC1B,CAAC;iBAEF;aACF;SACA,CAAC;QACF,kBAAkB;QAClB,6BAA6B;QAE/B,MAAM,CAAC,KAAK;IACZ,CAAC;IACD,6CAAqB,GAArB;QACE,IAAI,KAAK,GAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;YAC9B,KAAK,EAAC,qBAAqB;YAC3B,OAAO,EAAE,qFAAqF;YAChG,QAAQ,EAAC,gBAAgB;YACzB,OAAO,EAAC;gBACN;oBACE,IAAI,EAAC,sBAAsB;oBAC3B,OAAO,EAAC;wBACP,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;wBACtB,MAAM,CAAC,KAAK;oBACb,CAAC;iBACF;gBACD;oBACE,IAAI,EAAC,KAAK;oBACV,OAAO,EAAC;wBACP,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;wBACpB,MAAM,CAAC,KAAK;oBACb,CAAC;iBACF;gBACD;oBACE,IAAI,EAAC,IAAI;oBACT,OAAO,EAAC;wBACP,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;wBACnB,MAAM,CAAC,KAAK;oBACb,CAAC;iBACF;aACF;SACA,CAAC;QACF,kBAAkB;QAClB,6BAA6B;QAE/B,MAAM,CAAC,KAAK;IACZ,CAAC;IAzGY,aAAa;QADzB,yEAAU,EAAE;yCAGc,wEAAU,EAAc,sEAAe,EAAmB,sEAAe;OAFvF,aAAa,CA0GzB;IAAD,oBAAC;CAAA;AA1GyB","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ConstantsProvider } from '../constants/constants';\nimport { Observable } from 'rxjs';\nimport {CacheService} from 'ionic-cache'\n\n/*\n Generated class for the QuestionCategoryProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class QuestionCategoryProvider {\napiurl:any;\n constructor(public http: HttpClient,public constant:ConstantsProvider,private cache:CacheService) {\n console.log('Hello QuestionCategoryProvider Provider');\n this.apiurl = constant.apiurl();\n }\n \n \n getLoadTemplate(pdid)\n {\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\n }\n saveQusetion(saveData)\n {\n let records = {'records':[saveData]};\n return this.http.post(this.apiurl+'savePDQuestions',records);\n }\n\n \n getAnswerTemplate(qustDetails)\n {\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\n }\n\n /***\n * Get PD Questions dropdown api\n * sriram\n */\n getcommondrop(tableName)\n {\n \n // return Observable.defer(()=>{\n let masters = {'master_name':tableName}\n return this.http.post(this.apiurl+'getListOfMaster',masters);\n // return this.cache.loadFromObservable(cacheKey,data)\n // })\n }\n\n saveForm(records)\n { let record = {'records':records};\n return this.http.post(this.apiurl+'savePDFormDetails',record);\n }\n\n retiverForm(records)\n {\n return this.http.post(this.apiurl+'getPDFormDetails',records);\n }\n\n /**Assessed Form Details API */\n saveassessedForms(api,saveData)\n {\n return this.http.post(this.apiurl+api,saveData);\n }\n\n retiverassessedForm(api,records)\n {\n console.log(\"rec\",records)\n return this.http.post(this.apiurl+api,records);\n }\n\n updatePdApplicant(editData: any) {\n // editData.fk_updatedby = this._aws.getlocale();\n // editData.updatedon = currentdate;\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\n\n \n}\n\ngetEndUseForLoan(pdid:any,subproduct){\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\n}\ngetCompaniesListsForBusiness(pdid:any){\n // let cacheKey=pdid\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\n // return this.cache.loadFromObservable(cacheKey,data)\n}\ngetStateWiseCities(stateid:any){\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\n}\ngetAllPersonsName(pdid:any){\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\n \n}\ngetStateCityDetails(){\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\n}\ngetAssetsWithLoanFromBusiness(pdid:any){\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\n\n}\n\n\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\n}\n\n/** For Stock Details \n * To Get The Products With TypeofActivity From Business \n **/\nstockFormAccess(pdid: any,companyid: any) {\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\n}\n\n\n\n/*****Save Images */\nsavePDImages(imagesDetails)\n{ \n let record = {'records':imagesDetails};\n return this.http.post(this.apiurl+'savePDPhotos',record);\n}\ngetPDImages(records){\n let record={'records':records};\n return this.http.post(this.apiurl+'getPDImages',record);\n}\ngetFamilyDetails(pdid:any){\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\n}\ngetAddressDetails(pdid:any){\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\n}\ngetStateCityNamesAndPincode(values:any){\n return this.http.post(this.apiurl+'getStateCityNamesAndPincode',{'records':values})\n}\n // get customers list\ngetCustomersDetails(): Observable {\n return this.http.get(this.apiurl + 'getListOfCustomerSegments')\n \n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdQuestionPage } from '../pd-question/pd-question';\nimport Chart from 'chart.js';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\n\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\nimport { PdQuestionBusinessPage } from '../pd-question/pd-question-business/pd-question-business'\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\nimport {PdQuestionRentalDashPage} from '../pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\n/**\n * Generated class for the PdQuestionCategoryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question-category',\n templateUrl: 'pd-question-category.html',\n})\nexport class PdQuestionCategoryPage {\n searchTempForm: any;\n searchQuestion: any;\n viewchange: boolean;\n templateAccess: boolean;\n bgColortempForm: any=[];\n bgColorqustCat: any=[];\n dis_forms:any;\n // @ViewChild('doughnutCanvas') doughnutCanvas;\n pdinfo: any;\nquestionList:any;\nquestionCate:any;\nquestionCateAccess:boolean = null;\nquestionfinishedList:any =[];\npddetails:any=[];\noverallqustioncountAccess:boolean = true;\ndoughnutChart: any;\ncompletedAccess:any;\nsearchitem:any;\n enableAddonPD: boolean=false;\n pageTitle:string;\n complete_btn:boolean=true;\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,public pdstatusprovide:PdtriggerProvider) {\n this.pddetails = this.navParams.get('pdDetails');\n this.pageTitle=this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for'+' '+this.pddetails.parent_pd_id\n \n let params: any={};\n params.pd_id = this.pddetails.pd_id;\n this.pdstatusprovide.getPDCompleteDetails(params).subscribe(result => {\n if (result['dataStatus'] === true) {\n this.enableAddonPD = result['records'].address_count>0 ? true: false;\n console.log(\"addon\",this.enableAddonPD);\n }\n });\n\n this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewCanEnter()\n {\n this.getcategoryList(); \n }\n // doughuntChart()\n // {\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\n \n // type: 'doughnut',\n // data: {\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\n // datasets: [{\n // label: '# of Votes',\n // data: [12],\n // backgroundColor: [\n // // 'rgba(255, 99, 132, 0.2)',\n // 'rgba(54, 162, 235, 0.2)',\n // // 'rgba(255, 206, 86, 0.2)',\n // // 'rgba(75, 192, 192, 0.2)',\n // // 'rgba(153, 102, 255, 0.2)',\n // // 'rgba(255, 159, 64, 0.2)'\n // ],\n // hoverBackgroundColor: [\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\",\n // \"#FF6384\",\n // \"#36A2EB\",\n // \"#FFCE56\"\n // ]\n // }]\n // }\n\n // });\n // }\n ionViewDidLoad() {\n this.shared.refresh();\n //this.doughuntChart();\n console.log('ionViewDidLoad PdQuestionCategoryPage');\n }\n \n getcategoryList()\n {\n let j = 1;\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\n {\n this.questionCate = res;\n if(this.questionCate.dataStatus == true)\n {\n \n this.questionCate = this.questionCate.records;\n this.random_ng_past(); \n this.complete_btn= this.questionCate.pdmaster_details.pd_status == \"ADD_ON_PENDING\" ? false : this.questionCate.pdmaster_details.pd_status == \"COMPLETED\" ? false :true\n // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\n // {\n // this.questionCateAccess = true;\n // this.templateAccess = true;\n // this.questionCate = this.questionCate;\n // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n // this.searchQuestion = this.questionCate.question_answers;\n\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)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n \n \n \n \n \n // }else \n if(this.questionCate.template_forms!='')\n {\n this.templateAccess = true;\n this.questionCate = this.questionCate\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\n console.log(\"temp\",this.questionCate);\n\n this.searchTempForm = this.questionCate.template_forms\n // for(let i of this.dis_forms){\n // if(i.)\n // }\n let answered=this.dis_forms.filter(res=>res.isAnswered == true)\n console.log(\"an len\",answered);\n if(answered.length == this.dis_forms.length){\n this.overallqustioncountAccess= true;\n }\n else{\n this.overallqustioncountAccess=false\n }\n \n \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)\n // {\n // this.overallqustioncountAccess = false;\n // }else\n // {\n // this.overallqustioncountAccess = true;\n // }\n }\n else\n {\n this.questionCateAccess = false;\n this.templateAccess = false; \n this.questionCate = \"No Template Available\";\n }\n }\n })\n \n }\n random_ng_past()\n {\n for(let id of this.questionCate.question_answers){\n var a = Math.floor(Math.random() * 256);\n var b = Math.floor(Math.random() * 256);\n var c = Math.floor(Math.random() * 256);\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\n \n }\n for(let id of this.questionCate.template_forms){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n questionsTag(categroyId){\n \n this.pdinfo = this.pddetails; \n \n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\n // if(this.questionCate.questions.length !=\"0\"){\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\n \n // }else\n // {\n // this.getcategoryList();\n // this.toast.pdTriggerappmessage('No Question Available');\n // }\n }\n\n tempQustionTag(categroyId)\n {\n //FOR UPDATING THE PD APPLICANT LIST\n this.pdinfo = this.pddetails; \n let newData= this.questionCate.pdapplicants_detials\n console.log(\"new Data\",newData);\n this.pdinfo.applicat_details=newData\n console.log(this.pdinfo);\n\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\n if(categroyId ==5)\n {\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\n \n }else if(categroyId==12){\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }else if(categroyId==10)\n {\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==8){\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==13)\n {\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n \n }else if(categroyId==7)\n {\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n\n }else if(categroyId==6)\n {\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==4){\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==9){\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==3){\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==11)\n {\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==14)\n {\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId ==2)\n {\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId ==17)\n {\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }\n else if(categroyId==16)\n {\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==15)\n {\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \n \n }else if(categroyId==18)\n {\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }else if(categroyId==19)\n {\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \n }\n else if(categroyId==20)\n {\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\n }\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n }\n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n // this.questionCate = this.searchQuestion;\n // this.questionCate.template_forms = this.searchTempForm;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n if(this.searchQuestion !== undefined){\n if (q.trim() == '') {\n return ;\n }else{\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n // return true;\n // }\n // })\n }\n }else\n {\n if (q.trim() == '') {\n return ;\n }else{\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\n// return true;\n// }\n// })\n }\n }\n}\ncompletePDAlert()\n{ \n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n return;\n }\n if(this.enableAddonPD == true){//FOR CHECKING THE ADDRESS COUNT. IF VALUE 1 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlertForCompletePD() \n alert.present();\n alert.onDidDismiss(data=>{\n if(data == 'yes'){\n \n this.completed('COMPLETED');\n }\n else if(data == 'addon'){\n this.completed('ADD_ON_PENDING')\n } \n else{\n reject();\n }\n })\n })\n}\nelse{ //IF ADDRESS COUNT 0 THIS BLOCK EXECUTED\n return new Promise(reject=>{\n let alert=this.toast.setAlert('Complete Discussion','Please confirm you are completing the Discussion and forwarding for Quality Check ?')\n alert.present()\n alert.onDidDismiss(data=>{\n if(data==false){\n reject()\n }\n else{\n this.completed('COMPLETED')\n }\n })\n })\n}\n}\n completed(status:string)\n {\n \n \n //alert.present();\n let users = this.aws.getlocale();\n if(!this.overallqustioncountAccess){// For checking Answered Forms\n this.toast.pdTriggerappmessage(\"Please complete all the Forms\");\n }\n else{\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':status,'fk_updatedby':users,'updatedon':currentdate};\n \n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\n {\n this.completedAccess = res;\n if(this.completedAccess.dataStatus == true)\n {\n this.toast.pdTriggerappmessage(\"Completed Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.setRoot(PdListPage);\n },2000);\n \n \n }\n })\n }\n}\n doRefresh(refresher) {\n this.questionCate = [];\n this.questionfinishedList = [];\n this.shared.refresh();\n this.getcategoryList();\n setTimeout(() => {\n refresher.complete();\n }, 2000);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * Generated class for the RupeeCurrencyFormatPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'rupeeCurrencyFormat',\n})\nexport class RupeeCurrencyFormatPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any):any {\n if (!isNaN(value) && value) {\n var currencySymbol = '₹';\n //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! \n var result = value.toString().split('.');\n\n var lastThree = result[0].substring(result[0].length - 3);\n var otherNumbers = result[0].substring(0, result[0].length - 3);\n if (otherNumbers != '')\n lastThree = ',' + lastThree;\n var output = otherNumbers.replace(/\\B(?=(\\d{2})+(?!\\d))/g, \",\") + lastThree;\n \n if (result.length > 1) {\n output += \".\" + result[1];\n } \n\n return currencySymbol+output;\n }\n // return value.toLowerCase();\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/rupee-currency-format/rupee-currency-format.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\n/*\n Generated class for the ConstantsProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ConstantsProvider {\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\n constructor(public http: HttpClient) {\n console.log('Hello ConstantsProvider Provider');\n }\n\n apiurl()\n {\n let testapiurl = 'http://ssa.sineedge.com/sparqtest/api/';\n let testapiurl_beta='http://ssa.sineedge.com/sparqtest_beta/api/';\n let devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/';\n let devapiurl = 'http://ssa.sineedge.com/sparqapi/api/';\n let localapiurl = 'http://192.168.0.6:9999/AWSEC2/sparqapi/api/';\n return devapiurl;\n }\n\n getcurrentDate()\n {\n var today = new Date();\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\n var time = today.getHours() + \":\" + today.getMinutes();\n let CurrentDate = date+\"T00:00\";\n return CurrentDate.toString();\n }\n \n convertNumberToWords(price) {\n price = price.toString();\n let atemp = price.split(\".\");\n let amount = atemp[0];\n\n var sglDigit = [\"Zero\", \"One\", \"Two\", \"Three\", \"Four\", \"Five\", \"Six\", \"Seven\", \"Eight\", \"Nine\"],\n dblDigit = [\"Ten\", \"Eleven\", \"Twelve\", \"Thirteen\", \"Fourteen\", \"Fifteen\", \"Sixteen\", \"Seventeen\", \"Eighteen\", \"Nineteen\"],\n tensPlace = [\"\", \"Ten\", \"Twenty\", \"Thirty\", \"Forty\", \"Fifty\", \"Sixty\", \"Seventy\", \"Eighty\", \"Ninety\"],\n \n handle_tens = function(dgt, prevDgt) {\n return 0 == dgt ? \"\" : \" \" + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt])\n },\n handle_utlc = function(dgt, nxtDgt, denom) {\n return (0 != dgt && 1 != nxtDgt ? \" \" + sglDigit[dgt] : \"\") + (0 != nxtDgt || dgt > 0 ? \" \" + denom : \"\")\n };\n\n var str = \"\",\n digitIdx = 0,\n digit = 0,\n nxtDigit = 0,\n words = [];\n if (amount += \"\", isNaN(parseInt(amount))) str = \"\";\n else if (parseInt(amount) > 0 && amount.length <= 10) {\n for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) \n switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) {\n case 0:\n words.push(handle_utlc(digit, nxtDigit, \"\"));\n break;\n case 1:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 2:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? \" and\" : \"\") : \"\");\n break;\n case 3:\n words.push(handle_utlc(digit, nxtDigit, \"Thousand\"));\n break;\n case 4:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 5:\n words.push(handle_utlc(digit, nxtDigit, \"Lakh\"));\n break;\n case 6:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 7:\n words.push(handle_utlc(digit, nxtDigit, \"Crore\"));\n break;\n case 8:\n words.push(handle_tens(digit, amount[digitIdx + 1]));\n break;\n case 9:\n words.push(0 != digit ? \" \" + sglDigit[digit] + \" Hundred\" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? \" and\" : \" Crore\") : \"\")\n // break; \n // case 10:\n // words.push(0 != digit ? \" \" + sglDigit[digit] + \" Lakh\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] ? \" and\" : \" Hundred\" + (0 != price[digitIdx + 1] || 0 != price[digitIdx + 2] || 0 != price[digitIdx + 3] ? \" and\" : \" Crore\")) \n // : \"\")\n // break;\n }\n str = words.reverse().join(\"\")\n // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str;\n } else str = \"\";\n return str\n\n // var words = new Array();\n // words[0] = '';\n // words[1] = 'One';\n // words[2] = 'Two';\n // words[3] = 'Three';\n // words[4] = 'Four';\n // words[5] = 'Five';\n // words[6] = 'Six';\n // words[7] = 'Seven';\n // words[8] = 'Eight';\n // words[9] = 'Nine';\n // words[10] = 'Ten';\n // words[11] = 'Eleven';\n // words[12] = 'Twelve';\n // words[13] = 'Thirteen';\n // words[14] = 'Fourteen';\n // words[15] = 'Fifteen';\n // words[16] = 'Sixteen';\n // words[17] = 'Seventeen';\n // words[18] = 'Eighteen';\n // words[19] = 'Nineteen';\n // words[20] = 'Twenty';\n // words[30] = 'Thirty';\n // words[40] = 'Forty';\n // words[50] = 'Fifty';\n // words[60] = 'Sixty';\n // words[70] = 'Seventy';\n // words[80] = 'Eighty';\n // words[90] = 'Ninety';\n // amount = amount.toString();\n // var atemp = amount.split(\".\");\n // var number = atemp[0].split(\",\").join(\"\");\n // var n_length = number.length;\n // let value:any = \"\";\n // var words_string = \"\";\n // if (n_length <= 9) {\n // var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\n // var received_n_array = new Array();\n // for (var i = 0; i < n_length; i++) {\n // received_n_array[i] = number.substr(i, 1);\n // }\n // for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\n // n_array[i] = received_n_array[j];\n // }\n // for (var i = 0, j = 1; i < 9; i++, j++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // if (n_array[i] == 1) {\n // n_array[j] = 10 + parseInt(n_array[j]);\n // n_array[i] = 0;\n // }\n // }\n // }\n // value = \"\";\n // for (var i = 0; i < 9; i++) {\n // if (i == 0 || i == 2 || i == 4 || i == 7) {\n // value = n_array[i] * 10;\n // } else {\n // value = n_array[i];\n // }\n // if (value != 0) {\n // words_string += words[value] + \" \";\n // }\n // if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Crores \";\n // }\n // if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Lakhs \";\n // }\n // if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\n // words_string += \"Thousand \";\n // }\n // if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\n // words_string += \"Hundred and \";\n // } else if (i == 6 && value != 0) {\n // words_string += \"Hundred \";\n // }\n // }\n // words_string = words_string.split(\" \").join(\" \");\n // }\n // return words_string;\n}\n//FOR SEARCHABLE DROP DOWN\nsearchData(data,val: any,option) {\n let DataValue:any\n // let nameVal=name.toLowerCase()\n console.log(\"statedata\")\n if (!data) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n DataValue=data.slice()\n return DataValue\n \n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n if(option == \"bank\"){\n DataValue=data.filter(res => res.lender_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"city\"){\n console.log(\"city\",data)\n DataValue=data.filter(res=>res.city_name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else if(option == \"pin\"){\n DataValue=data.filter(res=>res.pincode.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n else{\n //This is suitable for state\n DataValue=data.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n return DataValue\n }\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n sentenceCase (str) {\n if ((str===null) || (str===''))\n return '';\n else\n str = str.toString();\n \n return str.replace(/\\w\\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});\n }\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content,ModalController,ModalOptions } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\nimport {MatDatepicker} from '@angular/material/datepicker';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { Platform } from '@angular/cdk/platform';\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \nimport { AuthPage } from '../auth/auth';\n\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { OtpPage } from '../otp/otp';\n\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\nimport {DatePipe } from '@angular/common';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { observable, Observable } from 'rxjs';\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\nimport {PdQuestionCategoryPage} from '../../pages/pd-question-category/pd-question-category'\nimport {MapAddressPage} from '../../pages/map-address/map-address'\n\n\n\n/**\n * Generated class for the InputPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19);\n\n\n@Component({\n selector: 'page-input',\n templateUrl: 'input.html',\n})\n\n\nexport class InputPage {\n enableStartPD: boolean;\n diffInHours: number;\n updatestarted: any;\n updateinitiated: any;\n appdata: any;\n users: any;\n initiatedAccess: boolean = false;\n scheduleAccess: boolean = false;\napplicatentDetails:any;\nmaxdate :any;\npipe = new DatePipe('en-US');\nupdateStatus:any;\nscheduleDate:any;\nupdateSchedule:any;\nacceptedAccess:boolean = false;\nstartedAccess:boolean = false;\ntimeOut:any = 15*1000;\ntimeInterval:any;\ncurrentPosPDofficer:any;\nother_applicant:any=[];\nloadDetails=false;\nmainApplicant:any=[]\npdMaster:any=[]\ncheckOtpAccess:boolean = false;\n@ViewChild('focusinp') input_focus ;\n@ViewChild('scroll') scrolltop : Content;\n addresses: any=[];\n address_pd_id: any;\n address_pd_status: any='';\n address_allocated_data:any\n // address_child_schedule_time:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions,public modalCtrl:ModalController) {\n\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddTHH:mm').toString();\n // this.maxdate=new Date().toLocaleString();\n \n var date=new Date('dd');\n //console.log(date)\n var curr=date.getDate()+date.getMonth()+date.getFullYear();\n console.log(\"today\",curr)\n /***Header value pass */\n this.statusBar.styleDefault();\n \n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\n \n \n this.applicatentDetails = this.navParams.get('pdDetails');\n \n // this.getFullPD();\n \n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n \n // this.initiatedAccess = true;\n // }\n // //console.log(this.initiatedAccess);\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.getenableAccuracy();\n \n // }\n this.users = this.aws.getlocale();\n \n }\n ionViewCanEnter(){\n this.getFullPD();\n }\n // ionViewDidEnter(){\n // console.log(\"ionViewDidEnter\")\n // this.getFullPD();\n // }\n \n ionViewDidLoad() {\n this.setPermission();\n console.log('ionViewDidLoad InputPage'); \n }\n ionViewCanLeave()\n {\n clearInterval(this.timeInterval);\n }\n locationnavicate(index)\n {\n // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode)\n let data=this.addresses[index]\n var address_full:string= data.addressline1+' ' +data.city_name+' ' +data.state_name+'-'+(data.pincode != 'Others' ? data.pincode : data.other_pincode)\n //console.log(\"add\",address_full)\n this.launchNavigator.navigate(address_full);\n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n\n getFullPD()\n {\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let records = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.other_applicant=res['records'].applicants_details\n this.mainApplicant=res['records'].applicants_details[0]\n this.pdMaster=res['records'].pd_master_details[0]\n console.log(\"other\",this.mainApplicant)\n this.addresses=res['records'].pd_address\n this.address_pd_id=this.addresses.addtional_pd_data\n //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID \n this.addresses.forEach(res=>{\n console.log(\"address\",res);\n if(res.addtional_pd_data.length != 0){\n if(res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED'){\n this.address_pd_id=res.addtional_pd_data[0].pd_id\n this.address_pd_status=res.addtional_pd_data[0].pd_status\n this.address_allocated_data=res.addtional_pd_data[0]\n \n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n //FOR CHANGING THE PD ID based on assigned pd address\n //this.applicatentDetails.pd_id=this.address_pd_id\n //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n \n this.initiatedAccess = true;\n }\n //console.log(this.initiatedAccess);\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.getenableAccuracy();\n \n }\n if(this.address_pd_status == 'STARTED')\n {\n this.checkOtpAccess=true;\n }\n console.log(\"address allocated\",this.address_allocated_data);\n console.log(this.other_applicant);\n if(this.address_allocated_data != '' && this.address_allocated_data !=undefined){\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \n let scheduledDateTime: string=this.address_allocated_data.scheduled_on_for_validation;\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\n console.log(diffInHours);\n \n if(diffInHours <-4){\n this.enableStartPD=true;\n }\n else\n {\n this.enableStartPD = false;\n }\n }\n this.loadDetails=true\n } \n \n })\n \n }\n pdStatus(status,appdetails)\n {\n let data :any;\n \n if(status == 'BOUNCED')\n {\n // data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.navCtrl.push(BouncedRejectPage,{'details':data})\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {\n // this.updateStatus = res;\n // if(this.updateStatus.dataStatus == true)\n // {\n // this.navCtrl.setRoot(PdListPage); \n // }\n // })\n }else if(status == 'ACCEPTED')\n {\n \n data = {'pd_id':this.address_pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateStatus = res;\n if(this.updateStatus.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.scheduleAccess = true;\n \n }else\n {\n this.scheduleAccess = false;\n }\n })\n }\n \n }\n\n pdschedule(scheduledate,appdetails)\n {\n \n let data :any;\n console.log(scheduledate);\n if(scheduledate != undefined){\n let schDate = scheduledate.slice(0,19).replace('T',' ');\n console.log(schDate);\n data = {'pd_id':this.address_pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateSchedule = res;\n if(this.updateSchedule.dataStatus == true)\n {\n this.getNewpdupdate();\n \n this.initiatedAccess = true;\n }\n });\n }\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\n this.input_focus.setFocus();\n //this.input_focus.scrollToTop();\n this.scrolltop.scrollTop;\n }\n}\n\n getenableAccuracy()\n {\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.getcurrentLocation();\n },\n error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n });\n }\n getcurrentLocation() \n {\n let data:any;\n let options = {\n frequency: 3000, \n enableHighAccuracy: true,\n timeOut:1000,\n };\n \n this.timeInterval = setInterval(()=>{\n this.currentPosPDofficer = '';\n this.geolocation.getCurrentPosition(options).then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n if((resp as Geoposition).coords !=undefined){\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\n console.log(this.currentPosPDofficer);\n data = {'pd_id':this.address_pd_id,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\n {\n // this.updateinitiated = res;\n // if(this.updateinitiated.dataStatus == true)\n // { \n // // this.getNewpdupdate();\n // // this.startedAccess = true;\n // }else\n // {\n // this.startedAccess = false;\n // }\n })\n }\n }).catch((error)=>{\n this.toast.pdTriggerappmessage(error.message);\n })\n \n },this.timeOut);\n }\n pdreschedule()\n {\n this.scheduleAccess = true;\n this.initiatedAccess = false;\n }\n pdinitiated(appdetails)\n { let data:any;\n\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\n\n if(canRequest) {\n // the accuracy option will be ignored by iOS\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\n () => {\n this.geolocation.getCurrentPosition().then((resp) => {\n // resp.coords.latitude\n // resp.coords.longitude\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\n\n\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n this.getNewpdupdate();\n this.getcurrentLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n }).catch((error) => {\n console.log('Error getting location', error);\n });\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\n );\n }\n \n },error=>{\n console.log(\"currnpd\",this.currentPosPDofficer);\n alert(JSON.stringify(error))\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'INITIATED','mobile_no':mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':this.mainApplicant.applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer};\n this.pdDetails.updatepdStatus(data).subscribe(res=>\n {\n this.updateinitiated = res;\n if(this.updateinitiated.dataStatus == true)\n { \n console.log(\"status\",\"true\");\n this.getNewpdupdate();\n this.getcurrentLocation();\n this.startedAccess = true;\n }else\n {\n this.startedAccess = false;\n }\n })\n });\n }\n checkOTP(appdetails){\n let data:any;\n this.geolocation.getCurrentPosition().then((resp) => {\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n let mobile_no=this.other_applicant.filter(val=>val.additional_pd_id == this.address_allocated_data.pd_id).map(val=>val.mobile_no)[0]\n console.log(\"mobile\",mobile_no)\n if(mobile_no ==undefined){\n mobile_no=this.mainApplicant.mobile_no\n }\n data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer };\n console.log(data);\nthis.pdDetails.updatepdStatus(data).subscribe(res=>\n{\n this.updatestarted = res;\nif(this.updatestarted.dataStatus == true)\n{\n //appdetails.pd_id=this.address_pd_id\n //clearInterval(this.timeInterval);\n //console.log(\"appdetails\",appdetails)\n //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n this.getNewpdupdate();\n this.startedAccess=false\n this.checkOtpAccess=true\n \n}\nelse{\n this.checkOtpAccess=false\n}\n\n},err=>alert(JSON.stringify(err)));\n // console.log('Buy clicked');\n },err=>{\n alert(JSON.stringify(err))\n })\n }\n\n startPdDiscussion()\n {\n\n let data:any;\n let alert = this.alertCtrl.create({\n title: 'Start Discussion',\n message: 'Are you starting the Discussion',\n buttons: [\n {\n text: 'No',\n role: 'cancel',\n handler: () => {\n \n // console.log('Cancel clicked');\n // this.toast.pdTriggerappmessage('')\n }\n },\n {\n text: 'YES',\n handler: () => {\n // this.geolocation.getCurrentPosition().then((resp) => {\n // this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\n \n // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer };\n // console.log(data);\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\n // {this.updatestarted = res;\n // if(this.updatestarted.dataStatus == true)\n // {\n // appdetails.pd_id=this.address_pd_id\n // clearInterval(this.timeInterval);\n // console.log(\"appdetails\",appdetails)\n // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\n // }\n \n // })\n // // console.log('Buy clicked');\n // })\n clearInterval(this.timeInterval);\n //FOR GIVING THE CORRECT ADDRESS MASTER\n console.log(\"address\",this.address_allocated_data);\n //Assigning applicant details to the params\n let pdValues= this.address_allocated_data\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.setRoot(OtpPage,{'pdDetails':pdValues});\n } \n }\n ]\n });\n alert.present();\n }\n getNewpdupdate()\n {\n console.log(\"Started\",this.startedAccess)\n console.log(\"checkOtpAccess\",this.checkOtpAccess)\n this.acceptedAccess = false;\n this.initiatedAccess = false;\n this.scheduleAccess = false;\n this.startedAccess = false;\n this.checkOtpAccess = false;\n this.pdDetails.getpddetails(this.users).subscribe(res=>\n {\n this.appdata = res;\n if(this.appdata.dataStatus == true)\n {\n \n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\n // this.address_pd_status=this.applicatentDetails\n //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails\n let pdDetails_pdid=this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id :this.applicatentDetails.parent_pd_id\n let rec_pdid = {'pdid':pdDetails_pdid};\n this.pdDetails.getFullPDdetails(rec_pdid).subscribe(result=>{\n if(result['dataStatus']==true){\n this.addresses= result['records'].pd_address\n result['records'].pd_address.forEach(data=>{\n if(data.addtional_pd_data.length != 0){\n if(data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED'){\n // this.address_pd_id=data.addtional_pd_data[0].pd_id\n this.address_pd_status=data.addtional_pd_data[0].pd_status\n // this.address_allocated_data=data.addtional_pd_data[0]\n console.log(\"pd\",this.address_pd_id)\n return;\n }\n }\n })\n \n // if(this.applicatentDetails.pd_status == 'ALLOCATED')\n // {\n // this.acceptedAccess = true;\n // }\n // if(this.applicatentDetails.pd_status == 'ACCEPTED')\n // {\n // this.scheduleAccess = true;\n // this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n // }\n // if(this.applicatentDetails.pd_status == 'SCHEDULED')\n // {\n // this.initiatedAccess = true;\n // this.getFullPD();\n // this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n // }\n\n // if(this.applicatentDetails.pd_status == 'INITIATED')\n // {\n // this.startedAccess = true;\n // this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n // }\n\n if(this.address_pd_status == 'ALLOCATED')\n {\n this.acceptedAccess = true;\n }\n if(this.address_pd_status == 'ACCEPTED')\n {\n this.scheduleAccess = true;\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\n }\n if(this.address_pd_status == 'SCHEDULED')\n {\n this.initiatedAccess = true;\n this.getFullPD();\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\n }\n\n if(this.address_pd_status == 'INITIATED')\n {\n this.startedAccess = true;\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\n }\n if(this.address_pd_status == 'STARTED'){\n this.checkOtpAccess=true;\n }\n \n }\n })\n }\n \n })\n console.log(\"app\",this.applicatentDetails);\n \n }\n\n camerasetup()\n {\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\n }\n\n inWords(e){\n return this.constant.convertNumberToWords(+e);\n }\n\n inprogress(data,address_child){\n // data.pd_id=address_child.pd_id\n console.log(address_child)\n let pdValues=address_child\n pdValues.applicat_details=this.other_applicant\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pdValues})\n }\n mapAddress(values){\n const modalOptions:ModalOptions={\n cssClass:\"mapAddress\"\n }\n \n const modal=this.modalCtrl.create(MapAddressPage,{'master':this.pdMaster,'address':values,'applicants':this.other_applicant},modalOptions)\n modal.present();\n modal.onDidDismiss((data)=>{\n console.log(\"datas\",data)\n this.getFullPD();\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { Geolocation } from '@ionic-native/geolocation'; \nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n\n/**\n * Generated class for the OtpPage 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-otp',\n templateUrl: 'otp.html',\n})\nexport class OtpPage {\n\n \n timeLimit: any;\n reason_otp: any;\n users: any;\n timerOn: boolean = true;\n balance_time: string;\n otpStatus: any;\n pin:any;\n otpStatusAccess:boolean = true;\n applicatentDetails: any;\n commonImage:any;\n maxtime: any=30;\n //address_pd_id:any;\n \n reasonForm:FormGroup\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) {\n this.commonImage = this.commonconstant.commonimage;\n this.applicatentDetails = this.navParams.get('pdDetails');\n console.log(\"this\",this.applicatentDetails);\n // this.address_pd_id=this.navParams.get('address_pd_id')\n this.users = this.aws.getlocale();\n console.log(\"user\",this.users)\n this.reasonForm = this.fb.group(\n {\n reason:[null,Validators.compose([Validators.required])],\n others_reason:[null],\n })\n \n this.getDropdown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad OtpPage');\n }\n ionViewDidEnter(){\n //this.Menu.enable(false);\n this.setPermission();\n this.timer(120);\n \n }\n\n setPermission()\n {\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n ionViewWillLeave(){\n //this.Menu.enable(true);\n clearTimeout(this.timeLimit);\n }\n getDropdown()\n {\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\n console.log(this.reason_otp);\n \n }\n })\n }\n checkotp(otp)\n {\n //console.log(\"Otp\",otp)\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n //console.log(\"Otp\",res)\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }\n\n timer(remaining) {\n // console.log(remaining);\n let m:any = Math.floor(remaining / 60);\n let s:any = remaining % 60;\n \n m = m < 10 ? '0' + m : m;\n s = s < 10 ? '0' + s : s;\n // var balance_time = m + ':' + s;\n this.balance_time = m + ':' + s;\n remaining -=1;\n // console.log(this.balance_time);\n if(remaining >= 0 && this.timerOn) {\n this.timeLimit = setTimeout(()=> {\n this.timer(remaining);\n }, 1000);\n return;\n }\n \n if(!this.timerOn) {\n // Do validate stuff here\n return;\n }\n \n // Do timeout stuff here\n \n let data:any;\n let alert = this.alertCtrl.create({\n title: 'OTP Expired ',\n message: 'Do you want to resend the OTP ? ',\n buttons: [\n {\n text: 'Start PD Without OTP',\n \n handler: () => {\n \n this.otpStatusAccess = false;\n }\n },\n {\n text: 'Resend OTP',\n handler: () => {\n \n this.geolocation.getCurrentPosition().then((resp) => {\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\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};\n console.log(data);\n this.pddetails.updatepdStatus(data).subscribe(res=>\n {\n this.timer(60);\n })\n });\n // console.log('Buy clicked');\n \n } \n }\n \n ]\n \n });\n alert.present();\n }\n \n saveotpreasno()\n {\n console.log(this.reasonForm.value);\n if(this.reasonForm.valid)\n {\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};\n this.pddetails.checkotp(data).subscribe(res=>\n {\n this.otpStatus = res;\n if(this.otpStatus.dataStatus == true)\n {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\n }else\n {\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {Storage} from '@ionic/storage'\nimport {ToastProvider} from '../common-provider/toast'\n\n/*\n Generated class for the StorageProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n//const storage_key='form_Datas'\n\n@Injectable()\nexport class StorageProvider {\n\n constructor(public http: HttpClient,public storage:Storage,public toast:ToastProvider) {\n console.log('Hello StorageProvider Provider');\n }\ninsertData(data){\n this.toast.pdTriggerappmessage(this.storage.driver);\n const storage_key=data.pd_id\n console.log(\"storage provider\")\n console.log(data);\n console.log(JSON.stringify(data));\n \n console.log(\"sto\",this.storage.get(storage_key))\n return this.storage.get(storage_key).then((res)=>{\n console.log(\"res\",res)\n if(res != null ){\n let option:boolean=false\n if( res.length != 0 && res.length != undefined){\n // res.forEach((value)=>{\n // if(value.form_id==data.form_id){\n // option=true\n // }\n // })\n let current=res.filter(val=>val.form_id==data.form_id)\n console.log(\"current\",current);\n if(current.length > 0){\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n}\n let old_Data:any=[]\n old_Data=res\n console.log(\"old data\",old_Data)\n old_Data.push(data)\n return this.storage.set(storage_key,old_Data)\n \n }\n else{\n //res.push(data)\n // let dataValue=Object.keys(data).map(function(key){\n // return data[key];\n // })\n let value:any=[]\n value.push(data)\n return this.storage.set(storage_key,value)\n }\n })\n \n\n\n}\nretrieveLocalStorage(data){\n const storage_key=data.pd_id\n return this.storage.get(storage_key).then(res=>{\n console.log(\"storage get\",res)\n if(res != null){\n return res.filter(val=>val.form_id==data.form_id)\n \n }\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/storage/storage.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport{QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionRentalInfoPage} from '../pd-question-rental-info'\n/**\n * Generated class for the PdQuestionRentalDashPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n// @IonicPage()\n@Component({\n selector: 'page-pd-question-rental-dash',\n templateUrl: 'pd-question-rental-dash.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionRentalDashPage {\n pdDetails:any;\n form_details:any;\n pageTitle:any\n existing_rental_count_id: number=0;\n existing_rental_list: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.form_details=this.navParams.get('FormId');\n console.log(this.form_details);\n \n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalDashPage');\n \n }\n ionViewCanEnter(){\n this.getAllRentalInfo();\n }\n getAllRentalInfo(){\n this.existing_rental_list=[]\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id };\n this.qustCat.retiverForm(records).subscribe(res=>{\n if(res['dataStatus']==true){\n \n // console.log(\"rental\",rentalVal.length)\n // console.log(JSON.parse(res['records']))\n let rentalVal:any=res['records']\n \n \n console.log(\"tyeva\",typeof(rentalVal))\n let tempArray: any = [];\n let amt: any = [];\n this.existing_rental_count_id = rentalVal.length;\n // if(rentalVal.length >0){\n console.log(\"rental val\",rentalVal);\n \n rentalVal.forEach((value,index)=>{\n let annualRentAmt:any\n if(value.property_unit_details){\n let selectedUnit=Object.keys(value.property_unit_details).map(function(key){\n return value.property_unit_details[key]\n });\n if(selectedUnit.length>0){\n selectedUnit.forEach((element,innerIndex)=>{\n tempArray[innerIndex]=element.monthly_rent_amount\n annualRentAmt=tempArray.reduce((sum,val)=> sum+ +val,0);\n annualRentAmt=annualRentAmt*12;\n })\n }\n else{\n annualRentAmt=0;\n }\n amt[index]=annualRentAmt\n }\n let params={'state_id':value.state,'city_id':value.city,'pincode_id':value.pincode}\n this.qustCat.getStateCityNamesAndPincode(params).subscribe(datas=>{\n if(datas.dataStatus==true){\n let obj={\n 'address':value.address_property,\n 'applicants_rent': amt[index],\n 'state': datas.records.state_name,\n 'city': datas.records.city_name,\n 'pincode': datas.records.pincode,\n 'rental_count_id': value.rental_count_id,\n 'rental_existing_data': value\n }\n this.existing_rental_list.push(obj)\n console.log(\"modify\",this.existing_rental_list);\n }\n })\n })\n }\n else{\n this.existing_rental_count_id=0\n // this.addMore();\n }\n })\n console.log(\"ren\",this.existing_rental_list);\n }\n editDet(values){\n let passValues: any = {\n manage_status: 2,\n existing_rental_count_id: values.rental_count_id,\n editData: values\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{'values':passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n console.log(\"hai\");\n console.log(\"d\",values)\n }\n addMore(){\n let passValues: any = {\n manage_status: 1,\n // parentData: this.parentData,\n // masterData: this.masterData,\n existing_rental_count_id: this.existing_rental_count_id + 1,\n }\n this.navCtrl.push(PdQuestionRentalInfoPage,{\"values\":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionSupplsierInfoPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-supplier-info',\n templateUrl: 'pd-question-supplier-info.html',\n})\n\nexport class PdQuestionSupplierInfoPage {\n users: any;\n pdDetails: any;\n formDetails: any;\n company_id: any;\n form_id: any;\n questionDetails: any;\n supplierInfoForm: FormGroup;\n\n business_manufacturingProducts: any = [];\n business_tradingProducts: any = [];\n m_titleList: any = [];\n m_paymentList: any = [];\n m_companyRelationShipList: any = [];\n\n noRecordsFound: Boolean = false;\n public submitted = false;\n errorMessage: any = '';\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder,\n public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider,\n public toast: ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider) \n {\n\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id = this.pdDetails.company_id;\n this.users = this.aws.getlocale();\n\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.initFormLoadDetails(datas.type_of_activity);\n this.business_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.business_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropList();\n }\n\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\n this.getPDImages();\n }\n\n\n serviceProviderForm: Boolean = false;\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdDetails.pd_id;\n params.pd_form_id = this.form_id;\n params.company_id = this.company_id;\n\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus'] == true) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.supplierInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if (dataForm.manufacturing_details[0] != null) {\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\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);\n }\n else {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\n }\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if (dataForm.trade_details[0] != null) {\n let api_trading_products = dataForm.trade_details[0].trading_products;\n this.initTradingProductsDetails(api_trading_products);\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);\n }\n else {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.serviceProviderForm = true;\n } \n this.noRecordsFound = true;\n } else {\n this.supplierInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\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);\n }\n this.noRecordsFound = true;\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.serviceProviderForm = true;\n }\n } else {\n this.supplierInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n formid: [this.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.serviceProviderForm = true;\n }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_raw_material_name: [''],\n manufacturing_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: [''],\n manufacturing_frequency_of_purchase: [''],\n person_stdcode: [''],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [''],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n\n })\n } else {\n return this.fb.group({\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\n person_stdcode: [records.person_stdcode || null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline || null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_supplier_name: [''],\n person_title_name: [''],\n person_designation: [''],\n other_person_designation: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [null],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [null],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n person_title_name: [records.person_title_name],\n person_designation: [records.person_designation],\n other_person_designation: [records.other_person_designation],\n trade_supplier_name: [records.trade_supplier_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\n person_stdcode: [records.person_stdcode],\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\n person_landline: [records.person_landline],\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.m_companyRelationShipList = data['records']\n //.filter(data => data.isactive == 1); \n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n\n saveSupplierInfo(FormValues) {\n\n var answerFormValues = FormValues;\n\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.supplierInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n e == 1 ? '' : '';\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n e == 1 ? '' : '';\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n checkCard(e, flag, index) {\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n }\n\n selectedPaymentTerms(items, e, flag) {\n if (flag == 2) {\n if (e == 3) {\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['trade_product_credit_days_from'].clearValidators();\n items.controls['trade_product_credit_days_from'].setValue('');\n items.controls['trade_product_credit_days_to'].clearValidators();\n items.controls['trade_product_credit_days_to'].setValue('');\n }\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\n }\n else if (flag == 1) {\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\n }\n else {\n items.controls['manufacturing_credit_days_from'].clearValidators();\n items.controls['manufacturing_credit_days_from'].setValue('');\n items.controls['manufacturing_credit_days_to'].clearValidators();\n items.controls['manufacturing_credit_days_to'].setValue('');\n }\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\n }\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionStockInfoPage 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-stock-info',\n templateUrl: 'pd-question-stock-info.html',\n})\nexport class PdQuestionStockInfoPage {\n\n uomData: any;\n uomDataValue:any;\n rawmaterial: any;\n users: any;\n formDetails: any;\n pdDetails: any;\n company_id: any;\n pdid: any;\n stockForm: FormGroup;\n noRecordsFound: Boolean;\n errorMessage: any = '';\n M_rawValueInWords: any = [];\n M_goodsValueInWords: any = [];\n R_tradedGoodsValueInWords: any = [];\n T_tradedGoodsValueInWords: any = [];\n mrmCommentFlag: any = [];\n mfgCommentFlag: any = [];\n rtrdCommentFlag: any = [];\n wtrdCommentFlag: any = [];\n serviceProviderForm: Boolean = false;\n suppliers_raw_materials: any = [];\n suppliers_retail_trade_details: any = [];\n suppliers_wholesale_trade_details: any = [];\n suppliers_finished_goods: any = [];\n\n protected _onDestroy = new Subject();\n\n RMCommentCard: boolean = false;\n TGCommentCard: boolean = false\n public RMsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",disabled:false},{value:\"no\",isdisplayvalue:\"No\",disabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",disabled:false}];\n public TGsufficientList: any = [{value:\"yes\",isdisplayvalue:\"Yes\",isdisabled:false},{value:\"no\",isdisplayvalue:\"No\",isdisabled:false},{value:\"not applicable\",isdisplayvalue:\"Stock not required to be maintained\",isdisabled:false}];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, \n public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.company_id = this.pdDetails.company_id;\n this.pdid = this.pdDetails.pd_id; \n this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(data => {\n if (data.dataStatus == true) {\n this.initstockForm(data.record);\n }\n else if (data.dataStatus == false) {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }, err => {\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n })\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\n this.getPDImages();\n }\n\n public initstockForm(record) {\n let api = Object.keys(record.from_business).map(function (key) {\n return record.from_business[key];\n });\n if (record.from_business.length > 0) {\n let type2 = record.from_business.filter(data => data.type_of_activity_id == 2);\n let type2length = type2[0].hasOwnProperty(\"products\") ? type2[0].products.length : 0;\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\n\n\n let rm_api = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id;\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(value => {\n if (value['status'] == 200) {\n let dataForm = value['records'];\n // dataForm.manufacturing_details.forEach(top=>{\n // top.manufacturing_finished_goods.forEach(below1=>{\n // below1.uomSearch=''\n // })\n // top.manufacturing_raw_materials.forEach(below2=>{\n // below2.uomSearch=''\n // })\n // })\n if (dataForm !== undefined) {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [dataForm.stock_remarks],\n\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\n is_sufficiant_finished_and_traded_goods: [dataForm.is_sufficiant_finished_and_traded_goods],\n finished_and_traded_goods_remarks: [dataForm.finished_and_traded_goods_remarks],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\n let manufacturing_temparr = [];\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials;\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods;\n this.initManufacturingDetails(manufacturing_temparr);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let retail_temparr = [];\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\n\n this.initRetailDetails(retail_temparr);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n let trading_temparr = [];\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\n console.log(\"Trade\", trading_temparr)\n this.initTradingDetails(trading_temparr);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n else {\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.suppliers_service_product = val.products;\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n }\n else {\n console.log(\"Record\", record)\n this.stockForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n stock_remarks: [''],\n\n // is_sufficiant_raw:[''],\n // rawmaterial_remarks:[''],\n is_sufficiant_finished_and_traded_goods: [''],\n finished_and_traded_goods_remarks: [''],\n\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record,type2length)]),\n retail_details: this.fb.array([this.retailFormCreation(type3length)]),\n\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 2) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_finished_goods = val.products;\n this.suppliers_raw_materials = rm_api;\n this.initManufacturingDetails(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\n }\n }\n if (val.type_of_activity_id == 3) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_retail_trade_details = val.products;\n this.initRetailDetails(null);\n }\n }\n if (val.type_of_activity_id == 4) {\n if (val.products) {\n // this.finishedAndTradedGoodsCommentCard = true;\n this.suppliers_wholesale_trade_details = val.products;\n this.initTradingDetails(null);\n }\n }\n if (val.type_of_activity_id == 5) {\n if (val.products) {\n // this.suppliers_service_product = val.products;\n this.serviceProviderForm = true;\n }\n }\n });\n this.noRecordsFound = true;\n }\n }\n })\n }\n else {\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + this.company_id);\n this.noRecordsFound = false;\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id + '! ....';\n return;\n }\n }\n\n \n\n\n getdropdown() {\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if (data['dataStatus'] == true) {\n this.uomData = data['records'].filter(uom => uom.isactive == 1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\n this.uomDataValue=this.uomData.slice();\n }\n });\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(record,length) {\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\n let rm_arr = record.from_supplier.hasOwnProperty(\"raw_material\") ? record.from_supplier.raw_material : [];\n //console.log(\"Manufacturing \",arr);\n //console.log(\"rm_arr\",rm_arr);\n if (length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n } else {\n return this.fb.group({\n is_sufficiant_raw: [],\n rawmaterial_remarks: [],\n manufacturing_raw_materials: this.fb.array([]),\n manufacturing_finished_goods: this.fb.array([]),\n })\n // return;\n }\n }\n\n retailForm: Boolean = false;\n retailFormCreation(val) {\n //let arr = val.filter(data => data.type_of_activity_id == 3);\n let arr = val\n // console.log(\"retail Form \", arr);\n if (arr > 0) {\n // if(arr.products != undefined){\n this.retailForm = true;\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // }else{\n // this.retailForm = false;\n // return;\n // } \n } else {\n return this.fb.group({\n retail_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n let arr = val\n //let arr = val.filter(data => data.type_of_activity_id == 4);\n\n if (arr > 0) {\n\n // if(arr.products === undefined){\n\n // this.tradingForm = false;\n // return;\n // }\n this.tradingForm = true;\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n } else {\n return this.fb.group({\n trading_traded_goods: this.fb.array([])\n });\n // return;\n }\n }\n\n initManufacturingDetails(datas) {\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n if (this.suppliers_raw_materials.length > 0) {\n this.suppliers_raw_materials.forEach(val => {\n let Ref_RawMaterials: any = {\n 'raw_name': val,\n 'stock_observed': '',\n 'raw_quantity': '',\n 'raw_uom': '',\n 'other_uom': '',\n 'raw_value': '',\n 'is_sufficiant_raw': '',\n 'rawmaterial_remarks': ''\n };\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (this.suppliers_finished_goods.length > 0) {\n this.suppliers_finished_goods.forEach(val => {\n let Ref_Finished_Goods: any = {\n 'goods_name': val,\n 'goods_observed': '',\n 'goods_quantity': '',\n 'goods_uom': '',\n 'goods_other_uom': '',\n 'goods_value': '',\n 'is_sufficiant_goods': '',\n 'finishedgoods_remarks': ''\n };\n finishedGoods.push(this.createGoods(Ref_Finished_Goods));\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n } else {\n if (datas.manufacturing_raw_materials != undefined) {\n datas.manufacturing_raw_materials.forEach((val, index) => {\n if (val.raw_value) {\n this.inWords(val.raw_value, 1, index);\n }\n // this.checkComments(val.is_sufficiant_raw,1,index);\n this.checkComments(val.stock_observed, 1, index);\n rawMaterial.push(this.createRawmaterial(val));\n });\n }\n else {\n rawMaterial.push(this.createRawmaterial(null));\n }\n if (datas.manufacturing_finished_goods != undefined) {\n datas.manufacturing_finished_goods.forEach((val, index) => {\n if (val.goods_value) {\n this.inWords(val.goods_value, 2, index);\n }\n // this.checkComments(val.is_sufficiant_goods,2,index);\n this.checkComments(val.goods_observed, 2, index);\n finishedGoods.push(this.createGoods(val));\n\n });\n }\n else {\n finishedGoods.push(this.createGoods(null));\n }\n }\n }\n\n createRawmaterial(records) {\n if (records === null) {\n return this.fb.group({\n raw_name: [''],\n stock_observed: [''],\n raw_quantity: [''],\n raw_uom: [''],\n uomSearch:[null],\n other_uom: [''],\n raw_value: [''],\n is_sufficiant_raw: [''],\n rawmaterial_remarks: ['']\n })\n } else {\n return this.fb.group({\n raw_name: [records.raw_name],\n stock_observed: [records.stock_observed],\n raw_quantity: [records.raw_quantity],\n raw_uom: [records.raw_uom],\n uomSearch:[null],\n other_uom: [records.other_uom],\n raw_value: [records.raw_value],\n is_sufficiant_raw: [records.is_sufficiant_raw],\n rawmaterial_remarks: [records.rawmaterial_remarks]\n })\n }\n }\n\n initRetailDetails(datas) {\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n if (datas === null) {\n if (this.suppliers_retail_trade_details.length > 0) {\n // this.rawMaterialAccess = true;\n this.suppliers_retail_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n 'is_sufficiant_traded_goods': '',\n 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n } else {\n if (datas.retail_traded_goods !== undefined) {\n datas.retail_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 3, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\n this.checkComments(val.traded_goods_observed, 3, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n\n createGoods(records) {\n if (records === null) {\n return this.fb.group({\n goods_name: [''],\n goods_observed: [''],\n goods_quantity: [''],\n goods_uom: [''],\n uomSearch:[null],\n goods_other_uom: [''],\n goods_value: [''],\n is_sufficiant_goods: [''],\n finishedgoods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n goods_name: [records.goods_name],\n goods_observed: [records.goods_observed],\n goods_quantity: [records.goods_quantity],\n goods_uom: [records.goods_uom],\n uomSearch:[null],\n goods_other_uom: [records.goods_other_uom],\n goods_value: [records.goods_value],\n is_sufficiant_goods: [records.is_sufficiant_goods],\n finishedgoods_remarks: [records.finishedgoods_remarks]\n })\n }\n }\n\n initTradingDetails(datas) {\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n if (datas === null) {\n if (this.suppliers_wholesale_trade_details.length > 0) {\n this.suppliers_wholesale_trade_details.forEach(val => {\n let Ref_Trade_Goods: any = {\n 'traded_goods_name': val,\n 'traded_goods_observed': '',\n 'traded_goods_quantity': '',\n 'traded_goods_uom': '',\n 'traded_goods_other_uom': '',\n 'estimated_traded_goods_value': '',\n 'is_sufficiant_traded_goods': '',\n 'traded_goods_remarks': ''\n };\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n\n } else {\n if (datas.trading_traded_goods !== undefined) {\n datas.trading_traded_goods.forEach((val, index) => {\n if (val.estimated_traded_goods_value) {\n this.inWords(val.estimated_traded_goods_value, 4, index);\n }\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\n this.checkComments(val.traded_goods_observed, 4, index);\n tradedGoods.push(this.createTradedGoods(val));\n });\n }\n else {\n tradedGoods.push(this.createTradedGoods(null));\n }\n }\n }\n\n createTradedGoods(records) {\n if (records === null) {\n return this.fb.group({\n traded_goods_name: [''],\n traded_goods_observed: [''],\n traded_goods_quantity: [''],\n traded_goods_uom: [''],\n uomSearch:[null],\n traded_goods_other_uom: [''],\n estimated_traded_goods_value: [''],\n is_sufficiant_traded_goods: [''],\n traded_goods_remarks: ['']\n });\n }\n else {\n return this.fb.group({\n traded_goods_name: [records.traded_goods_name],\n traded_goods_observed: [records.traded_goods_observed],\n traded_goods_quantity: [records.traded_goods_quantity],\n traded_goods_uom: [records.traded_goods_uom],\n uomSearch:[null],\n traded_goods_other_uom: [records.traded_goods_other_uom],\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\n is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\n traded_goods_remarks: [records.traded_goods_remarks]\n })\n }\n }\n\n /** Manufacturing -> To Add More Raw Material Details */\n addRawMaterials(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.push(this.createRawmaterial(null));\n }\n }\n\n /** Manufacturing -> To Remove Raw Material Details */\n deleteRawMaterials(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\n control.removeAt(index);\n }\n }\n\n /** Manufacturing -> To Add More Finished Goods */\n addGoods(flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.push(this.createGoods(null));\n }\n }\n\n /** Manufacturing -> To Remove Finished Goods */\n deleteGoods(index, flag) {\n if (flag == 1) {\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\n control.removeAt(index);\n }\n }\n\n /**\n * Case 1 Retail Traded -> To Add More trade Goods\n * Case 2 wholesale Traded -> To Add More trade Goods\n */\n addTradedGoods(flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.push(this.createTradedGoods(null));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /**\n * Case 1 Retail Traded -> To remove trade Goods\n * Case 2 wholesale Traded -> To remove trade Goods\n */\n deleteTradedGoods(index, flag) {\n switch (flag) {\n case 1: {\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\n control.removeAt(index);\n break;\n }\n case 2: {\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\n control.removeAt(index);\n break;\n }\n default: {\n break;\n }\n }\n\n //const control = this.stockForm.controls['traded_goods'];\n\n }\n\n ManufacturingCounterArray: any = [];\n FinishedCounterArray: any = [];\n RetailCounterArray: any = [];\n WholeSaleCounterArray: any = [];\n\n not_stock_of_rm: any = [];\n not_stock_of_fg: any = [];\n not_stock_of_tg: any = [];\n not_stock_of_ws: any = [];\n checkComments(value, flag, index) {\n \n console.log(value, flag, index);\n if (flag == 1) {\n \n this.ManufacturingCounterArray[index] = value != \"\" ? 1 : 0;\n this.not_stock_of_rm[index] = value == \"yes\" ? 1 : 0;\n\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\n\n let not_stock1 = this.not_stock_of_rm.reduce((sum, val) => sum + +val, 0);\n console.log('value',value);\n console.log('not_stock1',not_stock1);\n if(not_stock1 > 0){ \n console.log('not_stock1',not_stock1);\n this.RMsufficientList[0].disabled = false;\n this.RMsufficientList[2].disabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock1 == 0){ \n console.log('0',not_stock1);\n this.RMsufficientList[0].disabled = true;\n this.RMsufficientList[2].disabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('this.RMsufficientList',this.RMsufficientList);\n }\n \n if(flag == 2) {\n this.FinishedCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_fg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 3) {\n this.RetailCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_tg[index] = value == \"yes\" ? 1 : 0;\n }\n if (flag == 4) {\n this.WholeSaleCounterArray[index] = value != \"\" ? 1 : 0\n this.not_stock_of_ws[index] = value == \"yes\" ? 1 : 0;\n }\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\n\n let not_stock_fg = this.not_stock_of_fg.reduce((sum, val) => sum + +val, 0);\n let not_stock_ws = this.not_stock_of_ws.reduce((sum, val) => sum + +val, 0);\n let not_stock_tg = this.not_stock_of_tg.reduce((sum, val) => sum + +val, 0);\n let not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg;\n console.log('not_stock2',not_stock2);\n if(not_stock2 > 0){ \n console.log('not_stock2',not_stock2);\n this.TGsufficientList[0].isdisabled = false;\n this.TGsufficientList[2].isdisabled = true;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n }\n else if(not_stock2 == 0){ \n console.log('0',not_stock2);\n this.TGsufficientList[0].isdisabled = true;\n this.TGsufficientList[2].isdisabled = false;\n // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable');\n }\n console.log('Data',this.TGsufficientList);\n // else if(not_stock == 0){ \n // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue('');\n // }\n \n }\n\n\n /** To Save/Edited Popup Data */\n saveStockInfo(answerFormValues) {\n //To Remove The \"Null\" With Key also\n // if(answerFormValues.manufacturing_details){\n // answerFormValues.manufacturing_details.forEach(parent=>{\n // if(parent.manufacturing_finished_goods){\n // parent.manufacturing_finished_goods.forEach(finish_goods=>{\n // delete finish_goods.uomSearch\n // })\n // }\n // if(parent.manufacturing_raw_materials){\n // parent.manufacturing_raw_materials.forEach(raw_mat=>{\n // delete raw_mat.uomSearch\n // })\n // }\n // })\n // }\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.stockForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(() => {\n this.navCtrl.pop();\n }, 2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n }\n\n inWords(e, flag: number, i) {\n switch (flag) {\n case 1:\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 2:\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n case 4:\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n searchFun(control,index){\n console.log(\"control\",control.controls['uomSearch'].value)\n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.uomDataValue=this.constant.searchData(this.uomData,control.controls['uomSearch'].value,'')\n })\n \n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n\n}\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,ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\nimport { FormGroup,Validators,FormBuilder, FormArray } from '@angular/forms'\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionFinancialInfoPage 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-financial-info',\n templateUrl: 'pd-question-financial-info.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class PdQuestionFinancialInfoPage {\n \n public financialForm: FormGroup;\n\n pdDetails:any;\n FormId:any;\n users:any;\n company_id:any;\n isDisplay:boolean;\n customerCommentsFlag:boolean;\n FY_annualSalesInwords: any =[]\n FY_netProfitAmtInwords: any=[]\n FY_netLossAmtInwords: any=[]\n AV_annualSalesInwords: any=[]\n AV_netProfitAmtInwords: any=[]\n AV_netLossAmtInwords: any=[]\n AV_netProfitAmtFrmInwords: any=[]\n AV_netProfitAmtToInwords: any=[]\n AV_netLossAmtFrmInwords: any=[]\n AV_netLossAmtToInwords: any=[]\n AV_SalesFrmInwords: any=[]\n AV_SalesToInwords: any=[]\n AV_SalesInwords: any=[];\n AV_marginProfitAmtInwords: any=[];\n AV_marginLossAmtInwords: any=[];\n formDetails: any;\n CustSegAbbr:any;\n\n av : any =[{id:6, name:'Letter of Credit'},\n {id:2, name:'Bank Guarantee'},\n {id:3, name:'Cash Credit Limit'},\n {id:7, name:'OD Limit'},\n {id:4, name:'Factoring'},\n {id:5, name:'Forfaiting'},\n {id:1, name:'Others'}]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,\n public fb:FormBuilder,public cons:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.FormId = this.formDetails.form_id;\n // this.FormId=this.navParams.get('FormId');\n this.company_id=this.pdDetails.company_id\n this.users=this.aws.getlocale();\n let x = this.pdDetails.customer_segment_abbr.split(\"-\");\n this.CustSegAbbr=x[1]\n \n this.initFinancialForm()\n // console.log(\"ld\",this.financialForm.controls['estimated_value'])\n // if(this.financialForm.controls['estimated_value']['controls'].length>0){\n // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls)\n // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average']\n // console.log(estime_value)\n // estime_value.valueChanges.subscribe(res=>{\n // console.log(\"changes\",res);\n // })\n//}\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\n this.getDetails()\n this.getPDImages();\n }\n\n AllCalculation(control,index){\n console.log(\"all\",control)\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != ''){\n console.log(\"calculate marginP\")\n this.calculateMarginProfit(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != ''){\n console.log(\"calculate Profit \")\n this.calculateProfitAmount(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='yes'){\n if(control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != ''){\n console.log(\"calculate marginL\")\n this.calculateMarginLoss(index,control)\n }\n }\n if(control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value =='no'){\n if(control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != ''){\n console.log(\"calculate Loss\")\n this.calculateLossAmount(index,control)\n }\n }\n }\n selectedStatement(e :any):void{\n\n if(e == 'yes'){\n\n this.isDisplay = true;\n this.financialForm.controls['is_financial_customer'].setValue('');\n \n }\n else if(e == 'no'){\n\n this.isDisplay = false;\n this.financialForm.controls['is_financial_customer'].setValue('no');\n // this.selectedFinancialCustomer('no');\n \n const statementControl = this.financialForm.controls['date_per_financial'];\n \n while (statementControl.length !== 0) {\n statementControl.removeAt(0);\n }\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n this.financialForm.controls['financial_starting_year'].setValue('');\n this.financialForm.controls['financial_no_of_year'].setValue('');\n\n // alert((new Date()).getFullYear());\n // let year1 = (new Date()).getFullYear();\n // let year2 = ((new Date()).getFullYear() + 1); \n // let Year = year1 +'-'+ year2;\n \n }\n\n}\n /** fin customer data from Fin statement*/\n selectedFinancialCustomer(e: any): void {\n if(e == 'yes'){\n const control = this.financialForm.controls['estimated_value'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n }\n else if (e == 'no'){\n const control = this.financialForm.controls['estimated_value'];\n control.push(this.createValue('')); \n }\n }\n\n selectedProfitOrLossType(e,detail){\n \n if(e.value == 1){\n detail.controls.financial_net_loss.setValue('');\n detail.controls.financial_margin_of_loss.setValue('');\n }\n else if(e.value == 2){\n detail.controls.financial_net_profit.setValue('');\n detail.controls.financial_margin_of_profit.setValue('');\n }\n}\n\n\n /** For Auto-generating FinYear */\n dynamicalFinYear($event){\n \n // let e = $event.target.value;\n let e =this.financialForm.controls['financial_no_of_year'].value\n if(e != null && e != ''){\n if(e == 1){\n this.customerCommentsFlag = false;\n }\n else{\n this.customerCommentsFlag = true;\n }\n\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\n\n const control = this.financialForm.controls['date_per_financial'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n for(let i = 1 ; i<= e ; i++ ){\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\n control.push(this.createDate(Year));\n }\n }\n}\n }\n\n\n initFinancialForm(){\n this.financialForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n company_id: this.company_id,\n fk_createdby: this.users,\n financial_remarks: [''],\n is_financial_statements:[''],\n is_financial_customer:[''],\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n financial_no_of_year : [''],\n financial_reason: [''],\n financial_customer:[''],\n receive_the_money_in_days:[''],\n pay_the_money_in_days:[''],\n unsold_stock_lies_in_days:[''],\n is_there_working_capital_available:[''],\n working_capital_facilities_availed:[''],\n reason_for_working_capital_facilities_availed:[''],\n // same_as_financial_statements:[''],\n date_per_financial: this.fb.array([]),\n estimated_value: this.fb.array([])\n });\n }\n createDate(date){\n return this.fb.group({\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\n finanical_profit_or_loss:[''],\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\n financial_margin_of_profit: [''],\n financial_margin_of_loss: [''],\n financial_variation: [''],\n financial_profit_to_sale_variation:[''],\n financial_annualsales_variation : [''],\n })\n }\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\n createValue(date) {\n return this.fb.group({\n \n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\n estimate_sales_from: [''],\n estimate_sales_to: [''],\n estimate_sales_average: [''],\n estimate_profit_or_loss:[''],\n estimate_net_margin_availablity:[''],\n estimate_profit_range_from:[''],\n estimate_profit_range_to:[''],\n estimate_profit_margin_percent:[''],\n estimate_profit_margin:[''],\n estimate_net_profit_from:[''],\n estimate_net_profit_to:[''],\n estimate_net_profit_percent:[''],\n estimate_net_profit:[''],\n estimate_loss_range_from:[''],\n estimate_loss_range_to:[''],\n estimate_loss_margin_percent:[''],\n estimate_loss_margin:[''],\n estimate_net_loss_from:[''],\n estimate_net_loss_to:[''],\n estimate_net_loss_percent:[''],\n estimate_net_loss:[''],\n estimate_reason_for_loss:[''],\n // estimate_receive_the_money_in_days:[''],\n // estimate_pay_the_money_in_days:[''],\n // estimate_unsold_stock_lies_in_days:[''],\n // estimate_working_capital_facilities_availed:[''],\n // reason_for_working_capital_facilities_availed:[''],\n // is_there_working_capital_available:['']\n\n });\n}\nsubmitDetails(){\n \n \n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\n \n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\n \n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\n \n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \n \n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\n \n}\n let records=this.financialForm.value;\n this.qustCat.saveForm(records).subscribe(res=>{\n if(res['status']== 200){\n this.financialForm.markAsUntouched();\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\n }\n },err=>{\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\n })\n}\n getDetails(){\n const financeDate=this.financialForm.controls['date_per_financial']\n //financeDate.push(this.createDate(''))\n const estimate= this.financialForm.controls['estimated_value']\n //estimate.push(this.createValue(''))\n let params:any={}\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.pd_form_id=this.FormId\n params.company_id=this.company_id\n this.qustCat.retiverForm(params).subscribe(value=>{\n if(value['dataStatus']==true){\n let retrieveData=value['records'];\n if(value['records'].is_financial_statements == 'yes'){\n this.isDisplay = true;\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\n return value['records'].date_per_financial[key]\n })\n if(result.length>0){\n this.customerCommentsFlag=result.length == 1 ? false : true\n result.forEach((val,index)=>{\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\n financeDate.push(this.createDate(''));\n });\n retrieveData.date_per_financial=result;\n }\n else{\n financeDate.push(this.createDate(''))\n }\n }\n if(this.CustSegAbbr != 'AI'){\n if(value['records'].is_financial_customer == 'no'){\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\n return value['records'].estimated_value[key]\n });\n if(result_val.length>0){\n result_val.forEach((val,index)=>{\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\n estimate.push(this.createValue(''))\n });\n retrieveData.estimated_value=result_val\n }\n else{\n estimate.push(this.createValue(''));\n }\n }\n}\n retrieveData.parent_pdid=this.pdDetails.parent_pd_id\n retrieveData.pdid=this.pdDetails.pd_id\n retrieveData.company_id=this.company_id\n retrieveData.fk_createdby=this.users\n retrieveData.formid=this.FormId\n this.financialForm.setValue(retrieveData)\n }\n else {\n //financial_date.push(this.createDate());\n //estimated_val.push(this.createValue(''));\n }\n })\n }\n\n /**\n * New Calculation for Finanical Statement \n **/\n calculationForFinanicalStatement(){\n \n let parentArray = this.financialForm.controls['date_per_financial'];\n // let prev_annual_sale : any = '';\n // let prev_profit_margin : any = '';\n // let prev_loss_margin : any = '';\n // let prev_profit_amt : any = '';\n // let prev_loss_amt : any = '';\n // let profit_margin : any = '';\n // let loss_margin : any = '';\n // let annual_sale : any = '';\n // let profit_amt : any = '';\n // let loss_amt : any = '';\n let prev_annual_sale : any = '';\n let prev_profit_margin : any = [];\n let prev_loss_margin : any = [];\n let prev_profit_amt : any = '';\n let prev_loss_amt : any = '';\n let profit_margin : any = '';\n let loss_margin : any = '';\n let annual_sale : any = '';\n let profit_amt : any = '';\n let loss_amt : any = '';\n\n parentArray.value.forEach((val,index) => {\n\n let childArray : any = parentArray.controls[index];\n annual_sale = val.financial_annual_sale;\n \n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \n * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales\n * Label name : \" Sale Variation from Previous Year in % \"\n */\n \n if (index != 0) { \n if(annual_sale != ''){\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\n }\n }\n else{\n childArray.controls.financial_annualsales_variation.setValue(0.00);\n }\n \n\n prev_annual_sale = annual_sale;\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\n\n\n profit_amt = val.financial_net_profit;\n loss_amt = val.financial_net_loss;\n\n /** Calculating Profit's Variation - STARTS HERE\n * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount\n * Label name : \"Profit Variation from Previous Year in %\"\n */\n if((profit_amt != '' || loss_amt != '') && index != 0) {\n if(+profit_amt > +annual_sale){\n childArray.controls.financial_margin_of_profit.setValue('');\n } \n else{\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\n\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; \n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\n childArray.controls.financial_variation.setValue(final_variation);\n\n }\n }\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\n\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \n * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss )\n * Label name : \"Net Profit to Sales in % (or) Net Loss to Sales in % \n **/\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\n \n if(SelectedlossOrProfit == 1){\n\n loss_margin = '';\n childArray.controls.financial_margin_of_loss.setValue('');\n \n if (annual_sale != '' && val.financial_net_profit != '') {\n if(+profit_amt>+annual_sale){\n alert(\"profit is greater than Annual Sale \");\n childArray.controls.financial_net_profit.setValue(0);\n childArray.controls.financial_margin_of_profit.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\n \n }\n }\n }\n else if(SelectedlossOrProfit == 2){\n profit_margin = '';\n childArray.controls.financial_margin_of_profit.setValue('');\n \n if (annual_sale != '' && val.financial_net_loss != '') {\n if(+val.financial_net_loss>+annual_sale){\n alert(\"Loss is greater than Annual Sale \");\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n if(+loss_amt>+annual_sale){\n childArray.controls.financial_net_loss.setValue(0);\n childArray.controls.financial_margin_of_loss.setValue('');\n childArray.controls.financial_profit_to_sale_variation.setValue('');\n childArray.controls.financial_variation.setValue('');\n }\n else{\n \n\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\n\n\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\n \n }\n }\n }\n // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit);\n // console.log('profit_margin',profit_margin);\n // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value);\n // prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\n // prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\n prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0;\n prev_loss_margin[index] = loss_margin !='' ? loss_margin : 0 ;\n \n \n // if(index != 0 ){\n \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; \n \n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\n \n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\n\n // }\n\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\n\n /** Calculating Sales's Profit Variation \n * Label name = \"Variation of Profit % over sales\"\n **/\n \n if ((profit_margin != '' || loss_margin != '') && index != 0) {\n \n \n // console.log('temp_prev_losses',prev_loss_margin);\n // console.log('temp_prev_profits',prev_profit_margin);\n\n // console.log('curr index',index);\n\n loss_margin = loss_margin !== undefined ? loss_margin : 0;\n profit_margin = profit_margin !== undefined ? profit_margin:0;\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\n\n // console.log('profit_margin',profit_margin);\n // console.log('pre year loss_margin',temp_prev_loss_margin);\n // console.log('loss_margin',loss_margin);\n // console.log('pre year profit_margin',temp_prev_profit_margin);\n\n \n if(annual_sale != ''){\n\n \n let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\n let b = a / (temp_prev_profit_margin != 0 ? Math.abs(temp_prev_profit_margin) : Math.abs(temp_prev_loss_margin));\n let c = b * 100;\n \n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\n \n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\n }\n }\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\n\n\n });\n }\n \n \n confirmAlert(i, details){\n\n let estimate_sales_from = +details.value.estimate_sales_from;\n let estimate_sales_to = +details.value.estimate_sales_to;\n\n if (estimate_sales_from != null && estimate_sales_to != null){\n \n if(+estimate_sales_from>+estimate_sales_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_sales_to.setValue('');\n details.controls.estimate_sales_average.setValue('');\n return;\n }\n\n let C = (estimate_sales_to - estimate_sales_from)\n let D = (C / estimate_sales_from) * 100;\n \n if(estimate_sales_from <= 5000000){\n if(D > 20){\n var r = confirm(\"Given Sales Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\n if(D > 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else if(estimate_sales_from > 10000000){\n if(D > 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \n }else{\n details.controls.estimate_sales_to.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n }\n else{\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\n }\n\n // if(D >= 30){\n // var r = confirm(\"Given Sales Range is greater than 30%\");\n // if (r == true) {\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \n // }else{\n // details.controls.estimate_sales_to.setValue('');\n // return;\n // }\n // }\n // else{\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\n // }\n }\n this.calculateSalesAverage(i, details);\n }\n\n calculateSalesAverage(i, details){\n \n let estimate_sales_from = details.value.estimate_sales_from;\n let estimate_sales_to = details.value.estimate_sales_to;\n\n if(estimate_sales_from != '' && estimate_sales_to != ''){\n\n let range1 = +estimate_sales_from/10;\n \n let lower = (+estimate_sales_from)+range1;\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\n\n if(lower > higer){\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n \n }\n else{\n details.controls.estimate_sales_average.setValue('');\n }\n\n }\n calculateMarginProfit( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\n if(+estimate_profit_range_from > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_from.setValue('');\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_profit_range_to = details.value.estimate_profit_range_to;\n \n if(+estimate_profit_range_to > 100){\n // alert('Given Profit percent is More Than 100');\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n\n }\n\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\n if(+estimate_profit_range_from>+estimate_profit_range_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n\n \n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \n let Profit_Average = (profit_percent*sales_average)/100;\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\n\n if(difference > 3){\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n }else{\n details.controls.estimate_profit_range_to.setValue('');\n details.controls.estimate_profit_margin.setValue('');\n details.controls.estimate_profit_margin_percent.setValue('');\n return;\n }\n }\n \n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\n \n \n \n }\n \n }\n\n\n calculateProfitAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n //alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\n\n if(+estimate_net_profit_to>+sales_average){\n \n //alert(\"Given Profit is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\n details.controls.estimate_net_profit_from.setValue('');\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n\n\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\n if(+estimate_net_profit_from>+estimate_net_profit_to){\n // alert(\"Given To value is lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n \n let C = (estimate_net_profit_to - estimate_net_profit_from)\n let D = (C / estimate_net_profit_from) * 100;\n \n let range1 = +estimate_net_profit_from/10;\n \n let lower = (+estimate_net_profit_from)+range1;\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\n\n if(estimate_net_profit_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_profit_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }else{\n details.controls.estimate_net_profit_to.setValue('');\n details.controls.estimate_net_profit.setValue('');\n details.controls.estimate_net_profit_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else{\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \n if(lower > higer){\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let Profit_percent = (higer/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let Profit_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n \n }\n \n}\n\ncalculateMarginLoss( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n // else{\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\n if(+estimate_loss_range_from > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n let estimate_loss_range_to = details.value.estimate_loss_range_to;\n if(+estimate_loss_range_to > 100){\n // alert('Given Loss Percent is more than 100');\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\n details.controls.estimate_loss_range_from.setValue('');\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n\n }\n \n\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\n \n if(+estimate_loss_range_from>+estimate_loss_range_to){\n //alert(\"Given Loss Percent is more than 100\");\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n \n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\n let loss_Average = (loss_percent*sales_average)/100;\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\n\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\n \n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n\n if(difference > 3){\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\n if (r == true) {\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n \n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }else{\n details.controls.estimate_loss_range_to.setValue('');\n details.controls.estimate_loss_margin.setValue('');\n details.controls.estimate_loss_margin_percent.setValue('');\n return;\n }\n } \n \n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \n }\n\n}\n\n\ncalculateLossAmount( i, details){\n\n let sales_average = details.value.estimate_sales_average;\n if(sales_average == ''){\n // alert(\"Considered Sales Average is Empty\");\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\n\n if(+estimate_net_loss_to > +sales_average){\n \n // alert(\"Given Loss is Greater than Sales\");\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\n details.controls.estimate_net_loss_from.setValue('');\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\n if(+estimate_net_loss_from > +estimate_net_loss_to){\n //alert(\"Given To value is Lower than From Value\");\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n\n \n \n // if(+estimate_net_loss_to > +estimate_net_loss_from){\n // alert(\"loss is greater than sales\");\n // details.controls.estimate_net_loss_to.setValue('');\n // details.controls.estimate_net_loss.setValue('');\n // details.controls.estimate_net_loss_percent.setValue('');\n // return;\n // }\n \n \n let C = (estimate_net_loss_to - estimate_net_loss_from)\n let D = (C / estimate_net_loss_from) * 100;\n \n let range1 = +estimate_net_loss_from/10;\n \n let lower = (+estimate_net_loss_from)+range1;\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\n\n if(estimate_net_loss_from <= 5000000){\n if(D >= 20){\n var r = confirm(\"Given Profit Range is greater than 20%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n\n }\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\n if(D >= 15){\n var r = confirm(\"Given Sales Range is greater than 15%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }\n\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n }\n else if(estimate_net_loss_from > 10000000){\n if(D >= 10){\n var r = confirm(\"Given Sales Range is greater than 10%\");\n if (r == true) {\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n }else{\n details.controls.estimate_net_loss_to.setValue('');\n details.controls.estimate_net_loss.setValue('');\n details.controls.estimate_net_loss_percent.setValue('');\n return;\n }\n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n \n }\n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n } \n \n }\n else{\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \n if(lower > higer){\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\n let loss_percent = (higer/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \n }\n else{\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\n let loss_percent = (lower/sales_average)*100;\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \n }\n }\n \n }\n \n}\n\n \n\n\n \n\n /** On Key Press Event For Input Field */\n keyPress(event: any) {\n //const pattern = /[0-9\\-\\.\\ ]/;\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 }\n\n /** To Convert Amount into Words */\n inWords(e,i,flag:number){\n\n switch(flag){\n case 1 :\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\n break;\n case 2 : \n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\n break;\n case 3 : \n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\n break;\n case 4 : \n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 5 : \n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 6 : \n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 7 : \n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 8 : \n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 9 : \n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 10 : \n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 11 : \n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n case 12 : \n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \n break;\n default:\n break;\n }\n}\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionClientInfoPage 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-client-info',\n templateUrl: 'pd-question-client-info.html',\n})\nexport class PdQuestionClientInfoPage {\n\n users: any;\n pdDetails: any;\n formDetails: any;\n pdid: any;\n company_id: any;\n questionDetails: any;\n clientInfoForm: FormGroup;\n\n\n\n\n public submitted = false;\n\n public m_paymentType = [];\n\n companyRelationShipList: any = [];\n\n titleList: any = [];\n noRecordsFound: Boolean = false;\n errorMessage: any = '';\n m_manufacturingProducts: any = [];\n m_tradingProducts: any = [];\n m_suplierProducts: any = [];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n\n constructor(public navCtrl: NavController, public navParams: NavParams, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider, public fb: FormBuilder,private loading:LoadingProvider,private cameraProvider:CameraProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.formDetails = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.pdid = this.pdDetails.pd_id;\n this.company_id = this.pdDetails.company_id;\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\n\n if (data.dataStatus) {\n\n let datas = data.records;\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\n let api = Object.keys(datas.type_of_activity).map(function (key) {\n return datas.type_of_activity[key];\n });\n if (api.length > 0) {\n api.forEach(val => {\n if (val.type_of_activity_id == 3) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n\n if (val.type_of_activity_id == 4) {\n if (val.prodcuts) {\n this.m_tradingProducts.push(val.prodcuts);\n }\n }\n });\n }\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\n\n this.initFormLoadDetails(datas.type_of_activity);\n\n } else {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = data.msg;\n }\n }, err => {\n this.toast.pdTriggerappmessage('No Category Records Found.!');\n this.noRecordsFound = false;\n this.errorMessage = 'No Records Found , Something went Wrong!';\n });\n\n this.getdropList();\n\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\n this.getPDImages();\n }\n\n initFormLoadDetails(record) {\n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = this.formDetails.form_id;\n params.company_id = this.company_id;\n this.qustCat.retiverForm(params).subscribe(\n data => {\n if (data['dataStatus']) {\n let dataForm = data['records'];\n if (dataForm !== undefined) {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n // Load form details for manufacturing\n let arr = record.filter(data => data.type_of_activity_id == 2);\n // if(dataForm.manufacturing_details[0].main_raw_materials){\n if (arr.length > 0) {\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\n // return dataForm.main_raw_materials[key];\n // });\n if(dataForm.manufacturing_details){\n console.log(dataForm)\n \n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\n\n this.initManufacturingProductsDetails(api_main_raw_materials);\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);\n }\n else{\n console.log(\"NO Data\",dataForm)\n this.initManufacturingProductsDetails(null)\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\n }\n }\n // }\n\n // Load form details for the wholeshale trading details\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\n // return dataForm.trading_products[key];\n // });\n if(dataForm.trade_details){\n let api_trading_products = dataForm.trade_details[0].trading_products;\n\n this.initTradingProductsDetails(api_trading_products);\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);\n }\n else{\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\n }\n }\n\n // Load form details for the service provider prduct details \n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n // return dataForm.service_products[key];\n // });\n if(dataForm.service_provider_details){\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\n this.initServiceProviderProductsDetails(api_service_provider_products);\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);\n }\n else{\n this.initServiceProviderProductsDetails(null)\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\n return dataForm.service_products[key];\n });\n this.initServiceProviderProductsDetails(api_service_provider_products);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n } else {\n this.clientInfoForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdid],\n formid: [this.formDetails.form_id],\n company_id: [this.company_id],\n fk_createdby: [this.users],\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\n supplier_info_form_remark: []\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\n });\n let arr = record.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.initManufacturingProductsDetails(null);\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\n }\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr1.length > 0) {\n this.initTradingProductsDetails(null);\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\n }\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\n if (arr2.length > 0) {\n this.initServiceProviderProductsDetails(null);\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\n }\n // Load form details for the retail trading details\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\n // if (arr3.length > 0) {\n // this.retaildTradingForm = true;\n // }\n this.noRecordsFound = true;\n }\n }, err => {\n\n }\n );\n }\n\n manufacturingForm: Boolean = false;\n manufacturingFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 2);\n if (arr.length > 0) {\n this.manufacturingForm = true;\n return this.fb.group({\n main_raw_materials: this.fb.array([]),\n main_raw_materials_total_payments_percent_on_credit: []\n })\n // }\n } else {\n return;\n }\n }\n\n tradingForm: Boolean = false;\n tradingFormCreation(val) {\n // let arr = val.filter(data => data.type_of_activity_id == 4);\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\n if (arr.length > 0) {\n this.tradingForm = true;\n return this.fb.group({\n trading_products: this.fb.array([]),\n trading_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n serviceProviderForm: Boolean = false;\n serviceProviderFormCreation(val) {\n let arr = val.filter(data => data.type_of_activity_id == 5);\n if (arr.length > 0) {\n this.serviceProviderForm = true;\n return this.fb.group({\n service_products: this.fb.array([]),\n service_products_total_payments_percent_on_credit: []\n });\n } else {\n return;\n }\n }\n\n initManufacturingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n if (datas === null) {\n control.push(this.initManufacturingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.manufacturing_payment_type, 1, inx);\n control.push(this.initManufacturingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initManufacturingProducts(val));\n // }\n }\n }\n\n initManufacturingProducts(records) {\n if (records === null) {\n return this.fb.group({\n manufacturing_product_name: [''],\n manufacturing_client_name: [''],\n manufacturing_contact_person_name: [''],\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [''],\n manufacturing_payment_mode: [''],\n // manufacturing_credit_days: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n manufacturing_credit_days_from: [''],\n manufacturing_credit_days_to: ['']\n })\n } else {\n return this.fb.group({\n manufacturing_product_name: [records.manufacturing_product_name || null],\n manufacturing_client_name: [records.manufacturing_client_name || null],\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\n })\n }\n }\n\n initTradingProductsDetails(datas) {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n if (datas === null) {\n control.push(this.initTradingProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.trade_product_payment_type, 2, inx);\n control.push(this.initTradingProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initTradingProducts(val));\n // }\n }\n }\n\n initTradingProducts(records) {\n if (records === null) {\n return this.fb.group({\n trade_product_name: [''],\n trade_client_name: [''],\n trade_product_contact_person_name: [''],\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [''],\n trade_product_payment_mode: [''],\n trade_product_frequency_of_purchase: [''],\n trade_product_credit_days_from: [''],\n trade_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n trade_product_name: [records.trade_product_name],\n trade_client_name: [records.trade_client_name],\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n trade_product_payment_type: [records.trade_product_payment_type],\n trade_product_payment_mode: [records.trade_product_payment_mode],\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n initServiceProviderProductsDetails(datas) {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n if (datas === null) {\n control.push(this.initServiceProviderProducts(null));\n } else {\n datas.forEach((val, inx) => {\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\n control.push(this.initServiceProviderProducts(val));\n });\n // for (let val of datas) {\n // control.push(this.initServiceProviderProducts(val));\n // }\n }\n }\n\n initServiceProviderProducts(records) {\n if (records === null) {\n return this.fb.group({\n service_provider_product_name: [''],\n service_provider_client_name: [''],\n service_provider_product_contact_person_name: [''],\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [''],\n service_provider_product_payment_mode: [''],\n service_provider_product_frequency_of_purchase: [''],\n service_provider_product_credit_days_from: [''],\n service_provider_product_credit_days_to: [''],\n person_title_name: [''],\n person_designation: [''],\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [''],\n })\n } else {\n return this.fb.group({\n service_provider_product_name: [records.service_provider_product_name],\n service_provider_client_name: [records.service_provider_client_name],\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\n person_title_name: [records.person_title_name || null],\n person_designation: [records.person_designation || null],\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\n other_person_designation: [records.other_person_designation || null],\n })\n }\n }\n\n addMoreRawMaterials(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n\n control.push(this.initManufacturingProducts(null));\n }\n\n removeRawMaterials(inx): void {\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\n control.removeAt(inx);\n }\n\n addMoretradeProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n\n control.push(this.initTradingProducts(null));\n }\n\n removeTradingProduct(inx): void {\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\n control.removeAt(inx);\n }\n\n addMoreServiceProduct(e): void {\n // e.stropPropagation();\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n\n control.push(this.initServiceProviderProducts(null));\n }\n\n removeServiceProduct(inx): void {\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\n control.removeAt(inx);\n }\n\n getdropList() {\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n this.companyRelationShipList = data['records'];\n // .filter(data => data.isactive == 1);\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\n });\n\n this.qustCat.getcommondrop('TITLES').subscribe(\n data => {\n this.titleList = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\n data => {\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\n });\n }\n // saveclientDetails(answerData)\n // {\n // let records:any ={};\n\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId.form_id;\n // records.fk_createdby = this.users;\n\n // records.client_details = answerData.clientArray;\n\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\n // }\n /** To Save/Edited Popup Data */\n saveClientInfo(answerFormValues) {\n \n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\n if (answerFormValues.manufacturing_details[0] == null) {\n delete answerFormValues['manufacturing_details'];\n }\n if (answerFormValues.trade_details[0] == null) {\n delete answerFormValues['trade_details'];\n }\n if (answerFormValues.service_provider_details[0] == null) {\n delete answerFormValues['service_provider_details'];\n }\n\n //To Remove The \"Null\" With Key also\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\n if (responsed['status'] == 200) {\n this.clientInfoForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n } else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n });\n\n }\n\n selectedPersonDesignation(items, e, flag) {\n if (flag == 1) {\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 2) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n else if (flag == 3) {\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\n // items.controls['other_person_designation'].updateValueAndValidity();\n }\n }\n\n mfgCreditCardFlag: boolean = false;\n trdCreditCardFlag: boolean = false;\n spCreditCardFlag: boolean = false;\n mfgCounter: any = [];\n trdCounter: any = [];\n spCounter: any = [];\n checkCard(e, flag, index) {\n\n if (flag == 3 && e == 3) {\n this.spCounter[index] = 1;\n }\n else if (flag == 3 && e != 3) {\n this.spCounter[index] = 0;\n }\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\n this.spCreditCardFlag = SP > 0 ? true : false;\n\n if (flag == 2 && e == 3) {\n this.trdCounter[index] = 1;\n }\n else if (flag == 2 && e != 3) {\n this.trdCounter[index] = 0;\n }\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\n this.trdCreditCardFlag = TRD > 0 ? true : false;\n\n if (flag == 1 && e == 3) {\n this.mfgCounter[index] = 1;\n }\n else if (flag == 1 && e != 3) {\n this.mfgCounter[index] = 0;\n }\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\n\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n\n\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 { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\nimport {PdQuestionAssessedImagesPage} from '../../pd-question/pd-question-assessed-images/pd-question-assessed-images'\n\n/**\n * Generated class for the PdQuestionAssessedDashPage 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-assessed-dash',\n templateUrl: 'pd-question-assessed-dash.html',\n})\nexport class PdQuestionAssessedDashPage {\n\n businessIncome: boolean;\n grossAccess: boolean;\n finalAccess: boolean;\n finalExpense: any;\n finalIncome: any;\n finalData: any;\n houseExpenseData: boolean;\n businessData: boolean;\n salesData: boolean;\n purchaseData: boolean;\n purchaseBillData:boolean=false;\n grossprofit: any;\n assessedProcess: boolean;\n users: any;\n FormId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n alertShown: boolean;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public alertCtrl:AlertController) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('formDetails');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n calc_type_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n // radio_for_mode:[null,Validators.compose([Validators.required])],\n mode:[null],\n margin:[null],\n purchase_type:[null,Validators.compose([Validators.required])],\n fk_createdby:[null],\n fk_updatedby:[null],\n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\n }\n ionViewCanEnter()\n {\n this.getassessedIncome(); \n }\n getViewPage(pageId)\n {\nif(pageId == 11){//Summary\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\n}\nelse if(pageId == 12){//IMAGES\n this.navCtrl.push(PdQuestionAssessedImagesPage,{'pdDetails':this.pdDetails,'pageId':pageId,'formdetails':this.FormId})\n}\nelse{\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\n}\n }\n\n saveAssessedForm(answerData)\n {\n \n \n if(this.assessedForm.valid)\n {\n console.log(\"mode\",answerData.purchase_type.value)\n if(this.assessedForm.controls['purchase_type'].value == 1 ){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 2){\n this.assessedForm.controls['mode'].setValue(1)\n this.assessedForm.controls['margin'].setValue(null)\n \n }\n else if(this.assessedForm.controls['purchase_type'].value == 0){\n this.assessedForm.controls['mode'].setValue(2)\n this.assessedForm.controls['margin'].setValue(2)\n this.assessedForm.controls['purchase_type'].setValue(null)\n }\n if(this.assessedForm.controls['calc_type_id'].value != null){\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\n }\n if(this.assessedForm.controls['fk_createdby'].value == null){\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\n }\n console.log(this.assessedForm.value);\n let tempRec=this.assessedForm.value\n tempRec.company_id=this.pdDetails.company_id;\n console.log(\"tempRec\",tempRec)\n let records = {'records':tempRec};\n // delete records.records.radio_for_mode\n\n // console.log(\"after\",records);\n \n \n \n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage(\"Saved Successfully..!\")\n setTimeout(()=>{\n this.getassessedIncome();\n })\n \n }else\n {\n\n }\n })\n \n }\n \n }\n\n getassessedIncome()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.assessedProcess = true;\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\n if(res['records'].purchase_details.length !=0)\n {\n this.purchaseData = true;\n }\n if(res['records'].purchase_billwise.length != 0){\n this.purchaseBillData=true;\n }\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)\n {\n this.salesData = true;\n }\n if(res['records'].business_expenses.length !=0)\n {\n this.businessData = true;\n }\n if(res['records'].house_hold_expenses.length !=0)\n {\n this.houseExpenseData = true;\n }\n if(res['records'].othre_business_income.length !=0)\n {\n this.businessIncome = true;\n }\n \n if(res['records'].final_data.length !=0){\n this.finalAccess = true;\n this.finalData = res['records'].final_data[0]; \n this.finalIncome = this.finalData.income;\n this.finalExpense = this.finalData.expense; \n }\n \n if(this.grossprofit !==undefined && this.grossprofit.length !=0)\n {\n this.grossAccess = true;\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\n if(this.grossprofit.purchase_type == null ){\n this.assessedForm.controls['purchase_type'].setValue(0);\n }\n else{\n this.assessedForm.controls['purchase_type'].setValue(this.grossprofit.purchase_type);\n }\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\n }\n \n \n }else\n {\n this.assessedProcess = false;\n }\n });\n }\n completeAI(){\n let updateStatus={\n \"fk_pd_id\":this.pdDetails.pd_id,\n \"company_id\":this.pdDetails.company_id,\n \"calc_type_id\":this.grossprofit.calc_type_id,\n \"is_completed\":1\n }\n let records:any={'records':updateStatus}\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Assessed Income Completed Successfully\")\n setTimeout(()=>{\n this.navCtrl.pop();\n },1000)\n\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\")\n }\n })\n }\n presentConfirm(){\n let alert=this.alertCtrl.create({\n title:'Complete Assessed Income',\n message:'Please confirm you are completing the Assessed Income details?',\n buttons:[\n {\n text:'No',\n role:'no',\n handler:()=>{\n console.log(\"Cancel clicked\");\n //this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.completeAI()\n }\n }\n ]\n });\n alert.present();\n // this.alertShown=true;\n }\n\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\n/*\n Generated class for the DatabaseProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class DatabaseProvider {\n database:SQLiteObject;\n constructor(public http: HttpClient,public sql:SQLite) {\n console.log('Hello DatabaseProvider Provider');\n this.createnewdb();\n }\n\n createnewdb()\n {\n // alert('function in');\n this.sql.create(\n {\n name:'sinnedge',\n location:'defalut',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \n {\n // alert('db create');\n this.getuserDetails();\n })\n .catch(e => console.log(e));\n })\n }\n getuserDetails()\n {\n // alert('getusers');\n this.sql.create(\n {\n name:'sineedge',\n location:'default',\n }).then((db:SQLiteObject)=>\n {\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\n {\n console.log(res);\n })\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Camera } from '@ionic-native/camera';\n/*\n Generated class for the CameraProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class CameraProvider {\n\n constructor(public http: HttpClient,public camera:Camera) {\n console.log(\n \"%cWelcome, Camera Provider\",\n \"font-size:300%;color:purple;font-weight:bold;font-family:Mongoose; text-transform: uppercase;\"\n );\n }\n getpicture() \n {\n const options = {\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 500,\n correctOrientation: true\n };\n\n // If set to crop, restricts the image to a square of 600 by 600\n \n\n return this.camera.getPicture(options).then(imageData => {\n const base64Image = 'data:image/png;base64,' + imageData;\n console.log(\"base 64\",base64Image);\n return base64Image;\n }, error => {\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\n return \"error\"\n });\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.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 = 257;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 257\n// module chunks = 2","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { LoadingController } from 'ionic-angular';\nimport { async } from 'rxjs/internal/scheduler/async';\n/*\n Generated class for the LoadingProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class LoadingProvider {\n\n loading: any;\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\n console.log('Hello LoadingProvider Provider');\n }\n\n pdloader(content)\n {\n this.loading = this.loadingCtrl.create({\n content: content\n });\n\n this.loading.present();\n }\n loaderForSendImage(){\n const loading=this.loadingCtrl.create({\n content:'Sending...',\n duration:2000,\n })\n return loading.present();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.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 = 300;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 300\n// module chunks = 2","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\nimport { AlertController } from 'ionic-angular';\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\n// import { GridPage } from '../grid/grid';\n\n\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\nimport { Camera } from '@ionic-native/camera';\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\n\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\n// import { CustomValidators } from 'ng2-validation';\n\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { PasswordPage } from '../password/password';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n\n@Component({\n selector: 'page-login',\n templateUrl: 'login.html',\n})\nexport class LoginPage {\n users: any;\nchangepass: FormGroup;\nemail: string;\npassword: string;\nnewpassword: any;\nconfirmPassword: any;\nchangePassword: any;\nstatus: Boolean = false;\nconfig: MatDialogConfig = {\n disableClose: false,\n width: '',\n height: '',\n position: {\n top: '',\n bottom: '',\n left: '',\n right: ''\n }\n};\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\n,public toast:ToastProvider) {\n \n}\nngOnInit(){\n //this.loggedInCheck();\n \n}\nionViewDidEnter(){\n this.Menu.enable(false);\n}\nionViewWillLeave(){\n this.Menu.enable(true);\n}\n/**\n* @param email\n* @param password\n* AWS login service\n*/\nlogin() {\n // console.log(this.email);\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\n let auth = { 'Username': this.email, 'Password': this.password };\n this.aws.dologin(auth).subscribe(awsres => {\n let userid = this.aws.getlocale();\n \n this.aws.getuserprofile(userid).subscribe(usersres=>\n {\n this.users = usersres; \n \n if (this.users.dataStatus == true) {\n \n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\n this.navCtrl.setRoot(PdListPage);\n \n }else\n {\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n\n \n }\n });\n }, err => {\n console.log(JSON.stringify(err.message));\n if (err.message == \"New password is required.\") {\n //console.log(\"if\");\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\n } else {\n console.log(JSON.stringify(err.message));\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\n\n }\n //alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter Email or Password');\n }\n}\n/**\n * New password set\n * Defalut aws function \n * @param email password,newpassword\n */\n// newpassopen() {\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\n// dialogRef.afterClosed().subscribe(result => {\n// if (result !== undefined) {\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\n// console.log(auth);\n// this.aws.dologin(auth).subscribe(res => {\n// console.log(res);\n// // this.router.navigate(['/home']);\n// }, err => {\n// // alert(err.message);\n\n// })\n// }\n// });\n// }\n\nforgotopen() {\n this.status = true;\n}\n\n\nforgotpassword() {\n\n let auth = { 'Username': this.email };\n console.log(auth);\n // this.aws.userforgotpass(auth).subscribe(res => {\n // console.log(res);\n\n // })\n}\nloggedInCheck(){\n //alert(this.shared.isLoggedIn);\n if(this.shared.isLoggedIn){\n alert(\"if\");\n // this.router.navigate(['/home']);\n return false;\n }else{\n alert(\"else\");\n \n return true;\n }\n}\n\n}\n\n// ======================= END ==============================\n/**\n* New password Dialog\n*/\n\n// const newpassword = new FormControl('', Validators.required);\n// const confirmPassword = new FormControl('');\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
New Password Change.
\n\n// \n// \n \n// \n\n\n//
\n// \n// \n// \n\n// Passwords do not math.\n\n//
\n \n// \n \n \n// `\n// })\n// export class NewPasswordDialog {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n\n// }\n\n\n\n// @Component({\n// selector: 'app-jazz-dialog',\n// template: `\n//
Forgot Password
\n\n// \n// \n \n// \n\n\n\n//
\n \n// \n \n \n// `\n// })\n// export class ForgotPass {\n\n// newpassword: any = newpassword;\n// confirmPassword: any = confirmPassword;\n// jazzMessage = 'Jazzy jazz jazz';\n\n// constructor(public dialogRef: MatDialogRef) {\n\n// }\n\n// }\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\n\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n/**\n * Generated class for the PdQuestionPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Component({\n selector: 'page-pd-question',\n templateUrl: 'pd-question.html',\n})\nexport class PdQuestionPage {\n \n docqustid: any;\n docName: any = [];\n docArray: any = [];\n imageArray:any = [];\n questionCate: any;\n qustCate: any;\n pdinfo: any;\n items: FormArray;\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= false;\n isLeft:boolean= false;\n tabs:any=[];\n \n questionDetails: any;\n questionAnswer:FormGroup;\n questionanotherData:FormGroup;\n userid:any;\n questionId:any;\n qustType:any;\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) {\n \n this.screenWidth_px=platform.width();\n\n \n this.questionAnswer = this.fb.group(\n {\n answerDetails:[null],\n items:this.fb.array([]),\n })\n this.questionanotherData = this.fb.group(\n {\n questionRemarks:[null]\n })\n this.getpdQuestionDetails();\n this.userid = this.aws.getlocale();\n}\n\n ionViewDidLoad() {\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n ionViewWillLeave() {\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n // let answerDetails = this.questionAnswer.value;\n // let remarks = this.questionanotherData.value;\n if(this.isLeft)\n {\n //this.prev(answerDetails,remarks,this.questionDetails);\n }\n if(this.isRight)\n {\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\n }\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n \n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n \n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n \n this.isLeft=false;\n this.isRight=false;\n \n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n \n \n }\n /**\n * Pd Discussion Qustion Load\n */\n getpdQuestionDetails()\n {\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdinfo = this.navParams.get('pdDetails');\n for(let qustimage of this.questionDetails.questions)\n { \n if(qustimage.images !==undefined){\n for(let image of qustimage.images)\n {\n image.questionId = qustimage.fk_question_id; \n this.docArray.push(image);\n }\n for(let answers of qustimage.answers)\n {\n if(qustimage.fk_question_answertype == 3)\n {\n this.items = this.questionAnswer.get('items') as FormArray;\n \n this.items.push(this.getquestionAnswer(answers));\n \n \n }\n }\n }\n }\n for(let i=1;i<=this.questionDetails.questions_count;i++){\n let j = i.toString();\n this.tabs.push(j);\n }\n }\n\ngetquestionAnswer(answers)\n{\n return this.fb.group(\n {\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\n \"pd_answer_id\":answers.question_answer_id,\n \"pd_answer\": answers.answer,\n \"pd_answer_weightage\": answers.template_answer_weightage,\n \"fk_pd_id\":this.pdinfo.pd_id,\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\n \"checkbox\":(answers.isactive == null?false:true)\n \n \n })\n}\n // count = 0;\n getDocUpload(qustid)\n {\n // this.docqustid = qustId;\n this.camera.getpicture().then(res=>\n {\n if(res !== undefined){\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\n }\n });\n // this.count++;\n }\n docnames(name,id,image,qustid)\n {\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\n }\n removeimage(index){\n //for(let i=0;i<=this.igrimage.length;i++){\n //if(this.igrimage[i]== this.igrimage[index]){\n this.docArray.splice(index,1);\n //}\n //}\n }\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\n {\n \n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n\t\t\"fk_pd_id\": pd_id,\n\t\t\"fk_category_id\": catid,\n\t\t\"fk_question_id\": qut_id,\n\t\t\"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n\t\t\"pd_answer\": pd_answer,\n\t\t\"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n\t\t\n\t\t\"fk_createdon\": createon,\n\t\t\"createdby\": createdby,\n\t\t\"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n // {\n // this.qustCate = res;\n // if(this.qustCate.dataStatus == true){\n // this.SwipedTabsSlider.slideNext();\n // this.docArray = [];\n // this.getcategoryList(qt_id,pd_id);\n // }\n // })\n // }else\n // {\n \n // this.SwipedTabsSlider.slideNext(); \n }\n } \n\n getcategoryList(qustinfo,pdId)\n {\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\n };\n let answerData:any;\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\n {\n answerData = res;\n if(answerData.dataStatus == true)\n {\n \n // answerData = answerData.records;\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\n // eachquestion['answers'] = answerData.answers; \n \n // this.questionDetails =\n // this.imageArray = answerData.images;\n // for(let docs of this.imageArray)\n // {\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\n // }\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\n }\n });\n }\n prev(answerDetails,questionRemarks,questionDetails) {\n for(let docs of this.docArray)\n {\n \n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\n // return true;\n }else\n {\n //alert();\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\n \n }\n }\n if(answerDetails.answerDetails !=null){\n //alert('answers');\n let pd_id = this.pdinfo.pd_id;\n let catid = questionDetails.fk_question_category_id;\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\n let qut_id = qt_id.fk_question_id;\n let qustName = qt_id.question;\n let qut_weightage = qt_id.question_weightage;\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\n let pd_answer = answerDetails.answerDetails.answer;\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\n let pd_remarks = questionRemarks.questionRemarks;\n let updatedby:any='';\n let updateon:any='';\n let createdby:any='';\n let createon:any='';\n let pd_details_id:any='';\n let pd_detail_answer_id:any = '';\n if(qt_id.pd_detail_id ==null)\n {\n createdby = this.userid;\n createon = currentdate;\n pd_details_id = '';\n }else\n {\n pd_details_id = qt_id.pd_detail_id;\n updatedby = this.userid;\n updateon = currentdate;\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\n }\n let saveRecords = \n {\n \"pd_detail_id\": pd_details_id,\n \"fk_pd_id\": pd_id,\n \"fk_category_id\": catid,\n \"fk_question_id\": qut_id,\n \"pd_question\": qustName,\n \"pd_question_weightage\": qut_weightage,\n \"question_remark\": pd_remarks,\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\n \"pd_answer_id\":ans_id,\n \"pd_answer\": pd_answer,\n \"pd_answer_weightage\": qut_weightage,\n \"fk_pd_id\":pd_id,\n \"fk_pd_detail_id\":pd_details_id,\n\n }],\n \n \"fk_createdon\": createon,\n \"createdby\": createdby,\n \"fk_updatedon\": updateon,\n \"updatedby\": updatedby,\n \"images\": this.imageArray || \"\",\n \n\n };\n \n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\n {\n this.qustCate = res;\n if(this.qustCate.dataStatus == true){\n this.SwipedTabsSlider.slidePrev();\n this.docArray = [];\n this.getcategoryList(qt_id,pd_id);\n }\n })\n }else{\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\n this.SwipedTabsSlider.slidePrev();\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { Observable, Subject, ReplaySubject, from } from 'rxjs';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {Camera} from '@ionic-native/camera'\n\nimport {searchValue} from '../search'\nimport { takeUntil } from 'rxjs/operators';\nimport{LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\nimport 'rxjs/add/observable/interval';\n// import{CacheService} from 'ionic-cache-observable'\n/**\n * Generated class for the PdQuestionAddressPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-address',\n templateUrl: 'pd-question-address.html',\n})\nexport class PdQuestionAddressPage {\n\n // additional_premises: any=[];\n // bussiness_address_type: any=[];\n // formPremisesCityArray: any=[];\n // tempArr: any[];\n // cityData: any = [];\n // PremisesLabel: any=[];\n // formPremisesArray: any=[];\n // z:number = 0;\n \n // PremisesOtherFlag: boolean;\n CITY: any;\n residence: any;\n FormId: any;\n getaddressDetails: any;\n users: any;\n address: string;\n custBehaviour: any;\n cmtlocality: any;\n\n //placeholderName : any = 'Estimated area of the (Address Type)';\n placeholderName:any=[];\n premisesRentAmtInwords:any=[];\n rentAmtInwords : any ;\n\n locality: any = [];\n pdlocation: any = [];\n pdDetails: any;\n questionDetails: any;\n pdQuestionAddress:FormGroup;\n addressTypes:any=[];\n addressRemarksAccess:boolean = false;\n items:FormArray;\n pdState: any;\n pdCity: any;\n pdPincode: any;\n pdOtherPincode: any;\n cityData: any=[];\n pincodeData: any=[];\n stateData: any=[];\n uomData: any=[];\n addressesList: any;\n pincodeValue:any=[]\n cityDataValue:any=[]\n complete_status : boolean = false;\n\n // counts:number = 1;\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n public filteredState:ReplaySubject=new ReplaySubject(1)\n pincodeDataValue: any=[];\n base64: string;\n imageBucket: any=[];\n tab:string='0';\n imageDisplay: any=[];\n public data$:Observable\n timer:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider,\n public camera:Camera,private loading:LoadingProvider,private storagedb:StorageProvider) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n \n this.pdDetails = this.navParams.get('pdDetails');\n \n this.FormId = this.navParams.get('FormId');\n\n this.users = this.aws.getlocale();\n\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\n // }else{\n // this.address = this.pdDetails.addressline1+', - , -'; \n // }\n // this.pdState = this.pdDetails.fk_state;\n // this.getCityAndPincodeDetails(this.pdState);\n // this.pdCity = this.pdDetails.fk_city;\n // this.pdPincode = this.pdDetails.pincode_id;\n \n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\n \n this.getdropdownlist();\n \n //const control=this.pdQuestionAddress.controls['addresses']\n // console.log(\"co\",control)\n\n this.pdQuestionAddress = this.fb.group(\n {\n addresses:this.fb.array([]),\n address_form_remark:['']\n // address_ownership:[null],\n // other_ownership:[null],\n // rent_amt:[null],\n // other_premises_bussiness_activity : [null],\n // bussiness_activity_remark:[null],\n // bussiness_activity:[null],\n // bussiness_address_type:[null],\n // bussiness_address_type_others:[null], \n // business_years:[null],\n // business_month:[null],\n // additional_address_units: this.fb.array([]),\n \n });\n \n //this.loadPD()\n // let con=this.pdQuestionAddress.controls['addresses']['controls']\n \n // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.SearchCity(0);\n // })\n this.timer = Observable.interval(10000)\n .subscribe((val) => { console.log('test',val); });\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n //this.addUnits();\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\n this.getaddressForm(); \n // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE\n this.getPDImages();\n \n }\n\n \n searchFun(control:any,i:number,option){\n// console.log(control,i)\n if (option == 'city') {\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"Pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n // this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n\n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateData.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n\ncountRowsForTextarea(text){\n \n // console.log('text.length%100',text.length%190);\n // console.log('text.length/100',text.length/100);\n if(text !='' && text != undefined){\n if(text.length%100 > 5)\n return 5;\n else if(text.length%100 <= 3)\n return 3;\n else return Math.floor(text.length%100);\n\n }\n}\n\n ionViewWillLeave()\n {\n \n\n // let method = this.alerCtrl.create({\t\t\t\n // message: 'Do You Want Save',\n // buttons: [\n // {\n // text: 'Save',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // }\n // },\n // {\n // text: 'Cancel',\n // cssClass: 'method-color',\n // handler: () => {\n // \n // this.navCtrl.pop(); \n // }\n // }\n // ]\n // });\n // method.present()\n \n \n \n }\n\n ionViewCanLeave(){\n this.timer.unsubscribe();\n console.log(\"dirty\",this.pdQuestionAddress.dirty);\n if(this.pdQuestionAddress.dirty){\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n \n //For Inserting the data locally\n // this.localInsert(true);\n\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n /** To Get City And Pincode Data For Address Form \n * Param 'stateID' -> selected StateId\n */\n getCityAndPincodeDetails(stateID: string,i,pincode) {\n // console.log(this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'])\n console.log(this.pdQuestionAddress)\n //this.pdQuestionAddress.controls['addresses']['controls'].controls\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\n if (data.status == 200) {\n this.cityData[i] = data.records.cities;\n this.search=this.cityData[i]\n console.log(\"Slice\",this.cityData[i].slice);\n //this.filteredCity.next(this.cityData[i].slice())\n this.cityDataValue[i]=this.cityData[i].slice()\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\n }\n //FOR PINCODE FREE TEXT\n // let pin\n // if(pincode != ''){\n // if(pincode != 1){\n // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0]\n // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i])\n // console.log(this.pincodeValue[i])\n // console.log(this.pdQuestionAddress)\n\n // }\n // }\n });\n }\n\n\n\n getdropdownlist()\n {\n // this.addressTypes = [\n \n // {'id':'Office','Name':'Office'},\n // {'id':'Clinic','Name':'Clinic'},\n // {'id':'Factory','Name':'Factory'},\n // {'id':'Warehouse','Name':'Warehouse'},\n // {'id':'Shop','Name':'Shop'},\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\n // {'id':'Residence','Name':'Residence'},\n // {'id':'OTHERS','Name':'OTHERS'}\n // ];\n\n \n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \n console.log(\"dk\",this.addressTypes)\n // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{\n // this.data$=res.get$\n // console.log(\"data\",this.data$)\n // })\n }\n // this.cacheObservable.loadFromObservable()\n \n })\n \n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\n {\n this.pdlocation = res;\n if(this.pdlocation.dataStatus == true)\n {\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\n }\n })\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\n {\n this.cmtlocality = res;\n if(this.cmtlocality.dataStatus ==true)\n {\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\n }\n });\n\n \n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\n // {\n // this.custBehaviour = res;\n // if(this.custBehaviour.dataStatus == true)\n // {\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\n // }\n // })\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.locality = res['records'].filter(loc=>loc.isactive==1);\n }\n })\n\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.residence = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('CITY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.CITY = res['records'].filter(red=>red.isactive==1);\n }\n })\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\n this.stateData=res['records'].filter(val=>val.isactive == 1);\n this.filteredState.next(this.stateData.slice())\n\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\n })\n \n }\n\n // checkaddress(value)\n // {\n // \n // if(value==\"OTHERS\")\n // {\n // this.addressRemarksAccess = true;\n // }else\n // {\n // this.addressRemarksAccess = false;\n // }\n // }\n\n // createItem(): FormGroup {\n // return this.fb.group({\n // name: [null],\n // do_you_know: [null],\n // how_long: [null],\n // is_owner: [null],\n // });\n // };\n \n createUnits(val): FormGroup {\n if(val==null){\n return this.fb.group({\n no_of_additional_units: [''],\n premises_type: [''],\n premises_type_others: [''],\n premises_city: [''],\n // premises_ownership: [''],\n //premises_ownership_others: [''],\n //premises_rent_amt:[''],\n premises_remarks: [''],\n });\n }\n else{\n \n return this.fb.group({\n no_of_additional_units: [val.no_of_additional_units],\n premises_type: [val.premises_type],\n premises_type_others: [val.premises_type_others],\n premises_city: [val.premises_city],\n // premises_ownership: [val.premises_ownership],\n // premises_ownership_others: [val.other_ownership],\n // premises_rent_amt:[val.rent_amt],\n premises_remarks: [val.premises_remarks],\n });\n \n }\n }\n\n addUnits() {\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n this.items.push(this.createUnits(null));\n}\n\n\n removeUnits(i){\n this.items.removeAt(i);\n }\n\n ConvertMonthintoYear(e){\n \n let business_year = this.pdQuestionAddress.controls.business_years.value;\n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\n \n }\n initAddress(AddressDetails){\n console.log(\"pin init\", this.pincodeValue[0])\n if(AddressDetails != null){\n return this.fb.group({\n address: [AddressDetails.address],\n address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\n address_type_others: [AddressDetails.address_type_others],\n state: [AddressDetails.state],\n city: [AddressDetails.city],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n locality: [AddressDetails.locality, Validators.compose([Validators.required])],\n locality_others: [AddressDetails.locality_others],\n // locality_mixuse: [AddressDetails.locality_mixuse],\n pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\n comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\n estimated_area: [AddressDetails.estimated_area],\n uom: [AddressDetails.uom],\n uom_others: [AddressDetails.uom_others] \n })\n }\n else{\n return this.fb.group({\n address: ['' ],\n address_type: ['', Validators.compose([Validators.required])],\n address_type_others: [''],\n state: [''],\n city: [''],\n citySearch:[''],\n stateSearch:[''],\n pinSearch:[''],\n pincode: [''],\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\n locality: ['', Validators.compose([Validators.required])],\n locality_others: [''],\n // locality_mixuse: [''],\n pd_location: ['', Validators.compose([Validators.required])],\n comment_locality: ['', Validators.compose([Validators.required])],\n estimated_area: [''],\n uom: [''],\n uom_others: [''] \n });\n }\n \n }\n /** On Key Press Event For Numbers */\n keyPress(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 }\n\n inWords(e,i){ \n \n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\n \n }\n\n inWordsForRent(e){\n \n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\n }\n\n selectedAddressType(e: any,i){\n this.placeholderName[i] = 'Estimated area of the ' + e;\n }\n\n\n savepdQuestion(answerData)\n {\n let records: any = {};\n // records.address = answerData.address;\n // if(answerData.address_type_others != null){\n // records.address_type_others = answerData.address_type_others;\n // }\n // // records.state =answerData.state\n // records.city = answerData.city\n\n // records.pincode = answerData.pincode\n // records.pincode_others = answerData.pincode== 1 ?\n // this.pdQuestionAddress.controls.pincode_others.value : '';\n\n // records.address_type = answerData.address_type;\n // records.locality = answerData.locality;\n \n // records.locality_others = answerData.locality == 1 ?\n // this.pdQuestionAddress.controls.locality_others.value : '';\n\n // records.locality_mixuse = answerData.locality == 5 ?\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\n\n // records.pd_location = answerData.pd_location;\n // records.comment_locality = answerData.comment_locality;\n // records.other_comment_locality = answerData.other_comment_locality;\n // records.estimated_area = answerData.estimated_area;\n\n // records.uom = answerData.uom;\n // records.uom_others = answerData.uom == 1 ?\n // this.pdQuestionAddress.controls.uom_others.value : '';\n // records.customer_behaviour = answerData.customer_behaviour;\n // records.neighbourhood = answerData.neighbourhood;\n \n // answerData.addresses.forEach(element=>{\n // let temp=element.pincode\n // element.pincode=1\n // element.pincode_others=temp\n // })\n if(this.pdQuestionAddress.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields marked with ' * '\")\n return\n }\n console.log(\"Answer DAta\",answerData)\n records.addresses=answerData.addresses\n // records.addressess\n records.address_form_remark=answerData.address_form_remark\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.address_form_remark = answerData.address_form_remark;\n // records.address_ownership = answerData.address_ownership;\n // records.other_ownership = answerData.other_ownership;\n // records.rent_amt = answerData.rent_amt;\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\n // records.bussiness_activity = answerData.bussiness_activity;\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\n // records.business_years = answerData.business_years;\n // records.business_month = answerData.business_month;\n \n // records.additional_address_units = answerData.additional_address_units;\n \n \n \n this.qustCat.saveForm(records).subscribe(data => {\n console.log(data);\n // let params: any = {};\n // params.pd_id = '250';\n // params.pd_form_id = '250';\n \n // setTimeout(function(){\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // },5000)\n if(data['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n\n this.pdQuestionAddress.reset(this.pdQuestionAddress.value);\n //FOR UPDATING THE FORM STATUS IN LOCAL\n // this.localInsert(false);\n this.toast.pdTriggerappmessage('Record Saved Successfully');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000); \n }\n },err=>{\n this.toast.pdTriggerappmessage('Something went wrong ');\n });\n }\n getaddressFormFromLocal(){\n let local_value:any;\n let data:any={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id};\n // data.pd_id=this.pdDetails.pd_id\n // data.form_id=this.FormId.form_id\n this.storagedb.retrieveLocalStorage(data).then(res=>{\n console.log(\"address get\",res)\n if(res){\n let val_rec:any={}\n val_rec.records=res[0]\n local_value=res[0]\n console.log(\"addd\",val_rec,\"loca\",local_value)\n \n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = val_rec;\n \n if(local_value.active == true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,datas.pincode)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n console.log( \"Pin\" ,this.pincodeValue[index]);\n let val={\n 'address': datas.address,\n 'address_type': datas.address_type,\n 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n 'locality': datas.locality,\n 'locality_others': datas.locality_others,\n // 'locality_mixuse': datas.locality_mixuse,\n 'pd_location': datas.pd_location,\n 'comment_locality': datas.comment_locality,\n 'estimated_area': datas.estimated_area,\n 'uom': datas.uom,\n 'uom_others': datas.uom_others\n }\n \n // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n // console.log(\"selected add type\",selectedAddressType)\n if(datas.address_type != ''){\n this.selectedAddressType(datas.address_type,index);\n // this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark);\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n this.getaddressForm()\n }\n }\n else{\n this.getaddressForm()\n }\n \n \n \n })\n // console.log(\"add\",local_value)\n \n }\n\n getaddressForm()\n {\n console.log(\"pd\",this.pdDetails);\n \n let res:any;\n\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n const control=this.pdQuestionAddress.controls['addresses']\n this.getaddressDetails = res;\n \n if(this.getaddressDetails.dataStatus ==true){\n if(this.getaddressDetails.records.addresses ){\n \n this.getaddressDetails = this.getaddressDetails.records.addresses;\n\n if(this.getaddressDetails.length == 0 ){\n control.push(this.initAddress(''));\n }\n else{\n this.getaddressDetails.forEach((datas,index)=>{\n \n this.getCityAndPincodeDetails(datas.state,index,datas.pincode)\n if(datas.pincode == 1){\n this.pincodeValue[index]=datas.pincode_others\n }//if(val==true){\n console.log( \"Pin\" ,this.pincodeValue[index]);\n let val={\n 'address': datas.address,\n 'address_type': datas.address_type,\n 'address_type_others': datas.address_type_others,\n 'state': datas.state,\n 'city': datas.city,\n 'pincode':datas.pincode,\n 'pincode_others':datas.pincode_others,\n 'locality': datas.locality,\n 'locality_others': datas.locality_others,\n // 'locality_mixuse': datas.locality_mixuse,\n 'pd_location': datas.pd_location,\n 'comment_locality': datas.comment_locality,\n 'estimated_area': datas.estimated_area,\n 'uom': datas.uom,\n 'uom_others': datas.uom_others\n }\n if(datas.address_type != ''){\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\n this.selectedAddressType(selectedAddressType.address_type,index);\n if (datas.address_type == 1) {\n this.selectedAddressType(datas.address_type_others,index);\n }\n }\n control.push(this.initAddress(val))\n })\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\n }\n // if(this.getaddressDetails.additional_address_units != null){\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\n // // return res['records'].additional_address_units[key];\n // //for slicing the automatically created\n \n // });\n // //this.removeUnits(0);\n // }\n\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\n\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\n\n // if (this.getaddressDetails.state != '') {\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\n // if (this.getaddressDetails.pincode == 1) {\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\n // }\n // }\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\n // this.selectedAddressType(selectedAddressType);\n\n // if(this.getaddressDetails.address_type != null) {\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\n // }\n\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\n\n // if(this.getaddressDetails.comment_locality != null){\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\n // }\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\n // if(this.getaddressDetails.locality == 1 ){\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\n // }\n // if(this.getaddressDetails.locality == 5){\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\n // }\n \n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\n // if (this.getaddressDetails.uom == 1) {\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\n // }\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\n // if(this.getaddressDetails.rent_amt != null){\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\n // }\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\n // } \n // else{\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\n // }\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\n\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\n \n \n \n\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\n \n if (result.length == 0) {\n \n control.push(this.createUnits(null));\n } else {*/\n \n //for(let val of this.getaddressDetails.additional_address_units){\n //control.push(this.createUnits(val));\n //}\n //result.forEach((datas,index) => {\n \n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\n \n //});\n \n //}\n \n // }\n\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else\n this.loadPD();\n });\n \n }\n loadPD(){\n const control=this.pdQuestionAddress.controls['addresses']\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus == true){\n this.addressesList = res.records.filter(item => item.isactive == 1 && item.assigned_pd == this.pdDetails.pd_id);\n console.log('this.addressesList',this.addressesList);\n if(this.addressesList.length > 0){\n this.addressesList.forEach((datas,index)=>{\n this.getCityAndPincodeDetails(datas.fk_state,index,datas.pincode)\n \n let obj ={\n 'address': datas.addressline1,\n 'address_type': '',\n 'address_type_others': '',\n 'state': datas.fk_state,\n 'city': datas.fk_city,\n 'pincode':datas.pincode_id,\n 'pincode_others': datas.other_pincode,\n 'locality': '',\n 'locality_others': '',\n // 'locality_mixuse':'',\n 'pd_location': '',\n 'comment_locality': '',\n 'estimated_area': '',\n 'uom': '',\n 'uom_others': ''\n }\n \n control.push(this.initAddress(obj))\n })\n }\n else{\n control.push(this.initAddress(''))\n }\n }\n else{\n control.push(this.initAddress(''))\n }\n })\n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n savePhoto(){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n \n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert =this.toast.setAlertForDocName()\n alert.present()\n \n alert.onDidDismiss(value=>{\n console.log(value.Name)\n this.imageBucket[index].Name=value.Name\n })\n \n \n // let alert=this.alerCtrl.create({\n // title:'Document Name',\n // message: 'Please Enter the Document Name',\n // cssClass:'prompt_alert',\n // inputs:[\n // {\n // name:'Name',\n // //value:this.imageBucket[index].Name\n // placeholder:'Document Name'\n // }\n // ],\n // buttons:[\n // {\n // text:'Submit',\n // handler:data=>{\n // console.log(data.Name)\n // this.imageBucket[index].Name=data.Name\n // alert.dismiss\n // }\n // }\n // ]\n // })\n // alert.present();\n //this.inputFocus.setFocus();\n \n }\n // al(){\n // this.toast.pdTriggerappmessage(\"touched\");\n // }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n localInsert(option){\n let datas:any=this.pdQuestionAddress.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n // let alert=this.toast.setAlert('data',JSON.stringify(res))\n // alert.present();\n console.log(\"insert add\",res);\n })\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {FormBuilder,FormControl,FormArray, FormGroup,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';\nimport { max } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionEmpInfoPage 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-emp-info',\n templateUrl: 'pd-question-emp-info.html',\n})\nexport class PdQuestionEmpInfoPage {\n questionDetails: any;\n pdDetails: any;\n employmentForm:FormGroup;\n FormId: any;\n pd_cus_segment: string;\n customer_segment_abbr: string;\n users: any;\n pdid: any;\n frequency_data: any[];\n company_list: any[];\n person_met_list: any[];\n company_related_applicants_list: any[];\n company_relationship_list: any[];\n filtered_company_relationship_list: any[];\n \n mthlySlryAmtInWords\n grossMthlySlryAmtInWords\n netMthlySlryAmtInWords\n bonusIncentiveAmtInWords\n bankAmtInWords\n cashAmtInWords\n\n workExperienceFlag: boolean = false;\n workExperienceErrorFlag:boolean = false;\n generalExistBusinessYear:any;\n generalExistBusinessMonth:any;\n tab:any='0'\n imageBucket:any=[]\n imageDisplay:any=[]\n\n public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n public todate: any[] = this.dateonly;\n @ViewChild('workExp') expFocus: ElementRef\n @ViewChild('cashPaidFocus') inputCashPaidFocus :ElementRef\n @ViewChild('yearFocus') inputYearFocus :ElementRef\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.FormId = this.navParams.get('FormId');\n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\n this.generalExistBusinessYear=100;\n this.generalExistBusinessMonth=12;\n this.getDropDownList();\n this.getCompanyFromGeneralDetails();\n this.getEmploymentDetails();\n this.employmentForm = this.fb.group(\n {\n employer_name: [''],\n employer_in_brief:[''],\n \n // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n \n how_long_year: ['',Validators.max(this.generalExistBusinessYear)],\n how_long_month: [''],\n total_business_experience: [''],\n total_business_previous_experience: [''],\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n name_person_met: [''],\n designation_person_met: [''],\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n confirm_salary_amount: [''],\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\n from_date_the_salary_is_rcv: [''],\n to_date_the_salary_is_rcv: [''],\n gross_monthly_salary: [''],\n net_monthly_salary: [''],\n amount_paid_in_cash: [''],\n amount_paid_through_bank: [''],\n check_validated:[''],\n how_was_it_validated: [''],\n why_was_it_not_validated: [''],\n bonus_incentive: [''],\n bonus_frequency: [''],\n bonus_type: [''],\n bonus_type_other: [''],\n any_delays: [''],\n employment_remarks: [''],\n // nameOfEmp:[null],\n // yearWithEmp:[null],\n // empMet:[null],\n // designationOfEmp:[null],\n // salaryConfirm:[null],\n // actualSalary:[null],\n // attRegisterSeen:[null],\n // salaryRegisterSeen:[null]\n })\n\n //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.employmentForm.dirty);\n if(this.employmentForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getDropDownList()\n {\n\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.frequency_data = data['records'];\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\n }\n });\n\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\n }\n });\n }\n\n getCompanyFromGeneralDetails(){\n \n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\n \n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\n this.company_related_applicants_list = value['records'].company_with_relationships;\n } \n else {\n\n }\n })\n \n }\n \n ValidateNetSalary(){\n let salary = this.employmentForm.controls['net_monthly_salary'].value; \n console.log('this.employmentForm.controls[amount_paid_in_cash].value',this.employmentForm.controls['amount_paid_in_cash'].value);\n \n if(salary != ''){\n let cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value;\n // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value;\n\n this.employmentForm.controls['amount_paid_in_cash'].setValidators([Validators.max(salary)]); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n let maxamt = salary-cash_amount\n if( this.employmentForm.controls['amount_paid_in_cash'].value !=''){\n let balance=salary-this.employmentForm.controls['amount_paid_in_cash'].value\n console.log(\"bal\",balance)\n this.employmentForm.controls['amount_paid_through_bank'].setValue(balance);\n this.inWords(balance,5)\n }\n if(maxamt >= 0 ){\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(salary-cash_amount)]); \n }\n else{\n this.employmentForm.controls['amount_paid_through_bank'].setValue('0');\n this.employmentForm.controls['amount_paid_through_bank'].setValidators([Validators.max(0)]); \n }\n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n \n }\n else{\n this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!');\n this.employmentForm.controls['amount_paid_in_cash'].setValue(''); \n this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity();\n this.employmentForm.controls['amount_paid_through_bank'].setValue(''); \n this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity();\n return;\n }\n \n \n }\n\n saveEmpInfo(){\n // console.log(\"has Error\",this.employmentForm.controls['how_long_year'].hasError('max'))\n if(this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Higher than business Vintage\")\n this.inputYearFocus.nativeElement.focus();\n return\n }\n \n if(this.employmentForm.controls['total_business_experience'].hasError('min') ){\n this.toast.pdTriggerappmessage('Total working Experience is Lower');\n this.expFocus.nativeElement.focus();\n return\n }\n // console.log(\"this.em\",this.employmentForm.controls['amount_paid_in_cash'].errors)\n if(this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')){\n this.toast.pdTriggerappmessage(\"Given Value is Maximum of Net Salary\")\n this.inputCashPaidFocus.nativeElement.focus();\n return\n }\n \n if (!this.employmentForm.valid) {\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\n return;\n }\n \n\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.employer_name = this.employmentForm.controls['employer_name'].value;\n records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\n records.was_met = this.employmentForm.controls['was_met'].value;\n if (this.employmentForm.controls['was_met'].value == 'yes') {\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\n }else{\n records.name_person_met = '';\n records.designation_person_met = '';\n }\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\n \n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\n records.check_validated = this.employmentForm.controls['check_validated'].value;\n records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';\n records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';\n \n records.any_delays = this.employmentForm.controls['any_delays'].value;\n\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\n\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\n \n this.qustCat.saveForm(records).subscribe(data => {\n\n\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.employmentForm.markAsUntouched();\n this.employmentForm.reset(this.employmentForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else {\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n }\n })\n }\n \n\n filtercompanyrelationship(companyid, applicantid) {\n var array = companyid.split(\"-\");\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\n if (data.length > 0) {\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\n }\n else {\n this.employmentForm.controls['designation_person_met'].setValue('');\n }\n }\n\n formDate(value){\n // console.log('to',this.todate)\n // console.log(value);\n // console.log('to length',this.todate.length);\n // console.log('index',value-1);\n // console.log('this.todate',this.todate[11]);\n // console.log('this.todate',this.todate[11].isdisabled);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');\n this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];\n var i ;\n \n if(value != 0 && value != '')\n for(i=0;i<=value-1;i++){\n this.todate[i].isdisabled = true;\n if(value == 31){\n this.todate[30].isdisabled = false;\n }\n }\n \n }\n checkWithExistYear(e) {\n \n let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];\n \n console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);\n console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);\n if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){\n this.generalExistBusinessMonth = data1.business_month\n }\n if(data1.business_years){\n this.generalExistBusinessYear = data1.business_years\n }\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n \n }\n\n \nConvertMonthintoYear(e) {\n\n let how_long_year = this.employmentForm.controls.how_long_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n\n if (how_long_year > this.generalExistBusinessYear) {\n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity();\n this.employmentForm.controls['how_long_year'].setValue('');\n this.employmentForm.controls['how_long_month'].setValue('');\n }\n else {\n if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n \n this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]); \n this.employmentForm.controls['how_long_year'].updateValueAndValidity(); \n\n this.employmentForm.controls['how_long_month'].setValidators([Validators.max(this.generalExistBusinessMonth)]); \n this.employmentForm.controls['how_long_month'].updateValueAndValidity(); \n\n } else { \n\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\n\n }\n }\n}\n\n\ncheckWorkingExperiences(){\n // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;\n // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;\n\n this.employmentForm.controls['total_business_experience'].setValidators([Validators.min(+this.employmentForm.controls.how_long_year.value)]); \n this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); \n \n if(!this.employmentForm.controls['total_business_experience'].valid){\n this.expFocus.nativeElement.focus();\n }\n\n this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false;\n\n if(!this.workExperienceFlag){\n this.employmentForm.controls['total_business_previous_experience'].setValue('');\n this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); \n }\n\n}\n\ninWords(val,flag:number){\n switch(flag){\n case 1 :\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \n break;\n case 2 : \n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 3 :\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 4 :\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 5 :\n this.bankAmtInWords = this.constant.convertNumberToWords(val); \n break;\n case 6 :\n this.cashAmtInWords = this.constant.convertNumberToWords(val); \n break;\n }\n }\n\n\n getEmploymentDetails(){\n \n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let Emp = value['records'];\n console.log('emp',Emp);\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\n this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief)\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\n if(this.employmentForm.controls['total_business_experience'] != null && this.employmentForm.controls['total_business_previous_experience'] != null){\n //this.checkWorkingExperiences();\n }\n\n if (Emp.name_person_met) {\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\n }\n if (Emp.designation_person_met) {\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\n }\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\n if (Emp.confirm_salary) {\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\n this.inWords(Emp.confirm_salary_amount,1);\n \n }\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\n this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\n \n this.inWords(Emp.gross_monthly_salary,2);\n this.inWords(Emp.net_monthly_salary,3);\n this.inWords(Emp.bonus_incentive,4);\n this.inWords(Emp.amount_paid_in_cash,6);\n this.inWords(Emp.amount_paid_through_bank,5);\n if(Emp.total_business_experience != ''){\n this.checkWorkingExperiences();\n}\n\n } \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus, ViewChild, ElementRef } 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'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\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})\n\nexport class PdQuestionCurrentLoansPage {\napplicants: 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 tentureErrorFlag:boolean=false\n others_loanAccess:boolean=false\n @ViewChild('balanceTenure') TenureFocus : ElementRef\n lenderDataValue: any;\n protected _onDestroy = new Subject();\n base64: any;\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public toast:ToastProvider, \n public aws:AwsServiceProvider,public constant:ConstantsProvider,\n public cameraProvider:CameraProvider,private loading:LoadingProvider) {\n\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.filter(val=>val.pd_co_applicant_id != 0);\n \n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n \n\n this.getdropdown();\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 //To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\n console.log('{{FormId.form_name}}',this.FormId.form_name,this.FormId);\n this.getcurrentLoans()\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.currentLoans.dirty);\n if(this.currentLoans.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\n {\n this.lenderData = res['records'].filter(len=>len.isactive==1);\n this.lenderDataValue=this.lenderData.slice();\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 \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true )// && val.is_company_applicant===true\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 \n }\n })\n let modifyApplicantList: any=[];\n if(this.applicants.length > 0){\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n modifyApplicantList = this.applicants.map(element => {\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\n });\n // modifyApplicantList.push()\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n \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 \n if(val ==\"Yes\")\n {\n this.addLoanDetails();\n }\n\n }\n createLoanDetail(data) {\n return this.fb.group({\n label: data == null ? [''] : [data.label],\n loan_amount: data == null ? [''] : [data.loan_amount],\n frequency: data == null ? [''] : [data.frequency],\n other_frequency: data == null ? [''] : [data.other_frequency],\n emi: data == null ? [''] : [data.emi],\n loan_type: data == null ? [''] : [data.loan_type],\n others_loan_type: data == null ? [''] : [data.others_loan_type],\n loan_taken_by: data == null ? [''] : [data.loan_taken_by],\n others_loan_taken: data == null ? [''] : [data.others_loan_taken],\n lender: data == null ? [''] : [data.lender],\n bankSearch:[''],\n others_lender: data == null ? [''] : [data.others_lender],\n original_tenure: data == null ? [''] : [data.original_tenure],\n current_balance_tenure: data == null ? [''] : [data.current_balance_tenure],\n elapsed_tenure: data == null ? [''] : [data.elapsed_tenure]\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 console.log(values)\n let status\n if(values.length != 0 && values != null){\n status=values.filter(res=>res.id == 0) \n status=status.length > 0 ?true : false\n console.log(status)\n this.others_loanAccess=status\n }\n else {\n this.others_loanAccess= false;\n }\n \n \n}\ncheckTenure(details){\n let originalTenure = details.value.original_tenure;\n // alert(originalTenure);\n // if(originalTenure>=details.value.current_balance_tenure){\n // this.tentureErrorFlag=true\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.setValue\n // }\n // else{\n\n // this.toast.pdTriggerappmessage(\"Current Tenure \")\n \n \n \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,flag)\n{\n \n switch(flag){\n \n \n case 1:\n let ElapsedValues;\n console.log(details)\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '' ){\n console.log(\"not null\")\n \n if(details.value.current_balance_tenure == 0){\n details.controls['elapsed_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.current_balance_tenure <= details.value.original_tenure){\n \n console.log(\"validate\")\n this.tentureErrorFlag=false\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\n \n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n this.TenureFocus.nativeElement.focus();\n }\n \n}\nelse{\n this.tentureErrorFlag=false\n}\nbreak;\ncase 2:\nlet balance\nconsole.log(\"case 2\",details);\n if(details.value.original_tenure !=null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != ''){\n \n if(details.value.elapsed_tenure == 0){\n details.controls['current_balance_tenure'].setValue(details.value.original_tenure)\n }\n if(details.value.elapsed_tenure <= details.value.original_tenure){\n this.tentureErrorFlag=false\n balance=details.value.original_tenure - details.value.elapsed_tenure;\n \n console.log(\"ba\",balance);\n details.controls['current_balance_tenure'].setValue(balance)\n }\n else{\n //this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n this.tentureErrorFlag=true\n // this.TenureFocus.nativeElement.focus();\n }\n}\nelse{\n this.tentureErrorFlag=false\n}\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 \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 \n}\n\nsubmitCurrentloan(answerData) {\n console.log(answerData)\n console.log(\"true\",this.tentureErrorFlag);\n let inde=[]\n // answerData.loan_details.forEach((element,index)=>{\n \n // if(element.current_balance_tenure > element.original_tenure){\n // this.toast.pdTriggerappmessage(\"Oringinal Tenure Less than Current Balance Tenure\")\n // inde=index\n // }\n \n // })\n // console.log(\"index\",inde);\n // if(inde){\n // return\n // }\n if(this.tentureErrorFlag == true){\n // this.toast.pdTriggerappmessage(\"Original Tenure Less than Current Balance Tenure\");\n this.toast.pdTriggerappmessage(\"Original Tenture is Lower\");\n this.TenureFocus.nativeElement.focus();\n return\n }\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\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 records.loan_details.forEach(val=>{\n delete val.bankSearch\n })\n console.log(' final records when save',records);\n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n // this.currentLoans.markAsUntouched();\n this.currentLoans.reset(this.currentLoans.value);\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n}\n getcurrentLoans()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'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 \n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\n currentLoanDetails.loan_details.forEach(val=>{\n val.bankSearch=''\n })\n var result = Object.keys(res['records'].loan_details).map(function(key) {\n \n return res['records'].loan_details[key];\n \n });\n console.log(\"resutl\",result);\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 \n result.forEach((datas,index)=>\n {\n //this.calculateTenure(res['records'])\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'].patchValue(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 \n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\n \n\n if(data.dataStatus == true){\n \n \n \n let AssetData = data.record;\n \n \n \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 other_owner: element.business_name_of_the_other_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 other_owner: element.business_name_of_the_other_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 other_owner: element.other_owner,\n form_type:'Data From Other Asset'\n })\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 \n let owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n \n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\n } \n if(val.mode == 1){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.any_other_assets;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n // return e.name.split(',')\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 2){\n \n let owner: any = \"Owner Not Mentioned\";\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.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n });\n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 3){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.manufacturer_model_vehicle;\n });\n if(val.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 4){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\n val.details.forEach((v,index) => {\n data = v.equipment_manufacturing_description;\n });\n if(val.owner_name.length>0 ){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\n }\n if(val.mode == 6){\n \n let owner:any=\"Owner Not Mentioned\";\n if(val.owner_name.length>0)\n {\n owner=val.owner_name.map((e=>{\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\n }\n if(val.mode == 7){\n \n let data;\n let owner: any = \"Owner Not Mentioned\";\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.owner_name.length>0){\n owner = val.owner_name.map((e => {\n \n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\n }));\n }\n \n let description = data != '' ? '( '+ data +' )' : '';\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\n var vals= owner + ' - '+ val.mode_name \n \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 \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 \n control.push(this.createLoanDetail(null));\n }\n \n }\n });\n }\n })\n \n \n }\n searchFun(control){\n console.log(control)\n let name:string=\"bank\"\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.lenderDataValue=this.constant.searchData(this.lenderData,control.controls['bankSearch'].value,name)\n })\n \n }\n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_loan_taken').value\n value.get('others_loan_taken').setValue(this.constant.sentenceCase(name));\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormArray, FormBuilder, Validators, FormControl } 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';\nimport { takeUntil } from 'rxjs/operators';\nimport { ReplaySubject, Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {StorageProvider} from '../../../providers/storage/storage'\n\n/**\n * Generated class for the PdQuestionLoansPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\nexport interface Dbmaster{\n bt_lender_list_id: number;\n lender_name: string;\n // constant_name: string;\n}\n\n@Component({\n selector: 'page-pd-question-loans',\n templateUrl: 'pd-question-loans.html',\n})\n\nexport class PdQuestionLoansPage {\n enduse: any = [];\n propertyType: any;\n mortagetypeAccess: boolean;\n mortageAccess: boolean = false;\n mortageCardAccess: boolean;\n topUpAmtInWords: any;\n ownContributionInWords: any;\n valAsPerAgmtInWords: any;\n balTxrfAmtInWords: any;\n loanAmtInWords: any;\n\n emiAmtInWords:any;\n emvAmtInWords:any;\n\n m_btLenderList: any;\n applicants: any;\n m_endUseofLoad: any;\n m_sourceofamount: any;\n m_mortageTypeProperty: any;\n m_statusofCunstruction: any;\n ownerNames: any=[];\n isOtherPurpose: boolean=false;\n endUserList: any=[];\n pdDetails: any;\n FormId: any;\n productAbbr:any;\n loanDetailsForm: FormGroup;\n users: any;\n mergeCompanyApplicant:any=[];\n existCompanyList:any;\n m_endUseOFTopUpList:any=[]\n isContribution: boolean = false;\n\n \n isOtherSource: boolean = false;\n isPLSource: boolean = false;\n\n sourceList:any=[];\n pdid:number;\n m_endUseForLoan:any;\n subProductName : any;\n //public filterCtrl:FormControl=new FormControl\n private dbmasters: Dbmaster[];\n /** Subject that emits when the component has been destroyed. */\n protected _onDestroy = new Subject();\n public filteredBanks: ReplaySubject = new ReplaySubject(1);\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status : boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, \n public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, \n public toast: ToastProvider,public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,public storagedb:StorageProvider) {\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n console.log(\"pd\",this.pdDetails);\n this.applicants = this.pdDetails.applicat_details\n this.applicants = this.applicants.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);\n this.productAbbr = this.pdDetails.product_abbr;\n this.subProductName = this.pdDetails.subproduct_name;\n this.users = this.aws.getlocale();\n this.pdid=this.pdDetails.pd_id;\n this.getDropdown();\n\n this.loanDetailsForm = this.fb.group({\n loan_amount: [''],\n loan_tenure:[''],\n sub_product:[''],\n end_use: ['', Validators.compose([Validators.required])],\n end_use_other: [''],\n is_transfer: ['', Validators.compose([Validators.required])],\n //is_topup: ['', Validators.compose([Validators.required])],\n // is_topup: [''],\n balance_transfer_amount: [''],\n topup_amount: [''],\n end_use_topup:[''],\n other_end_use_topup:[''],\n lender: [''],\n filterCtrl:[''],\n other_bt_lender : [''],\n own_contribution: ['', Validators.compose([Validators.required])],\n source: [''],\n //personal_loan_source:[''],\n other_source:[''],\n //lender_name_type: [''],\n emi_level: ['', Validators.compose([Validators.required])],\n property_type: ['', Validators.compose([Validators.required])],\n property_type_others:[''],\n owner_name: ['', Validators.compose([Validators.required])],\n construction_status: ['', Validators.compose([Validators.required])],\n //percentage_of_construction : [''],\n emv_per_customer: ['', Validators.compose([Validators.required])],\n //value_per_agreement: ['', Validators.compose([Validators.required])],\n loandetails_remarks: ['', Validators.compose([Validators.required])],\n });\n console.log(this.pdDetails)\n //Setting Initial value from PD Master\n if(this.pdDetails.loan_amount!=null){\n this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount)\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\n }\n if(this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != ''){\n this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id)\n this.onChangeSubProduct(this.pdDetails.fk_subproduct_id);\n }\n \n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\n {\n this.mortagetypeAccess = true;\n }else\n {\n this.mortagetypeAccess = false;\n }\n \n \n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\n this.isContribution = true;\n }\n this.loanDetailsForm.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.filterBank();\n })\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n ionViewDidLoad() {\n console .log('ionViewDidLoad PdQuestionLoansPage');\n \n this.getLoanDetails();\n this.getPDImages();\n }\n ngOnDestroy() {\n this._onDestroy.next();\n this._onDestroy.complete();\n }\n \n ionViewCanLeave(){\n console.log(\"dirty\",this.loanDetailsForm.dirty);\n if(this.loanDetailsForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n // this.localInsert(true)\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n protected filterBank(){\n if(!this.dbmasters){\n return\n }\n let search=this.loanDetailsForm.controls['filterCtrl'].value \n if(!search){\n this.dbmasters=this.m_btLenderList\n // this.dbmasters=this.dbmasters.sort((a,b)=>{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name{\n // if(a.lender_name>b.lender_name){\n // return 1;\n // }\n // if(a.lender_name master.lender_name.toLowerCase().indexOf(search) > -1)\n //this.dbmasters.filter(master => master.lender_name==search)\n )\n // console.log(\"mbtlender\",this.m_btLenderList)\n // console.log(\"Filtered banks\",this.filteredBanks)\n }\n\n\n \n\n\n getDropdown() {\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.dbmasters=this.m_btLenderList\n this.dbmasters=this.dbmasters.sort((a,b)=>{\n if(a.lender_name>b.lender_name){\n return 1;\n }\n if(a.lender_name{\n \n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\n \n });\n\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\n data => {\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\n });\n\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\n data => {\n if(data['dataStatus']==true){\n console.log('data[records]',data['records']);\n let that = this;\n this.m_mortageTypeProperty = data['records'].filter(\n function (data) {\n if (that.pdDetails.product_abbr != \"LAP\") {\n if (data.group_name == that.pdDetails.product_abbr && data.isactive == 1) {\n return data;\n }\n }\n else if (that.pdDetails.product_abbr == \"LAP\") {\n if (data.group_name == that.productAbbr && data.sub_group_name == that.subProductName && data.isactive == 1) {\n return data;\n }\n else if (data.group_name == that.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) {\n return data;\n }\n }\n });\n // this.mortage_type(this.propertyType);\n }\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n });\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\n data => {\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\n });\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\n subdata => {\n if(subdata['dataStatus']==true){\n let that = this;\n this.m_endUseofLoad = subdata['records'].filter(\n function(data)\n {\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\n {\n return data;\n }\n });\n this.endUserChange(this.enduse)\n }\n });\n \n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\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 this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n }\n }\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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n if(this.productAbbr != 'LAP'){\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\n }\n }\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\n }) \n \n }\n\n selectedBalancesTransferChanges(event: any){\n // if(event.value == 'no') { \n // this.loanDetailsForm.controls['is_topup'].clearValidators();\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // this.loanDetailsForm.controls['is_topup'].setValue('');\n //}\n //else if(event.value == 'yes'){\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\n // }\n if (event.value == 'no') {\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \n this.loanDetailsForm.controls['lender'].setValue('');\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\n this.topUpAmtInWords=''\n\n }\n else if (event.value == 'yes') {\n this.loanDetailsForm.controls['source'].setValue('');\n this.loanDetailsForm.controls['source'].clearValidators();\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\n \n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\n \n this.isOtherSource = false;\n this.loanDetailsForm.controls['other_source'].setValue('');\n \n }\n\n}\n \n mortage_type(mortage_value)\n {\n console.log('mortage_value',mortage_value);\n console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\n let property_name = mortagetypes.property_name.replace(/\\s/g, \"\").toLowerCase();\n if(property_name=='others(pleasespecify)' || property_name=='others')\n {\n this.mortageAccess = true;\n }else\n {\n this.mortageAccess = false; \n }\n \n \n }\n compareObjects(o1: any, o2: any){\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n \n }\n\n\n loanCalc()\n {\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\n let loanAmount = this.loanDetailsForm.value.loan_amount;\n let topupAmt ;\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\n {if (loanAmount >= BtAmount) {\n topupAmt = loanAmount - BtAmount;\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n \n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\n } else {\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\n this.balTxrfAmtInWords = '';\n this.loanDetailsForm.controls['topup_amount'].setValue('');\n this.topUpAmtInWords = '';\n } }\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\n }\n\n onChangeSubProduct(subproduct) {\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\n data => {\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\n });\n }\n\n endUserChange(event) {\n //this.endUserList = [];\n event.forEach(option => {\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\n this.endUserList.push({ end_use: option });\n if (othresData == 'others') {\n \n this.isOtherPurpose = true;\n return ;\n }else\n {\n this.isOtherPurpose = false;\n \n }\n });\n }\n ownerNameChange(event) {\n this.ownerNames = [];\n event.value.forEach(option => {\n this.ownerNames.push({ owner_name: option });\n });\n }\n sourceChange(evt) {\n\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\n\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\n\n this.sourceList = [];\n\n evt.forEach(option => {\n this.sourceList.push({source: option});\n });\n}\n inWords(e,flag:number){\n switch(flag){\n case 1 :\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 2 : \n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 3 :\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 4 :\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 5 :\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \n break;\n case 6:\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\n break;\n case 7:\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\n default:\n break;\n }\n}\n submitLoanDetails() {\n // if(this.loanDetailsForm.valid){\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\n // get end user final group data\n let dataEnd_user_data = [];\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\n dataEnd_user_data.push({end_use: element})\n });\n records.end_use_group = dataEnd_user_data;\n\n if (this.isOtherPurpose) {\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\n }\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\n }\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\n \n let dataSource_list=[];\n if(this.loanDetailsForm.controls['source'].value != '')\n {\n \n this.loanDetailsForm.controls['source'].value.forEach(element => {\n dataSource_list.push({sources : element})\n });\n }\n records.source_group=dataSource_list;\n \n }\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\n //}\n if(records.topup_amount > 0){\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\n if(records.end_use_topup == 1){\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\n }\n }\n \n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\n records.lender = this.loanDetailsForm.controls['lender'].value;\n }\n if(this.loanDetailsForm.controls['lender'].value == 1){\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\n } \n \n \n\n \n /* records.source = this.loanDetailsForm.controls['source'].value;\n if (this.loanDetailsForm.controls['source'].value == 'other') {\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\n }*/\n if(this.isOtherSource){\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\n }\n else{\n records.other_source = ''; \n }\n \n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\n if(this.mortageCardAccess == true){\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\n };\n // records.owner_name_group = this.ownerNames;\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\n let dataOwner_name = [];\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\n dataOwner_name.push({owner_name: element})\n });\n records.owner_name_group = dataOwner_name;\n }\n else{\n records.owner_name_group='';\n }\n \n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\n \n }else{\n records.property_type = null;\n records.property_type_others = null;\n records.owner_name_group = null;\n records.construction_status = null;\n records.emv_per_customer = null;\n }\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']== true){\n //TO CHANGE THE FORM STATE \n // this.loanDetailsForm.markAsUntouched();\n this.loanDetailsForm.reset(this.loanDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n // this.notifier.notify('success', 'Saved Successfully.');\n })\n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter The All Field');\n // }\n }\n\n getLoanDetails() {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n\n this.qustCat.retiverForm(records).subscribe(value => {\n if (value['dataStatus'] == true) {\n let loanDetails = value['records'];\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\n return loanDetails.end_use_group[key];\n });\n \n\n //this.enduse\n result.forEach(val => {\n this.enduse.push(val.end_use);\n //this.endUserList.push({'end_use':val.end_use});\n });\n let ownername: any = [];\n if(loanDetails.owner_name_group != null){\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\n return loanDetails.owner_name_group[key];\n });\n owner.forEach(val => {\n ownername.push(val.owner_name);\n this.ownerNames.push({'end_use':val.end_use});\n });\n }\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\n this.endUserChange(this.enduse);\n\n if (loanDetails.end_use_other!='') {\n //this.endUserChange(this.enduse);\n // this.isOtherPurpose=true;\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\n }\n \n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \n if(loanDetails.topup_amount > 0){\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\n if (loanDetails.end_use_topup == 1) {\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\n }\n } \n }\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\n if (loanDetails.balance_transfer_amount) {\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\n }\n if (loanDetails.topup_amount) {\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\n }\n if (loanDetails.lender) {\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\n }\n // this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\n // if(loanDetails.own_contribution)\n // {\n // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\n // }\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\n if ((this.isContribution == true) && (loanDetails.is_transfer != 'yes')) {\n this.loanDetailsForm.controls['own_contribution'].setValue('');\n this.loanDetailsForm.controls['other_source'].setValue('');\n this.loanDetailsForm.controls['source'].setValue('');\n }\n else{\n if(this.isContribution == false && loanDetails.is_transfer!='yes')\n {\n let source=Object.keys(loanDetails.source_group).map(function(key){\n return loanDetails.source_group[key];\n });\n let dbsourcelist:any=[];\n source.forEach(val=>{\n dbsourcelist.push(val.sources);\n });\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution)\n if (loanDetails.own_contribution) { this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); }\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\n this.sourceChange(dbsourcelist);\n if(loanDetails.other_source) {\n // this.isOtherSource = true;\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\n }\n \n \n }\n }\n\n/* if (loanDetails.lender_name_type) {\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\n }*/\n \n if(loanDetails.emi_level){\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\n }\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\n this.propertyType =loanDetails.property_type;\n if(loanDetails.property_type !=null && loanDetails.property_type !=''){\n this.mortage_type(this.propertyType);\n if(this.mortageCardAccess == true){\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \n // this.mortage_type(loanDetails.property_type_others);\n \n }\n }\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\n if(loanDetails.emv_per_customer)\n {\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\n }\n \n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\n } else {\n\n }\n })\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL'){\n this.mortageCardAccess = false;\n this.loanDetailsForm.controls['owner_name'].setValue('');\n this.loanDetailsForm.controls['owner_name'].clearValidators();\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }else{\n this.mortageCardAccess = true;\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\n \n }\n \n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n localInsert(option){\n let datas:any=this.loanDetailsForm.value\n datas.pd_id=this.pdDetails.pd_id\n datas.form_id=this.FormId.form_id;\n datas.active=option;\n // let form_id=this.FormId.form_id\n // let recors={'records':datas}\n this.storagedb.insertData(datas).then(res=>{\n let alert=this.toast.setAlert('data',JSON.stringify(res))\n alert.present();\n console.log(res);\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\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'\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBankingPage 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-banking',\n templateUrl: 'pd-question-banking.html',\n // changeDetection:ChangeDetectionStrategy.OnPush\n})\nexport class PdQuestionBankingPage {\n \n m_btLenderList: any;\n applicants: any ;\n salaryField: boolean;\n FormId: any;\n accountType: any;\n users: any;\n bankDetails:FormGroup;\n pdDetails: any;\n pdid:any;\n bankitems:FormArray;\n\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n limitCaseFlag: any=[];\n amtInwords: any=[];\n\n protected _onDestroy = new Subject();\n m_btLenderListValue: any=[];\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public cons: ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) {\n //this.applicants.pop();\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 this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n \n \n // alert();\n this.users = this.aws.getlocale();\n this.bankDetails = this.fb.group(\n {\n bankitems:this.fb.array([]),\n banking_form_remark:[null],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n // this.bankDetails.controls['bankitems'].valueChanges\n // .pipe(takeUntil(this._onDestroy))\n // .subscribe(()=>{\n // this.filterBank();\n // })\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBankingPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.bankDetails.dirty);\n if(this.bankDetails.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n}\n\n checkImage(){\n let value\n if(this.imageDisplay.length>0){\n // return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Captured Images are not Saved\",\"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n // reject();\n value=false;\n }\n else{\n // resolve();\n value=true;\n }\n })\n // })\n }\n return value\n }\n searchFun(control){\n control.controls['filterCtrl'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.filterBank(control);\n })\n}\n\n filterBank(event){\n if(!this.m_btLenderListValue){\n return\n }\n let search=event.controls['filterCtrl'].value\n if(!search){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n search=search.toLowerCase()\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(search)> -1)\n }\n }\n getdropdown()\n {\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1 && data.lender_type == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\n \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 // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n\n/** Amount InWords */\ninWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n}\n\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e){\n \n \n let year = itemrow.controls.vintage_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n \n}\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n //is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n \n addBankDetails() {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n this.bankitems.push(this.createBankItem('')); \n }\n\n removebank(i){\n\n if(this.bankitems.length==1){\n this.bankitems.reset();\n }\n else\n this.bankitems.removeAt(i);\n }\n\n savepdBank(answerData)\n {\n\n answerData.bankitems.forEach(element=>{\n //console.log(\"items\",element.filterCtrl);\n // if(element.filterCtrl){\n // console.log(\"enter\",element.filterCtrl)\n delete element.filterCtrl\n // }\n });\n // console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.FormId.form_id;\n records.fk_createdby = this.users;\n records.banking_details = answerData.bankitems;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n // this.bankDetails.dirty=false;\n // this.bankDetails.markAsDirty();\n // console.log(\"Dir\",this.bankDetails.markAsDirty())\n // console.log(\"pristine\",this.bankDetails.markAsPristine());\n // console.log(\"Touched\",this.bankDetails.markAsTouched());\n\n //TO CHANGE THE FORM STATE \n // this.bankDetails.markAsUntouched();\n // console.log(\"touched\",this.bankDetails.touched)\n // console.log(\"untouched\",this.bankDetails.untouched)\n // console.log(\"pristine\",this.bankDetails.pristine)\n this.bankDetails.reset(this.bankDetails.value)\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n retiveBankDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'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 var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\n \n if(result.length ==0){\n \n this.bankitems.push(this.createBankItem(''))\n }else\n {\n \n \n \n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this.selectedAccTypeChanges(+datas.account_type,index)\n if(datas.limit != ''){\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n } \n // this.selectedBorrower(datas.applicant_name,index);\n this.bankitems.push(this.createBankItem(''));\n })\n this.bankDetails.controls['bankitems'].setValue(result);\n }\n \n \n }else\n {\n \n this.addBankDetails();\n }\n });\n \n }\n\n \n/*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n}\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'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\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 cityDataValue:any=[]\n stateDataValue:any=[]\n protected _onDestroy = new Subject();\n pincodeDataValue: any=[];\n relationDataValue: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n titleList: any=[];\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,public cons:ConstantsProvider,\n private cameraProvider:CameraProvider,private loading:LoadingProvider) {\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 //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\n this.getFamilyData();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.familyForm.dirty);\n if(this.familyForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \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: [''],\n residence_city: [''],\n citySearch:[''],\n residence_state: [''],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin: [''],\n residence_other_pincode:[''],\n residence_No_of_years: [''],\n residence_ownership: [''],\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 this.inWords(val.rent,index,2)\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,Validators.compose([Validators.required])],\n residence_place:[val.residence_place],\n residence_city:[val.residence_city],\n citySearch:[''],\n residence_state:[val.residence_state],\n stateSearch:[''],\n pinSearch:[''],\n residence_pin:[val.residence_pin],\n residence_other_pincode:[val.residence_other_pincode],\n residence_No_of_years: [val.residence_No_of_years],\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: [''],\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.inWords(vals.earning_gross_income_per_month,index,1);\n }\n let datas = this.fb.group({\n family_member_salutation:[vals.family_member_salutation || null],\n family_member_name: [vals.family_member_name || null],\n family_member_relationship: [vals.family_member_relationship || null],\n relationSearch:[''],\n family_member_age: [vals.family_member_age || null],\n family_member_earning_status: [vals.family_member_earning_status || null],\n earning_segment: [vals.earning_segment || null],\n earning_if_others_segment:[vals.earning_if_others_segment || null],\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null],\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null],\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null],\n non_earning_occupation: [vals.non_earning_occupation || null],\n non_earning_if_others: [vals.non_earning_if_others || null],\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null],\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null],\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:[''],\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_salutation:[''],\n family_member_name: ['' ],\n family_member_relationship: [''],\n relationSearch:[''],\n family_member_age: [''],\n family_member_earning_status: [''],\n earning_segment: [''],\n earning_if_others_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 non_earning_occupation: [''],\n non_earning_if_others: [''],\n non_earning_if_schoolorcollege:[''],\n non_earning_if_retired_from: [''],\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 this.relationDataValue=this.relationData.slice();\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 this.stateDataValue=this.stateData.slice();\n }\n })\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.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.cityDataValue[i]=this.cityData[i].slice();\n this.pincodeData[i] = data.records.pincode;\n this.pincodeDataValue[i]=this.pincodeData[i].slice()\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}*/\nsetValidation(control){\n console.log(control)\n if(control.controls['family_member_earning_status'].value == 1){\n control.controls['non_earning_occupation'].clearValidators()\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n if(control.controls['family_member_earning_status'].value == 2 ){\n control.controls['non_earning_occupation'].setValidators(Validators.compose([Validators.required]))\n control.controls['non_earning_occupation'].updateValueAndValidity()\n }\n}\n\nsavepdfamily(answerData)\n{\n if(!this.familyForm.valid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Mandatory Fields\");\n return\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 \n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid=this.pdDetails.pd_id;\n records.formid=this.FormId.form_id;\n records.fk_createdby=this.users;\n records.family_details.forEach(parVal=>{\n console.log(\"par\",parVal)\n delete parVal.stateSearch\n delete parVal.citySearch\n delete parVal.pinSearch\n parVal.family_members_details.forEach(childVal=>{\n console.log(\"childval\",parVal)\n delete childVal.relationSearch\n })\n })\n this.qustCat.saveForm(records).subscribe(res=>{\n //TO CHANGE THE FORM STATE \n this.familyForm.reset(this.familyForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\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}\nprevFamilyMembersCtrlLength: number = 0;\ncurrFamilyMembersCtrlLength: number = 0;\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 this.currFamilyMembersCtrlLength = control.length;\n \n let i : number = 0 ;\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\n console.log(i,this.prevFamilyMembersCtrlLength);\n control.removeAt(i);\n }\n // while(index < this.prevFamilyMembersCtrlLength)\n // { \n // }\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\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 this.prevFamilyMembersCtrlLength = data.length;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\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_salutation':'',\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 this.prevFamilyMembersCtrlLength = 1;\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\n \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_salutation:[val.family_member_salutation],\n family_member_name: [val.family_member_name],\n family_member_relationship: [val.family_member_relationship],\n relationSearch:[''],\n family_member_age: [val.family_member_age],\n family_member_earning_status: [val.family_member_earning_status],\n earning_segment: [val.earning_segment],\n earning_if_others_segment:[val.earning_if_others_segment],\n earning_gross_income_per_month: [val.earning_gross_income_per_month],\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business],\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business],\n non_earning_occupation: [val.non_earning_occupation],\n non_earning_if_others: [val.non_earning_if_others],\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege],\n non_earning_if_retired_from: [val.non_earning_if_retired_from],\n})\n}\nresValue:any;\n\n getFamilyData()\n {\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\n // console.log(res);\n if(res['dataStatus']==true){\n // console.log('res.record.from_general_form',res.record.from_general_form,res['record']);\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 // console.log('Temparr',Temparr);\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={'parent_pdid':this.pdDetails.parent_pd_id,'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 //FOR REMOVING CONTROL\n res['records'].family_details.forEach(parVal=>{\n parVal.stateSearch=''\n parVal.citySearch=''\n parVal.pinSearch=''\n parVal.family_members_details.forEach(childVal=>{\n delete childVal.relationSearch\n })\n })\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\n \n \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,i,flag:number){\n switch(flag){\n case 1 :\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \n break;\n case 2 :\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \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,Validators.compose([Validators.required])],\n residence_place:[val.residence_place]\n })\n }\n }\n\n\nsearchFun(control:any,i:number,option){\n console.log(\"control\",control)\n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n })\n }\n if (option == 'pin') {\n console.log(\"pin\")\n control.controls['pinSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchPin(control.controls['pinSearch'].value,i)\n })\n }\n }\n searchPin(val:any,index:number){\n if(!this.pincodeData[index]){\n return\n }\n let searchValue=val\n if(!searchValue){\n this.pincodeDataValue[index]=this.pincodeData[index].slice()\n return\n }else{\n searchValue=searchValue.toLowerCase()\n }\n this.pincodeDataValue[index]=this.pincodeData[index].filter(value=>value.pincode.toLowerCase().indexOf(searchValue) > -1)\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n console.log(\"City Data value\",this.cityDataValue[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateData) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n // this.filteredState.next(this.stateList.slice())\n this.stateDataValue=this.stateData.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.stateDataValue=this.stateData.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n // this.filteredState.next(\n // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n // )\n }\n searchRelation(val:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val);\n val.controls['relationSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.relationDataValue=this.cons.searchData(this.relationData,val.controls['relationSearch'].value,'')\n \n })\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n \n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n \n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n \n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('family_member_name').value\n value.get('family_member_name').setValue(this.cons.sentenceCase(name));\n }\n }\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {Camera} from '@ionic-native/camera'\n// import {CacheService} from 'ionic-cache-observable'\n// import { Observable } from 'rxjs/Observable';\n\n/**\n * Generated class for the PdQuestionAssestsPage 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-assests',\n templateUrl: 'pd-question-assests.html',\n})\nexport class PdQuestionAssestsPage {\n tab:any='0'\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n m_relation: any;\n applicants: any ;\n users: any;\n FormId: any;\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\n m_investmentType: { 'id': string; 'name': string; }[];\n m_insuranceType: { 'id': string; 'name': string; }[];\n m_propertyType: { 'id': string; 'name': string; }[];\n m_assets_type: { 'id': string; 'name': string; }[];\n m_vehicle_type: any=[];\n m_uom_type: any=[];\n pdDetails: any;\n assetItem: any;\n items:FormArray;\n AssetsDetailsForm:FormGroup;\n details:FormArray;\n FormList:boolean = false;\n loadDetails:boolean = true;\n assestInfo:any;\n PremiumPaidInwords: any=[]; \n SumAssuredInwords: any=[];\n AmtInvestInwords: any=[];\n ApproxInwords:any =[];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOtherOwner: any = [];\n pdid:any;\n currentYear: any = new Date().getFullYear();\n imageBucket: any=[];\n base64: string;\n imageDisplay: any=[];\n @ViewChild('focusName') inputFocus;\n @ViewChild('picContent') content: Content\n complete_status: boolean = false;\n // data:Observable ;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider,public camera:Camera,public alert: AlertController) {\n \n this.assestInfo = \"busass\";\n this.FormId = this.navParams.get('FormId');\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.AssetsDetailsForm = this.fb.group({\n assets_details:this.fb.array([]),\n assets_form_remark:['']\n })\n \n this.getAssetDetails();\n this.getdropList();\n this.loadDetails = true;\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssestsPage');\n console.log(\"Form\",this.AssetsDetailsForm)\n this.getPDImages();\n }\n // ionViewWillLeave(){\n // console.log(this.AssetsDetailsForm.dirty);\n // if(this.AssetsDetailsForm.dirty){\n // return;\n // }\n \n // }\n ionViewCanLeave(){\n console.log(\"dirty\",this.AssetsDetailsForm.dirty);\n if(this.AssetsDetailsForm.dirty){\n // console.log(\"dirty\",this.AssetsDetailsForm.dirty)\n //return false;\n // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back');\n // console.log(\"v\",val)\n // if(val==1){\n\n // }\n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Form is Modified\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n }\n \n }\n\n getdropList()\n {\n //GETTING Asset Type\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\n \n }\n })\n \n //GETTING Property Type;\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\n \n }\n })\n \n //GETTING Investment Type;\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Insurance Type;\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\n }\n })\n \n //GETTING Frequency Type;\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\n }\n })\n\n //GETTING Relationship;\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \n {\n if(data['dataStatus']==true)\n {\n this.m_relation = data['records'].filter(data => data.isactive == 1);\n }\n });\n\n //GETTING VEHICLE TYPE;\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n }\n })\n \n //GETTING UOM List;\n this.qustCat.getcommondrop('UOM').subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\n }\n })\n\n //GETTING Company And Applicant List.\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\n { \n if(data['dataStatus']==true)\n {\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\n \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 this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n })\n \n \n }\n createAsset() : FormGroup\n {\n return this.fb.group(\n {\n assets_mode: [null],\n details: this.fb.array([]),\n approximate_market_value: [null],\n name_of_the_owner: [''],\n other_owner:[''],\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n vintage_personal : [''],\n emi: [null],\n });\n }\n\n addAsset(flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n this.assetItem.push(this.createAsset());\n }\n }\n\n deleteAsset(i,flag)\n {\n if(flag==1){\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\n if(this.assetItem.length==1)\n {\n this.AssetsDetailsForm.controls['assets_details'].reset();\n }else{\n this.assetItem.removeAt(i);\n } \n }\n }\n \n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n \n loanCalc(details ,flag)\n {\n if(flag == 1){\n \n let ElapsedValues;\n \n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\n }\n }\n }\n \n show: boolean;\n selectedAssetsType(e: any, i: any,flag : any): void {\n \n let val = i;\n if(flag == 1){\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n }\n \n switch (e.value) {\n case '1': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\n control.push(this.otherAssetsDescription());\n break;\n }\n case '2': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n case '5': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadConsumerDurableDescription());\n break;\n }\n case '6': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInsuranceDescription());\n break;\n }\n case '7': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.loadInvestDescription());\n break;\n }\n case '8': {\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \n control.push(this.otherAssetsDescription());\n break;\n }\n default: {\n break;\n }\n }\n }\n\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: [''],\n describe_of_the_property_asset: [''],\n area_covered_by_this_property: [''],\n uom_of_the_property: [''],\n other_uom: ['']\n });\n } \n\n loadConsumerDurableDescription() {\n return this.fb.group({\n consumer_durable_description: [null]\n });\n }\n \n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n\n otherAssetsDescription() {\n return this.fb.group({ any_other_assets: [''] });\n }\n\n loadInsuranceDescription() {\n return this.fb.group({\n // insurance_type: [null],\n premium_paid: [null],\n frequency_mode: [null],\n other_frequency_mode:[null],\n sum_assured: [null],\n members_coverd: [null]\n });\n }\n\n loadInvestDescription() {\n return this.fb.group({\n investments_type: [''],\n other_investments_type:[''],\n in_which_organisation:[''],\n amount_of_invest: [''],\n bank_name: ['']\n });\n }\n\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n \n\n load_Two_Weeler() {\n return this.fb.group({\n manufacturer_model_two_weeler: ['']\n });\n }\n\n\n\n loadPropertyWithData(data) {\n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\n area_covered_by_this_property: [data.area_covered_by_this_property],\n uom_of_the_property: [data.uom_of_the_property],\n other_uom: [data.other_uom]\n });\n }\n\n loadJwellDescriptionWithData(data) {\n return this.fb.group({\n // jwell_description: [data.jwell_description]\n });\n }\n\n loadConsumerDurableDescriptionWithData(data) {\n return this.fb.group({\n consumer_durable_description: [data.consumer_durable_description]\n });\n }\n\n otherAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n });\n }\n \n loadInsuranceDescriptionWithData(data) {\n return this.fb.group({\n //insurance_type: [data.insurance_type],\n premium_paid: [data.premium_paid],\n frequency_mode: [data.frequency_mode],\n other_frequency_mode:[data.other_frequency_mode],\n sum_assured: [data.sum_assured],\n members_coverd: [data.members_coverd]\n });\n }\n\n loadInvestDescriptionWithData(data) {\n return this.fb.group({\n investments_type: [data.investments_type],\n other_investments_type:[data.other_investments_type],\n in_which_organisation:[data.in_which_organisation],\n amount_of_invest: [data.amount_of_invest],\n bank_name: [data.bank_name]\n });\n }\n\n \n\n load_Four_WeelerWithData(data) {\n return this.fb.group({\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n });\n }\n\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n\n load_Two_WeelerWithData(data) {\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\n });\n }\n\n\n initDetailsWithdata(data) {\n return this.fb.group({\n assets_mode: [data.assets_mode],\n details: this.fb.array([]),\n approximate_market_value: [data.approximate_market_value],\n name_of_the_owner: [data.name_of_the_owner],\n other_owner:[data.other_owner || ''],\n vintage_personal:[data.vintage_personal],\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\n emi: [data.emi || 0],\n });\n }\n\n saveAssetDetails(answerData)\n {\n if(!this.AssetsDetailsForm.dirty){\n this.toast.pdTriggerappmessage(\"Modified\"+' '+this.AssetsDetailsForm.dirty);\n return;\n }\n \n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n // answerData.assets_details.map(val => {\n // if (val.emi == 'no') {\n // val.emi_paid = '';\n // val.elapsed_tenure = '';\n // val.balance_tenure = '';\n // val.original_loan_tenure ='';\n // }\n // });\n answerData.parent_pdid=this.pdDetails.parent_pd_id\n answerData.pdid = this.pdDetails.pd_id;\n answerData.formid = this.FormId.form_id;\n answerData.fk_createdby = this.users;\n \n this.qustCat.saveForm(answerData).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.AssetsDetailsForm.reset(this.AssetsDetailsForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n apiLoadFinish:boolean = false;\n\n // To Fetch The Asset Value;\n getAssetDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n return res['records'].assets_details[key];\n });\n \n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\n if (assetArray.length > 0) {\n assetArray.forEach((val, index) => {\n let vals = {\n assets_mode: val.assets_mode,\n approximate_market_value: val.approximate_market_value,\n name_of_the_owner: val.name_of_the_owner,\n other_owner:val.other_owner,\n purchase_year: val.purchase_year,\n vintage_personal:val.vintage_personal,\n emi: val.emi,\n };\n \n let Avaliablity = 1;\n if(val.name_of_the_owner.length>0){\n val.name_of_the_owner.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\n \n const control = this.AssetsDetailsForm.controls['assets_details'];\n control.push(this.initDetailsWithdata(vals));\n this.inWords(+val.approximate_market_value,index,4);\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\n });\n \n }\n \n this.apiLoadFinish = true;\n \n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\n }else{\n this.apiLoadFinish = true;\n this.addAsset(1);\n // this.addAsset(2);\n }\n })\n \n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\n let val = i;\n \n let data = datas;\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n arr.controls.splice(0);\n switch (assets_details_mode) {\n case '1': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'any_other_assets': datas.any_other_assets };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.otherAssetsDescriptionWithData(array_data));\n break;\n }\n \n case '2': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\n 'uom_of_the_property': datas.uom_of_the_property,\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadPropertyWithData(array_data));\n break;\n }\n case '3': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\n 'vehicle_type': datas.vehicle_type,\n 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.load_Four_WeelerWithData(array_data));\n break;\n }\n case '4': {\n let array_data:any\n data.forEach((datas,i)=>{\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\n })\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\n break;\n }\n case '5': {\n this.FormList = true;\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\n break;\n }\n case '6': {\n let array_data : any;\n data.forEach((datas,i) => {\n array_data = { \n 'premium_paid': datas.premium_paid,\n 'frequency_mode': datas.frequency_mode,\n 'other_frequency_mode':datas.other_frequency_mode,\n 'sum_assured': datas.sum_assured,\n 'members_coverd': datas.members_coverd\n };\n this.inWords(+datas.premium_paid,i,1);\n this.inWords(+datas.sum_assured,i,2);\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInsuranceDescriptionWithData(array_data));\n break;\n }\n case '7': {\n let array_data : any;\n data.forEach((datas,i) => {\n this.inWords(+datas.amount_of_invest,i,3);\n array_data = { 'investments_type': datas.investments_type,\n 'other_investments_type' : datas.other_investments_type,\n 'in_which_organisation':datas.in_which_organisation,\n 'amount_of_invest': datas.amount_of_invest,\n 'bank_name': datas.bank_name };\n });\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\n control.push(this.loadInvestDescriptionWithData(array_data));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n /** On Key Press Event For Number only Accepting */\n keyPress(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 }\n\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n default:\n break;\n }\n }\n\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) { }\n else if (type == 2) { }\n else if (type == 3) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\n }\n\n }\n\n\n setRequiredValidation(value, ParInx, ChdInx, flag) {\n\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\n\n let ChdCtrls: any = ParCtrls.controls[ParInx];\n\n if (flag == 4) {\n let Avaliablity = 1;\n\n if (value.length > 0) {\n value.forEach(option => {\n if (option.id == 0 && option.group_id == 2) {\n Avaliablity = option.id;\n }\n });\n }\n if (Avaliablity == 0) {\n\n\n // ChdCtrls.controlsother_owner.setValidators([Validators.required]);\n this.isOtherOwner[ParInx] = true;\n\n } else if (Avaliablity == 1) {\n\n\n ChdCtrls.controls.other_owner.setValue('');\n // ChdCtrls.controls.other_owner.clearValidators();\n this.isOtherOwner[ParInx] = false;\n\n }\n\n // ChdCtrls.controls.other_owner.updateValueAndValidity();\n\n }\n \n }\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n savePhoto(){\n let num_of_images=(this.imageBucket.length+1)+(this.imageDisplay.length+1)\n console.log(\"num of images\",num_of_images)\n if(num_of_images <=10){\n this.camera.getPicture({\n quality: 100,\n destinationType: this.camera.DestinationType.DATA_URL,\n targetWidth: 500,\n targetHeight: 600,\n correctOrientation: true\n }).then((imageData)=>{\n this.base64='data:image/png;base64,'+imageData\n this.imageBucket.push({'image':this.base64,'Name':''});\n // this.imageDisplay.push({'image':this.base64,'Name':''})\n this. getImageName(this.imageBucket.length-1)\n \n },(err)=>{\n //alert(\"error\");\n })\n this.tab='1';\n // this.content.scrollToBottom();\n // let dimensions = this.content.getContentDimensions();\n // this.content.scrollTo(0, dimensions.contentHeight+100, 100);\n // this.inputFocus.setFocus();\n }\n else{\n this.toast.pdTriggerappmessage(\"You are reached the image Limit. To Capture new one Delete the Previous image\");\n }\n }\n getImageName(index){\n console.log(\"index\",index);\n let alert=this.alert.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n this.imageBucket[index].Name=data.Name\n alert.dismiss\n }\n }\n ]\n })\n alert.present();\n //this.inputFocus.setFocus();\n \n }\n// al(){\n// this.toast.pdTriggerappmessage(\"touched\");\n// }\n sendImage(){\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_owner').value\n value.get('other_owner').setValue(this.constprovider.sentenceCase(name));\n }\n \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, 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'\nimport { PdQuestionRentalDashPage } from '../pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\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 existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n applicants: any=[];\n isOrganisationOwner: any=[];\n customer_segment_abbr: any;\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider, public constant:ConstantsProvider,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.applicants=this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0)\n //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.getFrequency();\n this.users = this.aws.getlocale();\n\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\n // {\n // this.one = res;\n // if(this.one.dataStatus == true)\n // {\n // this.one = this.one.records.template_forms;\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\n // console.log(this.one,one);\n // }\n\n // });\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 //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\n this.getOtherIncome();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.otherIncomeForm.dirty);\n if(this.otherIncomeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \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 this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\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 this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\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 if (this.customer_segment_abbr == 'SE-RI') {\n let inx = this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\")\n /** -X- Please NOTE THIS :\n * inx is '-1' -> this will remove the last item from array \n * so that If Condition is given. */\n if (inx !== -1) {\n this.sourceIncome.splice(this.sourceIncome.map(data => data.name).indexOf(\"Rental Income\"), 1);\n }\n }\n }\n });\n \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}\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\n console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\nconsole.log(\"chld\",ChdCtrls)\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.others_income_earned_by.setValue('');\n ChdCtrls.controls.others_income_earned_by.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \n}\ninWords(val,i){\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n}\n\nToview(){\n // alert('Rental Income Details - Is inprogress');\n \n // here Hardcoded;\n this.otherIncomeForm.reset(this.otherIncomeForm.value)\n let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\n this.navCtrl.push(PdQuestionRentalDashPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\n}\nsubmitOtherIncome(answerData)\n{\n \n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\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 //TO CHANGE THE FORM STATE \n this.otherIncomeForm.reset(this.otherIncomeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }, error => {\n \n })\n}\n\ngetOtherIncome()\n{\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'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 \n this.incomeDetails.push(this.createDetail());\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\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 /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('others_income_earned_by').value\n value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name));\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 } from '@angular/core';\nimport { IonicPage, NavController, NavParams ,AlertController} from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\nimport { Message } from '@angular/compiler/src/i18n/i18n_ast';\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionRentalInfoPage 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-rental-info',\n templateUrl: 'pd-question-rental-info.html',\n})\nexport class PdQuestionRentalInfoPage {\n pipe = new DatePipe('en-US');\n users: any;\n pdDetails: any;\n FormId: any;\n rentalForms:FormGroup;\n applicants: any ;\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n personType: any=[{id:2,name:\"Tenant / Lessee\"},{id:3,name:\"Owner of the Rented Property\"},{id:4,name:\"Property Caretaker\"},{id:1,name:\"Others (Please Specify)\"}];\n relationShipList: any=[];\n relationToList: any=[];\n rentAmtInwords : String;\n paymentOptions: any=[{id:1,name:\"Received in Cash\"},{id:2,name:\"Received through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n paymentPaidOptions: any=[{id:1,name:\"Paid in Cash\"},{id:2,name:\"Paid through Banking Channel\"},{id:3,name:\"Combination of Cash & Bank\"}];\n propertyNature: any=[{id:2,name:\"Residential Property\"},{id:3,name:\"Commercial Property\"},{id:4,name:\"Industrial Property\"},{id:1,name:\"Others (Please Specify)\"}];\n unitTypeList: any=[];\n stateData:any=[];\n cityData:any=[];\n pincodeData:any=[];\n stateList:any=[];\n cityList:any=[];\n pincodeList:any=[];\n \n documentList: any=[{id:2,name:\"Property Title Document\"},{id:3,name:\"Electricity Bill with name of owner mentioned therein\"},{id:4,name:\"Property tax Receipts\"},{id:1,name:\"Others (Please Specify)\"}];\n //floorList: any=[{id:1,name:\"Ground Floor\"},{id:1,name:\"First Floor\"},{id:1,name:\"Second Floor\"},{id:1,name:\"Third Floor\"}]\n //unitMeasurementList: any=[{id:2,name:\"Square Feet\"},{id:3,name:\"Square Yards\"},{id:4,name:\"Square Meters\"},{id:5,name:\"Acres\"},{id:6,name:\"Hectares\"},{id:1,name:\"Others (Please Specify)\"}];\n unitMeasurementList: any=[];\n\n rent_per_unit_Inwords : any= [];\n amount_Inwords : any=[];\n // rent_per_unit_2_Inwords: any=[];\n floor_rent_per_unit_Inwords : any[][];\n floor_rent_amount_Inwords: any=[];\n monthly_rent_amount_Inwords: any=[];\n amount_received_cash_Inwords: any=[];\n amount_received_bank_Inwords: any=[];\n securtity_deposit_amount_Inwords: any=[]; \n agreement_monthly_rent_amount_Inwords: any=[];\n agreement_security_deposit_amount_Inwords: any=[]\n paid_monthly_rent_per_met_Inwords: any=[];\n amount_received_cash_per_met_Inwords: any=[];\n amount_received_bank_per_met_Inwords: any=[];\n protected _onDestroy = new Subject();\n imageBucket: any=[];\n tab: any='0';\n imageDisplay: any=[];\n pageTitle: string;\n data:any;\n complete_status: boolean = false;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,\n public constprovider:ConstantsProvider,public alertCtrl:AlertController,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) \n {\n this.data=this.navParams.get('values'); // for get the data from dash page\n console.log(\"values\",this.data)\n this.pageTitle = this.data.manage_status==1 ? 'Add RI Details' : 'Update RI Details';\n this.FormId = this.navParams.get('FormId');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n this.applicants = this.pdDetails.applicat_details;\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n \n this.getdropList();\n\n this.rentalForms = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId.form_id,\n address_property:['',Validators.required],\n state:['',Validators.required],\n stateSearch:[''],\n city:['',Validators.required],\n citySearch:[''],\n pincode:['',Validators.required],\n pincodeSearch:[''],\n validate_visited_address:[true],\n person_met: ['',Validators.required],\n property_owner: ['',Validators.required],\n property_ownership_proof_documents: ['',Validators.required],\n nature_property: ['',Validators.required],\n unit_type:['',Validators.required],\n no_units:[''],\n multistoried_building_details: this.fb.array([]),\n property_unit_details : this.fb.array([]),\n done_third_party_check :['',Validators.required],\n rental_remark: [''],\n })\n\n // observe person met controls\n this.rentalForms.controls['person_met'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherPersonMetCheck = val.filter(fVal=>fVal.id==0);\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_person_met', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_person_met');\n otherPersonMetCheck.length>0 ? this.rentalForms.addControl('other_name_person_showing_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_showing_property');\n otherPersonMetCheck.length>0 ? '' : this.rentalForms.removeControl('other_name_person_type');\n\n \n }\n else {\n this.rentalForms.removeControl('other_person_met');\n this.rentalForms.removeControl('other_name_person_showing_property');\n this.rentalForms.removeControl('other_name_person_type');\n }\n });\n // observe owner of the property\n this.rentalForms.controls['property_owner'].valueChanges.subscribe(val => {\n if(val && val.length>0){\n let otherOwnerCheck = val.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relationship', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relationship');\n otherOwnerCheck.length>0 ? this.rentalForms.addControl('property_owner_other_relation_to', new FormControl('', Validators.required)) : this.rentalForms.removeControl('property_owner_other_relation_to');\n\n }\n else {\n this.rentalForms.removeControl('property_owner_other');\n this.rentalForms.removeControl('property_owner_other_relationship');\n this.rentalForms.removeControl('other_name_person_type');\n this.rentalForms.removeControl('property_owner_other_relation_to');\n }\n });\n // observe other property type\n this.rentalForms.controls['nature_property'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_nature_property', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_nature_property');\n });\n\n // observe unit type changes\n this.rentalForms.controls['unit_type'].valueChanges.subscribe(val => { \n val.id==1 ? this.rentalForms.addControl('other_unit_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_unit_type');\n val.group_id==1 && val.id==6 ? this.rentalForms.removeControl('no_units') : val.group_id==2 && val.id==7 ? this.rentalForms.removeControl('no_units') : this.rentalForms.addControl('no_units', new FormControl(''));\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('no_floor', new FormControl('',Validators.required)) : this.rentalForms.removeControl('no_floor');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_total_area', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_total_area');\n val.group_id==1 && val.id==6 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : val.group_id==2 && val.id==7 ? this.rentalForms.addControl('multistoried_uom', new FormControl('',Validators.required)) : this.rentalForms.removeControl('multistoried_uom');\n val.group_id==1 && val.id==6 ? '' : val.group_id==2 && val.id==7 ? '' : this.rentalForms.setControl('multistoried_building_details', this.fb.array([]));\n });\n\n // observe visit address\n this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(val => { \n if(val===false){\n this.rentalForms.addControl('other_visited_address', new FormControl('', Validators.required)); \n }\n else {\n this.rentalForms.removeControl('other_visited_address'); \n }\n });\n // get city list based on state changes\n this.rentalForms.controls['state'].valueChanges.subscribe(val => { \n this.qustCat.getStateWiseCities(val).subscribe(data => {\n if (data.status == 200) {\n this.cityData = data.records.cities;\n this.cityList = this.cityData.slice();\n this.pincodeData = data.records.pincode;\n this.pincodeList = this.pincodeData.slice();\n }\n });\n });\n\n // ownership property documents during the visit\n this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('sighted_documents');\n val==\"1\" ? '' : this.rentalForms.removeControl('other_sighted_documents');\n }); \n\n // listen third party check\n this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(val => { \n val==\"1\" ? this.rentalForms.addControl('whom_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('whom_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('description_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('description_third_party_check_done');\n val==\"1\" ? this.rentalForms.addControl('rental_rates_third_party_check_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('rental_rates_third_party_check_done');\n val==\"0\" ? this.rentalForms.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this.rentalForms.removeControl('why_third_party_check_not_done');\n }); \n if(this.data.manage_status != 1){\n this.getRentalDetails(); \n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n }\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.rentalForms.dirty);\n if(this.rentalForms.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropList()\n {\n\n let modifyApplicantList: any=[];\n \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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n \n }\n // set unit type list details\n let resiDentialProperty = [{id:2,name:'Independent Flat',group_id:1},{id:3,name:'Independent Floor',group_id:1},\n {id:4,name:'Independent House',group_id:1},{id:5,name:'Independent Row House',group_id:1},{id:6,name:'Multi Storey Building',group_id:1},{id:1,name:'Other (Please Specify)',group_id:1}];\n \n let commercialProperty = [{id:2,name:'Independent Office',group_id:2},{id:3,name:'Independent Shop',group_id:2},{id:4,name:'Warehouse/Godown',group_id:2},\n {id:5,name:'Workshop',group_id:2},{id:6,name:'Independent Clinic',group_id:2},{id:7,name:'Multi Storey Building',group_id:2},{id:1,name:'Other (Please Specify)',group_id:2}];\n\n let industrialProperty = [{id:2,name:'Factory',group_id:3},{id:3,name:'Industrial Shed',group_id:3},{id:1,name:'Other (Please Specify)',group_id:3}];\n \n this.unitTypeList.push({groupID:2,groupName:'Residential Property',groupValues:resiDentialProperty});\n this.unitTypeList.push({groupID:3,groupName:'Commercial Property',groupValues:commercialProperty});\n this.unitTypeList.push({groupID:4,groupName:'Industrial Property',groupValues:industrialProperty}); \n \n\n //GETTING RELATIONSHIPS\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let relationshipList: any = res['records'].filter(item => item.isactive == 1).map(element => {\n return {id:element.relationship_id.toString(),name:element.name,group_id:1};\n });\n relationshipList.length > 0 ? this.relationShipList.push({groupName:'Personal',groupValues:relationshipList}):'';\n }\n })\n \n //GETTING COMPANYRELATIONSHIPS;\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let companyRelationShipList:any = res['records'].filter(item => item.isactive == 1 && item.name != 'Others').map(element => {\n return {id:element.company_relationship_id.toString(),name:element.name,group_id:2};\n });\n companyRelationShipList.length > 0 ? this.relationShipList.push({groupName:'Official',groupValues:companyRelationShipList}):'';\n } \n })\n \n //GETTING STATE;\n this.qustCat.getcommondrop('STATE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.stateData = res['records'].filter(data => data.isactive == 1);\n this.stateList = this.stateData.slice();\n }\n })\n\n //GETTING UOM;\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.unitMeasurementList = res['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2).map(mval=>({id : mval.uom_id , name:mval.name}));\n }\n }) \n }\n\n// initRentalForm() {\n// return this.rentalForms = this.fb.group({\n// pdid: this.pdDetails.pd_id,\n// formid: this.FormId.form_id,\n// address_property:['',Validators.required],\n// state:['',Validators.required],\n// city:['',Validators.required],\n// pincode:['',Validators.required],\n// validate_visited_address:[true],\n// person_met: ['',Validators.required],\n// property_owner: ['',Validators.required],\n// property_ownership_proof_documents: ['',Validators.required],\n// nature_property: ['',Validators.required],\n// unit_type:['',Validators.required],\n// no_units:[''],\n// property_unit_details : this.fb.array([]),\n// done_third_party_check :['',Validators.required],\n// rental_remark: [''],\n// });\n// }\n\n // createrentalHome()\n // {\n // return this.fb.group(\n // {\n // complete_add:[null,Validators.compose([Validators.required])],\n // area_of_property:[null,Validators.compose([Validators.required])],\n // structure_property:[null,Validators.compose([Validators.required])],\n // total_room:[null,Validators.compose([Validators.required])],\n // is_rent:[null,Validators.compose([Validators.required])],\n // date_agreement:[null,Validators.compose([Validators.required])],\n // date_validity:[null,Validators.compose([Validators.required])],\n // rent_agreement:[null,Validators.compose([Validators.required])],\n // actual_rent:[null,Validators.compose([Validators.required])],\n // photo_areegment:[null,Validators.compose([Validators.required])],\n // property_photographs:[null],\n // bank:[null,Validators.compose([Validators.required])],\n // cash:[null,Validators.compose([Validators.required])],\n // rent_each_floor:[null,Validators.compose([Validators.required])],\n // total_rent:[null,Validators.compose([Validators.required])],\n // related_doc_owner:[null,Validators.compose([Validators.required])],\n // details_tenants:this.fb.array([]),\n // third_party_check:[null,Validators.compose([Validators.required])],\n // })\n // }\n\n // other_name_person_showing_property changes\n personShowingChanges(value: any): void { \n if(value.length>0){\n let otherCheck: any = value.filter(fVal=>fVal.id==1);\n otherCheck.length >0 ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_name_person_type');\n}\nelse {\n this.rentalForms.removeControl('other_name_person_type');\n}\n}\n\n// dynamic form control generate for other documents sighted\ngetSightedDocs(value): void{\n value.id==1 ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n}\n\n// add more unit details\naddMoreUnitDetails(){\n let control: any = this.rentalForms.controls['property_unit_details'];\n //control.push(this.createUnitDetails(''));\n control.push(this.createUnitDetails(''));\n}\n\n // create unit details\n createUnitDetails(details){\n return this.fb.group({\n tenant_lessees_options:['1',Validators.required],\n name_tenant_lessees:['',Validators.required],\n monthly_rent_amount: ['',Validators.required],\n payment_mode: ['',Validators.required],\n securtity_deposit_amount: ['',Validators.required],\n property_cover_area: ['',Validators.required],\n unit_measurement: ['',Validators.required],\n is_rent_agreement_executed: ['',Validators.required],\n met_tenant_lessees_options: ['',Validators.required],\n });\n }\n\n // remove unit\n removeUnit(index) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.removeAt(index);\n }\n\n // generate payment dynamic fields\n generatePaymentOptions(value:any,index:number,type: number){\n if(type==1){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.payment_mode.id==1){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==2){\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('payment_received_reason');\n }\n else if(value && value.payment_mode.id==3){\n control.controls[index].addControl('amount_received_cash', new FormControl(value.amount_received_cash ? value.amount_received_cash : '', Validators.required));\n control.controls[index].addControl('amount_received_bank', new FormControl(value.amount_received_bank ? value.amount_received_bank : '', Validators.required));\n control.controls[index].addControl('payment_received_reason', new FormControl(value.payment_received_reason ? value.payment_received_reason : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash');\n control.controls[index].removeControl('amount_received_bank');\n control.controls[index].removeControl('payment_received_reason');\n }\n \n }\n else if(type==2){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"controls\",control.controls['index'])\n if( control.controls[index].controls['payment_difference_per_met']){\n console.log(\"pay\");\n control.controls[index].controls['payment_difference_per_met'].setValue('')\n }\n \n if(value && value.payment_mode_per_met.id==1){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==2){\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n else if(value && value.payment_mode_per_met.id==3){\n control.controls[index].addControl('amount_received_cash_per_met', new FormControl(value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', Validators.required));\n control.controls[index].addControl('amount_received_bank_per_met', new FormControl(value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', Validators.required));\n control.controls[index].addControl('payment_received_reason_per_met', new FormControl(value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', Validators.required));\n }\n else {\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n }\n }\n \n \n }\n\n// tenant/lessees options\ngenerateTenantOptions(value:any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.tenant_lessees_options==\"1\"){\n control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n else if(value.tenant_lessees_options==\"0\"){\n control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required));\n control.controls[index].removeControl('name_tenant_lessees');\n }\n else {\n control.controls[index].removeControl('name_tenant_lessees');\n control.controls[index].removeControl('name_tenant_lessees_reason');\n }\n }\n\n // unit of measurement generate other field\n generateOtherunitMeasurement(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n value.unit_measurement.id==\"1\" ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n \n}\n\n// generate multistoried other uom\ngenerateMultistoriedOtherUOM(value: any){\n value.multistoried_uom.id==\"1\" ? this.rentalForms.addControl('multistoried_other_uom', new FormControl('', Validators.required)) : this.rentalForms.removeControl('multistoried_other_uom');\n}\n\n// generate Rent AgreementSeen\ngenerateRentAgreementSeen(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.is_rent_agreement_executed==\"1\"){\n control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required))\n }\n else{\n control.controls[index].removeControl('rent_agreement_seen');\n // after no\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n \n}\n//genearate rent agreement registered options\ngenerateRegisterOptions(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_seen==\"1\"){\n control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required));\n }\n else{\n control.controls[index].removeControl('rent_agreement_registered');\n // after No\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n\n}\n//genearate if rent agreement yes registered details\ngenerateRegisterDetails(value: any,index:number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.rent_agreement_registered==\"1\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n\n }\n else if(value.rent_agreement_registered==\"0\"){\n control.controls[index].addControl('agreement_date', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_expiring_date', new FormControl(''));\n control.controls[index].addControl('rental_remaining_months', new FormControl(''));\n control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required));\n control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required));\n control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl(''));\n }\n else{\n control.controls[index].removeControl('agreement_date');\n control.controls[index].removeControl('agreement_no_months');\n control.controls[index].removeControl('agreement_expiring_date');\n control.controls[index].removeControl('rental_remaining_months');\n control.controls[index].removeControl('agreement_monthly_rent_amount');\n control.controls[index].removeControl('agreement_security_deposit_amount');\n control.controls[index].removeControl('agreement_property_owners_name');\n control.controls[index].removeControl('agreement_tenant_lessees_name');\n control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n // remove agrement other ownres \n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n\n}\n\n// calculate expiry date\n// calculateExpiryDate(e: any,index){\n// let control: any = this.rentalForms.controls['property_unit_details'];\n// // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n// let getSeletedDate: any='';\n// let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n// if(getSeletedDate && getEnteredMonth>0){\n// let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n// modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n// // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n// let getExpiryDate='';\n// control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n// // calculate remaining month\n// if(modifySeletedDate >= new Date()){\n// let currentDate:any = new Date();\n// // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n// currentDate = '';\n// let remaingMonths;\n// remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n// remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n// control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n// }\n// else{\n// control.controls[index].controls['rental_remaining_months'].setValue(0);\n// }\n// }\n// else {\n// control.controls[index].controls['agreement_expiring_date'].setValue('');\n// control.controls[index].controls['rental_remaining_months'].setValue('');\n\n// }\n\n// } \n\ncalculateExpiryDate(e: any,index){\n let control: any = this.rentalForms.controls['property_unit_details'];\n let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): '';\n let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0';\n if(getSeletedDate && getEnteredMonth>0){\n let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth)));\n modifySeletedDate.setDate(modifySeletedDate.getDate() - 1);\n let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy');\n console.log('getExpiryDate',getExpiryDate);\n control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate);\n // calculate remaining month\n if(modifySeletedDate >= new Date()){\n let currentDate:any = new Date();\n currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd');\n let remaingMonths;\n remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12;\n remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth();\n console.log('remaingMonths',remaingMonths);\n control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths);\n }\n else{\n control.controls[index].controls['rental_remaining_months'].setValue(0);\n }\n }\n else {\n control.controls[index].controls['agreement_expiring_date'].setValue('');\n control.controls[index].controls['rental_remaining_months'].setValue('');\n\n }\n\n} \n\n// generate other owners as per rent agreement\ngenerateAgreementOtherOwners(value:any,index:number) {\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value && value.length>0){\n let otherOwnerCheck = value.filter(fVal=>fVal.id==0);\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n otherOwnerCheck.length>0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n\n }\n else {\n control.controls[index].removeControl('agreement_property_owner_other');\n control.controls[index].removeControl('agreement_property_owner_other_relationship');\n control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n }\n}\n\n// validate agreement amount\nvalidateAgreementAmt(actualRent:number,agreementRent:number){\n if(actualRent>0 && agreementRent>0){\n return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent);\n }\n else{\n return \"0\";\n }\n\n}\n \n// generate tenant met details\ngenerateTenantMetDetails(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n \n if(value.met_tenant_lessees_options==\"1\"){\n // remove reason \n control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n \n control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required));\n control.controls[index].addControl('payment_difference_per_met', new FormControl(''));\n \n\n }\n else{\n control.controls[index].removeControl('name_tenant_lessees_per_met');\n control.controls[index].removeControl('property_owner_per_met');\n control.controls[index].removeControl('paid_monthly_rent_per_met');\n control.controls[index].removeControl('period_of_stay_per_met');\n control.controls[index].removeControl('payment_mode_per_met');\n control.controls[index].removeControl('payment_difference_per_met');\n\n\n // remove other owner details\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n // remove paymnet options\n control.controls[index].removeControl('amount_received_cash_per_met');\n control.controls[index].removeControl('amount_received_bank_per_met');\n control.controls[index].removeControl('payment_received_reason_per_met');\n // add reason\n control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required));\n\n\n }\n}\n\n// generate met others owner\ngenerateMetOtherOwners(value: any, index: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n if(value.property_owner_per_met.length>0){\n let otherCheck: any = value.property_owner_per_met.filter(fVal=>fVal.id==0);\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n otherCheck.length >0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\nelse {\n control.controls[index].removeControl('property_owner_other_per_met');\n control.controls[index].removeControl('property_owner_other_relationship_per_met');\n control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n\n}\n\n}\n\n// generate floor rows\ngenerateFloor(e:any): void{\n let control = this.rentalForms.controls['multistoried_building_details'];\n if(e.target.value && Math.round(e.target.value)!=0){\n \n if(Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length){\n let rowValue = Math.round(e.target.value)-this.rentalForms.value.multistoried_building_details.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorDetails(''));\n }\n }\n else if(Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length){\n let rowValue = this.rentalForms.value.multistoried_building_details.length-Math.round(e.target.value);\n for(let i=rowValue;i>0;i--){\n control.removeAt(this.rentalForms.value.multistoried_building_details.length-1);\n }\n }\n }\n else if(e.target.value && Math.round(e.target.value)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n e.stopPropagation();\n}\n\n// create floor details\ncreateFloorDetails(details){\n if(details){\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])], \n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n else{\n return this.fb.group({\n floor_level: [this.rentalForms.value.multistoried_building_details.length==0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length+' Floor', Validators.compose([Validators.required])],\n no_units_in_floor: ['', Validators.compose([Validators.required])],\n unit_rent_difference_options : ['', Validators.compose([Validators.required])],\n floor_unit_details : this.fb.array([]),\n floor_rent_amount: [''],\n });\n }\n\n}\n\n// generate floor unit details\ngenerateFloorUnit(values:any, index:number){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n control = control.controls[index];\n control= control.controls['floor_unit_details'];\n if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"0\"){\n if(Math.round(values.no_units_in_floor) > control.value.length){\n let rowValue = Math.round(values.no_units_in_floor)-control.value.length;\n for(let i=rowValue;i>0;i--){\n control.push(this.createFloorUnitDetails(2));\n }\n }\n else if(Math.round(values.no_units_in_floor) < control.value.length){\n let rowValue = control.value.length-Math.round(values.no_units_in_floor);\n for(let i=rowValue;i>0;i--){\n control.removeAt(control.value.length-1);\n }\n }\n else if(Math.round(values.no_units_in_floor)==0){\n control.controls = [];\n control.setValue([]); \n }\n else{\n control.controls = [];\n control.setValue([]); \n }\n this.calculateFloorRentAmt(values,index);\n \n }\n else if(values.no_units_in_floor>0 && values.unit_rent_difference_options==\"1\") {\n control.controls = [];\n control.setValue([]); \n control.push(this.createFloorUnitDetails(1));\n this.calculateFloorRentAmt(values,index);\n }\n else {\n control.controls = [];\n control.setValue([]); \n }\n\n}\n\n// create floor unit details\ncreateFloorUnitDetails(type:number){\n if(type==1){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n amount: [''],\n });\n }\n else if(type==2){\n return this.fb.group({\n rent_per_unit: ['', Validators.compose([Validators.required])],\n });\n }\n\n}\n// calculate floor rent amount\ncalculateFloorRentAmt(values: any, index: number){\n // this.inWords(values,index,1);\n if(values.unit_rent_difference_options==\"1\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n if(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit>0 && values.no_units_in_floor>0){\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,2);\n control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor);\n this.inWords(unitcontrol.value[unitcontrol.value.length-1].rent_per_unit * values.no_units_in_floor,index,4);\n }\n else{\n unitcontrol.controls[unitcontrol.value.length-1].controls['amount'].setValue('');\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n else if(values.unit_rent_difference_options==\"0\"){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n let unitcontrol = control.controls[index];\n unitcontrol= unitcontrol.controls['floor_unit_details'];\n // console.log(unitcontrol)\n let getunitValues = unitcontrol.value.filter(val=>val.rent_per_unit!='');\n if(getunitValues.length>0){\n control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val), 0));\n this.inWords(getunitValues.map(mval=>mval.rent_per_unit).reduce((acc, val) => Number(acc) + Number(val)),index,4);\n }\n else{\n control.controls[index].controls['floor_rent_amount'].setValue('');\n\n }\n }\n\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}\ncompareSingleObjects(o1: any, o2: any) {\n if(o1.id == o2.id)\n return true;\n else return false\n}\n // createTenantsDetails()\n // {\n // return this.fb.group(\n // {\n // name:[null,Validators.compose([Validators.required])],\n // mobile_no:[null,Validators.compose([Validators.required])],\n // tenants_seen:[null,Validators.compose([Validators.required])],\n // tenants_con_owner:[null,Validators.compose([Validators.required])],\n // rent_paid:[null,Validators.compose([Validators.required])],\n // staying_since:[null,Validators.compose([Validators.required])],\n \n // });\n // }\n\n // addrentalHome()\n // {\n // const control = this.rentalForms.get('rental_home') as FormArray;\n // control.push(this.createrentalHome());\n // this.addTenantsDetails(0);\n // }\n\n // addTenantsDetails(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\n \n // // control.controls.splice(0);\n // control.push(this.createTenantsDetails());\n\n // }\n\n // deleteTenantsDetails(rentIndex,TenantsIndex)\n // {\n // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\n \n // control.removeAt(TenantsIndex);\n // }\n\n // deleterentalHome(i)\n // {\n // const control = (this.rentalForms.controls['rental_home']) as FormArray;\n // if(control.length==1)\n // {\n // this.rentalForms.controls['rental_home'].reset();\n // }else\n // {\n // control.removeAt(i);\n // }\n // }\n saveAlert(answerData){\n let ApplicantRentAmt : number=0 ; \n let TenantRentAmt : number =0; \n let FloorsTotalRentAmt : number =0; \n\n let TempArray1 : any = [];\n let TempArray2 : any = [];\n let TempArray3 : any = [];\n\n let TextMessage :any;\n\n if(answerData.property_unit_details.length > 0){\n \n answerData.property_unit_details.forEach((data,index) => {\n TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0;\n ApplicantRentAmt = TempArray1.reduce((sum, val) => sum + +val, 0);\n TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0;\n TenantRentAmt = TempArray2.reduce((sum, val) => sum + +val, 0);\n })\n TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt+'
'; \n }\n\n \n if(answerData.multistoried_building_details.length > 0){\n answerData.multistoried_building_details.forEach((val,index) => {\n TempArray3[index] = val.hasOwnProperty('floor_rent_amount')? val.floor_rent_amount : 0;\n FloorsTotalRentAmt = TempArray3.reduce((sum, val) => sum + +val, 0);\n });\n TextMessage = TextMessage +'Rent amount calculated = '+FloorsTotalRentAmt;\n }\n else{\n TextMessage = TextMessage +'Monthly Rent amount as Per Tenant met = '+TenantRentAmt;\n }\n \n let alert=this.alertCtrl.create({\n title:'Confirm The Rent Amount',\n message:TextMessage,\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n alert.dismiss\n }\n },\n {\n text:'Confirm',\n handler:()=>{\n this.saveRentalDetails(answerData)\n }\n }\n ]\n });\n alert.present();\n }\n saveRentalDetails(answerData) {\n answerData.rental_count_id=this.data.existing_rental_count_id\n console.log('answerData',answerData);\n \n delete answerData.stateSearch;\n delete answerData.citySearch;\n delete answerData.pincodeSearch;\n answerData.fk_createdby = this.users;\n\n console.log('answerData',answerData);\n\n this.qustCat.saveForm(answerData).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.rentalForms.reset(this.rentalForms.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n }\n\n// s(answerData)\n// {\n// let records:any={}\n \n \n// // if(this.rentalForms.valid){\n// records.pdid = this.pdDetails.pd_id;\n// records.formid = this.FormId.form_id;\n// records.fk_createdby = this.users;\n// records.person_met = answerData.person_met;\n// records.property_own = answerData.property_own;\n// records.nature_property = answerData.nature_property;\n// if(answerData.nature_property=='others')\n// {\n// records.nature_others = answerData.nature_others\n// }\n// records.rental_home = answerData.rental_home;\n// Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\n\n// this.qustCat.saveForm(records).subscribe(res=>\n// { \n// if(res['dataStatus']==true)\n// {\n// this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n// setTimeout(()=>{\n// this.navCtrl.pop();\n// },2000);\n// }\n// })\n// // }else\n// // {\n// // this.toast.pdTriggerappmessage('Enter All Field');\n// // }\n// }\n\n getRentalDetails()\n {\n\n let records = { 'parent_pdid':this.pdDetails.parent_pd_id,'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\n \n \n \n // this.qustCat.retiverForm(records).subscribe(res=> {\n console.log(\"enter\",this.data.editData)\n if(this.data.editData)\n {\n \n let rentalDetails = this.data.editData;\n console.log(\"rental\",rentalDetails)\n rentalDetails.parent_pdid=this.pdDetails.parent_pd_id\n rentalDetails.pdid = this.pdDetails.pd_id,\n rentalDetails.formid = this.FormId.form_id;\n rentalDetails.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new FormControl('', Validators.required)): this.rentalForms.removeControl('other_name_person_type');\n rentalDetails.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new FormControl('', Validators.required)) : this.rentalForms.removeControl('other_sighted_documents');\n // this.rentalForms.addControl('stateSearch', new FormControl(''));\n // this.rentalForms.addControl('citySearch', new FormControl(''));\n // this.rentalForms.addControl('pincodeSearch', new FormControl(''));\n rentalDetails.stateSearch = '';\n rentalDetails.citySearch = '';\n rentalDetails.pincodeSearch = '';\n //get Multistoried Building Details\n if(rentalDetails.multistoried_building_details){\n let selectedMultistoriedBuilding = Object.keys(rentalDetails.multistoried_building_details).map(function (key) {\n return rentalDetails.multistoried_building_details[key];\n });\n\n if(selectedMultistoriedBuilding.length>0){\n let control: any = this.rentalForms.controls['multistoried_building_details'];\n selectedMultistoriedBuilding.forEach((floorElement,floorIndex)=>{\n control.push(this.createFloorDetails(''));\n let unitControl = control.controls[floorIndex];\n unitControl= unitControl.controls['floor_unit_details'];\n let floor_rent_amount_val;\n floorElement.floor_unit_details.forEach((unitElement,unitIndex) => {\n floorElement.unit_rent_difference_options==\"0\" ? unitControl.push(this.createFloorUnitDetails(2)) : unitControl.push(this.createFloorUnitDetails(1));\n console.log(\"rent per unit\",unitElement.rent_per_unit);\n if(floorElement.unit_rent_difference_options == \"1\"){\n console.log(\"check\",unitElement.rent_per_unit)\n if(unitElement.rent_per_unit !=''){\n this.inWords(unitElement.rent_per_unit,unitIndex,1)\n }\n if(unitElement.amount!=''){\n this.inWords(unitElement.amount,floorIndex,2)\n }\n }\n else if(floorElement.unit_rent_difference_options==\"0\"){\n if(unitElement.rent_per_unit!=''){\n //floor_rent_amount_val+=unitElement.rent_per_unit\n }\n this.inWords(floorElement.floor_rent_amount,floorIndex,4)\n }\n });\n // this.inWords(floor_rent_amount_val,floorIndex,4)\n });\n }\n } \n\n // get property unit details\n if(rentalDetails.property_unit_details){\n console.log(\"property\",rentalDetails.property_unit_details)\n let selectedUnitDetails = Object.keys(rentalDetails.property_unit_details).map(function (key) {\n return rentalDetails.property_unit_details[key];\n });\n if(selectedUnitDetails.length>0){\n selectedUnitDetails.forEach((element,index) => {\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n (element.name_tenant_lessees && element.tenant_lessees_options==\"1\") ? control.controls[index].addControl('name_tenant_lessees', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees');\n (element.name_tenant_lessees_reason && element.tenant_lessees_options==\"0\") ? control.controls[index].addControl('name_tenant_lessees_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason');\n // for payment options\n element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash');\n element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank');\n element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason');\n \n // unit of other measurement \n element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new FormControl('', Validators.required)) : control.controls[index].removeControl('other_unit_measurement');\n // rent agreement seen\n element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_seen');\n element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new FormControl('', Validators.required)) : control.controls[index].removeControl('rent_agreement_registered');\n element.agreement_date ? control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_date');\n element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_no_months');\n element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_expiring_date');\n (element.rental_remaining_months=='' || element.rental_remaining_months>=0) ? control.controls[index].addControl('rental_remaining_months', new FormControl('', Validators.required)) : control.controls[index].removeControl('rental_remaining_months');\n element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_monthly_rent_amount');\n element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_security_deposit_amount');\n element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('', Validators.required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement');\n \n //agreement owners\n element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owners_name');\n element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other');\n element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship');\n element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to');\n \n // name of tenant/lessess as agreement\n element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)) : control.controls[index].removeControl('agreement_tenant_lessees_name');\n \n //met tenant details\n element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_per_met');\n element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met');\n element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_per_met');\n element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_per_met');\n element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met');\n element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met');\n \n // tennat payment\n \n \n // element.payment_difference_per_met=''\n // control.controls[index].addControl('payment_difference_per_met',new FormControl(''))\n console.log(\"payment\",element);\n element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('paid_monthly_rent_per_met');\n element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('period_of_stay_per_met');\n element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_mode_per_met');\n element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_cash_per_met');\n element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('amount_received_bank_per_met');\n element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new FormControl('', Validators.required)) : control.controls[index].removeControl('payment_received_reason_per_met');\n if( element.payment_difference_per_met =='' || element.payment_difference_per_met !='') { control.controls[index].addControl('payment_difference_per_met', new FormControl('')) }\n // control.controls[index].removeControl('payment_difference_per_met');\n this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '',index,5);\n this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '',index,6);\n this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '',index,7);\n this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '',index,8);\n this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '',index,9);\n this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount :'',index,10);\n this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '',index,11);\n this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '',index,12);\n this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '',index,13);\n\n });\n }\n }\n this.rentalForms.patchValue(rentalDetails);\n }\n else{\n let control: any = this.rentalForms.controls['property_unit_details'];\n control.push(this.createUnitDetails(''));\n \n }\n \n \n // });\n \n // this.qustCat.retiverForm(records).subscribe(res=>\n // {\n // if(res['dataStatus']==true)\n // {\n // let rentalDetails = res['records'];\n // var rentalData = Object.keys(res['records'].rental_home\n // ).map(function(key) {\n // return res['records'].rental_home\n // [key];\n\n // });\n // var tanantsData = [];\n // var control = (this.rentalForms.controls['rental_home']) as FormArray;\n // var tanantscontrol; \n // rentalData.forEach((val,index)=>\n // {\n \n // // this.addrentalHome();\n // // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\n // // {\n \n \n // // return val.details_tenants[key];\n // // }));\n // rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\n // {\n \n \n // return val.details_tenants[key];\n // });\n // // control.push(this.createrentalHome()); \n // tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \n \n // rentalData[index].details_tenants.forEach((val,key)=>\n // {\n // //rentalData[index].details_tenants = val;\n \n // // rentalData[index].details_tenants = [key];\n // // tanantscontrol.push(this.createTenantsDetails());\n // });\n \n // // control[index].details_tenants =tanantscontrol; \n // });\n // this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\n // this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\n // this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\n // if(rentalDetails.nature_property=='others'){\n // this.rentalForms.controls['nature_others'].\n // setValue(rentalDetails.nature_others);\n // }\n \n // this.rentalForms.controls['rental_home'].setValue(rentalData); \n // }else\n // {\n // // this.addrentalHome();\n // // this.addTenantsDetails(0);\n // }\n // })\n }\n // createTenantsDetailswithData(index,data)\n // {\n // return this.fb.group(\n // {\n // name:[data.name],\n // mobile_no:[data.mobile_no],\n // tenants_seen:[data.tenants_seen],\n // tenants_con_owner:[data.tenants_con_owner],\n // rent_paid:[data.rent_paid],\n // staying_since:[data.staying_since]\n // });\n // }\n\n inWords(e,i,flag){\n // console.log(e,i,flag);\n switch(flag){\n case 1 : \n this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 2 :\n this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 3 :\n // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 4 :\n this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 5 : \n this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 6 :\n this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 7 :\n this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 8 :\n this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 9 : \n this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 10:\n this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 11 :\n this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 12 :\n this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n case 13 :\n this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e);\n break;\n }\n }\n\n inWordsmultiple(e,i,j,flag){\n // console.log(e,i,j,flag); \n return this.constprovider.convertNumberToWords(e);\n }\n validateAllFormFields(formGroup: any) {\n Object.keys(formGroup.controls).forEach(field => {\n const control = formGroup.get(field);\n \n if (control instanceof FormControl) {\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { \n this.validateAllFormFields(control);\n } else if (control instanceof FormArray) { \n this.validateAllFormFields(control);\n }\n });\n }\n\n\n // generate payment dynamic fields\n\nValidatedRentAmount(value:any,index:number,type: number){\n let control: any = this.rentalForms.controls['property_unit_details'];\n console.log(\"validated\",value);\n if(type==1){\n if(value && value.payment_mode.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank'].clearValidators();\n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash'].clearValidators();; \n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n let monthlyrentamt : any = value.monthly_rent_amount ; \n \n\n if(monthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank;\n\n ChildCtrl.controls['amount_received_bank'].setValidators([Validators.required,Validators.max(monthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank'].updateValueAndValidity();\n let maxamt = monthlyrentamt-bank_amount\n if(maxamt >= 0 ){\n ChildCtrl.controls['amount_received_cash'].setValue(maxamt);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.required,Validators.max(monthlyrentamt-bank_amount),Validators.min(monthlyrentamt-bank_amount)]); \n this.inWords(maxamt,index,6)\n }\n else{\n ChildCtrl.controls['amount_received_cash'].setValue(0);\n ChildCtrl.controls['amount_received_cash'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash'].updateValueAndValidity();\n \n }\n }\n }\n if(type==2){\n \n if(value && value.payment_mode_per_met.id==3){\n let ChildCtrl : any = control.controls[index]; \n ChildCtrl.controls['amount_received_bank_per_met'].clearValidators();\n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n ChildCtrl.controls['amount_received_cash_per_met'].clearValidators();; \n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n let paidmonthlyrentamt : any = value.paid_monthly_rent_per_met; \n \n\n if(paidmonthlyrentamt != ''){\n \n let bank_amount = value.amount_received_bank_per_met;\n ChildCtrl.controls['amount_received_bank_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt),Validators.min(0)]); \n ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity();\n let remainingAmt = paidmonthlyrentamt-bank_amount\n console.log(\"paid monthly\",paidmonthlyrentamt);\n console.log(\"remaining\",remainingAmt)\n if(remainingAmt >= 0 ){\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.required,Validators.max(paidmonthlyrentamt-bank_amount),Validators.min(paidmonthlyrentamt-bank_amount)]); \n this.inWords(remainingAmt,index,12)\n }\n else{\n ChildCtrl.controls['amount_received_cash_per_met'].setValue(0);\n ChildCtrl.controls['amount_received_cash_per_met'].setValidators([Validators.max(0),Validators.min(0)]); \n }\n ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity();\n }\n }\n \n }\n}\n\nforSearchableDropdown(val:any,Flag:any){\n // val=val.controls['relationSearch'].value\n console.log(\"val\",val,'Flag',Flag);\n switch(Flag){\n case 'state' : \n console.log(\"val\",val.controls['stateSearch'].value,'Flag',Flag,'1');\n val.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.stateList=this.constprovider.searchData(this.stateData,val.controls['stateSearch'].value,Flag)\n }); break;\n case 'city' : \n console.log(\"val\",val.controls['citySearch'].value,'Flag',Flag,'2');\n val.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.cityList =this.constprovider.searchData(this.cityData,val.controls['citySearch'].value,Flag)\n }); break;\n case 'pin' : \n console.log(\"val\",val.controls['pincodeSearch'].value,'Flag',Flag,'3');\n val.controls['pincodeSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.pincodeList =this.constprovider.searchData(this.pincodeData,val.controls['pincodeSearch'].value,Flag)\n }); break;\n }\n}\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\nthis.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n},error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n})\nthis.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('agreement_property_owner_other').value\n value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name));\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, OnInit } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionPersonalInfoPage 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-personal-info',\n templateUrl: 'pd-question-personal-info.html',\n})\nexport class PdQuestionPersonalInfoPage implements OnInit{\n\n questionDetails: any;\n pdDetails: any;\n users: any;\n _personalForm: FormGroup;\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\n relationShipList:any=[];\n \n form_id:number;\n \n\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\n \n public mainApplicantDetails :any=[];\n public coApplicantDetails :any=[];\n \n errorMessage:any;\n //coItem:any;\n //mainItem:any;\n\n repeat:number=3;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\n \n this.questionDetails = this.navParams.get('questionDetails');\n this.pdDetails = this.navParams.get('pdDetails');\n this.users = this.aws.getlocale();\n \n \n // this.getRelationMaster();\n \n \n \n }\n ngOnInit() {\n \n this.loadPDDetails();\n this.getRelationMaster();\n this.mainApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 1);\n this.coApplicantDetails = this.pdDetails.applicat_details\n .filter(item => item.applicant_type == 0);\n }\n\n // load form pd details\n loadPDDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\n \n this.qustCat.retiverForm(records).subscribe(\n data => {\n if (data['status'] == 200) {\n this.loadFormWithIDData(data['records']);\n \n }\n else{\n let defaultMainApp=[];\n let defaultCoApp=[];\n // generate default main applicant form details\n if(this.mainApplicantDetails.length>0){ \n for(let j=0;j this.errorMessage = error);\n}\n\nloadDataStatus: boolean = false;\n\nloadFormWithIDData(data) {\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\n return data.main_applicant_details[key];\n});\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\n return data.co_applicant_details[key];\n});\n\n // main applicant\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\n name_ans:new FormControl(item.name_ans, Validators.required),\n age_ans:new FormControl(item.age_ans, Validators.required),\n entity_ans:new FormControl(item.entity_ans, Validators.required),\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\n earning_ans:new FormControl(item.earning_ans, Validators.required),\n relation_ans:new FormControl(item.relation_ans, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark: [data.personal_info_form_remark]\n });\n this.loadDataStatus = true;\n}\n\n loadFormData(mainApp,coApp){\n // main applicant\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n \n })));\n // co applicant\n let iterateCoApp=[];\n \n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\n name_ques:new FormControl(this.coApplicantQuestions[0]),\n name_ans:new FormControl(item.applicant_name, Validators.required),\n name_id:new FormControl(0),\n age_ques:new FormControl(this.coApplicantQuestions[1]),\n age_id:new FormControl(1),\n age_ans:new FormControl(null, Validators.required),\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\n entity_id: new FormControl(2),\n entity_ans:new FormControl(null, Validators.required),\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\n qualification_id: new FormControl(3),\n qualification_ans:new FormControl(null, Validators.required),\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\n earning_id: new FormControl(4),\n earning_ans:new FormControl(null, Validators.required),\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\n relation_id:new FormControl(5),\n relation_ans:new FormControl(null, Validators.required),\n\n })));\n \n this._personalForm = this._fb.group({\n pdid:null,\n form_id:null,\n mainItem: mainApplicantGroup,\n coItem: coApplicantGroup,\n personal_info_form_remark:null\n });\nthis.loadDataStatus = true;\n }\n\n //get pd main applicant array values \n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\n\n // get pd co applicant array values\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\n\n // get relation master details\n getRelationMaster(){\n let relation =\"RELATIONSHIPS\";\n this.qustCat.getcommondrop(relation).subscribe(\n data => {\n if (data['status'] == 200) {\n this.relationShipList=data['records'];\n \n }\n}, error => this.errorMessage = error);\n}\n\n// submit forms details\nsubmitPersonalForm(formData:any) {\n if(this._personalForm.valid){\n let main_applicantDetails:any=[];\n let co_applicantDetails:any=[];\n\n formData.mainItem.forEach((element,key) => {\n if(key==0){\n main_applicantDetails.push({\n \"name_ans\":element.name_ans,\n \"age_ans\":element.age_ans,\n \"entity_ans\":element.entity_ans,\n \"qualification_ans\":element.qualification_ans,\n \"earning_ans\":element.earning_ans, \n })\n }\n \n });\n formData.coItem.forEach((Coelement,Cokey) => {\n co_applicantDetails.push({\n\n \"name_ans\":Coelement.name_ans,\n \"age_ans\":Coelement.age_ans,\n \"qualification_ans\":Coelement.qualification_ans,\n \"entity_ans\":Coelement.entity_ans,\n \"earning_ans\":Coelement.earning_ans, \n \"relation_ans\":Coelement.relation_ans, \n })\n \n });\n\n let save_details:any={\n \"pdid\" : this.pdDetails.pd_id,\n \"formid\" : '341',\n \"fk_createdby\":this.users,\n \"main_applicant_details\":main_applicantDetails,\n \"co_applicant_details\":co_applicantDetails,\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\n };\n this.qustCat.saveForm(save_details).subscribe(result => {\n if (result['dataStatus']==true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n // this.notifier.notify('success', 'Success.');\n }\n else {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n }\n }, error => {\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\n });\n }\n}\n \n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { FormatWidth } from '@angular/common';\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\n\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport {PdQuestionAssessedDailyPurchasePage} from '../pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n\n/**\n * Generated class for the PdQuestionAssessedInfoPage 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-assessed-info',\n templateUrl: 'pd-question-assessed-info.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedInfoPage {\n\n grossProfitForm:FormGroup\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\n busissnessIncome: any;\n mode: any;\n grossprofitCalc: any;\n houseHold_details: any;\n grandHouseExpenseTotal: any;\n houseannual: any=[];\n businessExpenses_details: any;\n grandExpenseTotal: any;\n expenseannual: any=[];\n businessExpenses: any;\n purchse_details: any;\n sales_item_month_value: any=[];\n sales_wise_month_headers:any = [];\n sales_month_wise_data:any = [];\n sales_item_value: any;\n grandpurchaseTotal: any=null;\n UOM: any;\n m_freqOfPurchase: any;\n users: any;\n pageId: any;\n pdDetails: any;\n assessedForm:FormGroup;\n FormName:any;\n annual:any = [];\n rawMaterialForm:FormGroup;\n BuissnessForm:FormGroup;\n houseHoldForm:FormGroup;\n activateMarginCalculation:boolean=false\n SaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n purchase_bill_wise: any=[];\n purchase_bill_wise_data:any=[]\n purchase_type:any;\n totalAnnualSale_Item_wise;\n totalAnnualpurchase_Item_wise: any;\n totalAnnualBusiness_details: any;\n totalAnnual_House_hold_details: any;\n sales_type: any=[];\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.pageId = this.navParams.get('pageId');\n // this.getAssessedDetails(); \n switch(this.pageId)\n {\n case 1:\n this.FormName = \"Sales Page\";\n break;\n case 2:\n this.FormName = \"Purchase Page\";\n break;\n case 3:\n this.FormName = \"Business Expense Page\";\n break;\n case 4:\n this.FormName = \"House Hold Page\";\n break;\n default:\n this.FormName = \"Question Page\";\n break;\n }\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n sdc_id:[null],\n sales_declared_by_customer:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n margin_per:[null],\n margin_value:[null],\n comments:[null],\n isactive:[1],\n fk_createdby:[this.users],\n \n });\n this.grossProfitForm=this.fb.group({\n calc_type_id:[''],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n mode:['',Validators.compose([Validators.required])],\n margin:[''],\n })\n \n \n \n \n // this.getdropList();\n \n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\n }\n\n\n \n \n\n ionViewDidEnter() {\n \n }\n ionViewCanEnter()\n {\n this.getAssessedDetails()\n }\n\n\n \n \n changeOptions(values: any){\n // console.log('values',values);\n this.grossProfitForm.controls['margin'].setValue('');\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\n * Refer => check_sales_type **/\n if(values.mode == 2){\n // console.log('2');\n this.grossProfitForm.controls['margin'].setValue('2');\n }\n }\n\n //PURCHASE DETAILS SUBMIT\n // submitDetails(records: any){\n // if (this.grossProfitForm.invalid) {\n \n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\n // return;\n // }\n // // let datas:any;\n // // datas=records;\n\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\n // this.toast.pdTriggerappmessage('Saved Successfully.');\n // //this.loadAssessedForms.next('1');\n // }, error => {\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\n // // this.loadAssessedForms.next('1');\n // });\n // } \n \n\n getMarginCalc()\n {\n \n let margin_per = this.assessedForm.controls['margin_per'].value;\n console.log(\"Margin Per\",margin_per)\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\n if(margin_per !=null && sales_declared_by_customer !=null)\n {\n let value = sales_declared_by_customer * (margin_per/100);\n this.assessedForm.controls['margin_value'].setValue(value);\n }\n }\n\n saveData(answerData)\n {\n let records:any = {};\n answerData.company_id=this.pdDetails.company_id\n \n records ={'records':answerData};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\n {\n // console.log(res);\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n \n }\n })\n setTimeout(()=>{\n this.getAssessedDetails();\n },1500)\n }\n salesCalculation(values): void {\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\n {\n \n this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per/100)).toFixed(2));\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\n }\n }\n \n getAssessedDetails()\n {\n this.sales_item_month_value = [];\n this.sales_month_wise_data = [];\n this.sales_item_value= [];\n this.purchase_bill_wise_data=[];\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n console.log(\"company\",this.pdDetails.company_id)\n console.log(\"getAssesed\",records)\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let sales_value = res['records'].sales_declared_by_customer[0];\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\n //SALE ANNUAL TOTAL\n this.totalAnnualSale_Item_wise=this.sales_item_value.map(val=>val.annual_sale_value).reduce((original,value)=>original + Number(value),0)\n console.log(\"this.sales_item\",this.totalAnnualSale_Item_wise);\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\n this.purchse_details = res['records'].purchase_details; \n //PURCHASE ANNUAL TOTAL\n this.totalAnnualpurchase_Item_wise=this.purchse_details.map(val=>val.annual_purchase_value).reduce((original,value)=>original+Number(value),0)\n this.purchase_bill_wise=res['records'].purchase_billwise\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\n this.purchase_type=this.grossprofitCalc.purchase_type;\n console.log(\"gross\",this.grossprofitCalc);\n this.mode = this.grossprofitCalc.mode;\n\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\n console.log(\"len\",lenOfGrossProfit)\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\n console.log(this.activateMarginCalculation);\n var result = this.purchse_details.reduce(function(p, c) {\n \n return p;\n },[]);\n console.log(result);\n\n\n this.businessExpenses_details = res['records'].business_expenses;\n //BUSINESS ANNUAL TOTAL\n this.totalAnnualBusiness_details=this.businessExpenses_details.map(val=>val.annual_expenses_value).reduce((original,value)=>original + Number(value),0);\n this.houseHold_details = res['records'].house_hold_expenses;\n //HOUSEHOLD ANNUAL TOTAL\n this.totalAnnual_House_hold_details=this.houseHold_details.map(val=>val.annual_expense_value).reduce((original,value)=>original+Number(value),0)\n this.busissnessIncome = res['records'].othre_business_income;\n // console.log(this.sales_item_month_value);\n // this.getpurchaseDetails(this.purchse_details);\n \n \n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\n\n // const control=this.grossProfitForm['controls']\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\n \n \n \n \n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\n this.sales_type[itemIndex]=itemElement.sales_type\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\n let listItems: any=[];\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\n \n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id,otherSaleItem:itemElement.other_sales_item});\n });\n this.purchase_bill_wise.forEach((itemElement,itemIndex)=>{\n console.log(\"0index\",itemElement.items[0]);\n let result=Object.assign({},...itemElement.items);\n console.log(\"result\",result)\n let expandBodyContent=Object.keys(result).map(key=>({header:key,value:result[key]}));\n console.log(\"expanBody\",expandBodyContent);\n let listItems:any=[];\n expandBodyContent.forEach((expandElement,expandIndex)=>{\n let calculateItems=expandElement.value.reduce((acc,calculate)=>acc + Number(calculate.purchase_value),0)\n listItems.push({items:expandElement,itemsTotal:calculateItems})\n })\n let calculateAllItemsTotal:number=listItems.reduce((va,rcalc)=>va+Number(rcalc.itemsTotal),0);\n let convertYear : number = 12 / listItems.length;\n let footerMessage: any=[];\n footerMessage.push({\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\n month_value:calculateAllItemsTotal,\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\n year_value: calculateAllItemsTotal * convertYear,\n })\n this.purchase_bill_wise_data.push({purchaseItem:itemElement.purchase_item,expandElements:expandBodyContent,footerMessage:footerMessage,pbw_id:itemElement.pbw_id,otherPurchaseItem:itemElement.other_purchase_item});\n })\n console.log(\"val purchase0\",this.purchase_bill_wise_data)\n\n\n console.log(\"value\",this.sales_month_wise_data);\n if(sales_value!==undefined){\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\n if(sales_value.sales_declared_by_customer != null){\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\n }\n if(sales_value.margin_value != null){\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\n }\n \n }\n \n }\n })\n\n }\n grossProfitWithData(data:any){\n return this.fb.group({\n calc_type_id:[data.calc_type_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[data.company_id],\n mode:[data.mode],\n margin:[data.margin],\n})\n }\n /**\n * Add Assessed Forms\n */\n\n AddAssessedForm()\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n\n editDetails(salesCal)\n {\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\n console.log(salesData);\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \n \n }\n editAllDetails(AllsalesData)\n {\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \n }\n\n /**Assessed Daily Form Details */\n\n AddAssessedDailyForm()\n {\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\n }\n editAssessedDailyForm(simId)\n {\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\n console.log(dailySaleDetails);\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\n \n }\n allEditSalesDailyWise(values){\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':values,'margin_calculation_status':this.activateMarginCalculation})\n }\n\n /**purchase Details Forms */\n AddPurchaseForm()\n {\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \n \n }\n\n editPurchaseDetails(purchaseCal)\n {\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \n \n }\n editPurchaseAllDetails(AllpurchaseData)\n {\n console.log('260',AllpurchaseData);\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \n }\n AddPurchaseBillWiseForm(){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':null})\n }\n \n alleditPurchaseBillWise(all_purchase_daily){\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':all_purchase_daily})\n }\n editPurchaseBillWise(daily_purchase){\n let single_purchase=this.purchase_bill_wise.filter(val=>val.pbw_id==daily_purchase)\n this.navCtrl.push(PdQuestionAssessedDailyPurchasePage,{'pdDetails':this.pdDetails,'purchaseDaily':single_purchase})\n }\n\n /**Business Expense */\n AddExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editExpenseDetails(expenseCal)\n {\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editExpenseAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \n }\n \n\n /** Household Expenses Details */\n AddHouseExpenseForm()\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \n \n }\n\n editHouseExpenseDetails(expenseCal)\n {\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \n \n }\n editHouseExpenseAllDetails(AllExpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \n }\n\n /**\n * Income Details\n */\n AddIncomeForm()\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \n \n }\n\n editIncomeDetails(expenseCal)\n {\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\n console.log(salesData);\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \n \n }\n editIncomeAllDetails(AllexpenseData)\n {\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \n }\n \n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedSalesPage 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-assessed-sales',\n templateUrl: 'pd-question-assessed-sales.html',\n})\nexport class PdQuestionAssessedSalesPage {\n\n grossprofitCalc: any;\n salesData: any =[];\n annual: any=[];\n grandTotal: any;\n UOM: any;\n m_freqOfPurchase: any;\n assessedForm: FormGroup;\n users: any;\n FormId: any;\n pdDetails: any;\n annualSaleAmtInwords: any=[];\n marginAmtInwords: any=[];\n marginFinalAmtInwords:any =[];\n ratePerUnitAmtInwords: any=[];\n margin_calculation_status:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n product_and_services: any=[];\n complete_status: boolean = false;\n UOMData:any=[]\n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n //this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.assessedForm = this.fb.group(\n {\n \n salesCalItemwise:this.fb.array([]),\n });\n this.salesData = this.navParams.get('sales');\n if(this.salesData!=null)\n {\n this.getSalesItemData(this.salesData);\n }else\n {\n this.addSalesCal();\n }\n // this.addSalesCal();\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n\n createSalesCal()\n {\n return this.fb.group(\n {\n sci_id:[null],\n \n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n sales_item:[null,Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_qty:[null,Validators.compose([Validators.required])],\n sales_type:[\"1\"],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_sale_value:[null],\n margin_per:[null],\n margin_per_uom:[null],\n margin_final_value:[null],\n comments:[null]\n });\n }\n\n addSalesCal()\n {\n if(this.assessedForm.valid){\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n control.push(this.createSalesCal());\n }else\n {\n this.toast.pdTriggerappmessage('Enter the all fields');\n }\n }\n \n removeSalesCal(i,item)\n {\n console.log(\"value\",item)\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n console.log(this.grandTotal);\n console.log(\"pd\",this.pdDetails);\n let deleteRecords:any;\n if(item.sci_id !=null && item.fk_pd_id !=null){\n deleteRecords=[{\n sci_id:item.sci_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n if(control.length==1)\n {\n control.removeAt(i);\n this.addSalesCal(); \n } else{\n control.removeAt(i);\n }\n }\n /**\n * frequency Type \n * 1.Weekly no need\n * 2.Daily 250\n * 3.Yearly \n * 4.Hourly no need\n * 5.Monthly 12\n * 6.none\n * 7.none\n * 8.none\n */\n salecalculat(indexVal,values)\n {\n // console.log(\"Det\",details);\n // let frequencyId = details.value.fk_frequency_id;\n // let salesQty = details.value.sales_qty;\n // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,salesQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(salesQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (salesQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (salesQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (salesQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_sale_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n // }else\n // {\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\n // }\n \n \n \n \n // console.log(this.annual);\n\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\n console.log(\"Rate Per value\",values.rate_per_unit);\n this.inWords(values.rate_per_unit,indexVal,4)\n }\n \n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n console.log(\"Frequency\",values.fk_frequency_id);\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(AnnualSalesValue,indexVal,1)\n \n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n salesCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n if(values.sales_type==\"1\" && values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else if(values.sales_type==\"2\" && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,1)\n }\n else {\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\n }\n if(this.margin_calculation_status===true) {\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\n }\n }\n \n salesMarginPerCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per)/100)).toFixed(2));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n salesMarginAmtCalculation(indexVal: number,values: any): void {\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per'].setValue('');\n \n if(values.sales_type==\"1\" && values.margin_per_uom!='' && values.margin_per_uom !=null && values.sales_qty!='' && values.sales_qty!=null && values.fk_frequency_id!='' && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n let Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2));\n this.inWords(Type1CalculatedValue.toFixed(2),indexVal,3)\n }\n else if(values.sales_type==\"2\" && values.margin_per_uom!='' && values.margin_per_uom!=null && values.rate_per_unit!='' && values.rate_per_unit!=null) {\n let Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom);\n control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2));\n this.inWords(Type2CalculatedValue.toFixed(2),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n /*OLD NOT USED CALCULATION*/\n getSalesCalc(indexVal,values)\n {\n // // console.log(details);\n // let margin_per = details.value.margin_per;\n // let margin_amount = details.value.margin_per_uom;\n // let annual_sale_value = details.value.annual_sale_value;\n // let sales_qty = details.value.sales_qty;\n // // console.log(sales_qty,margin_amount);\n // let value:any = '';\n // if(margin_per !=null || margin_amount !=null){\n // if(margin_per !=null)\n // {\n // value = +annual_sale_value * (+margin_per/100);\n // }else\n // {\n // console.log('else');\n // value = +sales_qty* +margin_amount;\n // }\n // console.log(value);\n // details.controls['margin_final_value'].setValue(value);\n // }\n let control:any = this.assessedForm.controls['salesCalItemwise'];\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\n }\n else {\n control.controls[indexVal].controls['margin_final_value'].setValue('');\n }\n }\n \n inWords(value,inx,flag){\n switch(flag){\n case 1 : \n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 2 : \n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 3 : \n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n case 4 : \n console.log(\"Rate\",value);\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\n break;\n default:break;}\n }\n saveData(answerData)\n {\n \n if(this.assessedForm.valid){\n \n answerData.salesCalItemwise.forEach(parVal=>{\n delete parVal.uomSearch\n })\n\n let records = {'records':answerData.salesCalItemwise};\n console.log(records);\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }\nelse{\n console.log(answerData);\n\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n}\n}\n getSalesItemData(salesData)\n {\n console.log(salesData);\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\n\n salesData.forEach((sale,index)=>{\n \n this.annual[index] = sale.annual_sale_value\n control.push(this.createSaleswithData(sale));\n if(sale.rate_per_unit != null){\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\n }\n if(sale.annual_sale_value != null){\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\n }\n if(sale.margin_per_uom != null){\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\n }\n if(sale.margin_final_value != null){\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\n }\n this.changeOptions(index,sale.sales_type)\n })\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\n // console.log(control);\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \n }\n changeOptions(indexVal: any,event: any): void{\n console.log(\"ai\")\n let control: any = this.assessedForm.controls['salesCalItemwise'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['fk_frequency_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_frequency_id'].clearValidators();\n control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity();\n\n control.controls[indexVal].controls['annual_sale_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_sale_value'].clearValidators();\n control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity();\n\n control.controls[indexVal].controls['rate_per_unit'].setValue(\"\");\n control.controls[indexVal].controls['rate_per_unit'].clearValidators();\n control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity();\n\n control.controls[indexVal].controls['sales_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['sales_qty'].setValue(\"\");\n control.controls[indexVal].controls['sales_qty'].clearValidators();\n control.controls[indexVal].controls['sales_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n \n control.controls[indexVal].controls['margin_per_uom'].setValue(\"\");\n \n this.salesCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n\n createSaleswithData(data)\n {\n return this.fb.group(\n {\n sci_id:[data.sci_id],\n company_id:[this.pdDetails.company_id],\n fk_pd_id:[this.pdDetails.pd_id],\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type,Validators.compose([Validators.required])],\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_sale_value:[data.annual_sale_value],\n margin_per:[data.margin_per],\n margin_per_uom:[data.margin_per_uom],\n margin_final_value:[data.margin_final_value],\n comments:[data.comments]\n });\n }\n\n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport {DatePipe} from '@angular/common'\n\n/**\n * Generated class for the PdQuestionAssessedDailySalesPage 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-assessed-daily-sales',\n templateUrl: 'pd-question-assessed-daily-sales.html',\n})\nexport class PdQuestionAssessedDailySalesPage {\n pipe = new DatePipe('en-US');\n\n currentDate: string;\n grossprofitCalc: any;\n salesDaily: any;\n users: any;\n FormId: any;\n pdDetails: any;\n salesDailyForm: FormGroup;\n margin_calculation_status:any\n Value: any=[];\n marginAmtInwords: any=[];\n frequencyData: any=[];\n freqAmtInwords: any=[];\n check_type:any=[{'type_id':\"1\",'type_name':'Date Information'},{'type_id':\"2\",'type_name':'Frequency Information'}]\n product_and_services: any=[];\n maxDate:any;\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\n // this.maxDate=new Date()\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.salesDaily = this.navParams.get('salesDaily');\n // this.grossprofitCalc = this.navParams.get('grossprofit');\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\n \n this.salesDailyForm = this.fb.group(\n {\n sales_product: this.fb.array([]),\n })\n if (this.salesDaily != null) {\n this.getDailySalesData(this.salesDaily);\n } else {\n this.adddailySalaesProduct();\n\n }\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\n }\n\n getDropDown(){\n this.qustCat.getcommondrop('FREQUENCY').subscribe(data=>{\n this.frequencyData=data['records'].filter(val=>val.isactive == 1)\n })\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(res=>{\n if(res.dataStatus == true){\n let datas=res.records\n let api=Object.keys(datas.type_of_activity).map(function(key){\n return datas.type_of_activity[key];\n })\n if(api.length>0){\n api.forEach(val=>{\n if(val.type_of_activity_id == 2){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 3){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 4){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n if(val.type_of_activity_id == 5){\n if(val.prodcuts){\n this.product_and_services.push(val.prodcuts)\n }\n }\n })\n }\n console.log(\"before\",this.product_and_services)\n this.product_and_services = [].concat.apply([], this.product_and_services);\n console.log(\"After\",this.product_and_services)\n }\n })\n }\n // change options for either Date/Frequency Information\nchangeOptions(indexVal: any,event: any): void{\n console.log(\"event\",event)\n let control: any = this.salesDailyForm.controls['sales_product'];\n console.log(\"control\",control)\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n if(event==\"1\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n // control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].clearValidators();\n //control.controls[indexVal].controls['comments'].updateValueAndValidity();\n }\n else if(event==\"2\"){\n for (let i = 0; i < innercontrol.value.length-1; i++) {\n innercontrol.removeAt(i);\n }\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].clearValidators();\n innercontrol.controls[innercontrol.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValue(\"\");\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n innercontrol.controls[innercontrol.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n\n control.controls[indexVal].controls['comments'].setValue(\"\");\n // control.controls[indexVal].controls['comments'].setValidators([Validators.required]);\n // control.controls[indexVal].controls['comments'].updateValueAndValidity();\n\n }\n control.controls[indexVal].controls['margin_per'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n\n }\n createdailysalesProduct() {\n return this.fb.group(\n {\n sim_id: [null],\n sales_item: [null, Validators.compose([Validators.required])],\n other_sales_item:[null],\n sales_type:[\"1\"],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n margin_per: [null],\n margin_value: [null],\n comments:[null],\n fk_createdby: [this.users],\n isactive: [true],\n });\n }\n createdailyChildSaleProduct() {\n return this.fb.group({\n simc_id: [null],\n fk_sim_id: [null],\n sales_date: [null],\n sales_value: [null],\n fk_frequency_id:[null],\n frequency_value:[null],\n isactive: [true],\n })\n }\n temparr = [];\n tempdate = [];\n getSalesCalc(subchild,child,key) {\n \n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\n let totalitemmargin = child.value.margin_per;\n \n if (totalitemmargin != null && subchild.value.sales_value !=null) {\n let loopAccess = false;\n let loopindex = 0;\n if (this.tempdate.length != 0) {\n for (var i = 0; i < this.tempdate.length; i++) {\n\n if (this.tempdate[i].month == saledate) {\n loopAccess = true;\n loopindex = i;\n }\n }\n\n if (loopAccess) {\n\n \n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\n this.temparr.push(subchild.value.sales_value);\n loopAccess = false;\n loopindex = 0;\n \n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\n }\n\n\n } else {\n \n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\n this.temparr.push(subchild.value.sales_value);\n }\n\n let totalMonth = 12 / this.tempdate.length;\n \n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\n \n // let value = tempgrandTotal * (totalitemmargin / 100);\n let value = tempgrandTotal*totalMonth ;\n \n let grandValue = value * (totalitemmargin / 100);\n child.controls['margin_value'].setValue(grandValue);\n \n }\n \n }\n salesCalculation(indexVal: number,values: any): void {\n console.log(indexVal,values)\n console.log(\"Margin\",this.margin_calculation_status);\n if(this.margin_calculation_status===true && values.sales_type==\"1\"){\n console.log(\"value == 1\")\n let control:any = this.salesDailyForm.controls['sales_product'];\n if(values.child.length>0 && values.margin_per!='' && values.margin_per!=null){\n // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive==true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\n return mval;\n });\n console.log(\"transform\",transformData)\n if(transformData.length>0) {\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n .filter((fVal,fIndex,fArray)=>{\n return fIndex === fArray.indexOf(fVal);\n });\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\n .reduce((sum, curr) => parseFloat(sum) + parseFloat(curr));\n console.log(\"value\",(parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2))\n console.log(control.controls[indexVal])\n control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per)/100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2));\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2)\n }\n else{\n console.log(\"else 1\")\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n console.log(\"else 1\")\n }\n else {\n console.log(\"else 2\")\n control.controls[indexVal].controls['margin_value'].setValue('');\n \n }\n }\n else if(this.margin_calculation_status===true && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n \n let getTotalValueCounts =parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)\n values.margin_per!='' ? control.controls[indexVal].controls['margin_value'].setValue( (getTotalValueCounts * (parseFloat(values.margin_per)/100)).toFixed(2)) : '';\n values.margin_per!='' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per)/100),indexVal,2) : ''\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n control.controls[indexVal].controls['margin_value'].setValue(\"\");\n \n }\n }\n else if(this.margin_calculation_status===false && values.sales_type==\"2\"){\n let control:any = this.salesDailyForm.controls['sales_product'];\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n \n if(values.child[values.child.length-1].fk_frequency_id!='' && values.child[values.child.length-1].frequency_value!='' && values.child[values.child.length-1].fk_frequency_id!=null && values.child[values.child.length-1].frequency_value!=null){\n let filterFrequencyValue: any = this.frequencyData.filter(val =>val.frequency_id==values.child[values.child.length-1].fk_frequency_id);\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length-1].frequency_value)).toFixed(2));\n this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length-1].frequency_value),innercontrol.value.length-1,1)\n }\n else {\n innercontrol.controls[innercontrol.value.length-1].controls['sales_value'].setValue(\"\");\n }\n }\n \n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.constant.convertNumberToWords(e);\n break;\n case 2 : \n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\n break;\n case 3:\n this.freqAmtInwords[c]=this.constant.convertNumberToWords(e)\n default : break;\n }\n }\n adddailySalaesProduct() {\n this.tempdate = [];\n if (this.salesDailyForm.valid) {\n const control = this.salesDailyForm.get('sales_product') as FormArray;\n control.push(this.createdailysalesProduct());\n \n this.adddailyChildSaleProduct(control.length - 1);\n }\n }\n adddailyChildSaleProduct(index) {\n // if(this.salesDailyForm.valid){\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\n\n control.push(this.createdailyChildSaleProduct());\n // }\n }\n\n deletedailySalesProduct(index,item) {\n console.log(\"fk_pd_id\",item);\n this.tempdate.slice(index,1);\n let deleteRecords:any;\n \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n sim_id:item.sim_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\n if (control.length == 1) {\n this.salesDailyForm.controls['sales_product'].reset();\n } else {\n control.removeAt(index);\n }\n }\n\n deletedailyChildSaleProduct(saleIndex, saleChildIndex,childVal) {\n let control = this.salesDailyForm.controls['sales_product'];\n control=control.controls[saleIndex].get('child') as FormArray\n if(childVal == '' || childVal == null){\n control.removeAt(saleChildIndex)\n }\n else{\n console.log(\"control\",control.controls[saleChildIndex])\n control.controls[saleChildIndex].get('isactive').setValue(false);\n }\n\n // this.tempdate = [];\n // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\n // if(control.length==1)\n // {\n // control.removeAt(saleChildIndex);\n // this.adddailyChildSaleProduct(saleIndex); \n // }else{\n // control.removeAt(saleChildIndex);\n // }\n }\n saveData(answerData) {\n answerData.sales_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date'];\n }\n if(childVal['sales_date'])\n childVal['sales_date']=this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd');\n });\n });\n if (this.salesDailyForm.valid) {\n let records = { 'records': answerData.sales_product };\n console.log(\"answer Data\",records)\n \n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\n if (res['dataStatus'] == true) {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n });\n }\n else{\n console.log(\"pd\",this.salesDailyForm);\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\")\n }\n\n\n }\n getDailySalesData(dailySalesData) {\n console.log(\"daily sale\",dailySalesData);\n \n const control = this.salesDailyForm.get('sales_product') as FormArray;\n let control1: any = this.salesDailyForm.controls['sales_product'];\n let salesChildControl;\n let salesChildControlarr = [];\n dailySalesData.forEach((val, index) => {\n \n if(val.margin_per != null && val.margin_per != ''){\n console.log(\"c\",parseInt(val.margin_per).toFixed(2))\n val.margin_per=parseInt(val.margin_per).toFixed(2)\n }\n if(val.margin_value != null && val.margin_value != ''){\n val.margin_value=parseInt(val.margin_value).toFixed(2)\n }\n control.push(this.dailySalesWithData(val));\n if(val.margin_value != null){\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\n }\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\n\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\n\n salesChildControlarr[index].forEach((vals, i) => {\n vals.forEach((item, key) => {\n console.log(\"item\",item,'key',key)\n if(val.sales_type != 2){\n let saleDate = new Date(item.sales_date);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n\n // item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay()+1 )).slice(-2);\n console.log(\"sale Day\",saleDate.getDay())\n item.sales_date = saleDate.getFullYear() + '-' + month+ '-' + date;\n }\n \n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\n console.log(\"itme\",val)\n console.log(\"sale\",item.sales_date)\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id,val.sales_type));\n if(item.sales_value !=null){\n this.Value[i]=this.constant.convertNumberToWords(item.sales_value)\n }\n if(item.frequency_value != null){\n this.freqAmtInwords[i]=this.constant.convertNumberToWords(item.frequency_value);\n }\n })\n \n\n\n });\n // this.changeOptions(index,val.sales_type)\n if(val.sales_type==\"2\"){\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].setValue(\"\");\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].clearValidators();\n salesChildControl.controls[salesChildControl.value.length-1].controls['sales_date'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['fk_frequency_id'].updateValueAndValidity();\n \n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].setValidators([Validators.required]);\n salesChildControl.controls[salesChildControl.value.length-1].controls['frequency_value'].updateValueAndValidity();\n \n // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]);\n // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity();\n\n }\n });\n \n console.log(\"aall\",this.salesDailyForm.value)\n }\n\n dailySalesWithData(data) {\n\n return this.fb.group(\n {\n sim_id: [data.sim_id],\n sales_item: [data.sales_item],\n other_sales_item:[data.other_sales_item],\n sales_type:[data.sales_type],\n child: this.fb.array([]),\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n fk_createdby: [this.users],\n isactive: [true],\n margin_per: [data.margin_per == null ? '' : data.margin_per],\n margin_value: [data.margin_value == null ? '' :data.margin_value],\n comments:[data.comments]\n })\n }\n dailySalesChildWithData(data, fk_id,salesType) {\n\nconsole.log(\"Sales type\",salesType)\n return this.fb.group(\n {\n simc_id: [data.simc_id],\n fk_sim_id: [fk_id],\n // sales_date: [data.sales_date, Validators.compose([Validators.required])],\n sales_date:[salesType==2 ? '' : data.sales_date],\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\n sales_value: [data.sales_value],\n fk_frequency_id:[data.fk_frequency_id],\n frequency_value:[data.frequency_value],\n isactive: [true],\n })\n \n\n }\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ConstantsProvider } from '../../../providers/constants/constants';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n/**\n * Generated class for the PdQuestionAssessedPurchasePage 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-assessed-purchase',\n templateUrl: 'pd-question-assessed-purchase.html',\n})\nexport class PdQuestionAssessedPurchasePage {\n purchaseDetails: any;\n users: any;\n pdDetails: any;\n businessExpenses: any;\n UOM: any;\n m_freqOfPurchase: any;\n annual: any = [];\n grandpurchaseTotal: any;\n rawMaterialForm:FormGroup;\n RateOfPurchase: any=[];\n AnnualPurchase: any=[];\n productListData:any=[];\n UOMData:any=[]\n check_type:any=[{'type_id':\"1\",'type_name':'Quantity and Rate Information'},{'type_id':\"2\",'type_name':'Value Information'}]\n complete_status: boolean = false;\n protected _onDestroy = new Subject();\n\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.purchaseDetails = this.navParams.get('purchase');\n console.log(\"purchase\",this.purchaseDetails)\n console.log(\"pd\",this.pdDetails);\n this.users = this.aws.getlocale();\n this.rawMaterialForm = this.fb.group(\n {\n purchase:this.fb.array([]),\n });\n \n if(this.purchaseDetails!=null)\n {\n this.getpurchaseDetails(this.purchaseDetails);\n }else\n {\n this.addPurchaseDetails();\n }\n this.getdropList();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\n }\n\n\n createPurchaseDetails()\n {\n return this.fb.group(\n {\n purchase_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[null,Validators.compose([Validators.required])],\n other_purchase_item:[null],\n purchase_type:['1'],\n purchase_qty:[null,Validators.compose([Validators.required])],\n fk_uom_id:[null,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[null],\n rate_per_unit:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_purchase_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n getdropList()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\n }\n })\n this.qustCat.getcommondrop('UOM').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\n this.UOMData=this.UOM.slice();\n }\n });\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n }\n })\n this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchaseDetails()\n {\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n control.push(this.createPurchaseDetails());\n }\n\n deletePurchaseDetails(i,item)\n {\n this.annual.splice(i,1);\n \n // this.annual[i].spl\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any; \n if(item.fk_pd_id !=null){\n deleteRecords=[{\n purchase_id:item.purchase_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n\n purchaseCalculation(indexVal,values)\n {\n let control:any = this.rawMaterialForm.controls['purchase'];\n if(values.rate_per_unit != null){\n if(values.rate_per_unit != ''){\n this.inWords(values.rate_per_unit,indexVal,1);\n }\n }\n if(values.purchase_type == \"1\" && values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else if(values.purchase_type==\"2\" && values.rate_per_unit !='' && values.rate_per_unit !=null && values.fk_frequency_id != '' && values.fk_frequency_id != null ){\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n }\n else {\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\n }\n // console.log(this.grandpurchaseTotal);\n // console.log(details,index);\n // let frequencyId = details.value.fk_frequency_id;\n // let purchaseQty = details.value.purchase_qty;\n // let UOM = details.value.rate_per_unit;\n // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(frequencyId);\n // let annual\n // if(purchaseQty!=null && UOM!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (purchaseQty*UOM*250);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (purchaseQty*UOM);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (purchaseQty*UOM*12);\n // this.annual[index] = annual;\n // details.controls['annual_purchase_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\n // }\n }\n savepurchaseData(answerData)\n {\n if(this.rawMaterialForm.valid){\n \n answerData.purchase.forEach(parVal=>{\n delete parVal.uomSearch\n })\n \n let records = {'records':answerData.purchase};\n console.log('data',records);\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n // this.getAssessedDetails();\n \n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getpurchaseDetails(purchaseDetails)\n {\n console.log('function in',purchaseDetails);\n \n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \n console.log(control); \n if(purchaseDetails.length ==0)\n {\n console.log('if');\n this.addPurchaseDetails();\n }else{\n console.log('else');\n purchaseDetails.forEach((val,index)=>\n {\n // console.log(index);\n control.push(this.createPurchasewithData(val));\n this.annual[index] = val.annual_purchase_value;\n if(val.rate_per_unit != null){\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\n }\n if(val.annual_purchase_value != null){\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\n }\n });\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\n }\n // console.log(control); \n \n }\n\n createPurchasewithData(data)\n {\n return this.fb.group(\n {\n purchase_id:[data.purchase_id],\n fk_pd_id:[this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\n other_purchase_item:[data.other_purchase_item],\n purchase_type:[data.purchase_type],\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\n uomSearch:[null],\n uom_other:[data.uom_other],\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n changeOptions(indexVal: any,event: any): void{\n console.log('event',event)\n let control: any = this.rawMaterialForm.controls['purchase'];\n if(event.value==\"1\"){\n control.controls[indexVal].controls['purchase_qty'].setValidators([Validators.required]);\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValidators([Validators.required]);\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n else if(event.value==\"2\"){\n control.controls[indexVal].controls['purchase_qty'].setValue(\"\");\n control.controls[indexVal].controls['purchase_qty'].clearValidators();\n control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity();\n \n control.controls[indexVal].controls['fk_uom_id'].setValue(\"\");\n control.controls[indexVal].controls['fk_uom_id'].clearValidators();\n control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity();\n this.purchaseCalculation(indexVal,control.controls[indexVal].value);\n }\n }\n \n searchUOM(control:any,i:number){ \n control.controls['uomSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n let val = control.controls['uomSearch'].value;\n if (!this.UOM) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n \n this.UOMData=this.UOM.slice()\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.UOMData=this.UOM.filter(res => res.name.toLowerCase().indexOf(searchVal) > -1)\n })\n }\n\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n/**\n * Generated class for the PdQuestionAssessedBusinessPage 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-assessed-business',\n templateUrl: 'pd-question-assessed-business.html',\n})\nexport class PdQuestionAssessedBusinessPage {\n m_freqOfPurchase: any;\n expenseDetails: any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n grandpurchaseTotal(arg0: any): any {\n throw new Error(\"Method not implemented.\");\n }\n grandExpenseTotal: any=[];\n expenseannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessExpenses:any;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busExpense:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\n }\n\n\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[null,Validators.compose([Validators.required])],\n expense_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_expenses_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n\n\n businessCalculation(indexVal: number,values: any): void {\n let control:any = this.BuissnessForm.controls['busExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\n }\n }\n \n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i,item)\n {\n console.log(\"item\",item);\n this.expenseannual.splice(i,1); \n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n \n let deleteRecords:any;\n if(item.fk_pd_id !=null){\n deleteRecords=[{\n pd_expense_id:item.pd_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n \n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n\n busExpensecalculat(index,details)\n {\n \n \n let frequencyId = details.value.fk_frequency_id;\n let expenseValue = details.value.expense_value;\n let UOM = details.value.rate_per_unit;\n \n let annual\n if(expenseValue!=null){\n if(frequencyId==1)\n {\n\n }else if(frequencyId==2)\n {\n annual = (expenseValue*250);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual); \n this.inWords(annual,index,2) \n }else if(frequencyId==3)\n {\n annual = (expenseValue);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==4)\n {\n\n }else if(frequencyId==5)\n {\n annual = (expenseValue*12);\n this.expenseannual[index] = annual;\n details.controls['annual_expenses_value'].setValue(annual);\n this.inWords(annual,index,2)\n }else if(frequencyId==6)\n {\n\n }else if(frequencyId==7)\n {\n\n }else if(frequencyId==8)\n {\n\n }else\n {\n\n }\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }else\n {\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busExpense};\n \n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.expenseannual[index] = val.annual_expenses_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\n }\n })\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_expense_id:[data.pd_expense_id],\n fk_pd_id:[this.pdDetails.pd_id],\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedHouseholdPage 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-assessed-household',\n templateUrl: 'pd-question-assessed-household.html',\n})\nexport class PdQuestionAssessedHouseholdPage {\n\n m_freqOfPurchase: any;\n expenseDetails: any;\n houseExpenseDetails: any;\n users: any;\n pdDetails: any;\n houseannual: any =[];\n grandHouseExpenseTotal: any=[];\n houseHoldForm:FormGroup;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status: boolean = false;\n // nn:Object[][]=[]\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.houseExpenseDetails = this.navParams.get('FormId');\n this.expenseDetails = this.navParams.get('expense');\n this.users = this.aws.getlocale();\n this.houseHoldForm = this.fb.group(\n {\n houseExpense:this.fb.array([]),\n });\n if(this.expenseDetails !=null)\n {\n this.getHouseholdExpense(this.expenseDetails);\n }else\n {\n this.addHouseExpenses();\n }\n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n createHouseExpense()\n {\n return this.fb.group(\n {\n household_expense_id:[null],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [null,Validators.compose([Validators.required])],\n\t\t expense_value: [null,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\n annual_expense_value: [null,Validators.compose([Validators.required])],\n comments:[null],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n\n addHouseExpenses()\n {\n \n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n\n control.push(this.createHouseExpense());\n }\n\n deleteHouseExpense(i,item)\n {\n this.houseannual.splice(i,1); \n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n let deleteRecords:any\n if(item.household_expense_id !=null){\n deleteRecords=[{\n household_expense_id:item.household_expense_id,\n fk_pd_id:item.fk_pd_id,\n company_id:this.pdDetails.company_id,\n isactive:false\n\n }]\n \n let records:any={'records':deleteRecords}\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Deleted Successfully\");\n }\n else{\n this.toast.pdTriggerappmessage(\"Something Went Wrong\");\n }\n })\n }\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\n if(control.length==1){\n control.reset();\n }\n else{\n control.removeAt(i); \n } \n }\n houseExpensecalculat(indexVal,values)\n {\n\n let control:any = this.houseHoldForm.controls['houseExpense'];\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2));\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n \n }\n else {\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\n }\n \n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let expenseValue = details.value.expense_value;\n // // let UOM = details.value.rate_per_unit;\n // // console.log(frequencyId,purchaseQty,UOM,index);\n // // console.log(details);\n // let annual\n // if(expenseValue!=null){\n // if(frequencyId==1)\n // {\n\n // }else if(frequencyId==2)\n // {\n // annual = (expenseValue*250);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (expenseValue);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n\n // }else if(frequencyId==5)\n // {\n // annual = (expenseValue*12);\n // this.houseannual[index] = annual;\n // details.controls['annual_expense_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n\n // }else if(frequencyId==7)\n // {\n\n // }else if(frequencyId==8)\n // {\n\n // }else\n // {\n\n // }\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n // console.log(this.grandHouseExpenseTotal); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n saveHouseExpenseData(answerData)\n {\n if(this.houseHoldForm.valid)\n {\n let records = {'records':answerData.houseExpense};\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\n { \n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n }\n\n getHouseholdExpense(houseExpesneDetails)\n {\n if(houseExpesneDetails.length==0)\n {\n this.addHouseExpenses(); \n }else\n {\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \n houseExpesneDetails.forEach((val,index)=>\n {\n this.houseannual[index] = val.annual_expense_value;\n control.push(this.createHouseholdwithData(val));\n if(val.expense_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\n }\n \n });\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createHouseholdwithData(data)\n {\n return this.fb.group(\n {\n household_expense_id:[data.household_expense_id],\n fk_pd_id:[this.pdDetails.pd_id] ,\n company_id:[this.pdDetails.company_id],\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n\t\t isactive: [\"1\"],\n\t\t fk_createdby: [this.users]\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n\n/**\n * Generated class for the PdQuestionAssessedBusinessIncomePage 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-assessed-business-income',\n templateUrl: 'pd-question-assessed-business-income.html',\n})\nexport class PdQuestionAssessedBusinessIncomePage {\n m_freqOfPurchase: any = [];\n expenseDetails: any;\n \n grandIncomeTotal: any=[];\n incomeannual: any=[];\n users: any;\n pdDetails: any;\n BuissnessForm:FormGroup;\n businessIncome:any;\n Value: any=[];\n AnnualExpenses: any=[];\n complete_status : boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\n this.pdDetails = this.navParams.get('pdDetails');\n this.expenseDetails = this.navParams.get('income');\n \n this.users = this.aws.getlocale();\n this.BuissnessForm = this.fb.group(\n {\n busIncome:this.fb.array([]),\n });\n\n if(this.expenseDetails!=null)\n {\n this.getBuisnessExpenses(this.expenseDetails);\n }else\n {\n this.addBusinessDetails();\n }\n this.getdropdown();\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\n {\n if(res['dataStatus']==true){\n \n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\n } \n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus'] == true){\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\n }\n createBusinessDetails()\n {\n return this.fb.group(\n {\n pd_business_income_id:[null],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[null,Validators.compose([Validators.required])],\n income_value:[null,Validators.compose([Validators.required])],\n fk_frequency_id:[null,Validators.compose([Validators.required])],\n annual_income_value:[null,Validators.compose([Validators.required])],\n comments:[null],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[null],\n other_frequncy_item:[null],\n })\n }\n\n addBusinessDetails()\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.push(this.createBusinessDetails());\n }\n\n deleteBuisnessDetails(i)\n {\n this.incomeannual.splice(i,1); \n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n \n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\n control.removeAt(i);\n }\n\n busIncomecalculate(indexVal,values)\n {\n let control:any = this.BuissnessForm.controls['busIncome'];\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\n\n }\n else {\n control.controls[indexVal].controls['annual_income_value'].setValue('');\n }\n //OLD CALCULATION\n // let frequencyId = details.value.fk_frequency_id;\n // let incomeValue = details.value.income_value;\n // // let UOM = details.value.rate_per_unit;\n \n // let annual:any;\n // if(incomeValue!=null && incomeValue !=null){\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \n // if(frequencyId==1)\n // {\n \n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==2)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==3)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==4)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==5)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual);\n // }else if(frequencyId==6)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==7)\n // {\n // annual = (incomeValue*frequency_factor.mutiple_factor);\n // this.incomeannual[index] = annual;\n // details.controls['annual_income_value'].setValue(annual); \n // }else if(frequencyId==8)\n // {\n // annual = (incomeValue);\n // this.incomeannual[index] = annual; \n // details.controls['annual_income_value'].setValue(annual); \n\n // }else\n // {\n\n // }\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n // }else\n // {\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\n // }\n }\n\n saveBusinessData(answerData)\n {\n \n if(this.BuissnessForm.valid){\n let records = {'records':answerData.busIncome};\n \n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n \n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \n setTimeout(()=>{\n this.navCtrl.pop();\n },1500)\n }\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter The All Field');\n }\n \n }\n\n getBuisnessExpenses(expenseDetails)\n {\n if(expenseDetails.length==0)\n {\n this.addBusinessDetails();\n }else\n {\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \n expenseDetails.forEach((val,index)=>\n {\n this.incomeannual[index] = val.annual_income_value;\n control.push(this.createBusinessExpensewithData(val));\n if(val.income_value != null){\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\n }\n })\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \n }\n }\n\n createBusinessExpensewithData(data)\n {\n return this.fb.group(\n {\n pd_business_income_id:[data.pd_business_income_id],\n fk_pd_id:[this.pdDetails.pd_id],\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\n income_value:[data.income_value,Validators.compose([Validators.required])],\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\n comments:[data.comments],\n isactive:['1'],\n fk_createdby:[this.users],\n other_income_item:[data.other_income_item],\n other_frequncy_item:[data.other_frequncy_item],\n })\n }\n inWords(e,c,flag){\n switch(flag){\n case 1 : \n this.Value[c] = this.cons.convertNumberToWords(e);\n break;\n case 2 : \n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\n break;\n default : break;\n }\n }\n}\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';\nimport { IonicPage, NavController, NavParams, Form } from 'ionic-angular';\nimport {AwsServiceProvider} from '../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport { DatePipe } from '@angular/common';\nimport {ConstantsProvider} from '../../../providers/constants/constants'\nimport { max } from 'rxjs/operators';\n\n/**\n * Generated class for the PdQuestionAssessedDailyPurchasePage 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-assessed-daily-purchase',\n templateUrl: 'pd-question-assessed-daily-purchase.html',\n})\nexport class PdQuestionAssessedDailyPurchasePage {\n pipe = new DatePipe('en-US');\n pdDetails:any;\n formId:any;\n margin_calculation_status: any;\n users: any;\n purchaseItemForm:FormGroup\n dailyPurchase:any;\n productListData: any=[];\n purchaseData:any;\n purchaseAmtInWords: any=[];\n maxDate:any;\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\n private fb:FormBuilder,private quesCat:QuestionCategoryProvider,private toast:ToastProvider,private cons:ConstantsProvider) {\n var today=new Date\n console.log(\"today\",today)\n let date=today.getDate()< 10 ? (\"0\"+(today.getDate())) : today.getDate()\n let month=today.getMonth() < 10 ? (\"0\"+(today.getMonth()+1)) : (today.getMonth()+1)\n this.maxDate = today.getFullYear() + '-' + month + '-' + date;\n console.log(\"max\",this.maxDate)\n this.pdDetails=this.navParams.get('pdDetails')\n console.log(\"pd\",this.pdDetails)\n this.formId=this.navParams.get('FormId')\n this.purchaseData=this.navParams.get('purchaseDaily')\n console.log(\"data\",this.purchaseData);\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\n this.users = this.aws.getlocale();\n\n this.purchaseItemForm=this.fb.group({\n // purchase_item:[''],\n // other_purchase_item:[''],\n purchase_product:this.fb.array([])\n // child:this.fb.array([])\n })\n this.getDropDown()\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage');\n if(this.purchaseData != null){\n this.getDailyPurchase(this.purchaseData)\n }\n else{\n this.addPurchase();\n }\n \n }\n getDropDown(){\n this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(data=>{\n if (data.dataStatus){\n let datas = data.record;\n \n let type2 = datas.from_business.filter(data => data.type_of_activity_id == 2); \n if(type2[0].hasOwnProperty(\"products\")){\n // this.productListData.push(type2[0].products);\n }\n let type3 = datas.from_business.filter(data => data.type_of_activity_id == 3);\n if(type3[0].hasOwnProperty(\"products\")){\n this.productListData.push(type3[0].products);\n }\n let type4 = datas.from_business.filter(data => data.type_of_activity_id == 4);\n if(type4[0].hasOwnProperty(\"products\")){\n this.productListData.push(type4[0].products);\n }\n if(datas.from_supplier.hasOwnProperty(\"raw_material\")){\n this.productListData.push(datas.from_supplier.raw_material);\n }\n this.productListData = [].concat.apply([], this.productListData);\n \n }\n })\n }\n addPurchase(){\n const control=this.purchaseItemForm.get('purchase_product') as FormArray\n control.push(this.createDailyPurchase())\n this.addDailyPurchaseChild(control.length-1)\n }\n createDailyPurchase(){\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [''],\n purchase_item: ['', Validators.compose([Validators.required])],\n other_purchase_item:[''],\n annual_purchase_value: [''],\n child: this.fb.array([]),\n comments: [''],\n isactive:[true],\n })\n }\n addDailyPurchaseChild(index)\n {\n const control=(this.purchaseItemForm.get('purchase_product')).at(index).get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(''))\n }\n createDailyPurchaseChild(value){\n return this.fb.group({\n pbwc_id: [''],\n fk_pbw_id: [value],\n purchase_date: [''],\n purchase_value: ['', Validators.compose([Validators.required])],\n isactive:[true],\n })\n }\n createPurchaseItemWithData(values: any) {\n return this.fb.group({\n fk_pd_id: [this.pdDetails.pd_id],\n company_id:[this.pdDetails.company_id],\n pbw_id: [values.pbw_id],\n purchase_item: [values.purchase_item, Validators.compose([Validators.required])],\n other_purchase_item:[values.other_purchase_item === null ? '' : values.other_purchase_item ],\n annual_purchase_value: [values.annual_purchase_value],\n child: this.fb.array([]),\n comments: [values.comments],\n isactive:[true],\n });\n }\n \n // create daily purchase product with Data\n createDailyPurchaseWithData(values: any, parent: any) {\n console.log(\"dd\",new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')))\n return this.fb.group({\n pbwc_id: [values.pbwc_id],\n fk_pbw_id: [parent.pbw_id],\n // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])],\n purchase_date:[values.purchase_date],\n purchase_value: [values.purchase_value, Validators.compose([Validators.required])],\n isactive:[true]\n })\n }\ninWords(values,index){\n console.log(\"value\",values)\n if(values != ''){\n this.purchaseAmtInWords[index]=this.cons.convertNumberToWords(values)\n }\n}\n // this caculation for running total\npurchaseCalculation(indexVal: number,values: any): void {\n \n let control:any = this.purchaseItemForm.controls['purchase_product'];\n \n if(values.child.length>0){\n let transformData = values.child.filter(val=>val.purchase_date!='' && val.purchase_date!=null && val.purchase_date!=undefined && val.purchase_value!='' && val.isactive===true).map(mval=>{\n mval.custum_date = this.pipe.transform(mval.purchase_date, 'yyyy-MM');\n return mval;\n });\n\n if(transformData.length>0) {\n // let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\n // .filter((fVal,fIndex,fArray)=>{\n // return fIndex === fArray.indexOf(fVal);\n // });\n\n let TotalAnnualValue = transformData.map(val=>val.purchase_value)\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\n // let months:number=12/values.child.length;\n control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue);\n }\n else{\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n \n }\n else {\n let innercontrol: any = control.controls[indexVal].get('child') as FormArray;\n innercontrol.controls[innercontrol.value.length-1].controls['purchase_value'].setValue(\"\");\n control.controls[indexVal].controls['annual_purchase_value'].setValue(\"\");\n }\n}\naddDailyPurchase(len){\n const control=this.purchaseItemForm.get('purchase_product');\n control.push(this.createDailyPurchase())\n const innercontrol=control.at(len).get('child') as FormArray\n innercontrol.push(this.createDailyPurchaseChild(''))\n}\nremoveDailyPurchase(index){\n const control=this.purchaseItemForm.get('purchase_product');\n control.removeAt(index)\n}\naddChild(parentIndex,values){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n control.push(this.createDailyPurchaseChild(values.pbw_id));\n}\nremoveChild(parentIndex,childIndex,childValue){\n let control: any = this.purchaseItemForm.controls['purchase_product'];\n control=control.controls[parentIndex].get('child') as FormArray;\n if(childValue.pbwc_id=='' || childValue.pbwc_id==null){\n control.removeAt(childIndex);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n else {\n control.controls[childIndex].controls.isactive.setValue(false);\n let calculatControlValues: any = this.purchaseItemForm.controls['purchase_product'];\n calculatControlValues = calculatControlValues.controls[parentIndex];\n this.purchaseCalculation(parentIndex,calculatControlValues.value);\n }\n}\ngetDailyPurchase(records){\n const control=this.purchaseItemForm.get('purchase_product')\n // const innercontrol=control.at(0).get('child') as FormArray\n records.forEach((element,index)=>{\n let purchaseChildControlarr=[]\n let nexContro=[]\n control.push(this.createPurchaseItemWithData(element))\n console.log(\"records\",element)\n let result=Object.assign({},...element.items);\n console.log(\"result\",result);\n // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] }));\n // console.log(\"expandBody\",expandBodyContent);\n // let listItems: any=[];\n nexContro[index] = Object.keys(element['items']).map(key => element['items'][key]);\n console.log(\"purchasechildcontrol\",nexContro[index])\n purchaseChildControlarr[index]=Object.keys(result).map(key=>result[key])\n console.log(\"nexcontrol\",purchaseChildControlarr[index])\n // expandBodyContent.forEach((expnadElement, expnadIndex) => {\n // console.log(\"expand\",expnadElement)\n // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0);\n // console.log(\"calculateItems\",calculateItems)\n // listItems.push({items:expnadElement, itemsTotal:calculateItems})\n const innercontrol=control.at(index).get('child') as FormArray\n purchaseChildControlarr[index].forEach((chilVal,childIndex)=>{\n chilVal.forEach((val,innerIndex)=>{\n if(val.purchase_date ){\n let saleDate = new Date(val.purchase_date);\n console.log(saleDate.getDay())\n console.log(saleDate.getDate());\n // val.purchase_date= saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() )).slice(-2);\n let date=saleDate.getDate()< 10 ? (\"0\"+(saleDate.getDate())) : saleDate.getDate()\n let month=saleDate.getMonth() < 10 ? (\"0\"+(saleDate.getMonth()+1)) : (saleDate.getMonth()+1)\n console.log(\"datamonth\")\n console.log(date,month)\n val.purchase_date= saleDate.getFullYear() + '-' + month + '-' + date;\n console.log( val.purchase_date)\n }\n if(val.purchase_value != ''){\n this.inWords(val.purchase_value,childIndex)\n }\n console.log(\"child\",val)\n innercontrol.push(this.createDailyPurchaseWithData(val,element))\n })\n })\n \n })\n // console.log(\"list_items\",listItems)\n // })\n // control.push(this.createPurchaseItemWithData(records))\n \n //console.log('innercontrol',innercontrol)\n // records.items.forEach((element,index)=>{\n // innercontrol.push(this.createDailyPurchaseWithData(element,records))\n // })\n \n}\n\n\nsubmitDetails(records){\n records.purchase_product.forEach(parVal=>{\n parVal.child.forEach(childVal=>{\n if(childVal['custum_date']){\n delete childVal['custum_date']\n }\n if(childVal['purchase_date']){\n childVal['purchase_date']=this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd')\n }\n })\n })\n let recordVal:any={'records':records.purchase_product}\n this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise',recordVal).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully..!\")\n setTimeout(()=>{\n this.navCtrl.pop()\n },1500)\n }\n else{\n this.toast.pdTriggerappmessage(\"Error\");\n }\n })\n}\n \n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport {RupeeCurrencyFormatPipe} from '../../../pipes/rupee-currency-format/rupee-currency-format'\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage 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-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n providers:[RupeeCurrencyFormatPipe]\n})\nexport class PdQuestionAssessedSummaryPage {\n pdDetails:any;\n salesCustomer:any;\n salesMonthWise:any;\n salesItemWise:any;\n consolidatedReport:any;\n loadData:boolean=false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n // console.log(this.pdDetails)\n this.getAssessedDetails();\n }\n ionViewWillEnter(){\n //console.log(\"ionViewWillEnter\")\n //this.getAssessedDetails();\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n \n }\n getAssessedDetails(){\n let records = {'pd_id':this.pdDetails.pd_id,'company_id':this.pdDetails.company_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\n if(res['dataStatus']== true){\n if(res['records'].final_data.length != 0){\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\n console.log(this.salesCustomer);\n }\n this.loadData=true\n \n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ToastProvider} from '../../../providers/common-provider/toast'\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\nimport { QueueScheduler } from 'rxjs/internal/scheduler/QueueScheduler';\n/**\n * Generated class for the PdQuestionAssessedImagesPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-assessed-images',\n templateUrl: 'pd-question-assessed-images.html',\n})\nexport class PdQuestionAssessedImagesPage {\n imageDisplay: any=[];\n imageBucket: any=[];\n pdDetails:any;\n FormId:any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,private cameraProvider:CameraProvider,\n private loading:LoadingProvider,private toast:ToastProvider,public qustCat:QuestionCategoryProvider ) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.FormId=this.navParams.get('formdetails')\n console.log(\"pd\",this.pdDetails,\"form\",this.FormId)\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedImagesPage');\n this.getPDImages();\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n \n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n console.log(\"res\",res);\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n console.log(\"Fail\")\n this.toast.pdTriggerappmessage('Fail');\n }\n },ERR=>{\n console.log(JSON.stringify(ERR));\n this.toast.pdTriggerappmessage(JSON.stringify(ERR));\n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionLenderRepresentativePage 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-lender-representative',\n templateUrl: 'pd-question-lender-representative.html',\n})\nexport class PdQuestionLenderRepresentativePage {\n\n users: any;\n FormId: any;\n pdDetails: any;\n representativeForm:FormGroup;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,private cameraProvider:CameraProvider,\n private loading:LoadingProvider) \n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n this.users = this.aws.getlocale();\n this.representativeForm = this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdDetails.pd_id],\n formid:[this.FormId.form_id],\n fk_createdby:[this.users],\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\n representative_remarks: ['', Validators.compose([Validators.required])],\n lender_representative_details: this.fb.array([]),\n });\n this.getLenderReDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\n this.getPDImages();\n }\n\n ionViewCanLeave(){\n console.log(\"dirty\",this.representativeForm.dirty);\n if(this.representativeForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n \n createlenReDetails()\n {\n return this.fb.group({\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\n });\n }\n\n selectedLoanChanges(e): void {\n if (e.value == 'Yes') {\n const control = this.representativeForm.controls['lender_representative_details'];\n control.push(this.createlenReDetails());\n } else if (e.value == 'No') {\n const arr = this.representativeForm.controls.lender_representative_details;\n arr.removeAt(0);\n }\n }\n\n sumbitData(answerData)\n { \n if(this.representativeForm.valid)\n {\n let records = this.representativeForm.value;\n \n this.qustCat.saveForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.representativeForm.reset(this.representativeForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n });\n }else\n {\n this.toast.pdTriggerappmessage('Enter All Field');\n }\n }\n\n getLenderReDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let lenderReDetails = res['records'];\n if(lenderReDetails.lender_representative_accompany=='Yes'){\n\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n\n\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\n {\n return res['records'].lender_representative_details[key];\n });\n \n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \n lender_represent_details.forEach(val=>\n {\n control.push(this.createlenReDetails());\n })\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\n\n }else\n {\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\n\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\n }\n }\n })\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n\n}\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';\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { DatePipe} from '@angular/common';\nimport {PdPipe} from './../../../pipes/pd/pd';\nimport { removeSummaryDuplicates } from '@angular/compiler';\nimport { DataSource } from '@angular/cdk/table';\nimport { MatSelect } from '@angular/material';\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\nimport {ConstantsProvider} from '../../../providers/constants/constants'\n//import {} from 'moment'\n\n/**\n * Generated class for the PdQuestionGeneralInfoPage 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-general-info',\n templateUrl: 'pd-question-general-info.html',\n providers:[PdPipe],\n})\nexport class PdQuestionGeneralInfoPage {\n pipe=new DatePipe('en-US');\n // person_name:any;\n qualification_name:any;\n individuals_order_id:any;\n is_new:any;\n pd_co_applicant_id:any;\n lengthv:any;\n qual_name:any;\n curr_qualification_name;\n curr_business_name;\n \n\n applicant_name: any;\n otherapp: any;\n fetch_related_details: any = [];\n checkApplicantExist: any;\n pd_applicants_details: any = [];\n companyRelationShipList: any;\n qualificationList:any;\n businessEntityTypeList:any;\n relationShipList: any;\n titleList:any;\n users: any;\n FormId: any;\n pdDetails: any;\n generalForm:FormGroup;\n list_value:FormArray;\n fulldata:any\n public buttonClick:boolean;\n public h_companies:boolean\n \n datav:any;\n individualsListBothCase:any;\n individualsList:any;\n companyList:any;\n i:number;\n data_all:any;\n maxDate:any;\n OldData:any=[];\n OldData_indi:any=[];\n updateIndex_indi:any;\n public addComp:boolean\n public addIndi:boolean\n updateIndex_comp: any;\n\n complete_status : boolean = false;\n\n@ViewChild('remark') nameField: ElementRef;\n@ViewChild('focusBusiness') focus_business_entity : MatSelect\n customer_segment_abbr: any;\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController,\n private cameraProvider:CameraProvider,private loading:LoadingProvider,private cons:ConstantsProvider) {\n this.maxDate = new Date();\n this.pd_applicants_details = []; \n this.pd_applicants_details.pop(); \n this.pdDetails = this.navParams.get('pdDetails');\n console.log(this.pdDetails)\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\n //this.maxDate=new Date(get_max_date)\n this.FormId = this.navParams.get('FormId');\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n console.log('this.customer_segment_abbr',this.customer_segment_abbr)\n this.users = this.aws.getlocale();\n this.getdropdown();\n \n this.generalForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n applicant_list: this.fb.array([]),\n applicant_relation: this.fb.array([]),\n list_value:this.fb.array([]),\n company_value:this.fb.array([]),\n individuals:this.fb.array([]),\n companies:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n company_with_relationships:this.fb.array([]),\n rental_income_rcv_in_years:[''],\n rental_income_rcv_in_month:[''],\n \n general_remark:''\n });\n \n //this.initIndividuals();\n this.pd_applicants_details = this.pdDetails.applicat_details;\n \n \n \n // this.getcoapplicantDetails();\n this.buttonClick=false;\n this.h_companies=false;\n this.addIndi=false\n this.addComp=false\n // this.initCompanies()\n this.datav=[{\n name:\"fairoj\",\n id:1\n },\n {\n name:\"ff\",\n id:2\n }\n \n ]\n //this.fulldata=this.generalForm.value\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['list_value'];\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\n this.fulldata=control.value;\n //control.controls.length\n //control.push()\n });\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\n let control=this.generalForm.controls['company_value'];\n this.companyList=control.value.filter(element=>element.company_name )\n })\n this.i=0;\n\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n\n ionViewDidLoad() {\n // this.pd_applicants_details.pop();\n console.log(\"%cionViewDidLoad, PdQuestionGeneralInfoPage\",\"font-size:300%;color:purple;font-weight:bold;font-family:Mongoose;\");\n this.getGeneralForm()\n this.getPDImages();\n \n }\n ionViewLoaded() {\n\n // setTimeout(() => {\n // this.generalForm.controls['general_remark']['controls'].setFocus();\n // },150);\n }\n\n ionViewCanLeave(){\n console.table(\"dirty\",this.generalForm.dirty);\n if(this.generalForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n initlistv(data,purpose) :void\n {\n const control=this.generalForm.controls['list_value'];\n console.log(\"control\",control.length)\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic :val.is_person_met_pic,\n is_person_met_id_proof : val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[control.length+1],\n is_new:true,\n is_active:true,\n pd_co_applicant_id:[control.length+1], \n \n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n if(purpose=='get'){\n for(let val of data)\n {\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\n let formData:FormGroup=this.fb.group({\n applicant_title_name:[val.applicant_title_name],\n applicant_name:[val.applicant_name],\n is_person_met:val.is_person_met,\n is_person_met_pic:val.is_person_met_pic,\n is_person_met_id_proof:val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:[val.age],\n qualification:[val.qualification],\n course_name:[val.course_name],\n \n individuals_order_id:[val.individuals_order_id],\n is_new:[val.is_new],\n is_active:[val.is_active],\n pd_co_applicant_id:[val.pd_co_applicant_id] , \n \n \n \n \n\n qualification_name:[c_qualification_name]\n \n\n });\n control.push(formData);\n this.buttonClick=false;\n // this.generalForm.value.individuals.value=\"\"\n }\n }\n}\n\n qualificationById(data):string{\n for(let i of this.qualificationList){\n if(data==i.qualification_id){\n this.qual_name=i.qualification_name\n return this.qual_name\n }\n }\n \n }\n initCompanyValue(data,purpose):void{\n const control=this.generalForm.controls['company_value'];\n if(purpose=='ins')\n {\n for(let val of data)\n {\n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n \n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n // company_order_id:[this.lengthv.companies.length+1],\n company_order_id:[control.length+1],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:true,\n is_active:true,\n company_messrs_name:['M/s'],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[this.pdDetails.pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n if(purpose=='get')\n {\n for(let val of data)\n {\n \n var c_business_name=''\n if(val.business_entity_type!=1){\n c_business_name=this.businessEntityById(val.business_entity_type)\n }\n if(val.business_entity_type==1){\n c_business_name=val.business_entity_type_other\n }\n\n let formData:FormGroup=this.fb.group({\n company_name:[val.company_name],\n // pd_co_applicant_id:[this.i+1],\n company_order_id:[val.company_order_id],\n is_company_applicant:[val.is_company_applicant],\n business_entity_type:[val.business_entity_type],\n business_entity_type_other:[val.business_entity_type_other],\n is_new:[val.is_new],\n is_active:[val.is_active],\n company_messrs_name:[val.company_messrs_name],\n \n business_years:[val.business_years],\n business_month:[val.business_month],\n business_date_object:[val.business_date_object],\n associate_pd_id:[val.associate_pd_id],\n\n business_entity_type_name:[c_business_name]\n });\n control.push(formData);\n this.h_companies=false;\n }\n }\n }\n businessEntityById(val):string{\n for(let v of this.businessEntityTypeList){\n if(val==v.business_entity_type_id){\n var name=v.business_entity_type_name\n return name\n }\n }\n \n }\n \n\n initIndividuals(data):void{\n \n const control=this.generalForm.controls['individuals'];\n control.controls=[]\n if(data==null){\n let formData : FormGroup=this.fb.group({\n applicant_name:['',Validators.required],\n is_person_met:false,\n is_person_met_pic:[''],\n is_person_met_id_proof:[''],\n is_applicant:false,\n age:[''],\n qualification:[''],\n course_name:[''],\n applicant_title_name:['']\n\n });\n control.push(formData);\n }\n else{\n let formData : FormGroup=this.fb.group({\n \n \n applicant_name:[data.applicant_name,Validators.required],\n is_person_met:data.is_person_met,\n is_person_met_pic : data.is_person_met_pic,\n is_person_met_id_proof : data.is_person_met_id_proof,\n is_applicant:data.is_applicant,\n age:[data.age],\n qualification:[data.qualification],\n course_name:[data.course_name],\n applicant_title_name:[data.applicant_title_name]\n \n \n });\n this.buttonClick=!this.buttonClick;\n control.push(formData);\n\n }\n \n \n \n \n }\n initCompanies(data):void{\n const control=this.generalForm.controls['companies'];\n control.controls=[]\n if(data == null){\n let formData:FormGroup=this.fb.group({\n company_name:[''],\n is_company_applicant:false,\n business_entity_type:[''],\n business_entity_type_other:[''],\n business_years:[''],\n business_month:[''],\n business_date_object:[''],\n });\n control.controls=[]\n control.push(formData)\n \n }\n else{\n let formData:FormGroup=this.fb.group({\n company_name:[data.company_name],\n is_company_applicant:data.is_company_applicant,\n business_entity_type:[data.business_entity_type],\n business_entity_type_other:[data.business_entity_type_other],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_date_object:[data.business_date_object]\n })\n this.h_companies=!this.h_companies\n \n control.push(formData)\n }\n }\n initPersonRelationship(value):void{\n const control=this.generalForm.controls['persons_with_relationships'];\n if(value=='')\n {\n \n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[''],\n applicant_name:[''],\n relationship:[''],\n relation_to:[''],\n individuals_order_id:[control.length+1],\n \n });\n \n control.push(formData);\n }\n else{\n for(let val of value)\n {\n let formData:FormGroup=this.fb.group({\n pd_co_applicant_id:[val.pd_co_applicant_id],\n applicant_name:[val.applicant_name],\n relationship:[val.relationship],\n relation_to:[val.relation_to],\n });\n \n control.push(formData);\n }\n }\n \n }\n initCompanyRelationShip(value):void{\n console.log(value)\n if(value=='')\n {\n let formData:FormGroup=this.fb.group({\n applicant_name:[''],\n company_relationship:[''],\n relation_to_company:[''],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n else{\n console.log(\"data\",value);\n for(let val of value){\n let formData:FormGroup=this.fb.group({\n applicant_name:[val.applicant_name],\n company_relationship:[val.company_relationship],\n relation_to_company:[val.relation_to_company],\n });\n const control=this.generalForm.controls['company_with_relationships'];\n control.push(formData);\n }\n }\n \n }\n\n \n \n add():void{\n \n this.initIndividuals(null);\n }\ndata:any;\ncart=[];\ndatajson:any;\ndataobj:any;\n\n addRec(v){\n if(v=='1')\n {\n this.addIndi=true;\n this.buttonClick=!this.buttonClick;\n this.initIndividuals(null);\n }\n if(v=='2')\n {\n console.log(\"companies\",this.h_companies);\n this.addComp=true\n // this.h_companies=true;\n this.h_companies=!this.h_companies;\n console.log(\"companies\",this.h_companies);\n this.initCompanies(null);\n }\n }\n editIndividuals(index){\n let values=this.generalForm.controls.list_value.value[index]\n console.log(values)\n this.addIndi=false\n this.updateIndex_indi=index;\n this.initIndividuals(values);\n // this.nameField.nativeElement.focus();\n\n }\n editCompanies(index){\n console.log(\"index\",index);\n let values=this.generalForm.controls.company_value.value[index]\n console.log(values)\n this.updateIndex_comp=index\n this.addComp=false\n //this.\n this.initCompanies(values)\n }\n update(v,controlVal){\n console.log(\"index\",v)\n if(v=='1'){\n\n let values=this.generalForm.controls['individuals'].value[0]\n // let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\n }\n else{\n let val=this.generalForm.controls.individuals.value[0]\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\n // const control=this.list_value\n var c_qualification_name=this.qualificationById(val.qualification) \n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\n control.patchValue({\n \n applicant_title_name:val.applicant_title_name,\n applicant_name:val.applicant_name,\n is_person_met:val.is_person_met,\n is_person_met_pic : val.is_person_met_pic,\n is_person_met_id_proof: val.is_person_met_id_proof,\n is_applicant:val.is_applicant,\n age:val.age,\n qualification:val.qualification,\n course_name:val.course_name,\n \n individuals_order_id:old.individuals_order_id,\n is_new:old.is_new,\n is_active:old.is_active,\n pd_co_applicant_id:old.pd_co_applicant_id, \n \n qualification_name:c_qualification_name\n });\n this.buttonClick=false;\n console.log(this.generalForm.controls.list_value['controls'])\n // this.generalForm.controls.list_value.value.scrollToTop();\n // this.generalForm.controls['list_value']._scrollContent;\n //this.myinput._scrollContent();\n \n \n console.log(\"values\",val)\n console.log(\"old\",old);\n console.log(control);\n \n }\n }\n else if(v=='2'){\n if(!this.generalForm.controls['companies'].valid)\n {\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\n }\n else{\n let val=this.generalForm.controls.companies.value[0]\n var c_business_name=this.businessEntityById(val.business_entity_type)\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\n control.patchValue({\n company_name:val.company_name,\n // company_order_id:[control.length+1],\n is_company_applicant:val.is_company_applicant,\n business_entity_type:val.business_entity_type,\n business_entity_type_other:val.business_entity_type_other,\n // is_new:true,\n // is_active:true,\n //company_messrs_name:['M/s'],\n \n business_years:val.business_years,\n business_month:val.business_month,\n business_date_object:val.business_date_object,\n\n business_entity_type_name:c_business_name\n })\n this.h_companies=false\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\n }\n }\n \n\n }\n \n addParticular(v,controlVal):void{\n //console.log(\"controlVAl\",controlVal)\n // const control=this.generalForm.controls['individuals'];\n //control.removeAt(i);\n //this.data=this.generalForm.value.individuals;\n this.cart.push(this.generalForm.value.individuals);\n this.data=Object.assign(this.cart);\n // this.data=Object.assign(this.generalForm.value.individuals)\n this.datajson=JSON.stringify(this.cart)\n if(v=='1')\n {let values=this.generalForm.controls['individuals'].value[0]\n let control=(this.generalForm.controls['individuals']).at(0) as FormArray;\n // console.log(\"full\",this.generalForm)\n // console.log(control,values);\n if(values.is_person_met == true && values.is_applicant != true){\n controlVal.controls['age'].clearValidators();\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].clearValidators();\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met != true){\n // console.log(\"1st\");\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(values.is_person_met == true && values.is_applicant == true){\n controlVal.controls['age'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['age'].updateValueAndValidity()\n\n controlVal.controls['qualification'].setValidators(Validators.compose([Validators.required]));\n controlVal.controls['qualification'].updateValueAndValidity()\n }\n if(!this.generalForm.controls['individuals'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initlistv(this.generalForm.value.individuals,'ins')\n this.initPersonRelationship('');\n }\n }\n else if(v=='2')\n {\n if(!this.generalForm.controls['companies'].valid){\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\n }\n else{\n this.initCompanyValue(this.generalForm.value.companies,'ins')\n }\n }\n \n }\n removeList(i,index){\n if(index=='1')\n {\n //For List List_value(Individuals)\n const control=this.generalForm.controls['list_value'];\n control.value[i].is_active=false;\n this.OldData_indi.push(control.value[i])\n control.removeAt(i);\n //For Person RelationShip auto Delete\n const control1=this.generalForm.controls['persons_with_relationships'];\n control1.removeAt(i);\n \n }\n if(index==2){\n //For Company_values(Companies)\n const control=this.generalForm.controls['company_value']\n control.value[i].is_active=false\n var vla=control.value[i]\n this.OldData.push(vla);\n control.removeAt(i);\n \n\n // let control: any = this.generalForm.get('companies') as FormArray;\n //this.generalForm.controls['companies']\n //control.controls['is_active'].setValue(false);\n //control.controls[i].clearValidators();\n //control.controls[i].updateValueAndValidity();\n //control.clear\n // control.controls[i].is_active.setValue(false);\n /* control.controls[i].controls.company_name.clearValidators();\n control.controls[i].controls.company_name.updateValueAndValidity();\n control.controls[i].controls.business_years.clearValidators();\n control.controls[i].controls.business_years.updateValueAndValidity();\n control.controls[i].controls.business_entity_type.clearValidators();\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\n }\n if(index==\"companyrel\")\n {\n //For company_relationship\n const control=this.generalForm.controls['company_with_relationships'];\n control.removeAt(i);\n }\n }\n \n \n getdropdown()\n {\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\n if(res['dataStatus']==true)\n {\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\n }\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\n });\n\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\n }\n });\n \n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\n if(res['dataStatus']==true){\n this.titleList=res['records'].filter(com=>com.isactive==1);\n }\n });\n \n }\n\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\n {\n let applicantControl = this.generalForm.controls['applicant_list'];\n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n if(checkApplicantExist.length > 0)\n {\n checkApplicantExist.forEach(val => {\n applicantControl.push(this.createApplicant(val));\n });\n \n }\n if(exist_applicant_relation.length > 0){\n exist_applicant_relation.forEach(val => {\n relationControl.push(this.createApplicantRelation(val));\n //push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }\n }\n\n createApplicant(elementValue:any){\n return this.fb.group({\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name],\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\n });\n }\n\n coapplicantChange(event,index,item)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n if(item.exist_status.value)\n {\n if(item.pd_co_applicant_id.value==0){\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\n modal.onDidDismiss(data => {\n if(data!=1){\n data.otherName.forEach(val=>\n {\n\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':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(val.applicant_name);\n });\n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n \n }\n });\n modal.present();\n }else\n {\n \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':''};\n relationControl.push(this.createApplicantRelation(applicant_details));\n // push related to details\n this.fetch_related_details.push(item.applicant_name.value);\n }\n }\n else\n {\n let relationControl = this.generalForm.controls['applicant_relation'];\n let pos_id = relationControl.value.map(e=> \n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\n if(item.pd_co_applicant_id.value !=0){\n relationControl.removeAt(pos_id);\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\n this.fetch_related_details.splice(pos_name, 1); \n }else\n {\n applicantControl.at(index).get('exist_status').setValue(false);\n \n }\n // remove related to details\n \n }\n\n }\n\n createApplicantRelation(elementValue: any) {\n return this.fb.group({\n \n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name],\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\n company_relationship: [elementValue.company_relationship],\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\n relationship: [elementValue.relationship],\n });\n }\n // temparr=[];\n removereferance(index)\n {\n \n let relationControl = this.generalForm.controls['applicant_relation'];\n \n \n \n \n relationControl.removeAt(index);\n // this.temparr = [];\n \n }\n // createApplicateOthers()\n // {\n // return this.fb.group(\n // {\n // Name:\n // })\n // }\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\n \n\n let converted_month : number = e%12;\n let converted_year : number = e/12;\nif(flag==1){\n let control: any = this.generalForm.get('companies') as FormArray;\n control = control.controls[controlIndex];\n let business_year = control.controls.business_years.value;\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n control.controls.business_month.setValue(Math.floor(converted_month));\n }\n else if(flag==2){\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\n }\n}\ngetDateObjects(values: any, controlIndex) {\n let control: any = this.generalForm.get('companies') as FormArray;\n control.controls['business_years']=''\n control.controls['business_month']=''\n control = control.controls[controlIndex];\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\n let date=new Date()\n\n let curr_date=date.getFullYear()+'/'+('0'+(date.getMonth()+1))+'/'+('0'+date.getDate())\n console.log(\"current date\",curr_date);\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\n console.log(\"pd date\",pd_initiation_date);\n console.log(\"selected date\",selected_date)\n /*WORKING STATEMENT*/\n let months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear()));\n\nif (months >= 12) {\n console.log('years:', (months - (months %12))/12 );\n console.log(\"moth\",months%12);\n} else {\n console.log('only months',months);\n}\ncontrol.controls['business_years'].setValue((months - (months %12))/12);\n control.controls['business_month'].setValue(months%12);\n/*END OF WORKING STATEMENT*/\n //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\n// function monthDiff(d1, d2) {\n// var months;\n// months = (d2.getFullYear() - d1.getFullYear()) * 12;\n// months -= d1.getMonth() + 1;\n// months += d2.getMonth();\n// return months <= 0 ? 0 : months;\n \n// }\n// console.log(\"new\",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010);\n //var start_date=moment(start_date)\n /* old working statement*/\n // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date);\n // let diff: number = Math.floor(diffInMs / 1000);\n // console.log(\"diff\",diff)\n // diff /= (60 * 60 * 24 * 30);\n // console.log(\"diff /\",diff)\n // diff=Math.abs(Math.round(diff));\n // control.controls['business_years'].setValue(0);\n // control.controls['business_month'].setValue(0);\n \n // if(diff){\n // control.controls['business_years'].setValue(Math.floor(diff / 12));\n // control.controls['business_month'].setValue(Math.floor(diff % 12));\n // }\n\n}\ntemp: number = 0;\n\n submitData(answerData)\n {\n console.table(this.generalForm.value);\n console.log(answerData);\n\nconsole.log('1)',this.temp);\n let saveRecords:any={}\n var valuesData_indi:any=[]\n\n var valuesData:any=[]\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\n return answerData.list_value[key]\n })\n existData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n if(this.OldData_indi.length>0){\n this.OldData_indi.forEach((element)=>{\n valuesData_indi.push(element)\n })\n }\n\n var existData=Object.keys(answerData.company_value).map(function(key){\n return answerData.company_value[key]\n })\n if(this.customer_segment_abbr != 'SE-RI'){\n let count=0\n existData.forEach((element,index)=>{\n // console.log(\"company value\",element)\n if(element.business_entity_type=='' || element.business_entity_type == null){\n this.editCompanies(index);\n // this.focus_business_entity.focused=true;\n count=count+1;\n }\n valuesData.push(element)\n })\n if(count >0){\n this.toast.pdTriggerappmessage(\"Please choose business entity type for each companies\");\n return\n }\n }\n if(this.OldData.length>0){\n this.OldData.forEach((element)=>{\n valuesData.push(element)\n })\n }\n \n if (valuesData_indi.length > 0) {\n // console.log('2)',this.temp);\n valuesData_indi.forEach((val, index) => {\n if (val.is_person_met == false) {\n this.temp++;\n }\n // console.log('3)',this.temp);\n });\n // console.log('4)',this.temp,'length',valuesData_indi.length);\n if (this.temp == valuesData_indi.length) {\n // console.log('5)',this.temp);\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\n this.temp = 0;\n // console.log('6)',this.temp);\n return;\n }\n }\n\n if (this.customer_segment_abbr != 'SE-RI') {\n saveRecords.companies=valuesData\n saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.rental_income_rcv_in_years = null;\n saveRecords.rental_income_rcv_in_month = null;\n //saveRecords.applicant_relation=answerData.applicant_relation; \n }\n else if (this.customer_segment_abbr == 'SE-RI') {\n saveRecords.companies = [];\n saveRecords.company_with_relationships = [];\n saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years;\n saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month;\n //saveRecords.applicant_relation=answerData.applicant_relation;\n }\n\n saveRecords.individuals=valuesData_indi;\n // saveRecords.companies=valuesData\n saveRecords.parent_pdid=answerData.parent_pdid\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.fk_createdby=this.users; \n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\n // saveRecords.company_with_relationships=answerData.company_with_relationships\n saveRecords.general_remark=answerData.general_remark;\n \n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\n if(dataResult['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this.generalForm.reset(this.generalForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n \n\n }\n else{\n this.toast.pdTriggerappmessage('Error');\n }\n })\n \n /* Old Data\n if(this.generalForm.valid)\n {\n let saveRecords:any = {}\n let applicantList:any=[];\n let applicantRelationList:any=[];\n // this for applicant list for selected\n answerData.applicant_list.forEach((element,key) => {\n if(element.exist_status==1){\n applicantList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n }) \n }\n });\n // this is for selected applicant relation \n answerData.applicant_relation.forEach((element,key) => {\n applicantRelationList.push({\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\n \"applicant_name\":element.applicant_name,\n \"company_name\":element.company_name,\n \"company_relationship\":element.company_relationship,\n \"applicant_relation_to\":element.applicant_relation_to,\n \"relationship\":element.relationship,\n }) \n });\n \n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n saveRecords.general_remark=answerData.general_remark;\n saveRecords.selected_applicant=applicantList;\n saveRecords.applicant_relation=applicantRelationList;\n saveRecords.fk_createdby = this.users;\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n this.navCtrl.pop();\n } \n })\n }*/\n }\n\n getGeneralForm()\n {\n let records={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n this.qustCat.retiverForm(records).subscribe(res=>{\n this.data_all=res['records'];\n let exist_companies:any;\n let exist_company_with_relationship:any;\n let companyControl = this.generalForm.get('company_value') as FormArray;\n companyControl.controls=[]\n this.lengthv=this.data_all;\n if(res['dataStatus']==true)\n {\n \n \n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\n //\n\n var arrlist_indi:any=[] \n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\n return res['records'].individuals[key];\n }) \n if(exist_individuals.length>0){\n exist_individuals.forEach((element)=>{\n if(element.is_active != false){\n arrlist_indi.push(element);\n }\n else{\n this.OldData_indi.push(element)\n }\n })\n }\n this.initlistv(arrlist_indi,'get')\n \n \n if(this.data_all.persons_with_relationships != ''){\n this.initPersonRelationship(this.data_all.persons_with_relationships);\n }\n //Create Company with Relationship\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\n return res['records'].company_with_relationships[key];\n })\n console.log(\"Customer Segment\",this.customer_segment_abbr)\n if(this.customer_segment_abbr !='SE-RI')\n {\n if(exist_company_with_relationship.length>0){\n // exist_company_with_relationship.forEach(key=>{\n // console.log(\"company relation\",key)\n // this.initCompanyRelationShip(key)\n // })\n this.initCompanyRelationShip(exist_company_with_relationship);\n }\n else if(exist_company_with_relationship.length==0){\n this.initCompanyRelationShip('');\n }\n //create Companies\n exist_companies=Object.keys(res['records'].companies).map(function(key){\n return res['records'].companies[key];\n })\n var arraylis:any=[]\n if(exist_companies.length>0){\n exist_companies.forEach((element,cindex)=>{\n if(element.is_active!=false){\n arraylis.push(element);\n }\n else{\n this.OldData.push(element);\n }\n })\n \n }\n this.initCompanyValue(arraylis,'get');\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\n }\n else if(this.customer_segment_abbr == 'SE-RI'){\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\n\n }\n\n // var arraylis:any=[]\n \n \n // if(exist_companies.length>0){\n // exist_companies.forEach((element,cindex)=>{\n // if(element.is_active!=false){\n // arraylis.push(element);\n // }\n // else{\n // this.OldData.push(element);\n // }\n // })\n \n // }\n // this.initCompanyValue(arraylis,'get');\n \n \n\n // if(this.data_all.company_with_relationships != ''){\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\n // }\n \n }\n else{\n console.log(\"Else data\",this.pd_applicants_details)\n this.pd_applicants_details.forEach((datas,index)=>{\n datas.is_applicant=true,\n datas.is_person_met = false;\n datas.is_person_met_pic = '';\n datas.is_person_met_id_proof = '';\n datas.is_new = false;\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\n datas.is_active = true;\n datas.individuals_order_id = index + 1;\n // company_order_id = index+1,\n datas.age = '',\n datas.qualification = '',\n datas.course_name = ''\n \n if (datas.company_name != '' && datas.company_name != null) {\n console.log(\"company\");\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, associate_pd_id:this.pdDetails.pd_id }\n companyControl.push(this.createCompanies(setCompanyValues))\n }\n });\n \n // this.lengthv.push(\"individuals\")\n // this.lengthv.push(\"companies\")\n // this.lengthv.push('persons_with_relationships')\n //this.lengthv.push(\"\")\n console.log(\"applicant\",this.lengthv)\n this.initlistv(this.pd_applicants_details,'get');\n this.initPersonRelationship(this.pd_applicants_details)\n // this.initCompanyValue(this.pd_applicants_details,'get');\n this.initCompanyRelationShip('')\n\n }\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 if(res['dataStatus']==true)\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n let generalDetails = res['records'];\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\n\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\n {\n return res['records'].applicant_relation[key];\n });\n\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\n {\n return res['records'].selected_applicant[key].pd_co_applicant_id;\n });\n let applicantControl = this.generalForm.controls['applicant_list'];\n \n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\n let checkApplicantExist =actual_applicant.map((id, index) => {\n if (selected_applicant.indexOf(id) < 0) {\n this.pd_applicants_details[index].exist_status=0;\n return this.pd_applicants_details[index];\n }\n else{\n this.pd_applicants_details[index].exist_status=1;\n this.pd_applicants_details[index].applicant_relation_to='';\n this.pd_applicants_details[index].relation='';\n return this.pd_applicants_details[index];\n }\n }).filter(item => item != undefined);\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\n }else\n {\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\n \n }\n })*/\n }\n createCompanies(elementValue:any) {\n var name=this.businessEntityById(elementValue.business_entity_type)\n return this.fb.group({\n company_order_id: [elementValue.company_order_id],\n company_name: [elementValue.company_name,],\n company_messrs_name: ['M/s'],\n is_company_applicant:[elementValue.is_company_applicant],\n business_entity_type :[elementValue.business_entity_type,Validators.required],\n business_years: [elementValue.business_years, Validators.required],\n business_month: [elementValue.business_month],\n business_date_object: [elementValue.business_date_object],\n is_active: [elementValue.is_active],\n is_new:[elementValue.is_new],\n business_entity_type_name:[name],\n associate_pd_id:[elementValue.associate_pd_id]\n \n });\n }\n\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('applicant_name').value\n value.get('applicant_name').setValue(this.cons.sentenceCase(name));\n }\n\n ImageUpload(control,Flag : any){ \n alert('Inside Mobile Upload Function' + Flag);\n if(Flag == 1){\n alert('is_person_met_pic 1');\n this.cameraProvider.getpicture().then(res=>{\n alert(\"Response 1\" + res);\n if(res != 'error'){\n control.controls['is_person_met_pic'].setValue(res);\n alert(JSON.stringify(this.generalForm.value));\n this.toast.pdTriggerappmessage('Flag 1 Success');\n }\n else{\n control.controls['is_person_met_pic'].setValue('');\n this.toast.pdTriggerappmessage('Flag 1 Fail');\n }\n console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n else if(Flag == 2){\n alert('is_person_met_id_proof 2');\n this.cameraProvider.getpicture().then(res=>{\n alert(\"Response 2\" + res);\n if(res != 'error'){\n control.controls['is_person_met_id_proof'].setValue(res);\n alert(JSON.stringify(this.generalForm.value));\n this.toast.pdTriggerappmessage('Flag 2 Success');\n }\n else{\n control.controls['is_person_met_id_proof'].setValue('');\n this.toast.pdTriggerappmessage('Flag 2 Fail');\n }\n console.table('1',this.generalForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n console.table('Overall',this.generalForm.value);\n }\n}\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';\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionGeneralOtherApplicantPage 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-general-other-applicant',\n templateUrl: 'pd-question-general-other-applicant.html',\n})\nexport class PdQuestionGeneralOtherApplicantPage {\n otherForm:FormGroup;\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\n this.otherForm = this.fb.group(\n {\n otherName:this.fb.array([]),\n })\n this.addmore();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\n }\n\n createName(elementValue:any)\n {\n return this.fb.group(\n {\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\n applicant_name: [elementValue.applicant_name, Validators.required],\n })\n }\n\n addmore()\n {\n if(this.otherForm.valid)\n {\n const control = this.otherForm.controls['otherName'];\n control.push(this.createName(this.applicantInfo));\n }\n }\n\n deleteappdata(index)\n {\n const control = this.otherForm.controls['otherName'];\n if(control.length==1){\n control.reset();\n }else{\n control.removeAt(index);\n }\n }\n\n closeModal(){\n this.viewCtrl.dismiss(1); \n }\n submitData(answerData)\n {\n if(this.otherForm.valid){\n this.viewCtrl.dismiss(this.otherForm.value);\n }\n }\n\n\n}\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';\n\n/**\n * Generated class for the PdPipe pipe.\n *\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\n */\n@Pipe({\n name: 'pdPipe',\n})\nexport class PdPipe implements PipeTransform {\n /**\n * Takes a value and makes it lowercase.\n */\n transform(value: any, searchItem:any):any {\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\n if(findExistIndex.length>0){\n let check = value.filter(function(fVal){\n return !findExistIndex.some(function(sVal){\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\n });\n })\n return check;\n }\n else {\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\n }\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\nimport { ConstantsProvider } from '../../../providers/constants/constants'\nimport {CameraProvider} from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionNeighbourHoodPage 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-neighbour-hood',\n templateUrl: 'pd-question-neighbour-hood.html',\n})\nexport class PdQuestionNeighbourHoodPage {\n\n frequency: any;\n relationBusiness: any;\n users: any;\n FormId: any;\n pdDetails: any;\n neighbourhoodForm:FormGroup;\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\n {'id': 2,'name': \"Negative\"},\n {'id': 3,'name': \"Insufficient information provided\"}];\n\n // amtInWords:any=[];\n applicants:any;\n isDisplay:any = [];\n isDisplay2:any = [];\n existCompanyList: any=[];\n mergeCompanyApplicant: any=[];\n isOrganisationOwner: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,\n public toast:ToastProvider,public fb:FormBuilder, \n public constant: ConstantsProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider)\n {\n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2 && appt.pd_co_applicant_id != 0);\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\n this.neighbourhoodForm = this.fb.group(\n {\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid:this.pdDetails.pd_id,\n formid:this.FormId.form_id,\n check_type:0,\n neighbourhood_list: this.fb.array([]),\n neighbourhood_status:[''],\n referencecheck_list: this.fb.array([]),\n neighbour_reference_remark:'' \n })\n this.users = this.aws.getlocale();\n \n \n this.getdropdown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\n this.getneighbourhood();\n this.getPDImages();\n }\n ionViewCanLeave(){\n console.log(\"dirty\",this.neighbourhoodForm.dirty);\n if(this.neighbourhoodForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\n\n getdropdown()\n {\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\n }\n });\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\n }\n })\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\n if(res.dataStatus==true){\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\n console.log(this.existCompanyList)\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 this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\n })\n }\n inWords(val,i)\n {\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\n }\n keyPress(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 }\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow,e,flag){\n if(flag == 2){\n\n let year = itemrow.controls.year_relation_applicant.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\n }\n else if(flag == 1){\n \n let year = itemrow.controls.how_long_do_know_in_year.value;\n let converted_month : number = e%12;\n let converted_year : number = e/12;\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\n }\n}\n\ntoggleVisibility(e,index,flag){ \n let val\n \n if(flag == 1){\n this.isDisplay[index] = e;\n }\n else if(flag==2){\n this.isDisplay2[index] = e;\n }\n}\n\ncheckOthers(values){\n if(values!=null) {\n return values==0 ? true : false;\n }\n else {\n return false;\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}\n\n\ngetOtherOrganisationOwner(value,i) {\n //console.log('value',value,'I',i);\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\n //console.log('ParCtrls',Ctrls);\nlet ChdCtrls:any = Ctrls.controls[i];\n // console.log('ChdCtrls',ChdCtrls);\n // return;\n\n\nlet Avaliablity = 1;\nconsole.log('val',value);\nif(value.length>0){\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n}\nif(Avaliablity == 0){\n// console.log('if Avaliablity',Avaliablity);\n\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\n this.isOrganisationOwner[i] = true;\n}else if(Avaliablity == 1){\n// console.log('else Avaliablity',Avaliablity);\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n ChdCtrls.controls.other_organisation_owner.setValue('');\n ChdCtrls.controls.other_organisation_owner.clearValidators();\n this.isOrganisationOwner[i] = false;\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\n}\n \nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \n}\n createreferance()\n {\n return this.fb.group({\n reference_name: [null],\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\n statecode:[null],\n landline: [null],\n location:[null],\n relationship_with:[null],\n others:[null],\n year_relation_applicant:[null],\n months_relation_applicant:[null],\n business_volume_amount:[null],\n business_volume_unit:[null],\n others_unit:[null],\n reference_final_remarks:[null],\n specify_final_remark:[null]\n });\n }\n addreferance()\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n control.push(this.createreferance());\n }\n\n removereferance(i)\n {\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n createNeighbourhood(){\n return this.fb.group({\n neighbourhood_name: [null],\n do_know: [''],\n \n how_long_do_know_in_year: [''],\n how_long_do_know_in_month:[''],\n organisation_owner: [''],\n is_applicant_owner:[''],\n other_organisation_owner:[''],\n did_not_know_the_business_operation:[''],\n did_not_know_the_owner:[''],\n });\n }\n\n addneighbourhood()\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n control.push(this.createNeighbourhood());\n }\n\n removeneighbourhood(i)\n {\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\n if(control.length==1)\n {\n control.reset();\n }else{\n control.removeAt(i);\n }\n }\n\n submitData(answerData)\n {\n \n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\n // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]);\n // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity();\n\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required])\n // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity();\n if (NbhdCtrlLength > 0) {\n let Ncnt = 0;\n while(Ncnt < NbhdCtrlLength){\n\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \n\n // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\n\n // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\n \n\n if(nbhdChildCtrl.controls.do_know.value != ''){\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \n }\n\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\n }\n }\n Ncnt++;\n }\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\n }\n\n\n if (this.neighbourhoodForm.invalid) {\n // this.validateAllFormFields(this._neighbourhoodForm);\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\n return;\n }\n \n let saveRecords:any = {}\n let referencecheck_list:any=[];\n let neighbourhood_list:any=[];\n // if(answerData.check_type==0){\n answerData.neighbourhood_list.forEach((element,key) => {\n neighbourhood_list.push({\n \"neighbourhood_name\":element.neighbourhood_name,\n \"do_know\":element.do_know,\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\n \"is_applicant_owner\":element.is_applicant_owner,\n \"organisation_owner\":element.organisation_owner,\n \"other_organisation_owner\":element.other_organisation_owner,\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\n \"did_not_know_the_owner\":element.did_not_know_the_owner\n }) \n });\n saveRecords.neighbourhood_list=neighbourhood_list;\n \n // }\n // else{\n // this for referencecheck_list for selected\n answerData.referencecheck_list.forEach((element,key) => {\n referencecheck_list.push({\n \"reference_name\":element.reference_name,\n \"mobile\":element.mobile,\n \"landline\":element.statecode+'-'+element.landline,\n \"location\":element.location,\n \"relationship_with\":element.relationship_with,\n \"others\":element.others,\n \"year_relation_applicant\":element.year_relation_applicant,\n \"months_relation_applicant\":element.months_relation_applicant,\n \"business_volume_amount\":element.business_volume_amount,\n \"business_volume_unit\":element.business_volume_unit,\n \"others_unit\":element.others_unit,\n \"reference_final_remarks\":element.reference_final_remarks,\n \"specify_final_remark\":element.specify_final_remark\n }) \n });\n saveRecords.referencecheck_list=referencecheck_list;\n \n // }\n saveRecords.parent_pdid=answerData.parent_pd_id\n saveRecords.pdid=answerData.pdid;\n saveRecords.formid=answerData.formid;\n // saveRecords.check_type=answerData.check_type;\n saveRecords.fk_createdby = this.users;\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\n\n this.qustCat.saveForm(saveRecords).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n //TO CHANGE THE FORM STATE \n this.neighbourhoodForm.reset(this.neighbourhoodForm.value);\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n })\n \n }\n\n getneighbourhood()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\n \n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n let neighbourDetails = res['records'];\n // neighbourDetails.neighbourhood_list.=''\n \n // if(neighbourDetails.check_type==0)\n // {\n \n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\n {\n return res['records'].neighbourhood_list[key];\n });\n console.log('neighbourhood_list',neighbourhood_list);\n console.log('length',neighbourhood_list.length);\n if(neighbourhood_list.length > 0){\n\n \n neighbourhood_list.forEach((element,index)=>\n {\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\n neicontrol.push(this.createNeighbourhood());\n this.getOtherOrganisationOwner(element.organisation_owner,index)\n });\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\n \n\n }else\n {\n this.addneighbourhood();\n }\n // if(neighbourDetails.check_type==1)\n // {\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\n {\n return res['records'].referencecheck_list[key];\n });\n console.log('referencecheck_list',referencecheck_list);\n console.log('length',referencecheck_list.length);\n if(referencecheck_list.length > 0){\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\n referencecheck_list.forEach((val,index)=>\n {\n let statecodesearch = val.landline.search(\"-\");\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\n control.push(this.createreferance());\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\n });\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\n \n }else\n {\n this.addreferance();\n }\n }else\n {\n this.addneighbourhood();\n this.addreferance();\n }\n })\n }\n\n /*Image SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n // this.imageDisplay.push(this.imageBucket)\n // console.log(\"length\",this.imageDisplay.length)\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n \n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_organisation_owner').value\n value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name));\n }\n\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup, FormBuilder,Validators,FormArray} from '@angular/forms';\n// import { t } from '@angular/core/src/render3';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { ToastProvider } from '../../../providers/common-provider/toast';\nimport { CameraProvider } from '../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionFinalRemarkPage 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-final-remark',\n templateUrl: 'pd-question-final-remark.html',\n})\nexport class PdQuestionFinalRemarkPage {\n\n m_remarkTypeCustomerBehaviour:any=[];\n\n users:any;\n pdDetails:any;\n pdid:any;\n FormId:any;\n _finalRemarkForm:FormGroup;\n m_recommendationList: any=[];\n imageDisplay: any=[];\n imageBucket: any=[];\n tab: any='0';\n mode_of_transport_values=[{'id':'two_wheeler','name':'Two Wheeler'},\n {'id':'four_wheeler','name':'Four Wheeler'},\n {'id':'public_transport','name':'Public Transport'},\n {'id':'others','name':'Others'}]\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder,\n public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,\n public toast:ToastProvider,private cameraProvider:CameraProvider,private loading:LoadingProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n this.FormId=this.navParams.get('FormId');\n this.users=aws.getlocale()\n \n this._finalRemarkForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId.form_id],\n final_custormer_remark_type:[null,Validators.compose([Validators.required])],\n final_other_customer_behaviour:[null],\n is_service_provided:[null],\n final_form_remarks:[null],\n pd_officers_recommendation:[null],\n others_pd_officers_recommendation:[''],\n // reason_for_positive:[''],\n // reason_for_negative:[''],\n // reason_for_refer_to_credit:[''],\n recommendation_positive:this.fb.array([]),\n recommendation_negative:this.fb.array([]),\n recommendation_refer_to_credit:this.fb.array([]),\n\n was_the_pd_address_ogl:[''],\n mode_of_transport_during_visit:['',Validators.compose([Validators.required])],\n others_transport:['',Validators.compose([Validators.required])]\n \n })\n this.getDropDown();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\n this.getFinalRemark();\n this.getPDImages();\n \n }\n ionViewCanLeave(){\n console.log(\"dirty\",this._finalRemarkForm.dirty);\n if(this._finalRemarkForm.dirty){\n \n return new Promise((resolve,reject)=>{\n let alert=this.toast.setAlert(\"Data will be Lost\",\"Are you sure want to Go Back\")\n alert.present();\n alert.onDidDismiss((data)=>{\n console.log(\"d\",data);\n if(data== false){\n reject();\n return true;\n }\n else{\n //AFTER FORM DIRTY CHECK\n if (this.imageBucket.length > 0) {\n return new Promise((resolve1, reject1) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the Save Image button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n //reject1();\n reject();\n }\n else {\n resolve1();\n resolve();\n }\n })\n })\n }\n resolve();\n }\n })\n })\n \n }\n else{\n //REGULAR CHECK FOR IMAGE IS CAPTURED\n if (this.imageBucket.length > 0) {\n return new Promise((resolve, reject) => {\n let alert = this.toast.setAlert(\"Captured Images are not Saved\", \"Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?\")\n alert.present();\n alert.onDidDismiss((data) => {\n console.log(\"d\", data);\n if (data == false) {\n reject();\n }\n else {\n resolve();\n }\n })\n })\n }\n \n }\n \n }\ngetDropDown(){\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\n })\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\n this.m_recommendationList=res['records']\n })\n}\ncreateRecomendationPositive(data){\n console.log(\"val\",data)\n return this.fb.group({\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\n })\n}\naddRecomendationPositive(){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.push(this.createRecomendationPositive(null))\n}\nremoveRecomendationPositive(index){\n const control= this._finalRemarkForm.controls['recommendation_positive'];\n control.removeAt(index);\n}\ncreateRecomendationNegative(data){\n return this.fb.group({\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\n })\n}\naddRecomendationNegative(){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.push(this.createRecomendationNegative(null))\n}\nremoveRecomendationNegative(index){\n const control= this._finalRemarkForm.controls['recommendation_negative']\n control.removeAt(index)\n}\ncreateRecomendationCreditRefer(data){\n return this.fb.group({\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\n })\n}\naddRecomendationCreditRefer(){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.push(this.createRecomendationCreditRefer(null));\n}\nremoveRecomendationCreditRefer(index){\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\n control.removeAt(index)\n}\n\nRecommendationChange(e) {\n // console.log('Event',e);\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n\n if (e == 1) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n \n\n }\n if (e == 2) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n\n }\n\n if (e == 3) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n recommendationReferToCredit.removeAt(i + 1);\n\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n }\n }\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\n\n }\n if (e == 4) {\n\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\n\n if (recommendationReferToCredit.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationReferToCredit.controls.length; i++) {\n\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\n\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationNegativeCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\n\n recommendationNegativeCtrl.removeAt(i + 1);\n\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\n\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\n\n }\n }\n\n if (recommendationPositiveCtrl.controls.length > 0) {\n let i: number = 0;\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\n recommendationPositiveCtrl.removeAt(i + 1);\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\n }\n }\n }\n}\n getFinalRemark(){\n let saveRecords={'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\n if(data['dataStatus']==true){\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\n \n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\n this._finalRemarkForm.controls.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl);\n this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit)\n this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport);\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\n if(data['records'].recommendation_positive.length>0){\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n data['records'].recommendation_positive.forEach((val,index)=>{\n console.log(\"for\",val);\n if(val.reason_for_positive != null){\n let obj={'reason_for_positive':val.reason_for_positive};\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\n }\n })\n }\n if(data['records'].recommendation_negative.length>0){\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n data['records'].recommendation_negative.forEach((val,index)=>{\n console.log(\"for\",val);\n let obj={'reason_for_negative':val.reason_for_negative};\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\n })\n }\n if(data['records'].recommendation_refer_to_credit.length>0){\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n data['records'].recommendation_refer_to_credit.forEach(val=>{\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\n })\n }\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\n }\n else{\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\n }\n })\n \n }\n saveFinalRemark(){\n if(this._finalRemarkForm.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\n }\n else{\n var answerData=this._finalRemarkForm.value\n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n this.qustcat.saveForm(answerData).subscribe(res=>{\n if(res['dataStatus']==true){\n //TO CHANGE THE FORM STATE \n this._finalRemarkForm.reset(this._finalRemarkForm.value);\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n });\n }\n }\n\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId.form_id,'company_id':null}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\n\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId.form_id,\n 'images':this.imageBucket,\n 'company_id':''\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n setValidation(){\n console.log(\"enter\");\n if(this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others'){\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].setValidators(Validators.compose([Validators.required]))\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n else{\n this._finalRemarkForm.controls['others_transport'].setValue('');\n this._finalRemarkForm.controls['others_transport'].clearValidators();\n this._finalRemarkForm.controls['others_transport'].updateValueAndValidity()\n }\n }\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\n\n/**\n * Generated class for the PdQuestionBusinessGroupPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@Component({\n selector: 'page-pd-question-business-group',\n templateUrl: 'pd-question-business-group.html',\n})\nexport class PdQuestionBusinessGroupPage {\n \n FormId: any;\n pdDetails: any = [];\n existCompanyList: any = [];\n waitLoading:boolean;\n count:number;\n forms_order:any=[]\n\n constructor(public navCtrl: NavController, \n public navParams: NavParams,\n public qustCat:QuestionCategoryProvider){\n \n this.pdDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n // this.getCompanyListForBusiness(); \n \n\n }\n ionViewCanEnter()\n {\n this.getCompanyListForBusiness(); \n //this.colorChange();\n\n }\n \n /** To Get General Form's Company List */\n getCompanyListForBusiness(): void{\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList = data.records.filter(val =>val.is_active);\n // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){\n // return this.existCompanyList.form_status[key]\n // })\n //console.log(forms)\n // console.log(this.existCompanyList)\n this.existCompanyList.forEach((key,ele)=>{\n this.forms_order.push(key.form_status)\n })\n console.log(this.forms_order)\n this.forms_order=this.forms_order.filter(val=>val.isAnswerable == true)\n console.log(this.forms_order)\n // this.existCompanyList.forEach(element=>{\n // console.log(element);\n // })\n \n \n // this.existCompanyList.array.forEach(element => {\n // console.log(element)\n // });\n \n \n // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true)\n if(this.existCompanyList.length==1){\n this.count=0\n }\n this.waitLoading = true;\n }\n else {\n this.waitLoading = false;\n }\n })\n }\n \n\n /** To Get Related Form Details */\n OnSelectBusinessGroupForms(details: any, company: any) {\n \n this.pdDetails.company_id = company.company_order_id;\n this.pdDetails.company_name = company.company_name;\n this.pdDetails.business_entity_type = company.business_entity_type;\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\n this.pdDetails.business_years = company.business_years;\n this.pdDetails.business_month = company.business_month;\n console.log(details.form_id);\n \n if(details.form_id==1){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n if(details.form_id==2){\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==11){\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==13){\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==14){\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==15){\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==21){\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==22){\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\n \n }\n if(details.form_id==16){\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\n }\n\n\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\nimport { FormBuilder, FormGroup,FormArray, Validators, FormControl } from '@angular/forms';\nimport { createPipe } from '@angular/compiler/src/core';\nimport { elementAt, takeUntil } from 'rxjs/operators';\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { Subject, ReplaySubject } from 'rxjs';\nimport {searchValue} from '../../search'\nimport { CameraProvider } from '../../../../providers/common-provider/camera'\nimport { LoadingProvider } from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessInfoPage 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-business-info',\n templateUrl: 'pd-question-business-info.html',\n})\nexport class PdQuestionBusinessInfoPage {\n stateList:any=[];\n users: any;formdetails:any;\n FormId: any;\n pdDetails: any;\n businessForm:FormGroup;\n applicants:any=[];\n businessEntityTypeList: any ={\n business_entity_type_id:String,\n business_entity_type_name:String,\n sourcsection_labeleName:String\n }; \n generalExistEntityType:string\n generalExistEntityType_other:string;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n pdid:any;\n step:number\n\n relationData: any = [];\n industryData: any = [];\n activityData: any = [];\n relativeNames: any;\n companyRelationShipList:any=[]\n countryDataList:any=[]\n exist_status:any;\n \n filterCityList : any = [];\n errorMessage:any=[];\n appxSalaryAmtInwords:any;\n titleData:any=[]\n personsList:any=[]\n \n ManufacturingChecked: boolean;\n RetailedChecked: boolean;\n WholeSalesChecked: boolean;\n ServiceChecked: boolean;\n ExportFlag: boolean=false;\n bankList: any=[];\n bankListValue:any=[];\n temp_additiondetailofposmachine:any=[]\n isreadonlyyear: any=[];\n isreadonlymonth: any=[];\n EntityTypeFlag:boolean=false\n\n yearErrorMessage: any = [];\n monthErrorMessage: any = [];\n errorMessageForExistTotalWorkExperience : any = [];\n @ViewChild('shareholding') share_focus:ElementRef\n private search:searchValue[]\n protected _onDestroy = new Subject();\n public filteredCity: ReplaySubject = new ReplaySubject(1);\n //public filterCity=new Rx.Subject()\n public filteredState:ReplaySubject=new ReplaySubject(1)\n cityData:any=[]\n cityDataValue:any=[]\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public toast:ToastProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider,\n private loading:LoadingProvider,private cameraProvider:CameraProvider) {\n this.getStateCityDet();\n // console.log(typeof this.filteredCity)\n this.pdDetails = this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id\n \n this.formdetails = this.navParams.get('formDetails');\n \n this.FormId = this.formdetails.form_id;\n this.users = this.aws.getlocale();\n \n this.applicants=this.pdDetails.applicat_details;\n console.log(\"pd\",this.pdDetails);\n this.generalExistEntityType=this.pdDetails.business_entity_type\n this.generalExistEntityType_other=this.pdDetails.business_entity_type_other\n this.generalExistBusinessYear=this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.step=0\n \n \n \n // this.initBusinessForm();\n // this.getBuisnessDetails();\n \n this.businessForm=this.fb.group({\n fk_createdby:[this.users],\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid:[this.pdid],\n formid:[this.FormId],\n company_id: this.pdDetails.company_id,\n partners:this.fb.array([]),\n persons_with_relationships:this.fb.array([]),\n select_business_activity_type:this.fb.array([]),\n manufacturing_activity_details:this.fb.array([]),\n retail_trading_activity_details:this.fb.array([]),\n wholesale_trading_activity_details:this.fb.array([]),\n service_provider_activity_details:this.fb.array([]),\n // others_activity_details:this.fb.array([]),\n export_sale_of_total_sales:[''],\n // applicant_use_mobile_wallets:[''],\n // applicant_use_pos_machines:[''],\n // no_of_pos_machines:[''],\n seasonality:[''],\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n employees_appx_salary:[''],\n was_the_company_name_board_sighted:['',Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n shop_eat_act_cert: [''],\n shop_eat_act_cert_pic:[''],\n gst_Regn_cert: [''],\n //export_import_cert: [''],\n // factory_cert: [''],\n //practice_cert: [''],\n pf_regn: [''],\n esic_regn: [''],\n other_documents: [''],\n documents: this.fb.array([]),\n business_remarks:['']\n\n\n\n \n })\n this.getdropdown();\n \n// this.initBusinessForm();\n\n//To checking Completed Status For CompleteList Menu\nthis.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\n this.getPDImages();\n \n \n }\n getdropdown() {\n \n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.relationData.push(val);\n }\n })\n });\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data=>{\n if(data['dataStatus']==true){\n let filterList = data['records'].filter(val=>val.business_entity_type_id==this.generalExistEntityType);\n console.log(\"Filter\",filterList)\n if(filterList.length>0){\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id==1;\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id!=1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id!=1 ? filterList[0].section_label : this.generalExistEntityType_other;\n \n if(this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship'){ \n this.EntityTypeFlag = true;\n }\n }\n }\n\n });\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1) {\n this.industryData.push(val);\n }\n })\n });\n \n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\n \n data['records'].forEach(val => {\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\n this.activityData.push(val);\n }\n })\n });\n \n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data=>{\n this.companyRelationShipList=data['records'].filter(val=>val.isactive==1);\n \n });\n \n \n \n this.qustCat.getcommondrop('COUNTRY').subscribe(data=>{\n this.countryDataList=data['records'].filter(val=>val.isactive==1);\n \n });\n this.qustCat.getcommondrop('TITLES').subscribe(data=>{\n this.titleData=data['records'].filter(val=>val.isactive==1);\n })\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data=>{\n if(data.dataStatus){\n \n this.personsList=data['record'].filter(val=>val.applicant_type==1)\n \n }\n })\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data=>{\n this.bankList=data['records'].filter(val=>val.isactive ==1 && val.lender_type == 1);\n this.bankListValue=this.bankList.slice();\n })\n \n}\ngetStateCityDet(){\nthis.qustCat.getStateCityDetails().subscribe(data=>{\n \n\n this.stateList=data.records\n this.filteredState.next(this.stateList.slice())\n \n this.getDetails();\n });\n \n \n}\nchangeOfStartedBusiness(members,i,e){\n if(e == 'yes'){\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\n }\n else{\n this.isreadonlyyear[i] =false;\n this.isreadonlymonth[i] = false;\n }\n }\n getDetails(){\n \n let params: any = {};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id = this.pdid;\n params.pd_form_id = 13\n params.company_id = this.pdDetails.company_id;\n this.qustCat.retiverForm(params).subscribe(data=>{\n console.log('data[records]',data['records']);\n let businessVal=data['records']\n let constVal: any;\n \n \n const Partnr:any = this.businessForm.controls['partners'];\n \n const control1:any = this.businessForm.controls['persons_with_relationships'];\n \n const business_activity:any = this.businessForm.controls['select_business_activity_type'];\n \n const manufacture_details:any= this.businessForm.controls['manufacturing_activity_details'];\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\n const wholesaleControl:any=this.businessForm.controls['wholesale_trading_activity_details'];\n const serviceProviderControl:any=this.businessForm.controls['service_provider_activity_details'];\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\n const otherDoc = this.businessForm.controls['documents'];\n //retailControl.push(this.manufactureDetails());\n //manufacture_details.push(this.manufactureDetails())\n \n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\n //india_sales.push(this.indiaSalesDone())\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\n // country_sale.push(this.createCountrySale());\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\n //max_sale_state.push(this.maxSaleState())\n\n if(data['status']==200){\n \n data['records'].gst_Regn_cert =='yes' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic');\n data['records'].factory_cert =='yes' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');\n data['records'].practice_cert_cert =='yes' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');\n data['records'].shop_eat_act_cert =='yes' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');\n data['records'].pf_regn =='yes' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');\n data['records'].esic_regn =='yes' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');\n data['records'].export_import_cert =='yes' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');\n\n let DocArray: any;\n let PartnrArray=Object.keys(data['records'].partners).map(function(key){\n return data['records'].partners[key];\n })\n \n if(PartnrArray.length==0){\n Partnr.push(this.createPartners())\n }\n else{\n PartnrArray.forEach((datas,key) => {\n Partnr.push(this.createPartners());\n if(datas.partner_name=='Others') {\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\n }\n if(parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else {\n Partnr.controls[key].removeControl('total_business_previous_experience')\n }\n });\n }\n if(data['records'].persons_with_relationships){\n let PartnrArray1=Object.keys(data['records'].persons_with_relationships).map(function (key){\n return data['records'].persons_with_relationships[key];\n })\n if(PartnrArray1.length>0){\n PartnrArray1.forEach((datas,key)=>{\n control1.push(this.createRelationShip());\n })\n businessVal.persons_with_relationships=PartnrArray1\n \n }\n else{\n //control1.push(this.createRelationShip());\n businessVal.persons_with_relationships=[]\n }\n }\n else{\n businessVal.persons_with_relationships=[]\n \n }\n \n\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{document: ''}];\n otherDoc.push(this.createDocument());\n }\n businessVal.parent_pdid=this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdid;\n businessVal.formid = 13;\n businessVal.company_id = this.pdDetails.company_id;\n businessVal.fk_createdby = this.users;\n //businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n // businessVal.persons_with_relationships=PartnrArray1\n businessVal.documents=DocArray\n \n if(businessVal.employees_appx_salary){\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\n }\n \n \n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\n // this.businessForm.setValue(businessVal);\n //this.businessForm.value.seasonality\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id}))\n let exist_activity_data: any=[];\n if(data['records'].select_business_activity_type){\n exist_activity_data=Object.keys(data['records'].select_business_activity_type).map(function(key) {\n return data['records'].select_business_activity_type[key].type_of_activity_id;\n });\n }\n \n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\n let check_exist_businees_activity =actual_businees_activity.map((id, index) => {\n if (exist_activity_data.indexOf(id) < 0) {\n activityData[index].exist_status=0;\n return activityData[index];\n }\n else{\n activityData[index].exist_status=1;\n return activityData[index];\n }\n }).filter(item => item != undefined);\n \n if(check_exist_businees_activity.length > 0)\n {\n check_exist_businees_activity.forEach((val,index) => {\n business_activity.push(this.createBusinessActivity(val));\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\n \n });\n \n businessVal.select_business_activity_type=check_exist_businees_activity;\n }\n // business_activity.push(this.createBusinessActivity())\n \n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\n \n if(data['records'].manufacturing_activity_details){\n let selectedManufacturing=Object.keys(data['records'].manufacturing_activity_details).map(function(key){\n return data['records'].manufacturing_activity_details[key];\n });\n if(selectedManufacturing.length>0){\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\n \n selectedManufacturing.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'MActivity',index)\n manufacture_details.push(this.manufactureDetails())\n if(element.area_of_sale=='Within India'){\n \n manufacture_details.controls[index].addControl('india_where_sale_done',this.fb.array([]))\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n })\n }\n else if(element.area_of_sale=='Export'){\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n \n }\n });\n businessVal.manufacturing_activity_details=selectedManufacturing;\n \n \n }\n else{\n \n businessVal.manufacturing_activity_details=[];\n }\n }\n else{\n \n businessVal.manufacturing_activity_details=[];\n }\n \n if(data['records'].retail_trading_activity_details){ \n\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\n return data['records'].retail_trading_activity_details[key];\n });\n if(selectedRetail.length > 0) {\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\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'); \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')\n selectedRetail.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'RActivity',index)\n retailControl.push(this.manufactureDetails());\n if(element.area_of_sale=='Within India'){\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n });\n businessVal.retail_trading_activity_details=selectedRetail;\n }\n else{\n businessVal.retail_trading_activity_details=[];\n } \n }\n else {\n businessVal.retail_trading_activity_details=[];\n }\n \n\n // update whole sale details\n if(data['records'].wholesale_trading_activity_details){ \n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\n return data['records'].wholesale_trading_activity_details[key];\n });\n if(selectedWholesale.length > 0) {\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\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'); \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')\n selectedWholesale.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'WActivity',index)\n wholesaleControl.push(this.manufactureDetails());\n if(element.area_of_sale=='Within India'){\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n \n });\n businessVal.wholesale_trading_activity_details=selectedWholesale;\n }\n else{\n businessVal.wholesale_trading_activity_details=[];\n } \n }\n else {\n businessVal.wholesale_trading_activity_details=[];\n\n } \n \n \n if(data['records'].service_provider_activity_details){\n let selectedService=Object.keys(data['records'].service_provider_activity_details).map(function (key){\n return data['records'].service_provider_activity_details[key];\n })\n if(selectedService.length > 0) {\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\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'); \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')\n \n selectedService.forEach((element,index)=>{\n this.CheckExport(element.area_of_sale,'SPActivity',index)\n serviceProviderControl.push(this.manufactureDetails());\n \n if(element.area_of_sale=='Within India'){\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n \n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n }\n else if(element.area_of_sale=='Export'){\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n \n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n }\n else if(element.area_of_sale=='Both'){\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.indiaSalesDone())\n });\n\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\n this.filterCityData(this.stateList,innerElement.state_name,innerIndex);\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\n innerElement.stateSearch=''\n innerElement.citySearch=''\n innercontrol.push(this.maxSaleState())\n });\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\n innercontrol.push(this.createCountrySale())\n });\n\n \n }\n });\n \n \n businessVal.service_provider_activity_details=selectedService;\n \n }\n else{\n businessVal.service_provider_activity_details=[];\n \n } \n }\n else {\n businessVal.service_provider_activity_details=[];\n\n }\n \n // if(data['records'].others_activity_details){ \n\n // // update others activity details\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\n // return data['records'].others_activity_details[key];\n // });\n // if(selectedOthers.length > 0) {\n // selectedOthers.forEach((element,index)=>{\n // othersControl.push(this.createOthersActivity());\n // });\n // businessVal.others_activity_details=selectedOthers;\n // }\n // else{\n // businessVal.others_activity_details=[];\n // } \n // }\n // else {\n // businessVal.others_activity_details=[];\n\n // } \n \n // dynamically add form group control\n if(data['dataStatus']){\n \n if(data['records'].seasonality.toUpperCase()=='YES'){\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)); }\n\n \n\n } \n \n\n // this.businessForm.controls['partners'].setValue(PartnrArray);\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\n \n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\n if(businessVal.applicant_use_pos_machines == 'yes'){\n //For Adding the bank search in data\n businessVal.pos_machines_details.forEach(value=>{\n value.bankSearch=''\n })\n //-----------------------\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\n const posControl: any = this.businessForm.controls['pos_machines_details'];\n for(let i = 1; i<= businessVal.no_of_pos_machines; i++ ){\n \n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\n }\n }\n \n this.businessForm.setValue(businessVal);\n \n \n }\n else{\n Partnr.push(this.createPartners());\n control1.push(this.createRelationShip())\n \n //otherDoc.push(this.createDocument());\n\n // find business activity type businees activity type list\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id,exist_status:0}))\n if(activityData.length > 0)\n {\n activityData.forEach(val => {\n business_activity.push(this.createBusinessActivity(val));\n });\n }\n\n }\n})\n // change business sessional\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\n val.toUpperCase()=='YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\n });\n \n if(this.businessForm.controls['gst_Regn_cert']){\n this.businessForm.controls['gst_Regn_cert'].valueChanges.subscribe(val => {\n \n val.toUpperCase()=='YES' ? this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')) : this.businessForm.removeControl('gst_Regn_cert_pic');\n });}\n if(this.businessForm.controls['factory_cert']){\n this.businessForm.controls['factory_cert'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('factory_cert_pic', new FormControl('')) : this.businessForm.removeControl('factory_cert_pic');\n });}\n if(this.businessForm.controls['practice_cert_cert']){\n this.businessForm.controls['practice_cert_cert'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('practice_cert_pic', new FormControl('')) : this.businessForm.removeControl('practice_cert_pic');\n });}\n if(this.businessForm.controls['shop_eat_act_cert']){\n this.businessForm.controls['shop_eat_act_cert'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')) : this.businessForm.removeControl('shop_eat_act_cert_pic');\n });}\n if(this.businessForm.controls['pf_regn']){\n this.businessForm.controls['pf_regn'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('pf_regn_pic', new FormControl('')) : this.businessForm.removeControl('pf_regn_pic');\n });}\n if(this.businessForm.controls['esic_regn']){\n this.businessForm.controls['esic_regn'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('esic_regn_pic', new FormControl('')) : this.businessForm.removeControl('esic_regn_pic');\n });}\n if(this.businessForm.controls['export_import_cert']){\n this.businessForm.controls['export_import_cert'].valueChanges.subscribe(val => {\n val.toUpperCase()=='YES' ? this.businessForm.addControl('export_import_cert_pic', new FormControl('')) : this.businessForm.removeControl('export_import_cert_pic');\n });\n }\n \n }\n\n filterCity(datasource: any,filterid:number) {\n // if(val){\n // console.log(\"val\",val)\n // return val\n // }\n \n \n if(filterid){\n console.log(\"val filter\",filterid)\n let filter = this.stateList.filter(x=>x.state_id==filterid);\n return filter.length > 0 ? filter[0].cities : [];\n }\n}\nfilterCityData(datasource: any,filterid:number,index) {\n console.log(\"test\")\n console.log(filterid,index)\n \n if(filterid){\n let filter = this.stateList.filter(x=>x.state_id==filterid);\n this.cityData[index] = filter.length > 0 ? filter[0].cities : [];\n // this.filteredCity.next(this.cityData[index].slice())\n this.cityDataValue[index]=this.cityData[index].slice()\n console.log(\"filter \",this.cityDataValue[index])\n }\n // console.log(\"City value\",this.cityData[index])\n}\n\n // filter max sale options\n filterMaxSaleState(datasource: any,filterValues:any){\n this.filterCityList = filterValues;\n if(filterValues){\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n let getStateValues = filterValues.filter(val =>val.state_name).map(mapVal => mapVal.state_name);\n let setStateFilter: any=[];\n setStateFilter = getStateValues.map(x => {\n let findIndex = getOriginalStateList.indexOf(x);\n return datasource[findIndex];\n });\n return setStateFilter.length > 0 ? setStateFilter : [];\n }\n }\n filterMaxSaleCities(datasource: any, filterValues: any, selectedCites: any) {\n if (filterValues) {\n let setCityValues: any=[];\n let getOriginalStateList = datasource.map(dval => dval.state_id);\n filterValues.forEach((stateElement,statePos) => {\n selectedCites.forEach((existElement,existPos) => {\n if(stateElement==existElement.state_name && existElement.city_name.length>0){\n let findIndex = getOriginalStateList.indexOf(stateElement);\n findIndex = datasource[findIndex].cities;\n\n let getAllCities: any = existElement.city_name.filter(cVal=>cVal==\"1\");\n // this is for throuh out states city\n if(getAllCities.length>0){\n setCityValues= setCityValues.concat.apply(setCityValues, findIndex);\n // console.log(\"First\",setCityValues)\n }\n // this is for seleted states city\n else{\n let check: any = findIndex.filter(function (fVal) {\n return existElement.city_name.some(function (sVal) {\n return fVal.city_id == sVal;\n });\n });\n setCityValues= setCityValues.concat.apply(setCityValues, check); \n // console.log(\"second\",setCityValues) \n\n }\n }\n \n });\n });\n return setCityValues.length>0 ? setCityValues.filter(fVal=>fVal.city_id!=\"1\") : [];\n \n }\n else {\n return [];\n }\n}\n// filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \n// console.log(selectedCites)\n// let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\n// console.log(\"selectd\",existCities)\n// existCities = [].concat.apply([], existCities);\n// existCities.forEach(element=>{\n// if(element== 1){\n\n// }\n// })\n// console.log(\"concat\",existCities)\n// if(filterValues){\n// let getOriginalStateList = datasource.map(dval => dval.state_id);\n// console.log(\"Original map\",getOriginalStateList)\n// let setCityFilter = filterValues.map(x => {\n// let findIndex = getOriginalStateList.indexOf(x);\n// findIndex = datasource[findIndex].cities;\n// return findIndex;\n// });\n// console.log(\"findindex\",setCityFilter)\n \n// let merged = [].concat.apply([], setCityFilter);\n// console.log(\"merge\",merged)\n \n// if(merged.length>0){\n// let check: any = merged.filter(function(fVal){\n// return existCities.some(function(sVal){\n// return fVal.city_id==sVal;\n// });\n// })\n// console.log(check);\n// return check;\n \n// }\n// else {\n// return [];\n// }\n// }\n// else {\n// return [];\n// }\n// }\n\n\ncheckTotalEmployee(FormData){\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent ||0)+(+FormData.value.employees_temporary||0));\n }\n// checkWithExistBusinessYear(e,i){\n// if(e > this.generalExistBusinessYear){\n// this.errorMessage[i] = \"Higher than Business Vintage\";\n// }\n// else{\n// this.errorMessage[i] = '';\n// }\n// }\n\ncheckWithExistBusinessYear(e, i, members) {\n\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n members.controls.current_business_experiance_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n}\n\ncheckWithExistTotalWorkExperience(e, i, members) {\n\n if (+members.value.current_business_experiance_year > +e) {\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\n members.controls.total_business_experiance.setValue('');\n }\n else {\n this.errorMessageForExistTotalWorkExperience[i] = '';\n }\n}\n\n// businees activity type change event\nchangeBusinessActivity(event: any){\n \n if(event.value.exist_status==true && event.value.type_of_activity_id==2){\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.controls = [];\n manufacturingControl.setValue([]); \n \n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==2){\n this.ManufacturingChecked = event.value.exist_status;\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n \n \n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==3){\n this.RetailedChecked=event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.controls = [];\n retailControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==3){\n this.RetailedChecked=event.value.exist_status\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==4){\n this.WholeSalesChecked=event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.controls = [];\n wholesaleControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==4){\n this.WholeSalesChecked=event.value.exist_status\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n }\n if(event.value.exist_status==true && event.value.type_of_activity_id==5){\n this.ServiceChecked=event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.controls = [];\n serviceControl.setValue([]);\n }\n else if(event.value.exist_status==false && event.value.type_of_activity_id==5){\n this.ServiceChecked=event.value.exist_status\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n }\n\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.controls = [];\n // othersControl.setValue([]);\n // }\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\n // let othersControl = this.businessForm.controls['others_activity_details'];\n // othersControl.push(this.createOthersActivity());\n // }\n // check activity type for make dosument sighted filed dynamically\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');\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');\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');\n // check activity for extra question make dynamic\n \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');\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');\n \n\n if(this.ManufacturingChecked || this.ManufacturingChecked==undefined && this.RetailedChecked || this.RetailedChecked==undefined && this.WholeSalesChecked ||this.WholeSalesChecked==undefined && this.ServiceChecked || this.ServiceChecked==undefined){\n this.ExportFlag = false;\n }\n}\n\n\nchangeManufacturingAreaSale(getDetails: any, getIndex){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n // change retail options\n changeRetailAreaSale(getDetails: any, getIndex){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n// change whole options\nchangeWholesaleAreaSale(getDetails: any, getIndex){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n// change service provider \nchangeServiceArea(getDetails: any, getIndex) {\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n\n if(getDetails.value.area_of_sale==\"Within India\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \n\n }\n else if(getDetails.value.area_of_sale==\"Export\"){\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n else if(getDetails.value.area_of_sale==\"Both\") {\n control.controls[getIndex].removeControl('india_where_sale_done');\n control.controls[getIndex].removeControl('countries_where_export_done');\n control.controls[getIndex].removeControl('pan_india_options');\n control.controls[getIndex].removeControl('max_sale_state_name');\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\n }\n}\n\n\nchangePanIndiaOptions(type,selectedIndex,value) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n \n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==3){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n else if(type==4){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control.controls[selectedIndex].removeControl('india_where_sale_done');\n control.controls[selectedIndex].removeControl('max_sale_state_name');\n if(value=='Yes') {\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n else if(value=='No'){\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\n }\n}\n\n // update partner group other form control\n changePartnerGroup(value,key) {\n let control: any = this.businessForm.get('partners') as FormArray;\n value=='Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\n }\n\n createDesignation(): FormGroup {\n return this.fb.group({\n sec_name: ['', Validators.compose([Validators.required])],\n sec_designation: ['', Validators.compose([Validators.required])],\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 }\n getWorkExperience(event, key) {\n let current_experience = event.current_business_experiance_year=='' ? 0 : parseInt(event.current_business_experiance_year);\n let total_experience = event.total_business_experiance=='' ? 0 : parseInt(event.total_business_experiance);\n let control: any = this.businessForm.get('partners') as FormArray;\n if(total_experience > current_experience) {\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\n }\n else if(total_experience < current_experience) {\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\n control.controls[key].removeControl('total_business_previous_experience')\n }\n\n else {\n control.controls[key].removeControl('total_business_previous_experience')\n }\n // let total ;\n // if(control.length > 0){\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\n // this.businessForm.controls.business_years.updateValueAndValidity();\n // }\n}\n // Out of Total Export Sales what % of Sales is done in Albania?\n getPlaceHolderName(id) {\n let name = this.countryDataList.filter(value => value.country_id == id);\n\n return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?';\n // return name[0].country_name +'?';\n}\nConvertMonthintoYear(itemrow,e,i){\n\nconsole.log('datas',e,i);\n let year = itemrow.controls.current_business_experiance_year.value;\n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n\n // if (year > this.generalExistBusinessYear) {\n // console.log('data')\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // }\n // else {\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n // itemrow.controls.current_business_experiance_year.setValue('');\n // itemrow.controls.current_business_experiance_month.setValue('');\n\n // } else {\n // this.monthErrorMessage[i] = '';\n // this.yearErrorMessage[i] = '';\n // itemrow.controls.current_business_experiance_year.setValue(year);\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\n // }\n // }\n \n}\n\n\n\ncreatePartners(): FormGroup {\n return this.fb.group({\n partner_name: ['', Validators.compose([Validators.required])],\n // partner_other_name:[''],\n shareholding:[''],\n started_business:[''],\n current_business_experiance_year:[''],\n current_business_experiance_month:[''],\n total_business_experiance:[''],\n // total_business_previous_experience:['']\n /* shareholding: ['', Validators.compose([Validators.required])],\n current_business_experiance: ['', Validators.compose([Validators.required])],\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\n });\n}\ncreateRelationShip(): FormGroup {\n return this.fb.group({\n family_member_salutation:[''],\n family_member_name:[''],\n other_family_relationship_id:[''],\n relation_to_id:[''],\n relationship_with_company_id:[''],\n started_business:['']\n });\n}\ncreateBusinessActivity(details):FormGroup {\n return this.fb.group({\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\n name: [details.name, Validators.compose([Validators.required])],\n exist_status:[details.exist_status==1 ? true : false]\n });\n}\ncreateServiceActivity(): FormGroup {\n return this.fb.group({\n main_products: ['', Validators.compose([Validators.required])],\n area_of_sale: ['', Validators.compose([Validators.required])],\n description: ['']\n });\n}\ncreateOthersActivity(): FormGroup {\n return this.fb.group({\n others_details: ['', Validators.compose([Validators.required])]\n });\n}\nmanufactureDetails():FormGroup{\n return this.fb.group({\n main_products:[''],\n area_of_sale:[''],\n description:['']\n // pan_india_options:[''],\n // india_where_sale_done:this.fb.array([]),\n //max_sale_state_name:this.fb.array([]),\n //countries_where_export_done:this.fb.array([])\n })\n}\nindiaSalesDone():FormGroup{\n return this.fb.group({\n state_name:[''],\n city_name:[''],\n stateSearch:[''],\n citySearch:['']\n })\n}\nmaxSaleState():FormGroup{\n return this.fb.group({\n state_name:[''],\n city_name:[''],\n stateSearch:[''],\n citySearch:['']\n })\n}\ncreateDocument() {\n return this.fb.group({\n document: ['']\n });\n}\naddDesignation() {\n const control = this.businessForm.controls['designation'];\n control.push(this.createDesignation());\n}\ndeleteDesignation(index) {\n const control = this.businessForm.controls['designation'];\n if(control.length==1){\n this.businessForm.controls['designation'].reset();\n }else{\n control.removeAt(index);\n }\n}\naddPartnerDetails(event) {\n const control = this.businessForm.controls['partners'];\n event.stopPropagation()\n let length = control.length;\n this.step = length;\n \n control.push(this.createPartners());\n}\naddPersonRelationship(event){\n event.stopPropagation()\n const control=this.businessForm.controls['persons_with_relationships']\n let length=control.length\n this.step=length\n control.push(this.createRelationShip());\n}\ndeletePersonRelationship(index){\n const control=this.businessForm.controls['persons_with_relationships'];\n control.removeAt(index)\n}\ndeletePartnerDetails(index) {\n const control = this.businessForm.controls['partners'];\n if(control.length==1){\n this.businessForm.controls['partners'].reset();\n }else{\n control.removeAt(index);\n }\n}\naddMoreManufacturing() {\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n manufacturingControl.push(this.manufactureDetails());\n}\nremoveManufacturing(index){\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\n if(manufacturingControl.length>1){\n manufacturingControl.removeAt(index)\n }\n else{\n manufacturingControl.reset();\n }\n}\naddMoreRetail(){\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\n retailControl.push(this.manufactureDetails());\n}\nremoveRetail(index){\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\n if(retailControl.length>1){\n retailControl.removeAt(index)\n }\n else{\n retailControl.reset();\n }\n}\naddMoreWholesale() {\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n wholesaleControl.push(this.manufactureDetails());\n}\nremoveWholesale(index){\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\n if(wholesaleControl.length>1){\n wholesaleControl.removeAt(index)\n }\n else{\n wholesaleControl.reset();\n }\n}\naddMoreServiceprovider() {\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n serviceControl.push(this.manufactureDetails());\n}\nremoveServiceProvider(index){\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\n if(serviceControl.length>1){\n serviceControl.removeAt(index)\n }\n else{\n serviceControl.reset();\n }\n}\n// addMoreOthersActivity(){\n// let othersControl = this.businessForm.controls['others_activity_details'];\n// othersControl.push(this.createOthersActivity());\n// }\ncreateCountrySale() {\n return this.fb.group({\n country_name: ['',Validators.compose([Validators.required])],\n approx_sale: ['', Validators.compose([Validators.required])]\n }); \n}\n\naddMoreState(mindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n \n\n}\nremoveState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n\naddRetailMoreState(rindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n}\nremoveRetailState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n// add more whole sale state\naddWholesaleMoreState(windex,type) {\n if(type==1){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n\n}\n// remove for whole sale\nremoveWholesaleState(mindex,sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\n control.removeAt(sindex);\n }\n}\n // add more service provider\n addServiceMoreState(sindex,type) {\n if(type==1){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\n control.push(this.indiaSalesDone())\n }\n else if(type==2){\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\n control.push(this.createCountrySale())\n }\n }\n \n // remove service provider\n\nremoveServiceState(mindex,sindex,type){\n if(type==1){\n let control:any=this.businessForm.get('service_provider_activity_details') as FormArray;\n control=control.controls[mindex].get('india_where_sale_done') as FormArray;\n control.removeAt(sindex);\n }\n else if(type==2){\n let control1:any=this.businessForm.get('service_provider_activity_details') as FormArray;\n control1=control1.controls[mindex].get('countries_where_export_done') as FormArray\n control1.removeAt(sindex)\n }\n}\naddDocuments() {\n const control = this.businessForm.controls['documents'];\n control.push(this.createDocument());\n}\ndeleteDocuments(index) {\n const control = this.businessForm.controls['documents'];\n if(control.length==1){\n this.businessForm.controls['documents'].reset();\n }else{\n control.removeAt(index);\n }\n}\n\nrelationChanged(event) {\n this.relativeNames = [];\n event.value.forEach(option => {\n this.relativeNames.push({member: option});\n });\n}\ncreatePOSMachinesDetails(data){\n if(data==null){\n return this.fb.group({\n pos_machines_financial_institution_name: [''],\n bankSearch:[''],\n tid_no_of_pos_machine: [''],\n })\n }\n else{\n return this.fb.group({\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\n bankSearch:[''],\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\n })\n }\n}\n\n public initBusinessForm(): void {\n this.businessForm = this.fb.group({\n parent_pdid:this.pdDetails.parent_pd_id,\n pdid: this.pdDetails.pd_id,\n formid: this.FormId,\n fk_createdby: this.users,\n profession_name: ['', Validators.compose([Validators.required])],\n business_years: ['', Validators.compose([Validators.required])],\n industry: ['', Validators.compose([Validators.required])],\n type_of_activity: ['', Validators.compose([Validators.required])],\n seasonality: ['', Validators.compose([Validators.required])],\n designation: this.fb.array([]),\n partners: this.fb.array([]),\n employees_total: ['', Validators.compose([Validators.required])],\n employees_permanent: ['', Validators.compose([Validators.required])],\n employees_temporary: ['', Validators.compose([Validators.required])],\n officer_total: ['', Validators.compose([Validators.required])],\n officer_permanent: ['', Validators.compose([Validators.required])],\n officer_temporary: ['', Validators.compose([Validators.required])],\n invested_amount: ['', Validators.compose([Validators.required])],\n working_capital: ['', Validators.compose([Validators.required])],\n is_service_provided: ['', Validators.compose([Validators.required])],\n ownership_setup: ['', Validators.compose([Validators.required])],\n ownership_others: [''],\n rent_paid: [''],\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\n export_import_cert: ['', Validators.compose([Validators.required])],\n factory_cert: ['', Validators.compose([Validators.required])],\n practice_cert: ['', Validators.compose([Validators.required])],\n pf_regn: ['', Validators.compose([Validators.required])],\n esic_regn: ['', Validators.compose([Validators.required])],\n other_documents: ['', Validators.compose([Validators.required])],\n documents: this.fb.array([]),\n business_remarks: ['', Validators.compose([Validators.required])],\n who_started: ['', Validators.compose([Validators.required])],\n main_person: ['', Validators.compose([Validators.required])],\n other_main_person: [''],\n family_members_involved: ['', Validators.compose([Validators.required])],\n before_business: ['', Validators.compose([Validators.required])],\n any_delays: ['', Validators.compose([Validators.required])],\n });\n}\n\nsubmitDetails() {\n\n if(this.EntityTypeFlag == true){\n let control: any = this.businessForm.controls['partners'];\n let control2:any = control.controls[0];\n\n control2.controls['shareholding'].clearValidators();\n control2.controls['shareholding'].updateValueAndValidity();\n control2.controls['shareholding'].setValue('100');\n\n \n // control.controls[0].removeControl('shareholding');\n // control.controls[0].removeControl('started_business');\n // control.controls[0].removeControl('current_business_experiance_year');\n // control.controls[0].removeControl('current_business_experiance_month');\n // control.controls[0].removeControl('total_business_experiance');\n \n control2.controls['started_business'].setValue('');\n\n control2.controls['current_business_experiance_year'].clearValidators();\n control2.controls['current_business_experiance_year'].updateValueAndValidity();\n control2.controls['current_business_experiance_year'].setValue('');\n\n control2.controls['current_business_experiance_month'].setValue('');\n\n control2.controls['total_business_experiance'].clearValidators();\n control2.controls['total_business_experiance'].updateValueAndValidity();\n control2.controls['total_business_experiance'].setValue('');\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\n // control2.controls['total_business_previous_experience'].clearValidators();\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\n // control2.controls['total_business_previous_experience'].setValue('0');\n // }\n\n }\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n console.log(\"manufacture\",control);\n // control.controls.forEach(element=>{\n // if(element.controls['india_where_sale_done']){\n // element.controls\n // }\n // })\n \n let family: any = [];\n \n let design: any;\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\n let records:any;\n // records.pdid = this.pdDetails.pd_id;\n // records.formid = this.FormId;\n // records.fk_createdby = this.users;\n records=this.businessForm.value;\n\n //if(records.persons_with_relationships=='')\n if (records.other_documents == 'no') {\n delete records.documents;\n }\n if (records.rent_paid == '') {\n delete records.rent_paid;\n }\n if (records.ownership_others == '') {\n delete records.ownership_others;\n }\n // records.family_members_involved = this.relativeNames;\nif(!this.EntityTypeFlag) {\nlet count:number=0;\nif(records.partners.length>0){\n records.partners.forEach(element=>{\n console.log(element)\n count+=element.shareholding\n })\n}\nif(count>=101){\n this.toast.pdTriggerappmessage(\"Share Holding is Greater than 100 %\");\n // this.businessForm.get('shareholding').value.setFocus()\n //this.businessForm.controls['partners']\n console.log(this.businessForm.controls)\n // const control=this.businessForm.controls['partners'] as FormArray\n this.share_focus.nativeElement.focus();\n //control.get('shareholding').Focus()\n // this.businessForm.get('business_remarks').value.setFocus()\n return\n}\n}\n let validationFlag : number = 0;\n\n //type 1: Checking manufacturing_activity_details \n if(records.manufacturing_activity_details.length > 0){\n\n records.manufacturing_activity_details.forEach((val,index) => {\n if(val.area_of_sale!= \"Within India\"){ \n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n \n }\n\n //type 3 checking wholesale_trading_activity_details\n if(records.wholesale_trading_activity_details.length > 0){\n\n records.wholesale_trading_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){ \n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n //type 2 checking retail_trading_activity_details\n if(records.retail_trading_activity_details.length > 0){\n\n records.retail_trading_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){ \n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n\n //type 4 checking service_provider_activity_details\n if(records.service_provider_activity_details.length > 0){\n\n records.service_provider_activity_details.forEach((val,index) => {\n if(val.area_of_sale != \"Within India\"){\n \n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\n return val.countries_where_export_done[key];\n });\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\n if(total > 100 || total < 100){\n validationFlag++;\n }\n }\n });\n \n }\n\n //validationFlag is greater then 0 means its display the notifer as warning\n if(validationFlag > 0){\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\n return;\n }\n\n records.select_business_activity_type = records.select_business_activity_type.filter(value=>value.exist_status==1);\nif(records.pos_machines_details){\n records.pos_machines_details.forEach(value=>{\n delete value.bankSearch\n })\n}\n \n// if(records.manufacturing_activity_details.length > 0){\n// records.manufacturing_activity_details.forEach((val,index) => {\n// let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\n// let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray;\n// let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray;\n// if(val.area_of_sale != \"Export\"){ \n// if(val.india_where_sale_done.length > 0){\n// val.india_where_sale_done.forEach((vals,inx) => {\n// childCtrl1.controls[inx].removeControl('citySearch');\n// delete vals.citySearch;\n// childCtrl1.controls[inx].removeControl('stateSearch');\n// delete vals.stateSearch;\n// });\n// }\n// if(val.max_sale_state_name.length > 0){\n// val.max_sale_state_name.forEach((vals,inx) => {\n// childCtrl2.controls[inx].removeControl('citySearch');\n// childCtrl2.controls[inx].removeControl('stateSearch');\n// });\n// }\n// }\n// });\n// }\n// console.log('records',records);\n this.qustCat.saveForm(records).subscribe(data => {\n if(data['dataStatus']==true)\n {\n this.businessForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },3000);\n }\n });\n}\n getBuisnessDetails()\n {\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId}; \n this.qustCat.retiverForm(records).subscribe(data => {\n let businessVal = data['records'];\n \n let constVal: any;\n const Desgn = this.businessForm.controls['designation'];\n const Partnr = this.businessForm.controls['partners'];\n const otherDoc = this.businessForm.controls['documents'];\n\n if (data['status'] == 200) {\n let DocArray: any;\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\n return data['records'].designation[key];\n });\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\n return data['records'].partners[key];\n });\n\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\n return data['records'].family_members_involved[key];\n });\n let enduse: any = [];\n let existRelative: any =[];\n selectedMembers.forEach(val => {\n enduse.push(val.member);\n existRelative.push(val);\n });\n this.relativeNames = existRelative;\n if (DesgnArray.length == 0) {\n Desgn.push(this.createDesignation());\n } else {\n DesgnArray.forEach(datas => {\n Desgn.push(this.createDesignation());\n });\n \n }\n if (PartnrArray.length == 0) {\n Partnr.push(this.createPartners());\n } else {\n PartnrArray.forEach(datas => {\n Partnr.push(this.createPartners());\n });\n }\n if (data['records'].other_documents == 'yes') {\n DocArray = Object.keys(data['records'].documents).map(function (key) {\n return data['records'].documents[key];\n });\n DocArray.forEach(datas => {\n otherDoc.push(this.createDocument());\n });\n } else {\n DocArray = [{document: ''}];\n otherDoc.push(this.createDocument());\n }\n if (data['records'].ownership_setup != 'others') {\n businessVal.ownership_others = '';\n }\n if (data['records'].ownership_setup != 'rented') {\n businessVal.rent_paid = '';\n }\n businessVal.family_members_involved = enduse;\n businessVal.parent_pdid=this.pdDetails.parent_pd_id\n businessVal.pdid = this.pdDetails.pd_id;\n businessVal.formid = this.FormId;\n businessVal.fk_createdby = this.users;\n businessVal.designation = DesgnArray;\n businessVal.partners = PartnrArray;\n businessVal.documents = DocArray;\n\n this.businessForm.setValue(businessVal);\n } else {\n Desgn.push(this.createDesignation());\n Partnr.push(this.createPartners());\n otherDoc.push(this.createDocument());\n }\n\n });\n }\n setStep(index: number) {\n this.step = index;\n}\ninWords(e,flag){\n switch(flag){\n case 1 : \n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\n break;\n }\n }\n ManufacturingCounterArray: any = [];\nRetailCounterArray: any = [];\nWholeSaleCounterArray: any = [];\nServiceCounterArray: any = [];\n\n CheckExport(value,stringFlag,index){\n //this.ExportFlag=false\n const parentControl = this.businessForm.controls['select_business_activity_type'];\n const childControl = parentControl.controls[0];\n\n\n // childControl.forEach((datas,index) => {\n \n \n // // exist_status==true && event.value.type_of_activity_id\n\n // });\n\n \n\n \n \n if(!this.ManufacturingChecked){\n // console.log(\"Manu\")\n if(stringFlag == 'MActivity' && value == \"Both\"){\n this.ManufacturingCounterArray[index] = 1;\n }\n else if(stringFlag == 'MActivity' && value != \"Both\"){\n this.ManufacturingCounterArray[index] = 0;\n }\n }else if (this.ManufacturingChecked && stringFlag == 'MActivity'){\n // console.log(\"manu\");\n this.ManufacturingCounterArray[index] = 0;\n }\n\n if(!this.RetailedChecked){ \n if(stringFlag == 'RActivity' && value == \"Both\"){\n this.RetailCounterArray[index] = 1;\n }\n else if(stringFlag == 'RActivity' && value != \"Both\"){\n this.RetailCounterArray[index] = 0;\n }\n }\n else if(stringFlag == 'RActivity' && this.RetailedChecked){\n this.RetailCounterArray[index] = 0;\n }\n\n if(!this.WholeSalesChecked){\n if(stringFlag == 'WActivity' && value == \"Both\"){\n this.WholeSaleCounterArray[index] = 1;\n }\n else if(stringFlag == 'WActivity' && value != \"Both\"){\n this.WholeSaleCounterArray[index] = 0;\n }\n }\n else if(stringFlag == 'WActivity' && this.WholeSalesChecked){\n this.WholeSaleCounterArray[index] = 0;\n }\n \n if(!this.ServiceChecked){\n \n if(stringFlag == 'SPActivity' && value == \"Both\")\n { \n this.ServiceCounterArray[index] = 1;\n }\n else if(stringFlag == 'SPActivity' && value != \"Both\"){\n this.ServiceCounterArray[index] = 0;\n }\n\n }else if(stringFlag == 'SPActivity'){\n this.ServiceCounterArray[index] = 0;\n } \n\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\n \n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\n \n\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter ;\n \n\n this.ExportFlag = overallCounter > 0 ? true : false ;\n // console.log(this.ExportFlag);\n //console.log(overallCounter)\n\n}\nchangePOSMachinesAvailablity(e, flag) {\n\n e == 'yes'\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\n : this.businessForm.removeControl('no_of_pos_machines');\n\n if (flag == 2) {\n e == 'yes'\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\n : this.businessForm.removeControl('no_of_pos_machines');\n }\n\n}\ntoGetPOSMachinesDetails(e,flag){\n\n if(flag == 1){ this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\n const control = this.businessForm.controls['pos_machines_details'];\n\n while (control.length !== 0) {\n control.removeAt(0);\n }\n\n if(e > 0 ){\n if(flag == 1){\n for(let i = 1 ; i<= e ; i++ ){\n control.push(this.createPOSMachinesDetails(null));\n }\n }\n else if(flag == 2){\n for(let i = 1 ; i<= e ; i++ ){\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\n }\n }\n }\n }\n searchFun(control:any,i:number,option){\n \n if (option == 'city') {\n // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name)\n control.controls['citySearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(() => {\n this.SearchCity(control.controls['citySearch'].value, i);\n })\n }\n if (option == 'state') {\n // console.log(\"state\")\n control.controls['stateSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.searchState(control.controls['stateSearch'].value)\n \n })\n }\n //For Pos bank search using constant provider\n if(option == 'bank'){\n console.log(\"bank\", control.controls['bankSearch'].value)\n control.controls['bankSearch'].valueChanges\n .pipe(takeUntil(this._onDestroy))\n .subscribe(()=>{\n this.bankListValue=this.cons.searchData(this.bankList,control.controls['bankSearch'].value,option)\n })\n }\n }\n SearchCity(val: any, i: number) {\n // let cityData=\n // console.log(this.cityData[i])\n if (!this.cityData[i]) {\n return\n }\n let searchValue = val\n if (!searchValue) {\n this.cityDataValue[i]=this.cityData[i].slice()\n return\n } else {\n searchValue = searchValue.toLowerCase()\n }\n this.cityDataValue[i]=\n this.cityData[i].filter(val=>val.city_name.toLowerCase().indexOf(searchValue)> -1)\n \n // console.log(\"City Data value\",this.cityDataValue[i])\n // this.filterCity('',1,this.cityData[i])\n // this.filteredCity.next(\n // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1)\n // )\n \n }\n searchState(val: any) {\n console.log(\"statedata\")\n if (!this.stateList) {\n return\n }\n let searchVal = val\n if (!searchVal) {\n this.filteredState.next(this.stateList.slice())\n return\n }\n else {\n searchVal = searchVal.toLowerCase()\n }\n this.filteredState.next(\n this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1)\n )\n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.FormId,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.FormId,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('partner_other_name').value\n value.get('partner_other_name').setValue(this.cons.sentenceCase(name));\n }\n \n ImageUpload(Flag : any){ \n alert('Inside Mobile Upload Function' + Flag);\n \n alert('is_person_met_pic 1');\n this.cameraProvider.getpicture().then(res=>{\n \n if(Flag == 1 ){ this.businessForm.controls.shop_eat_act_cert_pic.setValue(res != 'error' ? res : ''); alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 2 ){ this.businessForm.controls.gst_Regn_cert_pic.setValue(res != 'error' ? res : ''); alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 3 ){ this.businessForm.controls.export_import_cert_pic.setValue(res != 'error' ? res : ''); alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 4 ){ this.businessForm.controls.factory_cert_pic.setValue(res != 'error' ? res : ''); alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 5 ){ this.businessForm.controls.practice_cert_pic.setValue(res != 'error' ? res : ''); alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 6 ){ this.businessForm.controls.pf_regn_pic.setValue(res != 'error' ? res : ''); alert('Inside Mobile Upload Function' + Flag);}\n if(Flag == 7 ){ this.businessForm.controls.esic_regn_pic.setValue(res != 'error' ? res : ''); alert('Inside Mobile Upload Function' + Flag);}\n \n console.table('1',this.businessForm.value);\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n }\n}\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, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n/**\n * Generated class for the PdQuestionBusinessAssetsPage 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-business-assets',\n templateUrl: 'pd-question-business-assets.html',\n})\nexport class PdQuestionBusinessAssetsPage {\n currentYear:any=new Date().getFullYear();\n\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\n {'value': \"no\",'viewValue': \"No\"},\n {'value': \"nan\",'viewValue': \"NA\"}]\n\n company_id:any;\n pdDetails:any;\n formDetails : any;\n users:any;\n _businessAssetsQuesFrom:FormGroup;\n m_assets_type:any;\n m_propertyType:any;\n AssetValueInwords:any=[];\n appxMarketAmtInwords:any=[];\n RentAmtInwords:any=[]\n mergeCompanyApplicant:any=[];\n existCompanyList:any=[]\n applicants:any;\n data_all:any;\n CustSegAbbr: any;\n generalExistBusinessYear:Number;\n generalExistBusinessMonth:Number;\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n addressLabel: any=[];\n placeholderName : any = []\n m_address_type:any=[]\n pageTitle: string;\n main_applicant: any;\n lender_applicant_id: any;\n subproduct_abbr: any;\n customer_segment_abbr: any;\n RentAmtInwordsForAddress: any =[];\n appxMarketAmtInwordsForAddress: any =[];\n isOtherOwnerForAddress : boolean = false;\n isOtherOwner: boolean = false;\n public m_vehicle_type = [];\n cityArr: any=[];\n pinArr: any=[];\n m_state_for_address: any=[];\n @ViewChild('remarksFocus') focusRemark:ElementRef\n imageDisplay: any[];\n imageBucket: any=[];\n tab: any='0';\n complete_status: boolean = false;\n addressType:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n \n \n this.pdDetails=this.navParams.get('pdDetails');\n this.formDetails=this.navParams.get('formDetails');\n this.users=this.aws.getlocale();\n this.company_id=this.pdDetails.company_id;\n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\n this.generalExistBusinessYear = this.pdDetails.business_years;\n this.generalExistBusinessMonth = this.pdDetails.business_month;\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\n this.main_applicant = this.pdDetails.applicant_name;\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\n this.getDropDown()\n \n \n \n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n \n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\n this.getDetails()\n //this.getAddress()\n this.getPDImages();\n }\n getAddress(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id;\n params.pd_form_id='5'\n\n this.qustcat.retiverForm(params).subscribe(data => {\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n if(data['status'] == 200) {\n \n \n if(data['records'].addresses.length > 0){\n data['records'].addresses.forEach((data,inx)=>{\n this.addressLabel[inx] = '';\n console.log(\"address\",data)\n this.qustcat.getStateWiseCities(data.state).subscribe(res=>{\n if(res.dataStatus== true){\n console.log(\"state\",res)\n this.cityArr=res.records.cities\n this.pinArr = res.records.pincode;\n let selectedAddressType = this.m_address_type.filter(element => element.address_type_id == data.address_type)[0];\n let selectedState = this.m_state_for_address.filter(element => element.state_id == data.state)[0];\n let selectedCity = this.cityArr.filter(element => element.city_id == data.city)[0]; \n let selectedPincode = this.pinArr.filter(element => element.pincode_id == data.pincode)[0];\n \n console.log(selectedCity)\n \n if(selectedAddressType != '' && selectedAddressType != undefined){\n this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n console.log('this.addressType',this.addressType);\n }\n else{\n this.addressType=''\n }\n let address = data.address + ' , ' + selectedCity.city_name + ','+selectedState.name +'-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode);\n \n \n // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\n // let address = data.address;\n // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\n \n this.placeholderName[inx] = 'Was any business activity seen at the '+this.addressType+' during PD visit?';\n //console.log(this.placeholderName)\n let addressLabel = \" : \"+address+' / '+this.addressType ;\n console.log(\"dd\",addressLabel)\n let values={\n address_label:addressLabel,\n business_years: '',\n business_month: '',\n business_address_availability: '',\n business_is_pd_visited: '',\n business_pd_visited_remark: '', \n business_approximate_market_value: '',\n business_ownership_type: '',\n business_monthly_rented_amt: '',\n business_name_of_the_owner: '',\n business_name_of_the_other_owner: '',\n business_vintage: '',\n business_purchase_year: '',\n business_emi: ''\n }\n console.log('this.addressType',this.addressType);\n control.push(this.initBusinessDetailsWithdata(values));\n }\n })\n\n })\n \n }\n else{\n control.push(this.initBusinessDetails())\n }\n }\n else{\n control.push(this.initBusinessDetails());\n }\n });\n }\n getDropDown(){\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\n })\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\n data => {\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\n })\n \n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\n \n })\n\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\n })\n\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\n if(data.dataStatus){\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\n \n }\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 this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\n\n }\n })\n this.qustcat.getcommondrop('STATE').subscribe(data=>{\n this.m_state_for_address = data['records'].filter(val=>val.isactive ==1 )\n })\n\n \n \n }\n apiLoadFinish:boolean=false\n getDetails(){\n let params:any={};\n params.parent_pdid=this.pdDetails.parent_pd_id\n params.pd_id=this.pdDetails.pd_id\n params.company_id=this.company_id\n params.pd_form_id=22\n this.qustcat.retiverForm(params).subscribe(res=>{\n \n if(res['dataStatus']==true){\n \n //this.data_all=res['records']\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\n return res['records'].business_assets_details[key]\n });\n \n //this.formLoadData(assestArray)\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\n if(assestArray.length>0){\n for(let val of assestArray){\n let formData={\n business_assets_mode: val.business_assets_mode,\n business_approximate_market_value: val.business_approximate_market_value,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\n }\n }*/\n this.formLoadData(res['records'])\n }\n\n \n else{\n this.formLoadData(null);\n }\n this.apiLoadFinish=true\n \n \n })\n //this.formLoadData(null);\n \n }\n \n formLoadData(data){\n if(data==null){\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n \n business_assets_for_address: this.fb.array([]),\n //this.createBusinessAssetsForAddress(),\n business_assets_details : this.fb.array([\n this.initBusinessDetails(),\n ]),\n business_assets_form_remark:['']\n });\n this.getAddress();\n this.loadDetails=true;\n }\n else{\n \n let value=data;\n this._businessAssetsQuesFrom=this.fb.group({\n parent_pdid:[this.pdDetails.parent_pd_id],\n pdid: [this.pdDetails.pd_id],\n /* formid: ['22'],*/\n formid: [this.formDetails.form_id],\n company_id : [this.company_id],\n fk_createdby:[this.users],\n // business_years:[value.business_years],\n // business_month:[value.business_month],\n // business_address_availability:[value.business_address_availability],\n // business_is_pd_visited:[value.business_is_pd_visited],\n // business_pd_visited_remark:[value.business_pd_visited_remark],\n business_assets_for_address: this.fb.array([]),\n business_assets_details : this.fb.array([]),\n business_assets_form_remark:[value.business_assets_form_remark || '']\n });\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\n \n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\n // }\n // else {\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n // control.push(this.createBusinessAssetsForAddress());\n // } \n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\n }\n\n this.loadDetails=true\n }\n\n initBusinessDetails(){\n return this.fb.group({\n address_label:[''],\n business_assets_mode:[''],\n business_details: this.fb.array([]),\n \n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n \n business_approximate_market_value: [''],\n business_ownership_type:[''],\n business_monthly_rented_amt:[''],\n business_name_of_the_owner: [],\n business_name_of_the_other_owner: [],\n business_vintage: [''],\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [''],\n \n })\n }\n loadProperty() {\n return this.fb.group({\n property_type: [''],\n other_property_type: [''],\n address_of_the_property: ['']\n });\n }\n load_Four_Weeler() {\n return this.fb.group({\n manufacturer_model_vehicle: [''],\n vehicle_type: [''],\n other_vehicle_type: ['']\n });\n }\n loadEquipmentManufacturingDescription() {\n return this.fb.group({\n equipment_manufacturing_description: ['']\n });\n }\n otherBusinessAssetsDescription() {\n return this.fb.group({\n any_other_assets: ['',Validators.compose([Validators.required])],\n any_other_asset_value : [''],\n any_other_asset_loan : [''], \n });\n }\n\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n addAssetDetails(e) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetails());\n \n }\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\n removeAssetsDetails(i: number) {\n \n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.removeAt(i);\n\n}\n\ncreateBusinessAssetsForAddress(): FormGroup {\n return this.fb.group({\n address_label:[''],\n business_years:[''],\n business_month:[''],\n business_address_availability:[''],\n business_is_pd_visited:[''],\n business_pd_visited_remark:[''],\n\n business_approximate_market_value: [''],\n business_ownership_type: [''],\n business_monthly_rented_amt: [''],\n business_name_of_the_owner: [''],\n business_name_of_the_other_owner: [''],\n business_vintage: [''],\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: ['']\n });\n}\n\n selectedAssetsType(e: any, i: any): void {\n let val = i;\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n arr.controls.splice(0);\n \n switch (e.value) {\n case '1': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescription());\n break;\n }\n case '2': {\n let val = i;\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadProperty());\n break;\n }\n case '3': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_Weeler());\n break;\n }\n case '4': {\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescription());\n break;\n }\n \n default: {\n break;\n }\n }\n }\n\n loadPropertyWithData(data) { \n return this.fb.group({\n property_type: [data.property_type],\n other_property_type: [data.other_property_type],\n address_of_the_property: [data.address_of_the_property],\n });\n }\n load_Four_WeelerWithData(data){\n return this.fb.group({\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\n vehicle_type: [data.vehicle_type],\n other_vehicle_type: [data.other_vehicle_type]\n })\n }\n\n loadEquipmentManufacturingDescriptionWithData(data) {\n return this.fb.group({\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\n });\n }\n otherBusinessAssetsDescriptionWithData(data) {\n return this.fb.group({\n any_other_assets: [data.any_other_assets],\n any_other_asset_loan : [data.any_other_asset_loan],\n });\n }\n\n loadDetails:boolean\n addBusinessAssetsForAddress(data) {\n console.log(\"add business\")\n var result = Object.keys(data).map(function (key) {\n return data[key];\n });\n if (result.length > 0) {\n result.forEach((datas, index) => {\n //this.placeholderName[index]=datas.address_label.split('/')\n // console.log(datas.address_label.split('/'))\n // console.log(datas.address_label.split('/')[0])\n if(datas.address_label != null && datas.address_label !=''){\n let splitted=datas.address_label.split('/')[1]\n this.placeholderName[index]='Was any business activity seen at the '+splitted+' during PD visit?';\n this.addressType = splitted;\n }\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\n let Avaliablity = 1;\n \n if(datas.business_name_of_the_owner.length > 0){\n datas.business_name_of_the_owner.forEach(option => {\n if(option.id == 0 && option.group_id == 2){\n Avaliablity = option.id;\n }\n });\n }\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\n });\n\n for (let val of result) {\n \n let vals = {\n address_label:val.address_label,\n business_years:val.business_years,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type: val.business_ownership_type,\n business_monthly_rented_amt: val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_vintage: val.business_vintage,\n business_purchase_year: val.business_purchase_year,\n business_emi: val.business_emi\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddressWithData(vals));\n }\n } else {\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.push(this.createBusinessAssetsForAddress());\n }\n }\n addBusinessAssetsDetailsWithData(supp_data){\n var result=Object.keys(supp_data).map(function(key){\n return supp_data[key];\n })\n \n if(result.length>0){\n console.log(\"length >0\")\n result.forEach((datas,index)=>{\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\n });\n for(let val of result){\n let formData={\n address_label:val.address_label,\n business_assets_mode: val.business_assets_mode,\n\n business_years:val.business_year,\n business_month:val.business_month,\n business_address_availability:val.business_address_availability,\n business_is_pd_visited:val.business_is_pd_visited,\n business_pd_visited_remark:val.business_pd_visited_remark,\n\n business_approximate_market_value: val.business_approximate_market_value,\n business_ownership_type:val.business_ownership_type,\n business_monthly_rented_amt:val.business_monthly_rented_amt,\n business_name_of_the_owner: val.business_name_of_the_owner,\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\n business_purchase_year: val. business_purchase_year,\n business_vintage : val.business_vintage,\n business_emi: val.business_emi,\n };\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.push(this.initBusinessDetailsWithdata(formData));\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\n }\n \n }\n this.loadDetails=true\n }\n\n createBusinessAssetsForAddressWithData(data): FormGroup {\n return this.fb.group({\n address_label:[data.address_label],\n business_years:[data.business_years],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type: [data.business_ownership_type],\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\n business_vintage: [data.business_vintage],\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n business_emi: [data.business_emi]\n });\n }\n\n initBusinessDetailsWithdata(data) {\n \n\n let formGroup= this.fb.group({\n address_label:[data.address_label],\n business_assets_mode: [data.business_assets_mode],\n \n business_years:[data.business_year],\n business_month:[data.business_month],\n business_address_availability:[data.business_address_availability],\n business_is_pd_visited:[data.business_is_pd_visited],\n business_pd_visited_remark:[data.business_pd_visited_remark],\n\n business_details: this.fb.array([]),\n business_approximate_market_value: [data.business_approximate_market_value],\n business_ownership_type : [data.business_ownership_type],\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\n business_name_of_the_owner: [data.business_name_of_the_owner],\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\n // relation: [data.relation || ''],\n business_vintage: [data. business_vintage],\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\n // purchase_month: [data.purchase_month],\n business_emi: [data.business_emi || ''],\n });\n return formGroup;\n }\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\n \n let val = i;\n let data = datas;\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\n control.controls.splice(0);\n\n switch (assets_details_mode) {\n case '2': {\n let business_property_datas : any;\n data.forEach((datas,i) => {\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 };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadPropertyWithData(business_property_datas));\n break;\n }\n case '3': {\n let business_Four_Weeler_datas : any;\n data.forEach((datas,i) => {\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\n break;\n }\n case '4': {\n let equipment_manufacturing_description_datas : any;\n data.forEach((datas,i) => {\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\n break;\n }\n \n case '1': {\n let array_datas : any;\n data.forEach((datas,i) => {\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\n array_datas = {\n 'any_other_assets': datas.any_other_assets,\n // 'any_other_asset_value': datas.any_other_asset_value,\n 'any_other_asset_loan': datas.any_other_asset_loan,\n };\n });\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\n break;\n }\n default: {\n break;\n }\n }\n }\n\n public paymentModeTextBox: number;\n selectedPM(e) {\n this.paymentModeTextBox = e.value;\n // this.f.supplier_details.controls.get('payment_mode_value');\n }\n\n public freqPurchaseTextBox: number;\n selectedFreqPurchase(e) {\n this.freqPurchaseTextBox = e.value;\n }\n \n\n onSubmit(){\n //console.log(\"Remarks\",this.focusRemark);\n if(!this._businessAssetsQuesFrom.valid){\n this.toast.pdTriggerappmessage(\"Please Fill the Required Field\")\n this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(element=>{\n console.log(element)\n if(element.business_address_availability != 'no' && element.business_pd_visited_remark ==''){\n this.focusRemark.nativeElement.focus()\n }\n })\n return;\n }\n \n var answerData=this._businessAssetsQuesFrom.value;\n \n //To Remove The \"Null\" With Key also\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\n\n this.qustcat.saveForm(answerData).subscribe(result=>{\n if(result['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\n }\n })\n \n }\n // calculate vintage and purchase {}\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\n if (type == 1) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 2) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n if (type == 3) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\n }\n else if (type == 4) {\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\n }\n }\n\n\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n\n // // check others\n checkOthers(values){\n if(values.length > 0) {\n // return values.id==0 ? true : false;\n let Avaliablity = 1;\n values.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n return Avaliablity == 0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n\n\n setRequiredValidation(value, item, flag,i) {\nif(flag== 11){\n if(value == 'yes'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n }\n else if(value == 'no'){\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n}\n if (flag == 1) {\n if (value == 'yes') {\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\n }\n else {\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\n }\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\n \n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\n\n\n }\n // if(flag == 2){\n // value==1\n // ? item.controls.premises_type_others.setValidators([Validators.required])\n // : item.controls.premises_type_others.clearValidators();\n // item.controls.premises_type_others.updateValueAndValidity();\n // }\n if (flag == 3) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n if (flag == 4) {\n let Avaliablity = 1;\n value.forEach(option => {\n if(option.id == 0 && option.group_id == 2){ \n Avaliablity = option.id;\n }\n });\n if(Avaliablity == 0){\n \n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n this.isOtherOwner = true;\n }else{\n \n item.controls.business_name_of_the_other_owner.setValue('');\n item.controls.business_name_of_the_other_owner.clearValidators();\n this.isOtherOwner = false;\n }\n \n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n\n // value == 0\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\n // : item.controls.business_name_of_the_other_owner.clearValidators();\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n }\n if (flag == 5) {\n value == 1\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\n : item.controls.other_vehicle_type.clearValidators();\n item.controls.other_vehicle_type.updateValueAndValidity();\n }\n if (flag == 6) {\n value == 1\n ? item.controls.other_property_type.setValidators([Validators.required])\n : item.controls.other_property_type.clearValidators();\n item.controls.other_property_type.updateValueAndValidity();\n\n value != ''\n ? item.controls.address_of_the_property.setValidators([Validators.required])\n : item.controls.address_of_the_property.clearValidators();\n item.controls.address_of_the_property.updateValueAndValidity();\n }\n if (flag == 7) {\n if (value == 'owned') {\n item.controls.business_monthly_rented_amt.clearValidators();\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\n }\n else {\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\n item.controls.business_name_of_the_owner.clearValidators();\n }\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\n item.controls.business_name_of_the_owner.updateValueAndValidity();\n }\n // if(flag == 8){\n // let Avaliablity = 1;\n // value.forEach(option => {\n // if(option.id == 0 && option.group_id == 2){\n \n // Avaliablity = option.id;\n // }\n // });\n // this.isOtherOwner = false;\n // if(Avaliablity == 0){\n \n // item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\n // this.isOtherOwnerForAddress = true;\n // }else{\n \n // item.controls.business_name_of_the_other_owner.setValue('');\n // item.controls.business_name_of_the_other_owner.clearValidators();\n // this.isOtherOwnerForAddress = false;\n // }\n \n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\n \n // }\n\n }\n /** To Convert Month into Year */\n ConvertMonthintoYear(e,ind){\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\n \n \n let converted_month : number = e%12;\n let converted_year : number = e/12;\n\n let Year = +business_year + +Math.floor(converted_year);\n \n if(Year > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }\n else{\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\n {\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\n \n }else{\n this.monthErrorMessage[ind] = '';\n this.yearErrorMessage[ind] = '';\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\n }\n }\n }\n\n checkWithExistBusinessYear(e,ind){\n \n if(+e > this.generalExistBusinessYear){\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\n \n }\n else{\n this.yearErrorMessage[ind] = '';\n }\n }\n\n\n inWords(e,i,flag){\n switch(flag){\n case 1:\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 : \n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 3:\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\n break;\n case 9:\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 10:\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n\n }\n }\n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustcat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n }\n changeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n }\n changeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n }\n removeImg(index){\n this.imageDisplay.splice(index,1);\n }\n removeImgForBucket(index){\n this.imageBucket.splice(index,1)\n }\n capture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n \n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustcat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('business_name_of_the_other_owner').value\n value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name));\n }\n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\n// import { QueryState } from '@angular/core/src/render3/interfaces';\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\nimport { Subject } from 'rxjs';\nimport {CameraProvider} from '../../../../providers/common-provider/camera'\nimport {LoadingProvider} from '../../../../providers/common-provider/loading'\n\n/**\n * Generated class for the PdQuestionBusinessBankingPage 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-business-banking',\n templateUrl: 'pd-question-business-banking.html',\n})\nexport class PdQuestionBusinessBankingPage {\npdDetails:any;\nm_btLenderList: any;\napplicants: any \nsalaryField: boolean;\nformDetails: any;\nform_id:any;\naccountType: any;\nusers: any;\nbankingForm:FormGroup;\npublic pd_cus_segment:string\ncompany_id:any;\n\npdid:any;\nitemRows:FormArray;\n\nexistCompanyList: any=[];\nmergeCompanyApplicant: any=[];\nstep:number\n amtInwords: any=[];\n emiAmtInwords: any=[];\n limitCaseFlag: any=[];\n generalExistBusinessYear: number;\n generalExistBusinessMonth:number\n yearErrorMessage: any=[];\n monthErrorMessage: any=[];\n m_btLenderListValue:any=[]\n protected _onDestroy = new Subject();\n imageDisplay: any[];\n imageBucket: any=[];\n tab: string='0';\n complete_status: boolean = false;\n constructor(public navCtrl: NavController, public navParams: NavParams,\n public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,\n public cons:ConstantsProvider,public toast:ToastProvider,private loading:LoadingProvider,\n private cameraProvider:CameraProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n \n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\n this.pdid=this.pdDetails.pd_id;\n this.formDetails=this.navParams.get('formDetails');\n this.form_id = this.formDetails.form_id;\n this.company_id=this.pdDetails.company_id\n \n this.applicants = this.pdDetails.applicat_details;\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \n this.generalExistBusinessMonth=this.pdDetails.business_month\n this.generalExistBusinessYear=this.pdDetails.business_years\n \n\n this.users = this.aws.getlocale();\n this.step=0\n this.bankingForm = this.fb.group(\n {\n itemRows:this.fb.array([]),\n banking_form_remark:[''],\n });\n \n \n \n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\n \n \n this.getdropdown();\n this.retiveBankDetails();\n\n //To checking Completed Status For CompleteList Menu\n this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false;\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\n this.getPDImages();\n }\n searchFun(control){\n if(!this.m_btLenderListValue){\n return\n }\n let searchVal=control.controls['filterCtrl'].value\n if(!searchVal){\n this.m_btLenderListValue=this.m_btLenderList.slice()\n return\n }\n else{\n searchVal=searchVal.toLowerCase();\n this.m_btLenderListValue=this.m_btLenderList.filter(val=>val.lender_name.toLowerCase().indexOf(searchVal)>-1)\n }\n }\n getdropdown(){\n \n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\n {\n if(res['dataStatus']==true)\n {\n this.accountType=res['records'];\n }\n });\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\n data => {\n if(data['dataStatus']==true){\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\n this.m_btLenderListValue=this.m_btLenderList.slice();\n }\n });\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\n \n if(data['dataStatus']==true){\n this.existCompanyList=data['records'].filter(val =>val.is_active===true) /*&& val.is_company_applicant===true*/\n \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 this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\n \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 this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \n \n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\n }\n }\n \n checkWithExistBusinessYear(itemrow,e, i) {\nconsole.log(this.generalExistBusinessYear)\n if (+e > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n }\n else {\n this.yearErrorMessage[i] = '';\n }\n }\n compareObjects(o1: any, o2: any) {\n if(o1.id == o2.id && o1.group_id == o2.group_id)\n return true;\n else return false\n }\n checkOthers(values){\n if(values!=null) {\n return values.id==0 ? true : false;\n }\n else {\n return false;\n }\n \n }\n selectedAccTypeChanges(event: any,i){\n \n if(event == 2 || event == 1) {\n this.limitCaseFlag[i] = false;\n \n // const control = this.bankingForm.controls['itemRows'];\n \n // control.controls[0].get('limit').clearValidators();\n // control.controls[0].get('limit').updateValueAndValidity();\n \n }\n else{\n this.limitCaseFlag[i] = true;\n }\n\n}\n /** To Convert Month into Year */\n ConvertMonthintoYear(itemrow, e,i) {\n console.log(this.generalExistBusinessMonth)\n\n\n let year = itemrow.controls.vintage_year.value;\n\n let converted_month: number = e % 12;\n let converted_year: number = e / 12;\n let Year = +year + +Math.floor(converted_year);\n \n if (Year > this.generalExistBusinessYear) {\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n\n }\n else {\n if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\n this.monthErrorMessage[i] = \"Higher than Business Vintage\";\n itemrow.controls.vintage_year.setValue('');\n itemrow.controls.vintage_month.setValue('');\n console.log(this.monthErrorMessage[i])\n\n } else {\n this.monthErrorMessage[i] = '';\n this.yearErrorMessage[i] = '';\n itemrow.controls.vintage_year.setValue(Year);\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\n }\n }\n\n\n}\n /** Amount InWords */\n inWords(e,i,flag){\n switch(flag){\n case 1 : \n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n case 2 :\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\n break;\n default:\n break;\n }\n }\n\n setRequiredValidation(value,item,flag) {\n \n \n if(flag == 1){\n value==0\n ? item.controls.other_applicant.setValidators([Validators.required])\n : item.controls.other_applicant.clearValidators();\n item.controls.other_applicant.updateValueAndValidity();\n }\n if(flag == 2){\n value==1\n ? item.controls.other_bank.setValidators([Validators.required])\n : item.controls.other_bank.clearValidators();\n item.controls.other_bank.updateValueAndValidity();\n }\n \n }\n\n createBankItem(name) {\n \n return this.fb.group({\n applicant_name: [''],\n \n bank_name: [''],\n filterCtrl:[''],\n account_type: [''],\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\n limit: [''],\n other_bank:[''],\n other_applicant:[''],\n is_main: [''],\n vintage_year: [''],\n vintage_month: [''],\n \n });\n\n }\n addBankDetails(index,event) {\n // if(this.pd.valid){\n \n // if(this.items.length !=0)\n // {\n // this.neighbourAccess = true;\n // }\n \n event.stopPropagation()\n const control = this.bankingForm.controls['itemRows'];\n let length = control.length;\n this.step = length;\n \n control.push(this.createBankItem(''));\n \n \n \n }\n\n addmoreBankDetils()\n {\n \n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\n \n this.itemRows.push(this.createBankItem('')); \n }\n\n removebank(i){\n const control = this.bankingForm.controls['itemRows'];\n if(control.length==1){\n control.reset();\n }\n else\n \n \n control.removeAt(i);\n }\n \n setStep(index: number) {\n this.step = index;\n }\n\n retiveBankDetails(){\n let records = {'parent_pdid':this.pdDetails.parent_pd_id,'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\n const control = this.bankingForm.controls['itemRows'];\n this.qustCat.retiverForm(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n var result = Object.keys(res['records'].banking_details).map(function(key) {\n return res['records'].banking_details[key];\n });\n \n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\n \n \n if(result.length == 0){\n \n control.push(this.createBankItem(''))\n }else\n {\n \n result.forEach((datas,index)=>\n {\n datas.filterCtrl=''\n this. selectedAccTypeChanges(datas.account_type,index);\n if(datas.limit != ''){\n \n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \n }\n this. selectedAccTypeChanges(datas.account_type,index);\n control.push(this.createBankItem(''));\n })\n \n this.bankingForm.controls['itemRows'].setValue(result);\n } \n }else\n {\n \n control.push(this.createBankItem(''));\n }\n });\n \n }\n\n savepdBank(answerData)\n {\n answerData.itemRows.forEach(element=>{\n delete element.filterCtrl\n })\n console.log(\"logs\",answerData)\n let records: any = {};\n records.parent_pdid=this.pdDetails.parent_pd_id\n records.pdid = this.pdDetails.pd_id;\n records.formid = this.form_id;\n records.fk_createdby = this.users;\n records.company_id=this.company_id;\n records.banking_details = answerData.itemRows;\n records.banking_form_remark = answerData.banking_form_remark;\n \n this.qustCat.saveForm(records).subscribe(data => {\n \n if(data['dataStatus']==true)\n {\n this.bankingForm.markAsUntouched();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n setTimeout(()=>{\n this.navCtrl.pop();\n },2000);\n }\n else{\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\n }\n })\n \n }\n \n /*IMAGE SECTION*/\n getPDImages(){\n //FOR RETRIEVING PICTURES\n this.imageDisplay=[]\n let record_for_pic = {'pd_id':this.pdDetails.pd_id,'form_id':this.formDetails.form_id,'company_id':this.pdDetails.company_id}\n this.qustCat.getPDImages(record_for_pic).subscribe(val=>{\n if(!val['msg']){\n console.log(val['records'])\n if(val['records'].length>0){\n val['records'].forEach(result=>{\n this.imageDisplay.push({'image':result.doc_url,'Name':result.pd_document_title,'option':'dummy'})\n })\n console.log(\"imageBuck\",this.imageDisplay);\n }\n }\n })\n}\nchangeName(value,index,img){\n console.log(value);\n this.imageDisplay[index]={'image':img,'Name':value}\n \n}\nchangeNameForBucket(value,index,img){\n this.imageBucket[index]={'image':img,'Name':value}\n}\nremoveImg(index){\n this.imageDisplay.splice(index,1);\n}\nremoveImgForBucket(index){\n this.imageBucket.splice(index,1)\n}\ncapture(){\n //FOR CAPTURING PICS\n this.cameraProvider.getpicture().then(res=>{\n console.log(\"Value\",res)\n if(res != 'error'){\n this.imageBucket.push({'image':res,'Name':''});\n //FOR GETTING THE DOC NAME FROM ALERT\n let alert =this.toast.setAlertForDocName()\n alert.present()\n alert.onDidDismiss(value=>{\n console.log(\"alert value\",value);\n if(value){\n this.imageBucket[this.imageBucket.length-1].Name=value.Name\n }\n })\n }\n },error=>{\n console.log(\"Camera Error \",JSON.stringify(error));\n })\n this.tab='1';\n\n\n }\n sendImage(){\n this.loading.loaderForSendImage()\n console.log(\"ll\",JSON.stringify(this.imageBucket));\n let records:any={\n 'pd_id':this.pdDetails.pd_id,\n 'formid':this.formDetails.form_id,\n 'images':this.imageBucket,\n 'company_id':this.pdDetails.company_id\n }\n console.log(\"records\",JSON.stringify(records))\n \n this.qustCat.savePDImages(records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.toast.pdTriggerappmessage(\"Image Saved Successfully\")\n this.imageBucket=[]\n this.getPDImages();\n }\n else{\n this.toast.pdTriggerappmessage('Fail');\n }\n })\n }\n changeSentence(value){\n console.log(\"val\",value)\n let name=value.get('other_applicant').value\n value.get('other_applicant').setValue(this.cons.sentenceCase(name));\n }\n \n\n}\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';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { CameraProvider } from '../../providers/common-provider/camera';\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\nimport { ToastProvider } from '../../providers/common-provider/toast';\n\n/**\n * Generated class for the PdGeneralImagesPage 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-general-images',\n templateUrl: 'pd-general-images.html',\n})\nexport class PdGeneralImagesPage {\n\n cameraArr:any = [];\n applicatentDetails: any;\n count:any = 0;\n saveAccess:boolean =false;\n FormId:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\n\n this.applicatentDetails = this.navParams.get('pdDetails');\n this.FormId = this.navParams.get('FormId');\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdGeneralImagesPage');\n }\n \n takePicture()\n {\n this.camera.getpicture().then(image=>\n {\n this.count = this.count+1;\n \n this.cameraArr.push({'image':image,'name':''});\n });\n }\n\n removeimage(i)\n {\n this.count = this.count - 1; \n this.cameraArr.splice(i,1);\n }\n\n docnames(doc,i,img)\n {\n \n this.cameraArr[i] = {'image':img,'Name':doc};\n // console.log(JSON.stringify(this.pddocdata)); \n }\n savePDImages()\n {\n \n this.saveAccess = true;\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\n records.images = this.cameraArr;\n this.qustCat.savePDImages(records).subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.saveAccess = false;\n this.navCtrl.pop();\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\n } \n })\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\nimport { PdListPage } from '../../pd-list/pd-list';\nimport {ToastProvider} from '../../../providers/common-provider/toast'\n\n/**\n * Generated class for the BouncedRejectPage 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-bounced-reject',\n templateUrl: 'bounced-reject.html',\n})\nexport class BouncedRejectPage {\n\n users: any;\n bounseMaster: any;\n pdDetails: any;\n status: any;\n bounce_reason:any;\n bounce_reason_others:any = '';\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\n // this.pdDetails = this.navParams.get('appdetails');\n // this.status = this.navParams.get('status');\n this.pdDetails=this.navParams.get('details')\n // console.log(this.pdDetails)\n this.users = this.aws.getlocale();\n this.getDropdown();\n \n }\n\n getDropdown()\n {\n \n \n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\n {\n if(res['dataStatus']==true){\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\n console.log(this.bounseMaster);\n }\n })\n \n }\n updatePDStatus()\n {\n if(this.bounce_reason !=null && this.bounce_reason !=1)\n {\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};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\n {\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};\n // console.log(this.bounce_reason)\n // console.log(this.bounce_reason_others);\n console.log(data);\n this.toast.pdTriggerappmessage(\"Thank You\");\n this.pdservice.updatepdStatus(data).subscribe(res=>\n {\n // this.updateStatus = res;\n if(res['dataStatus'] == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n \n \n\n else{\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../providers/question-category/question-category'\nimport { FormGroup,FormBuilder, Validators } from '@angular/forms';\nimport{AwsServiceProvider} from '../../providers/aws-service/aws-service'\nimport {PdtriggerProvider} from '../../providers/pdtrigger/pdtrigger'\nimport {ToastProvider} from '../../providers/common-provider/toast'\n\n\n/**\n * Generated class for the MapAddressPage 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-map-address',\n templateUrl: 'map-address.html',\n})\nexport class MapAddressPage {\n cus_seg:any=[]\n addressMapping:FormGroup\n mobileDisable:boolean=false;\n master:any=[]\n addressData:any=[]\n applicants:any=[]\n pageTitle=\"Choose customer segment For this PD address\"\n constructor(public navCtrl: NavController, public navParams: NavParams,private qustCat:QuestionCategoryProvider,\n private fb:FormBuilder,private aws:AwsServiceProvider,private pdTrigger:PdtriggerProvider,private toast:ToastProvider) {\n\nthis.master=this.navParams.get('master')\nthis.addressData=this.navParams.get('address')\nthis.applicants=this.navParams.get('applicants')\nconsole.log(\"d\",this.master,'kd',this.applicants,'dks',this.applicants);\n this.addressMapping=this.fb.group({\n fk_customer_segment:[''],\n pd_co_applicant_id:[''],\n mobile_no:['']\n })\n this.dropDown();\n\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad MapAddressPage');\n }\n updateMobile(data){\n \n let mobile=this.applicants.filter(val=>val.pd_co_applicant_id==data.pd_co_applicant_id).map(val=>val.mobile_no)[0]\n console.log(mobile)\n if(mobile != '' && mobile != null){\n this.addressMapping.controls['mobile_no'].setValue(mobile)\n this.addressMapping.controls['mobile_no'].clearValidators();\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=true\n }\n else{\n\n this.addressMapping.controls['mobile_no'].setValue('')\n this.addressMapping.controls['mobile_no'].setValidators(Validators.compose([Validators.required]));\n this.addressMapping.controls['mobile_no'].updateValueAndValidity();\n this.mobileDisable=false\n }\n }\n dropDown(){\n this.qustCat.getCustomersDetails().subscribe(res=>{\n if(res['dataStatus']== true){\n this.cus_seg=res['records']\n }\n })\n }\n cancel(){\n this.navCtrl.pop();\n }\n submit(values){\n if(this.addressMapping.invalid){\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields\");\n return;\n }\n let update_records={\"pd_id\":null,\"parent_pd_id\":this.master.parent_pd_id,\"fk_address_id\":this.addressData.pd_address_id,\"pd_status\":\"ACCEPTED\",\"fk_updatedby\":this.aws.getlocale(),\n \"fk_customer_segment\":values.fk_customer_segment,\n \"pd_co_applicant_id\":values.pd_co_applicant_id,\n \"mobile_no\":values.mobile_no\n }\n console.log(\"update\",update_records);\n this.pdTrigger.updatepdStatus(update_records).subscribe(res=>{\n if(res['dataStatus']==true){\n this.toast.pdTriggerappmessage(\"Saved Successfully..\");\n this.navCtrl.pop();\n }\n else{\n this.toast.pdTriggerappmessage(\"Something went wrong!!\")\n }\n },err=>{\n console.log(\"Error\",JSON.stringify(err))\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map-address/map-address.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdListPage } from '../pd-list/pd-list';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the PasswordPage 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-password',\n templateUrl: 'password.html',\n})\nexport class PasswordPage {\n commonImage: string;\n newpassword: any;\n confirmPassword: any;\n pin:any;\n Username:any;\n Password:any;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\n this.commonImage = this.commonconstant.commonimage;\n this.Username = this.navParams.get('Username');\n this.Password = this.navParams.get('Password');\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PasswordPage');\n }\n setNewPassword(newpass)\n {\n if(newpass !='' && newpass !=null && newpass !== undefined){\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\n console.log(auth);\n this.aws.dologin(auth).subscribe(res => {\n console.log(res);\n this.navCtrl.setRoot(PdListPage);\n // this.router.navigate(['/home']);\n }, err => {\n this.toast.pdTriggerappmessage(err.message);\n // alert(err.message);\n })\n }else\n {\n this.toast.pdTriggerappmessage('Enter the new Password');\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\n\nimport { PdListPage } from '../pd-list/pd-list';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { ToastProvider } from '../../providers/common-provider/toast';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\n\nimport { LoadingProvider } from '../../providers/common-provider/loading';\nimport { ConstantsProvider } from '../../providers/constants/constants';\n/**\n * Generated class for the AuthPage 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-auth',\n templateUrl: 'auth.html',\n})\nexport class AuthPage {\n pinAccess: any;\n newpindetails: any;\n userDetails: any;\npin:any;\n mpinaccess:boolean =false;\n newpassword:any;\n ConfirmPassword:any;\n commonImage:any;\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) {\n this.commonImage = this.commonconstant.commonimage;\n this.shared.refresh();\n this.getuserDetails();\n \n\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad AuthPage');\n }\n ionViewDidEnter(){\n this.Menu.enable(false);\n }\n ionViewWillLeave(){\n this.Menu.enable(true);\n }\n getuserDetails()\n {\n this.loadingCtrl.pdloader('loading...');\n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.loadingCtrl.loading.dismiss();\n this.userDetails = this.userDetails.records;\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\n if(this.userDetails[0].mpin ==null)\n {\n \n this.mpinaccess = true;\n \n }else\n {\n this.mpinaccess = false;\n }\n }else{\n \n this.toast.pdTriggerappmessage('This App only for PD Officers');\n localStorage.clear();\n }\n }else{\n this.toast.pdTriggerappmessage('')\n }\n //console.log(this.mpinaccess);\n });\n }\n setnewpin(newpin)\n {\n console.log(\"set Pin\")\n this.aws.userpinupdate(newpin).subscribe(res=>\n {\n this.newpindetails = res;\n if(this.newpindetails.dataStatus == true)\n {\n this.navCtrl.setRoot(PdListPage); \n }\n })\n }\n /**Finger print */\n \n checkpin(pin) {\n console.log(\"Check pin\",pin);\n if(pin !='' && pin !=null)\n {\n if(this.userDetails[0].mpin == pin)\n {\n console.log(\"Entering List page\")\n this.navCtrl.setRoot(PdListPage);\n }else\n {\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\n }\n }else\n {\n this.toast.pdTriggerappmessage('Enter The PIN');\n }\n\n \n \n }\n checkfingerprint()\n {\n console.log(\"Check Finger\");\n this.faio.show({\n clientId: 'Fingerprint-Demo',\n clientSecret: 'password', // Only Android\n localizedFallbackTitle: 'Use Pin', // Only iOS\n localizedReason: 'Please authenticate',\n disableBackup:true,\n })\n .then((result: any) => {\n this.navCtrl.setRoot(PdListPage);\n })\n .catch((error: any) => {\n this.toast.pdTriggerappmessage('err: '+ error);\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { InputPage } from '../input/input';\n\n/**\n * Generated class for the CompleteListPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n//@IonicPage()\n@Component({\n selector: 'page-complete-list',\n templateUrl: 'complete-list.html',\n})\nexport class CompleteListPage {\n // random_ng_past(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n // random_bg_color(): any {\n // throw new Error(\"Method not implemented.\");\n // }\n aws: any;\n pdlistaccess: boolean;\n pdofficer: any;\n pdlistdetails: any = [];\n pdschduleDetails: any;\n searchpast: any;\n pdcomplete: any=[];\n searchcomplete: any;\n bgColorPast: any = [];\n bgColor: any = [];\n viewchange: boolean;\n pdlist:any = \"0\";\n\n \n constructor(public navCtrl: NavController, public navParams: NavParams,public awsservice:AwsServiceProvider,public PdtriggerProvider:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad CompleteListPage');\n\n this.db.getuserDetails();\n \n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n \n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdcomplete = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.awsservice.getlocale();\n //.log(\"User\",userid)\n // this.pdlistaccess = true;\n\n this.PdtriggerProvider.getpddetails(userid).subscribe(res=>\n {\n console.log('res',res);\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \n \n // this.searchpast = this.pdschduleDetails;\n \n this.pdcomplete = this.pdlistdetails.records.filter(complete=>complete.pd_status == \"COMPLETED\");\n this.searchcomplete = this.pdcomplete;\n \n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n random_bg_color() {\n for(let id of this.pdcomplete){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n \n PdAllocation(pddetails)\n {\n \n if(pddetails.pd_status == 'COMPLETED')\n {\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/complete-list/complete-list.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\nimport { enableProdMode } from '@angular/core';\nenableProdMode();\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\nimport { ErrorHandler, NgModule } from '@angular/core';\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\n\nimport { MyApp } from './app.component';\n\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\nimport { SQLite } from '@ionic-native/sqlite';\nimport { DatabaseProvider } from '../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\nimport {MapAddressPage} from '../pages/map-address/map-address'\n\nimport {\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule\n} from '@angular/material';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { AuthGuard } from '../providers/_guard/auth.guard';\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { ConstantsProvider } from '../providers/constants/constants';\nimport { AuthPage } from '../pages/auth/auth';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\nimport { PasswordPage } from '../pages/password/password';\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\nimport { InputPage } from '../pages/input/input';\nimport { ToastProvider } from '../providers/common-provider/toast';\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\n\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\nimport { OtpPage } from '../pages/otp/otp';\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\n\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\nimport { CameraProvider } from '../providers/common-provider/camera';\nimport { LoadingProvider } from '../providers/common-provider/loading';\nimport { Camera } from '@ionic-native/camera';\n\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\n\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\nimport { Geolocation } from '@ionic-native/geolocation';\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\n// import { DatePicker } from '@ionic-native/date-picker';\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\n\nimport { PdQuestionBusinessPage } from '../pages/pd-question/pd-question-business/pd-question-business'\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\nimport { PdPipe } from '../pipes/pd/pd';\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\nimport { NgxMatSelectSearchModule} from 'ngx-mat-select-search'\nimport { ContentLoaderModule } from '@netbasal/content-loader';\nimport {PdQuestionAssessedDailyPurchasePage} from '../pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase'\nimport {RupeeCurrencyFormatPipe} from '../pipes/rupee-currency-format/rupee-currency-format'\nimport {PdQuestionAssessedImagesPage} from '../pages/pd-question/pd-question-assessed-images/pd-question-assessed-images'\n// import {PipesModule} from '../pipes/pipes.module'\nimport {IonicStorageModule} from '@ionic/storage'\nimport { StorageProvider } from '../providers/storage/storage';\nimport {PdQuestionRentalDashPage} from '../pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash'\nimport {CacheModule} from 'ionic-cache'\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\n\n@NgModule({\n declarations: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n CompleteListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionBusinessPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n RupeeCurrencyFormatPipe,\n PdQuestionRentalDashPage,\n MapAddressPage\n // PipesModule\n \n ],\n imports: [\n BrowserModule,ReactiveFormsModule,FormsModule,\n IonicModule.forRoot(MyApp),\n BrowserAnimationsModule,\n MatAutocompleteModule,\n MatButtonModule,\n MatButtonToggleModule,\n MatCardModule,\n MatCheckboxModule,\n MatChipsModule,\n MatDatepickerModule,\n MatDialogModule,MatListModule,\n MatExpansionModule,\n MatGridListModule,\n MatIconModule,\n MatInputModule,\n MatListModule,\n MatMenuModule,\n MatNativeDateModule,\n MatPaginatorModule,\n MatProgressBarModule,\n MatProgressSpinnerModule,\n MatRadioModule,\n MatRippleModule,\n MatSelectModule,\n MatSidenavModule,\n MatSliderModule,\n MatSlideToggleModule,\n MatSnackBarModule,\n MatSortModule,\n MatTableModule,\n MatTabsModule,\n MatToolbarModule,\n MatTooltipModule,\n MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,\n ContentLoaderModule,\n IonicStorageModule.forRoot(),\n CacheModule.forRoot()\n \n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n AuthPage,\n LoginPage,\n PdListPage,\n PdQuestionCategoryPage,\n PdQuestionPage,\n GoogleplaytabPage,\n PasswordPage,\n CompleteListPage,\n PdAllocationPage,\n InputPage,\n OtpPage,\n PdQuestionAddressPage,\n PdQuestionAssestsPage,\n PdQuestionBankingPage,\n PdQuestionCurrentLoansPage,\n PdQuestionEmpInfoPage,\n PdQuestionFamilyPage,\n PdQuestionBusinessInfoPage,\n PdQuestionLoansPage,\n PdQuestionFinancialInfoPage,\n PdQuestionOtherIncomePage,\n PdQuestionSupplierInfoPage,\n PdQuestionPersonalInfoPage,\n PdQuestionStockInfoPage,\n PdQuestionClientInfoPage,\n PdQuestionRentalInfoPage,\n PdQuestionAssessedInfoPage,\n PdQuestionAssessedDailySalesPage,\n PdQuestionAssessedSalesPage,\n PdQuestionBusinessInfoPage,\n PdQuestionAssessedHouseholdPage,\n PdQuestionAssessedPurchasePage,\n PdQuestionAssessedDashPage,\n BouncedRejectPage,\n PdQuestionAssessedBusinessPage,\n PdQuestionLenderRepresentativePage,\n PdQuestionGeneralInfoPage,\n PdQuestionGeneralOtherApplicantPage,\n PdQuestionNeighbourHoodPage,\n PdQuestionFinalRemarkPage,\n PdQuestionBusinessPage,\n PdQuestionBusinessGroupPage,\n PdQuestionBusinessAssetsPage,\n PdQuestionBusinessBankingPage,\n PdQuestionAssessedBusinessIncomePage,\n PdGeneralImagesPage,\n PdQuestionSalaryInfoPage,\n PdQuestionAssessedSummaryPage,\n PdQuestionAssessedDailyPurchasePage,\n PdQuestionAssessedImagesPage,\n PdQuestionRentalDashPage,\n MapAddressPage\n \n ],\n providers: [\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,\n {\n provide:HTTP_INTERCEPTORS,\n useClass: TokenInterceptor,\n multi: true\n },\n {\n provide: ErrorHandler,\n useClass: IonicErrorHandler\n },LaunchNavigator,\n AwsServiceProvider,\n QuestionCategoryProvider,\n CameraProvider,Camera,\n PdPipe,LocationAccuracy,\n LoadingProvider,Geolocation,\n DatabaseProvider,\n StorageProvider\n \n ]\n})\nexport class AppModule {}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\nimport { Nav, Platform } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { LoginPage } from '../pages/login/login';\nimport { PdListPage } from '../pages/pd-list/pd-list';\nimport { MethodCall } from '@angular/compiler';\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\nimport { PasswordPage } from '../pages/password/password';\nimport { AuthPage } from '../pages/auth/auth';\nimport {AlertController} from 'ionic-angular'\nimport { platformBrowser } from '@angular/platform-browser';\nimport {CacheService} from 'ionic-cache'\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\nimport { CompleteListPage } from '../pages/complete-list/complete-list';\n\n\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n userDetails: any;\n userAccess:boolean = false;\n @ViewChild(Nav) nav: Nav;\n\n rootPage: any = LoginPage;\n public alertShown:boolean=false\n\n pages: Array<{title: string,icon:any, method: any}>;\n\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\n ,public alertCtrl:AlertController,cache:CacheService) {\n cache.setDefaultTTL(60*60)\n this.initializeApp();\n\n // used for an example of ngFor and navigation\n this.pages = [ \n // { title: 'Home', component: HomePage, icon: 'home' },\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)},\n { title: 'Complete List', icon: 'checkmark-circle',method:()=>this.menulist(3)}\n\n ];\n\n\n }\n\n initializeApp() {\n this.platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n this.statusBar.styleDefault();\n if (this.platform.is('android')) {\n this.statusBar.overlaysWebView(false);\n this.statusBar.backgroundColorByHexString('#db4437');\n \n }\n this.splashScreen.hide();\n\n this.shared.getAccessToken().then(()=>{\n this.getuserDetails();\n this.rootPage = AuthPage\n }).catch(()=>{\n setTimeout(() => {\n this.rootPage = LoginPage;\n }, 1000);\n });\n \n });\n this.platform.registerBackButtonAction(()=>{\n if(this.nav.length()==1){\n if(this.alertShown==false){\n //this.presentConfirm(); \n let alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n });\n alert.present();\n this.alertShown=true\n }\n }\n else{\n this.nav.pop()\n }\n });\n }\n\n presentConfirm(){\nlet alert=this.alertCtrl.create({\n title:'Confirm Exit',\n message:'Do You Want Exit ?',\n buttons:[\n {\n text:'Cancel',\n role:'cancel',\n handler:()=>{\n console.log(\"Cancel clicked\");\n // this.alertShown=false\n alert.dismiss\n }\n },\n {\n text:'Yes',\n handler:()=>{\n console.log(\"Exit\");\n this.platform.exitApp();\n }\n }\n ]\n});\n alert.present();\n // this.alertShown=true;\n }\n getuserDetails()\n {\n this.userDetails=''\n \n let userid = this.aws.getlocale();\n this.aws.getuserprofile(userid).subscribe(res=>{\n this.userDetails = res;\n if(this.userDetails.dataStatus == true)\n { \n this.userAccess = true;\n this.userDetails = this.userDetails.records[0];\n \n }\n \n });\n }\n menulist(id){\n //alert();\n switch(id)\n {\n case 1:\n this.nav.setRoot(PdListPage);\n break;\n case 2:\n this.AWS.logout().subscribe(()=>{\n this.nav.setRoot(LoginPage);\n });\n break;\n case 3:\n this.nav.setRoot(CompleteListPage);\n break;\n case 4:\n break;\n}\n}\n logout()\n {\n // this.aws.logout();\n this.nav.setRoot(LoginPage);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\n\n// import { CanActivateChild, Router } from '@angular/router';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\n\n// import { environment } from '../../environments/environment';\n\nimport { BehaviorSubject,Observable,of } from 'rxjs';\n\nconst sineedge_poolData = { \n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\n};\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"\",\n ClientId: \"\"\n}\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"\";\n// serviceProvider\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\n// const apiurl = \"http://localhost/sparqapi/api/\";\n\n@Injectable()\n\nexport class CognitoServiceProvider {\n public loggedIn :boolean = false;\n // public static _REGION = environment.region;\n\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\n // public static _USER_POOL_ID = environment.UserPoolId;\n // public static _CLIENT_ID = environment.ClientId;\n\n // public static _POOL_DATA: any = {\n // UserPoolId: CognitoService._USER_POOL_ID,\n // ClientId: CognitoService._CLIENT_ID\n // };\n \n\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\nisloggin:boolean = false; \n\n\n \n\n \n constructor() { \n \n }\n getCurrentUser() {\n \n return sineedgedevUserpool.getCurrentUser();\n}\n get isLoggedIn() {\n if(sineedgedevUserpool.getCurrentUser() !=null){\n this.loggedIn = true;\n }else{\n this.loggedIn = false;\n }\n return this.loggedIn; // {2}\n }\n \nrefresh() {\n let tokenexp:boolean;\n \n if(this.getCurrentUser() !=null){\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n }\n\n else {\n if (session.isValid()) {\n tokenexp = session.isValid();\n of(tokenexp)\n console.log(\"CognitoUtil: refreshed successfully\");\n \n } else {\n tokenexp = session.isValid();\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\n \n }\n }\n \n return tokenexp;\n \n });\n }else{\n this.loggedIn = false;\n }\n}\ngetAccessToken(){\n this.refresh();\n return new Promise((resolve, reject) => {\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n //console.log(JSON.stringify(this.getCurrentUser()));\n // console.log('76 if');\n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n jwttoken ='';\n // console.log('81 if')\n reject(err);\n }\n else {\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n resolve();\n } else {\n \n }\n }\n });\n }\n else {\n //console.log(\"else\");\n reject();\n }\n});\n}\n\ngetToken():any {\n let isloggin = false;\n let jwttoken = '';\n if (this.getCurrentUser() != null) {\n \n this.getCurrentUser().getSession(function (err, session) {\n if (err) {\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\n isloggin = false;\n //console.log('81 if')\n }\n else {\n //alert('function else');\n if (session.isValid()) {\n // console.log('85 else if');\n jwttoken = session;\n isloggin = true;\n } else {\n \n isloggin = false;\n }\n }\n });\n }\n else {\n // console.log(\"else\");\n isloggin = false;\n }\n return jwttoken;\n}\n\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { Injectable } from '@angular/core';\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n\n\n\n@Injectable()\nexport class AuthGuard {\n \n constructor() { \n\n \n }\n\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n // // if (this.shared.getToken()) {\n // alert(\"if\");\n // // this.router.navigate(['']);\n // return true\n // } else {\n // alert(\"else\");\n // this.router.navigate(['/login']);\n // return false;\n // }\n // }\n getlogin(){\n // if (this.shared.getToken()) {\n // // alert(\"if\");\n // //alert();\n // return true;\n // } else {\n // // alert(\"else\");\n \n // //this.myGlobalServiceNav.setRoot(LoginPage);\n // this.shared.isloggin = false;\n // return false;\n \n \n // }\n }\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\n \n \n // }\n\n // public getToken(): string {\n // return localStorage.getItem('token');\n // }\n\n // public logOut() {\n // localStorage.clear();\n // if(localStorage.getItem('token') === null){\n // this.router.navigate(['/login']);\n // }\n // }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\nimport {\n HttpRequest,\n HttpHandler,\n HttpEvent,\n HttpInterceptor,\n HttpHeaders\n} from '@angular/common/http';\n// import { AuthGuard } from './auth.guard';\nimport { Observable, of} from 'rxjs';\n\n// import { Router } from '@angular/router';\n\nimport { catchError, map, tap } from 'rxjs/operators';\nimport { HttpErrorResponse } from \"@angular/common/http\";\n\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\n\n@Injectable()\nexport class TokenInterceptor implements HttpInterceptor{\n constructor(public shared:CognitoServiceProvider ) {\n \n }\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\n // request = request.clone({\n // setHeaders: {\n // Authorization: `${this.auth.getToken()}`\n // }\n // });\n let token:any;\n this.shared.refresh();\n token = this.shared.getToken() || null;\n \n token = token.getIdToken().getJwtToken();\n \n //console.log(token);\n let requests = request.clone({\n headers:new HttpHeaders({\n \n 'Authorization': 'sparqvenba2018',\n 'Token':token,\n 'From':'1',\n \n \n }) \n \n });\n \n return next.handle(requests).pipe(\n catchError(this.handleError('role', []))\n )\n }\n\n private handleError (operation = 'operation', result?: T) {\n return (error: any): Observable => {\n if(error instanceof HttpErrorResponse){\n console.error(\"Error: \" + error.status);\n if(error.status == 401){\n localStorage.clear();\n // this.router.navigate(['/authentication/login']);\n }\n return of(result as T);\n }\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\n\n/**\n * Generated class for the GoogleplaytabPage 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-googleplaytab',\n templateUrl: 'googleplaytab.html',\n})\nexport class GoogleplaytabPage {\n\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\n\n SwipedTabsIndicator :any= null;\n tabTitleWidthArray :any= [];\n tabElementWidth_px :number= 50;\n screenWidth_px :number= 0;\n isRight :boolean= true;\n isLeft:boolean= true;\n tabs:any=[];\n\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\n console.log('Width: ' + platform.width());\n this.screenWidth_px=platform.width();\n \n}\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad GoogleplaytabPage');\n }\n ionViewDidEnter() {\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\n for (let i in this.tabs)\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\n\n this.selectTab(0);\n }\n\n scrollIndicatiorTab()\n {\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\n }\n\n selectTab(index)\n {\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n this.SwipedTabsSlider.slideTo(index);\n }\n\n calculateDistanceToSpnd(index)\n {\n var result=0;\n for (var _i = 0; _i < index; _i++) {\n result=result+this.tabTitleWidthArray[_i];\n }\n return result;\n }\n\n updateIndicatorPosition() {\n var index=this.SwipedTabsSlider.getActiveIndex();\n if( this.SwipedTabsSlider.length()==index)\n index=index-1;\n\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\n\n }\n\n updateIndicatorPositionOnTouchEnd()\n {\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\n }\n\n animateIndicator($event)\n {\n\n this.isLeft=false;\n this.isRight=false;\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\n if($event.progress < currentSliderCenterProgress)\n {\n this.isLeft=true;\n this.isRight=false;\n\n } if($event.progress > currentSliderCenterProgress)\n {\n this.isLeft=false;\n this.isRight=true;\n }\n\n if(this.SwipedTabsSlider.isEnd())\n this.isRight=false;\n\n if( this.SwipedTabsSlider.isBeginning())\n this.isLeft=false;\n\n if(this.isRight)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\n +'px,0,0)';\n\n if(this.isLeft)\n this.SwipedTabsIndicator.style.webkitTransform =\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\n +'px,0,0)';\n\n if(!this.isRight && !this.isLeft)\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\n\n }\n\n\n\n}\n\n \n\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the PdAllocationPage 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-allocation',\n templateUrl: 'pd-allocation.html',\n})\nexport class PdAllocationPage {\npdFullDetails:any = [];\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n \n this.pdFullDetails = this.navParams.get('pdDetails');\n console.log(this.pdFullDetails);\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdAllocationPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n AuthenticationDetails,\n CognitoUserPool,\n CognitoUser,\n \n} from \"amazon-cognito-identity-js\";\n\n\nimport { Observable } from \"rxjs/Observable\";\nimport \"rxjs/add/operator/map\";\nimport { CognitoServiceProvider } from './cognito.service';\nimport { ConstantsProvider } from '../constants/constants';\nimport { UrlResolver } from '@angular/compiler';\nconst sineedgedev_poolData = {\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\n}\nconst lender_poolData = {\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\n};\nconst vendor_poolData = {\n UserPoolId: \"ap-south-1_K57yPaWxV\",\n ClientId: \"\"\n}\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\n\n/**\n* Identity PoolID \n*/\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\n\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\n\n\n@Injectable()\nexport class AwsServiceProvider {\napiurl:any;\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\n this.apiurl = con.apiurl();\n }\n\n dologin(authenticationData) {\n // alert();\n //(authenticationData);\n const authenticationDetails = new AuthenticationDetails(authenticationData);\n let Newpassword = authenticationData.newpassword;\n let attributesData = [];\n const userData = {\n Username: authenticationData.Username, // User email id\n Pool: sineedgedevUserpool // user Pool ID\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observer => {\n cognitoUser.authenticateUser(authenticationDetails, {\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \n cognitoUser.completeNewPasswordChallenge(\n Newpassword,\n attributesData,\n {\n onSuccess: function (result) {\n observer.next(result);\n observer.complete();\n },\n onFailure: function (err) {\n //(err);\n observer.error(err);\n //LoginComponent.prototype.open();\n }\n }\n );\n },\n onSuccess: function (result) { // success user login\n // let accessToken = result.getAccessToken().getJwtToken();\n ////(result);\n //window.localStorage.setItem('Currentuser', '1');\n observer.next(result);\n observer.complete();\n this.shared.isloggin = true;\n },\n onFailure: function (err) { // error user login\n\n //alert(err.message);\n observer.error(err);\n }\n });\n });\n }\n userforgotpass(auth) {\n ////(auth);\n const userData = {\n Username: auth.Username,\n Pool: sineedgedevUserpool\n };\n let cognitoUser = new CognitoUser(userData);\n return Observable.create(observe => {\n cognitoUser.forgotPassword({\n onSuccess: function (data) {\n // successfully initiated reset password request\n //('CodeDeliveryData from forgotPassword: ' + data);\n observe.next(data);\n },\n onFailure: function (err) {\n alert(err.message || JSON.stringify(err));\n },\n //Optional automatic callback\n inputVerificationCode: function (data) {\n //('Code sent to: ' + data);\n var verificationCode = prompt('Please input verification code ', '');\n var newPassword = prompt('Enter new password ', '');\n cognitoUser.confirmPassword(verificationCode, newPassword, {\n onSuccess() {\n //('Password confirmed!');\n },\n onFailure(err) {\n //('Password not confirmed!');\n }\n });\n }\n });\n });\n\n\n }\n /**\n * End of the function \n */\n\n /**\n * Logout function\n */\n logout(){\n \n return Observable.create(observe=>{\n this.shared.getCurrentUser().signOut(); \n \n observe.next();\n \n observe.complete();\n });\n }\n\n\n /**\n * Config function\n */\n // getconfig() {\n // let session:any = this.shared.getAccessToken() || \"\";\n \n // let config = \"\";\n // config += AWS.config.region = \"ap-south-1\";\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\n // Logins: {\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\n // .getIdToken()\n // .getJwtToken()\n // }\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\n // });\n // return config;\n // }\n\n getlocale(){\n let session:any = this.shared.getToken() || null;\n let userid = session.idToken.payload.locale;\n return userid;\n }\n getuserprofile(userid)\n {\n \n \n // alert();\n \n //console.log(cogusers.idToken.payload.locale);\n let roles = {'userid':userid}; \n \n \n // let request = new RequestOptions({headers:headers});\n return this.http.post(this.apiurl+'getUsersDetails',roles);\n \n }\n\n userpinupdate(pin)\n {\n let userid = this.getlocale(); \n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\n let formdata = new FormData();\n \n formdata.append('records',JSON.stringify(records));\n return this.http.post(this.apiurl+'updateExistUser',formdata);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category'\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service'\n\n/**\n * Generated class for the PdQuestionBusinessPage 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-business',\n templateUrl: 'pd-question-business.html',\n})\nexport class PdQuestionBusinessPage {\n pdDetails:any;\n pdid:any;\n users:any;\n FormId:any;\n existCompanyList:any=[]\n\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider) {\n this.pdDetails=this.navParams.get('pdDetails');\n this.pdid=this.pdDetails.pd_id;\n this.FormId=this.navParams.get('FormId');\n this.users=this.aws.getlocale\n\n this.getDropDown();\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionBusinessPage');\n }\ngetDropDown(){\n this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(res=>{\n this.existCompanyList=res['records'].filter(data=>data.is_active == true && data.is_company_applicant == true);\n console.log(this.existCompanyList);\n })\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business/pd-question-business.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\n\n/**\n * Generated class for the PdQuestionSalaryInfoPage 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-salary-info',\n templateUrl: 'pd-question-salary-info.html',\n})\nexport class PdQuestionSalaryInfoPage {\n\n salaryDetails:FormGroup\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\n \n this.salaryDetails = this.fb.group(\n {\n gross:[null],\n netTakeHome:[null],\n bounsIncentive:[null],\n salaryDate:[null],\n anydelays:[null], \n })\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {ConstantsProvider} from '../constants/constants';\n\n/*\n Generated class for the PdtriggerProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\n@Injectable()\nexport class PdtriggerProvider {\n apiurl:any;\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\n this.apiurl = constants.apiurl();\n console.log('Hello PdtriggerProvider Provider');\n }\n\n \n\n /**get dropdonw list */\n\n /**Get list of PD Trigger */\n\n getpddetails(userid)\n { \n console.log(userid);\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\n }\n\n getFullPDdetails(pdid)\n {\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\n }\n\n updatepdStatus(dataStatus)\n {\n let records = {'records':dataStatus};\n return this.http.post(this.apiurl+'updatePDMaster',records);\n }\n\n saveCurrentLocation(data)\n {\n let records = {'records':data};\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\n }\n\n checkotp(otpDetails)\n {\n\n let records = {'records':otpDetails};\n \n return this.http.post(this.apiurl+'checkOTP',records); \n }\n getPDCompleteDetails(details){\n return this.http.post(this.apiurl+'getPDCompleteDetails',{'records':details})\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { Component,ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\nimport { InputPage } from '../input/input';\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\nimport { parseDate } from 'ionic-angular/util/datetime-util';\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\nimport { OtpPage } from '../otp/otp';\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\nimport { DatabaseProvider } from '../../providers/database/database';\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\n/**\n * Generated class for the PdListPage 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-list',\n templateUrl: 'pd-list.html',\n})\nexport class PdListPage {\n\n @ViewChild('slider') slider:Slides;\n searchinprogress: any;\n searchpast: any;\n pdschduleDetails: any;\n bgColorPast: any = [];\n bgColor: any = [];\n pdinprogress: any=[];\n pdlistdetails: any=[];\n viewchange: boolean;\n pdlist:any = \"0\";\n pdlistaccess:boolean = null;\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\n //this.getlenderpddetails(); \n // this.getpdTriggerdetails();\n \n }\n selectedTab(ind)\n {\n this.slider.slideTo(ind)\n }\n moveButton(event){\n this.pdlist=event._snapIndex.toString();\n }\n\n ionViewDidLoad() {\n \n console.log('ionViewDidLoad PdListPage');\n this.db.getuserDetails();\n this.setpermission();\n }\n ionViewCanEnter()\n {\n console.log(\"Pd list ionViewCanEnter\")\n this.getpdTriggerdetails();\n }\n filter(view){\n if(!view){\n this.viewchange = true;\n }else{\n this.viewchange = false;\n this.pdinprogress = this.pdinprogress;\n this.pdschduleDetails = this.pdschduleDetails;\n }\n \n //alert(this.viewchange);\n }\n pdlistsearch(searchbar) {\n \n this.pdinprogress = this.searchinprogress;\n this.pdschduleDetails = this.searchpast;\n // reset countries list with initial call\n //this.pdinprogress = this.countriesInitial;\n // set q to the value of the searchbar\n var q = searchbar.target.value;\n\n // if the value is an empty string don't filter the items\n \n if(this.pdlist == \"inpro\"){\n if (q.trim() == '') {\n return ;\n }else{\n this.pdinprogress = this.searchinprogress.filter((v) => {\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) {\n return true;\n }\n return false;\n })\n }\n }else\n {\n if (q.trim() == '') {\n \n return ;\n }else{\n this.pdschduleDetails = this.searchpast.filter((v) => {\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\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) {\n \n return true;\n }\n \n return false;\n })\n }\n \n}\n}\n newpage(){\n this.navCtrl.push(InputPage);\n }\n getpdTriggerdetails()\n {\n \n let userid = this.aws.getlocale();\n //.log(\"User\",userid)\n this.pdlistaccess = true;\n\n this.pdofficer.getpddetails(userid).subscribe(res=>\n {\n this.pdlistdetails = res;\n if(this.pdlistdetails.dataStatus == true)\n {\n this.pdlistaccess = false;\n \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.pd_status == \"ADD_ON_PENDING\" );\n this.searchpast = this.pdschduleDetails;\n \n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\n this.searchinprogress = this.pdinprogress;\n console.log(\"allocated\",this.pdinprogress);\n console.log(\"inpr\",this.pdschduleDetails);\n this.random_bg_color();\n this.random_ng_past();\n }else\n {\n this.pdlistaccess = false;\n this.pdlistdetails = \"No Records Found\";\n }\n })\n }\n\n random_bg_color() {\n for(let id of this.pdinprogress){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n \n return this.bgColor;\n }\n random_ng_past()\n {\n for(let id of this.pdschduleDetails){\n var x = Math.floor(Math.random() * 256);\n var y = Math.floor(Math.random() * 256);\n var z = Math.floor(Math.random() * 256);\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\n \n }\n }\n doRefresh(refresher) {\n this.bgColor = [];\n this.pdschduleDetails = [];\n this.pdinprogress = [];\n // this.pdlistaccess = true;\n this.shared.refresh();\n this.getpdTriggerdetails();\n setTimeout(() => {\n \n refresher.complete();\n }, 2000);\n }\n \n PdAllocation(pddetails)\n {\n \n \n if(pddetails.pd_status == '')//for STARTED\n {\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\n \n // }else if(pddetails.pd_status == 'INPROGRESS'){\n // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\n }else //if(pddetails.pd_status == 'ADD_ON_PENDING' || pddetails.pd_status == 'ALLOCATED')\n {\n //FOR ASSIGNING THE PARENT PD ID\n //pddetails.pd_id=pddetails.parent_pd_id\n // pddetails.pd_id=pddetails.parent_pd_id\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\n }\n }\n\n setpermission()\n {\n // let permission = this.androidPermissions.PERMISSION; \n // let premission_list = [\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\n // permission.CAMERA,\n\n\n // ];\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\n result => console.log('Has permission?',result.hasPermission),\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\n );\n \n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Toast, ToastController,AlertController} from 'ionic-angular';\n\n/*\n Generated class for the ToastProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ToastProvider {\n\n constructor(public http: HttpClient,public toast:ToastController,private alertCtrl:AlertController) {\n console.log('Hello ToastProvider Provider');\n }\n pdTriggerappmessage(mess){\n let valalert = this.toast.create({\n message:mess, \n duration: 3000, \n position: 'bottom',\n dismissOnPageChange: true,\n });\n\n valalert.present();\n} \nsetAlert(title_name,msg){\n \n\nlet alert=this.alertCtrl.create({\n title:title_name,\n message:msg,\n cssClass:'buttoncss',\n buttons:[\n {\n text:'No',\n cssClass:'btnNo',\n handler:()=>{\n alert.dismiss(false)\n return false\n }\n },{\n text:'Yes',\n cssClass:'btnYes',\n handler:()=>{\n alert.dismiss('s')\n return false\n }\n }]\n});\n//alert.present()\nreturn alert\n\n}\nsetAlertForDocName(){\n \n let alert=this.alertCtrl.create({\n title:'Document Name',\n message: 'Please Enter the Document Name',\n cssClass:'prompt_alert',\n inputs:[\n {\n name:'Name',\n //value:this.imageBucket[index].Name\n placeholder:'Document Name'\n }\n ],\n buttons:[\n {\n text:'Submit',\n handler:data=>{\n console.log(data.Name)\n alert.dismiss(data.Name)\n }\n \n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\nsetAlertForCompletePD(){\n let alert=this.alertCtrl.create({\n title:'Complete Discussion',\n message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?',\n cssClass:'complete_alert',\n buttons:[\n {\n text:'Yes / Allow Addon PD',\n handler:()=>{\n alert.dismiss('addon')\n return false\n }\n },\n {\n text:'Yes',\n handler:()=>{\n alert.dismiss('yes')\n return false\n }\n },\n {\n text:'No',\n handler:()=>{\n alert.dismiss('no')\n return false\n }\n }\n ]\n })\n //alert.present();\n //this.inputFocus.setFocus();\n\nreturn alert\n}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/package.json b/package.json index 78ed0bb1..5d7672c0 100755 --- a/package.json +++ b/package.json @@ -105,4 +105,4 @@ "android" ] } -} +} \ No newline at end of file diff --git a/platforms/android/app/src/main/assets/www/build/main.css b/platforms/android/app/src/main/assets/www/build/main.css old mode 100755 new mode 100644 index 1b8a8426..793cf4a9 --- a/platforms/android/app/src/main/assets/www/build/main.css +++ b/platforms/android/app/src/main/assets/www/build/main.css @@ -1 +1,33192 @@ -.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-ios-gray{color:#000;background-color:#dad8d8}.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-md-gray{color:#000;background-color:#dad8d8}.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}.badge-wp-gray{color:#000;background-color:#dad8d8}.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-ios-gray{color:#000;background-color:#dad8d8}.button-ios-gray.activated{background-color:#c9c7c7}.button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.button-clear-ios-gray{border-color:transparent;color:#dad8d8;background-color:transparent}.button-clear-ios-gray.activated{opacity:.4}.button-clear-ios-gray:hover:not(.disable-hover){color:#dad8d8}.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-md-gray{color:#000;background-color:#dad8d8}.button-md-gray:hover:not(.disable-hover){background-color:#dad8d8}.button-md-gray.activated{background-color:#c9c7c7;opacity:1}.button-md-gray .button-effect{background-color:#000}.button-outline-md-gray{border-color:#cfcdcd;color:#cfcdcd;background-color:transparent}.button-outline-md-gray:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-gray.activated{background-color:transparent}.button-outline-md-gray .button-effect{background-color:#cfcdcd}.button-clear-md-gray{border-color:transparent;color:#dad8d8;background-color:transparent}.button-clear-md-gray.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-gray:hover:not(.disable-hover){color:#dad8d8}.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-wp-gray{color:#000;background-color:#dad8d8}.button-wp-gray:hover:not(.disable-hover){border-color:#c9c7c7;background-color:#dad8d8}.button-wp-gray.activated{background-color:#c9c7c7}.button-outline-wp-gray{border-color:#cfcdcd;color:#cfcdcd;background-color:transparent}.button-outline-wp-gray:hover:not(.disable-hover){border-color:#cfcdcd;background-color:rgba(158,158,158,.1)}.button-outline-wp-gray.activated{background-color:rgba(207,205,205,.16)}.button-clear-wp-gray{color:#dad8d8;background-color:transparent}.button-clear-wp-gray.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-gray:hover:not(.disable-hover){color:#dad8d8}.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-ios-primary .card-content-ios-gray,.card-ios-primary .card-header-ios-gray,.card-ios-primary .card-title-ios-gray,.card-ios-primary .text-ios-gray{color:#dad8d8}.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-ios-secondary .card-content-ios-gray,.card-ios-secondary .card-header-ios-gray,.card-ios-secondary .card-title-ios-gray,.card-ios-secondary .text-ios-gray{color:#dad8d8}.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-ios-danger .card-content-ios-gray,.card-ios-danger .card-header-ios-gray,.card-ios-danger .card-title-ios-gray,.card-ios-danger .text-ios-gray{color:#dad8d8}.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-ios-light .card-content-ios-gray,.card-ios-light .card-header-ios-gray,.card-ios-light .card-title-ios-gray,.card-ios-light .text-ios-gray{color:#dad8d8}.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-ios-dark .card-content-ios-gray,.card-ios-dark .card-header-ios-gray,.card-ios-dark .card-title-ios-gray,.card-ios-dark .text-ios-gray{color:#dad8d8}.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-ios-optblue .card-content-ios-gray,.card-ios-optblue .card-header-ios-gray,.card-ios-optblue .card-title-ios-gray,.card-ios-optblue .text-ios-gray{color:#dad8d8}.card-content-ios-optblue,.card-header-ios-optblue,.card-title-ios-optblue{color:#e00201}.card-ios .text-ios-gray{color:#dad8d8}.card-ios-gray{color:#000;background-color:#dad8d8}.card-ios-gray .card-content-ios,.card-ios-gray .card-header-ios,.card-ios-gray .card-title-ios,.card-ios-gray p{color:#000}.card-ios-gray .card-content-ios-primary,.card-ios-gray .card-header-ios-primary,.card-ios-gray .card-title-ios-primary,.card-ios-gray .text-ios-primary{color:#673ab7}.card-ios-gray .card-content-ios-secondary,.card-ios-gray .card-header-ios-secondary,.card-ios-gray .card-title-ios-secondary,.card-ios-gray .text-ios-secondary{color:#32db64}.card-ios-gray .card-content-ios-danger,.card-ios-gray .card-header-ios-danger,.card-ios-gray .card-title-ios-danger,.card-ios-gray .text-ios-danger{color:#f53d3d}.card-ios-gray .card-content-ios-light,.card-ios-gray .card-header-ios-light,.card-ios-gray .card-title-ios-light,.card-ios-gray .text-ios-light{color:#f4f4f4}.card-ios-gray .card-content-ios-dark,.card-ios-gray .card-header-ios-dark,.card-ios-gray .card-title-ios-dark,.card-ios-gray .text-ios-dark{color:#222}.card-ios-gray .card-content-ios-optblue,.card-ios-gray .card-header-ios-optblue,.card-ios-gray .card-title-ios-optblue,.card-ios-gray .text-ios-optblue{color:#e00201}.card-ios-gray .card-content-ios-gray,.card-ios-gray .card-header-ios-gray,.card-ios-gray .card-title-ios-gray,.card-ios-gray .text-ios-gray{color:#dad8d8}.card-content-ios-gray,.card-header-ios-gray,.card-title-ios-gray{color:#dad8d8}.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-md-primary .card-content-md-gray,.card-md-primary .card-header-md-gray,.card-md-primary .card-title-md-gray,.card-md-primary .text-md-gray{color:#dad8d8}.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-md-secondary .card-content-md-gray,.card-md-secondary .card-header-md-gray,.card-md-secondary .card-title-md-gray,.card-md-secondary .text-md-gray{color:#dad8d8}.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-md-danger .card-content-md-gray,.card-md-danger .card-header-md-gray,.card-md-danger .card-title-md-gray,.card-md-danger .text-md-gray{color:#dad8d8}.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-md-light .card-content-md-gray,.card-md-light .card-header-md-gray,.card-md-light .card-title-md-gray,.card-md-light .text-md-gray{color:#dad8d8}.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-md-dark .card-content-md-gray,.card-md-dark .card-header-md-gray,.card-md-dark .card-title-md-gray,.card-md-dark .text-md-gray{color:#dad8d8}.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-md-optblue .card-content-md-gray,.card-md-optblue .card-header-md-gray,.card-md-optblue .card-title-md-gray,.card-md-optblue .text-md-gray{color:#dad8d8}.card-content-md-optblue,.card-header-md-optblue,.card-title-md-optblue{color:#e00201}.card-md .text-md-gray{color:#dad8d8}.card-md-gray{color:#000;background-color:#dad8d8}.card-md-gray .card-content-md,.card-md-gray .card-header-md,.card-md-gray .card-title-md,.card-md-gray h1,.card-md-gray h2,.card-md-gray h3,.card-md-gray h4,.card-md-gray h5,.card-md-gray h6,.card-md-gray p{color:#000}.card-md-gray .card-content-md-primary,.card-md-gray .card-header-md-primary,.card-md-gray .card-title-md-primary,.card-md-gray .text-md-primary{color:#673ab7}.card-md-gray .card-content-md-secondary,.card-md-gray .card-header-md-secondary,.card-md-gray .card-title-md-secondary,.card-md-gray .text-md-secondary{color:#32db64}.card-md-gray .card-content-md-danger,.card-md-gray .card-header-md-danger,.card-md-gray .card-title-md-danger,.card-md-gray .text-md-danger{color:#f53d3d}.card-md-gray .card-content-md-light,.card-md-gray .card-header-md-light,.card-md-gray .card-title-md-light,.card-md-gray .text-md-light{color:#f4f4f4}.card-md-gray .card-content-md-dark,.card-md-gray .card-header-md-dark,.card-md-gray .card-title-md-dark,.card-md-gray .text-md-dark{color:#222}.card-md-gray .card-content-md-optblue,.card-md-gray .card-header-md-optblue,.card-md-gray .card-title-md-optblue,.card-md-gray .text-md-optblue{color:#e00201}.card-md-gray .card-content-md-gray,.card-md-gray .card-header-md-gray,.card-md-gray .card-title-md-gray,.card-md-gray .text-md-gray{color:#dad8d8}.card-content-md-gray,.card-header-md-gray,.card-title-md-gray{color:#dad8d8}.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-wp-primary .card-content-wp-gray,.card-wp-primary .card-header-wp-gray,.card-wp-primary .card-title-wp-gray,.card-wp-primary .text-wp-gray{color:#dad8d8}.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-wp-secondary .card-content-wp-gray,.card-wp-secondary .card-header-wp-gray,.card-wp-secondary .card-title-wp-gray,.card-wp-secondary .text-wp-gray{color:#dad8d8}.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-wp-danger .card-content-wp-gray,.card-wp-danger .card-header-wp-gray,.card-wp-danger .card-title-wp-gray,.card-wp-danger .text-wp-gray{color:#dad8d8}.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-wp-light .card-content-wp-gray,.card-wp-light .card-header-wp-gray,.card-wp-light .card-title-wp-gray,.card-wp-light .text-wp-gray{color:#dad8d8}.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-wp-dark .card-content-wp-gray,.card-wp-dark .card-header-wp-gray,.card-wp-dark .card-title-wp-gray,.card-wp-dark .text-wp-gray{color:#dad8d8}.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-wp-optblue .card-content-wp-gray,.card-wp-optblue .card-header-wp-gray,.card-wp-optblue .card-title-wp-gray,.card-wp-optblue .text-wp-gray{color:#dad8d8}.card-content-wp-optblue,.card-header-wp-optblue,.card-title-wp-optblue{color:#e00201}.card-wp .text-wp-gray{color:#dad8d8}.card-wp-gray{color:#000;background-color:#dad8d8}.card-wp-gray .card-content-wp,.card-wp-gray .card-header-wp,.card-wp-gray .card-title-wp,.card-wp-gray h1,.card-wp-gray h2,.card-wp-gray h3,.card-wp-gray h4,.card-wp-gray h5,.card-wp-gray h6,.card-wp-gray p{color:#000}.card-wp-gray .card-content-wp-primary,.card-wp-gray .card-header-wp-primary,.card-wp-gray .card-title-wp-primary,.card-wp-gray .text-wp-primary{color:#673ab7}.card-wp-gray .card-content-wp-secondary,.card-wp-gray .card-header-wp-secondary,.card-wp-gray .card-title-wp-secondary,.card-wp-gray .text-wp-secondary{color:#32db64}.card-wp-gray .card-content-wp-danger,.card-wp-gray .card-header-wp-danger,.card-wp-gray .card-title-wp-danger,.card-wp-gray .text-wp-danger{color:#f53d3d}.card-wp-gray .card-content-wp-light,.card-wp-gray .card-header-wp-light,.card-wp-gray .card-title-wp-light,.card-wp-gray .text-wp-light{color:#f4f4f4}.card-wp-gray .card-content-wp-dark,.card-wp-gray .card-header-wp-dark,.card-wp-gray .card-title-wp-dark,.card-wp-gray .text-wp-dark{color:#222}.card-wp-gray .card-content-wp-optblue,.card-wp-gray .card-header-wp-optblue,.card-wp-gray .card-title-wp-optblue,.card-wp-gray .text-wp-optblue{color:#e00201}.card-wp-gray .card-content-wp-gray,.card-wp-gray .card-header-wp-gray,.card-wp-gray .card-title-wp-gray,.card-wp-gray .text-wp-gray{color:#dad8d8}.card-content-wp-gray,.card-header-wp-gray,.card-title-wp-gray{color:#dad8d8}.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-ios-gray .checkbox-checked{border-color:#dad8d8;background-color:#dad8d8}.checkbox-ios-gray .checkbox-checked .checkbox-inner{border-color:#000}.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-md-gray .checkbox-checked{border-color:#dad8d8;background-color:#dad8d8}.checkbox-md-gray .checkbox-checked .checkbox-inner{border-color:#000}.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}.checkbox-wp-gray .checkbox-checked{border-color:#dad8d8;background-color:#dad8d8}.checkbox-wp-gray .checkbox-checked .checkbox-inner{border-color:#000}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-ios .icon-ios-gray,.chip-ios-gray{color:#000;background-color:#dad8d8}.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-md .icon-md-gray,.chip-md-gray{color:#000;background-color:#dad8d8}.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}.chip-wp .icon-wp-gray,.chip-wp-gray{color:#000;background-color:#dad8d8}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-ios-gray{color:#000;background-color:#dad8d8}.fab-ios-gray.activated{background-color:#c9c7c7}.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-md-gray{color:#000;background-color:#dad8d8}.fab-md-gray.activated{background-color:#c9c7c7}.fab-md-gray .button-effect{background-color:#000}.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}.fab-wp-gray{color:#000;background-color:#dad8d8}.fab-wp-gray.activated{background-color:#c9c7c7}.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-ios-gray{color:#dad8d8}.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-md-gray{color:#dad8d8}.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}.icon-wp-gray{color:#dad8d8}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}.item-ios .text-ios-gray{color:#dad8d8}.item-divider-ios-gray,.item-ios-gray{color:#000;background-color:#dad8d8}.item-divider-ios-gray p,.item-ios-gray p{color:#000}.item-divider-ios-gray.activated,.item-ios-gray.activated{background-color:#c9c7c7}.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}.item-md .text-md-gray{color:#dad8d8}.item-divider-md-gray,.item-md-gray{color:#000;background-color:#dad8d8}.item-divider-md-gray p,.item-md-gray p{color:#000}.item-divider-md-gray.activated,.item-md-gray.activated{background-color:#c9c7c7}.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}.item-wp .text-wp-gray{color:#dad8d8}.item-divider-wp-gray,.item-wp-gray{color:#000;background-color:#dad8d8}.item-divider-wp-gray p,.item-wp-gray p{color:#000}.item-divider-wp-gray.activated,.item-wp-gray.activated{background-color:#c9c7c7}.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}.item-datetime .label-ios-gray,.item-input .label-ios-gray,.item-select .label-ios-gray,.label-ios-gray{color:#dad8d8}.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}.item-datetime .label-md-gray,.item-input .label-md-gray,.item-select .label-md-gray,.label-md-gray{color:#dad8d8}.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}.item-datetime .label-wp-gray,.item-input .label-wp-gray,.item-select .label-wp-gray,.label-wp-gray{color:#dad8d8}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-header-ios-gray{color:#000;background-color:#dad8d8}.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-header-md-gray{color:#000;background-color:#dad8d8}.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}.list-header-wp-gray{color:#000;background-color:#dad8d8}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-ios-gray{color:#dad8d8}.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-md-gray{color:#dad8d8}.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}.note-wp-gray{color:#dad8d8}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}.item-radio-ios-gray.item-radio-checked ion-label{color:#dad8d8}.radio-ios-gray .radio-checked{color:#dad8d8}.radio-ios-gray .radio-checked .radio-inner{border-color:#dad8d8}.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}.item-radio-md-gray.item-radio-checked ion-label{color:#dad8d8}.radio-md-gray .radio-checked{border-color:#dad8d8}.radio-md-gray .radio-inner{background-color:#dad8d8}.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}.radio-wp-gray .radio-checked{border-color:#dad8d8}.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-ios-gray .range-bar-active,.range-ios-gray .range-tick-active{background:#dad8d8}.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-md-gray .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-gray .range-md .range-knob-min.range-knob-min .range-pin,.range-md-gray .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-gray .range-bar-active,.range-md-gray .range-knob,.range-md-gray .range-pin,.range-md-gray .range-pin::before{background:#dad8d8}.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}.range-wp-gray .range-bar-active,.range-wp-gray .range-knob,.range-wp-gray .range-pin,.range-wp-gray .range-tick-active{background:#dad8d8}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-gray .searchbar-ios-cancel{color:#dad8d8}.searchbar-ios-gray .searchbar-ios-cancel:hover:not(.disable-hover){color:#c9c7c7}.toolbar-ios-gray .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-gray .searchbar-ios .searchbar-input{color:#000;background:rgba(0,0,0,.08)}.toolbar-ios-gray .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-gray .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-gray .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(0,0,0,.5)}.toolbar-ios-gray .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-gray .searchbar-ios .searchbar-ios-cancel{color:#673ab7}.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}.searchbar-wp-gray.searchbar-has-focus .searchbar-input-container{border-color:#dad8d8}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-ios-gray .segment-button{border-color:#dad8d8;color:#dad8d8}.segment-ios-gray .segment-button:hover:not(.segment-activated){background-color:rgba(218,216,216,.1)}.segment-ios-gray .segment-button:active:not(.segment-activated){background-color:rgba(218,216,216,.16)}.segment-ios-gray .segment-button.segment-activated{color:#000;background-color:#dad8d8}.segment-ios-gray .segment-button-disabled{color:rgba(218,216,216,.3)}.toolbar-ios-gray .segment-ios .segment-button.segment-activated{color:#dad8d8}.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-md-gray .segment-button{color:#dad8d8}.segment-md-gray .segment-button.activated,.segment-md-gray .segment-button.segment-activated{border-color:#dad8d8;color:#dad8d8;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}.segment-wp-gray .segment-button{color:#dad8d8}.segment-wp-gray .segment-button.activated,.segment-wp-gray .segment-button.segment-activated{border-color:#dad8d8;color:#dad8d8;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-ios-gray.spinner-crescent circle,.spinner-ios-gray.spinner-ios line,.spinner-ios-gray.spinner-ios-small line{stroke:#dad8d8}.spinner-ios-gray.spinner-bubbles circle,.spinner-ios-gray.spinner-circles circle,.spinner-ios-gray.spinner-dots circle{fill:#dad8d8}.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-md-gray.spinner-crescent circle,.spinner-md-gray.spinner-ios line,.spinner-md-gray.spinner-ios-small line{stroke:#dad8d8}.spinner-md-gray.spinner-bubbles circle,.spinner-md-gray.spinner-circles circle,.spinner-md-gray.spinner-dots circle{fill:#dad8d8}.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}.spinner-wp-gray.spinner-crescent circle,.spinner-wp-gray.spinner-ios line,.spinner-wp-gray.spinner-ios-small line{stroke:#dad8d8}.spinner-wp-gray.spinner-bubbles circle,.spinner-wp-gray.spinner-circles circle,.spinner-wp-gray.spinner-dots circle{fill:#dad8d8}.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-ios-gray .tabbar{border-color:#c1bebe;background-color:#dad8d8}.tabs-ios-gray .tab-button,.tabs-ios-gray .tab-button-icon,.tabs-ios-gray .tab-button:hover:not(.disable-hover),.tabs-ios-gray .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-ios-gray .tab-button[aria-selected=true],.tabs-ios-gray .tab-button[aria-selected=true] .tab-button-icon{color:#000}.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-md-gray .tabbar{background-color:#dad8d8}.tabs-md-gray .tab-button,.tabs-md-gray .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-md-gray .tab-button:hover:not(.disable-hover),.tabs-md-gray .tab-button[aria-selected=true],.tabs-md-gray .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-md-gray[tabsHighlight=true] .tab-highlight{background:#000}.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}.tabs-wp-gray .tabbar{background-color:#dad8d8}.tabs-wp-gray .tab-button,.tabs-wp-gray .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-wp-gray .tab-button:hover:not(.disable-hover),.tabs-wp-gray .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-gray .tab-button[aria-selected=true],.tabs-wp-gray .tab-button[aria-selected=true] .tab-button-icon{border-color:#000;color:#000}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-ios-gray.toggle-checked .toggle-icon{background-color:#dad8d8}.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-md-gray.toggle-checked .toggle-icon{background-color:#fff}.toggle-md-gray.toggle-checked .toggle-inner{background-color:#dad8d8}.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}.toggle-wp-gray.toggle-checked .toggle-icon{border-color:#dad8d8;background-color:#dad8d8}.toggle-wp-gray.toggle-checked .toggle-inner{background-color:#000}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}.toolbar-ios-primary .bar-button-clear-ios-gray,.toolbar-ios-primary .bar-button-default.bar-button-ios-gray,.toolbar-ios-primary .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-primary .bar-button-clear-ios-gray.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-primary .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-primary .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-primary .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-ios-secondary .bar-button-clear-ios-gray,.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray,.toolbar-ios-secondary .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-secondary .bar-button-clear-ios-gray.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-secondary .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-secondary .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-secondary .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-ios-danger .bar-button-clear-ios-gray,.toolbar-ios-danger .bar-button-default.bar-button-ios-gray,.toolbar-ios-danger .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-danger .bar-button-clear-ios-gray.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-danger .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-danger .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-danger .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-ios-light .bar-button-clear-ios-gray,.toolbar-ios-light .bar-button-default.bar-button-ios-gray,.toolbar-ios-light .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-light .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-light .bar-button-clear-ios-gray.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-light .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-light .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-light .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-ios-dark .bar-button-clear-ios-gray,.toolbar-ios-dark .bar-button-default.bar-button-ios-gray,.toolbar-ios-dark .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-dark .bar-button-clear-ios-gray.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-dark .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-dark .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-dark .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-ios-optblue .bar-button-clear-ios-gray,.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray,.toolbar-ios-optblue .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-optblue .bar-button-clear-ios-gray.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-optblue .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-optblue .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-optblue .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-ios-gray .toolbar-background-ios{background:#dad8d8}.toolbar-ios-gray .bar-button-clear-ios,.toolbar-ios-gray .bar-button-default-ios,.toolbar-ios-gray .toolbar-title-ios{color:#000}.toolbar-ios-gray .bar-button-clear-ios-primary,.toolbar-ios-gray .bar-button-default.bar-button-ios-primary,.toolbar-ios-gray .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-gray .bar-button-clear-ios-primary.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-gray .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-gray .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-gray .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-gray .bar-button-clear-ios-secondary,.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary,.toolbar-ios-gray .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-gray .bar-button-clear-ios-secondary.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-gray .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-gray .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-gray .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-gray .bar-button-clear-ios-danger,.toolbar-ios-gray .bar-button-danger-ios,.toolbar-ios-gray .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-gray .bar-button-clear-ios-danger.activated,.toolbar-ios-gray .bar-button-danger-ios.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-gray .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-gray .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-gray .bar-button-clear-ios-light,.toolbar-ios-gray .bar-button-default.bar-button-ios-light,.toolbar-ios-gray .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-gray .bar-button-clear-ios-light.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-gray .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-gray .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-gray .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-gray .bar-button-clear-ios-dark,.toolbar-ios-gray .bar-button-dark-ios,.toolbar-ios-gray .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-gray .bar-button-clear-ios-dark.activated,.toolbar-ios-gray .bar-button-dark-ios.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-gray .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-gray .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-gray .bar-button-clear-ios-optblue,.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue,.toolbar-ios-gray .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-gray .bar-button-clear-ios-optblue.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-gray .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-gray .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-gray .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.toolbar-ios-gray .bar-button-clear-ios-gray,.toolbar-ios-gray .bar-button-default.bar-button-ios-gray,.toolbar-ios-gray .bar-button-gray-ios{color:#dad8d8;background-color:transparent}.toolbar-ios-gray .bar-button-clear-ios-gray:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.toolbar-ios-gray .bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.toolbar-ios-gray .bar-button-clear-ios-gray.activated,.toolbar-ios-gray .bar-button-default.bar-button-ios-gray.activated,.toolbar-ios-gray .bar-button-gray-ios.activated{opacity:.4}.toolbar-ios-gray .bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.toolbar-ios-gray .bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.toolbar-ios-gray .bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.toolbar-ios-gray .bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.bar-button-clear-ios-gray,.bar-button-default.bar-button-ios-gray,.bar-button-gray-ios{color:#dad8d8;background-color:transparent}.bar-button-clear-ios-gray:hover:not(.disable-hover),.bar-button-default.bar-button-ios-gray:hover:not(.disable-hover),.bar-button-gray-ios:hover:not(.disable-hover){color:#dad8d8}.bar-button-clear-ios-gray.activated,.bar-button-default.bar-button-ios-gray.activated,.bar-button-gray-ios.activated{opacity:.4}.bar-button-outline-ios-gray{border-color:#dad8d8;color:#dad8d8;background-color:transparent}.bar-button-outline-ios-gray.activated{color:#000;background-color:#dad8d8}.bar-button-solid-ios-gray{color:#000;background-color:#dad8d8}.bar-button-solid-ios-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-md-primary .bar-button-clear-md-gray,.toolbar-md-primary .bar-button-gray-md,.toolbar-md-primary .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-primary .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-primary .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-primary .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-primary .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.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}.toolbar-md-secondary .bar-button-clear-md-gray,.toolbar-md-secondary .bar-button-gray-md,.toolbar-md-secondary .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-secondary .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-secondary .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-secondary .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.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}.toolbar-md-danger .bar-button-clear-md-gray,.toolbar-md-danger .bar-button-gray-md,.toolbar-md-danger .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-danger .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-danger .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-danger .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-danger .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.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}.toolbar-md-light .bar-button-clear-md-gray,.toolbar-md-light .bar-button-gray-md,.toolbar-md-light .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-light .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-light .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-light .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-light .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-light .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-light .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.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}.toolbar-md-dark .bar-button-clear-md-gray,.toolbar-md-dark .bar-button-gray-md,.toolbar-md-dark .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-dark .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-dark .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-dark .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-dark .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.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}.toolbar-md-optblue .bar-button-clear-md-gray,.toolbar-md-optblue .bar-button-gray-md,.toolbar-md-optblue .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-optblue .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-optblue .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-optblue .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.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}.toolbar-md-gray .toolbar-background-md{background:#dad8d8}.toolbar-md-gray .bar-button-clear-md,.toolbar-md-gray .bar-button-default-md,.toolbar-md-gray .bar-button-outline-md,.toolbar-md-gray .toolbar-title-md{color:#424242}.toolbar-md-gray .bar-button-clear-md .button-effect,.toolbar-md-gray .bar-button-default-md .button-effect,.toolbar-md-gray .bar-button-outline-md .button-effect{background-color:#424242}.toolbar-md-gray .bar-button-outline-md{border-color:#424242}.toolbar-md-gray .bar-button-clear-md-primary,.toolbar-md-gray .bar-button-md-primary,.toolbar-md-gray .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-gray .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-gray .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-gray .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-gray .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-gray .bar-button-clear-md-secondary,.toolbar-md-gray .bar-button-md-secondary,.toolbar-md-gray .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-gray .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-gray .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-gray .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-gray .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-gray .bar-button-clear-md-danger,.toolbar-md-gray .bar-button-danger-md,.toolbar-md-gray .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-gray .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-gray .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-gray .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-gray .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-gray .bar-button-clear-md-light,.toolbar-md-gray .bar-button-light-md,.toolbar-md-gray .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-gray .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-gray .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-gray .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-gray .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-gray .bar-button-clear-md-dark,.toolbar-md-gray .bar-button-dark-md,.toolbar-md-gray .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-gray .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-gray .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-gray .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-gray .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-gray .bar-button-clear-md-optblue,.toolbar-md-gray .bar-button-md-optblue,.toolbar-md-gray .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-gray .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-gray .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-gray .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-gray .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.toolbar-md-gray .bar-button-clear-md-gray,.toolbar-md-gray .bar-button-gray-md,.toolbar-md-gray .bar-button-md-gray{color:#dad8d8;background-color:transparent}.toolbar-md-gray .bar-button-clear-md-gray:hover:not(.disable-hover),.toolbar-md-gray .bar-button-gray-md:hover:not(.disable-hover),.toolbar-md-gray .bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-md-gray .bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-md-gray .bar-button-outline-md-gray.activated{background-color:transparent}.toolbar-md-gray .bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.toolbar-md-gray .bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.toolbar-md-gray .bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.bar-button-clear-md-gray,.bar-button-gray-md,.bar-button-md-gray{color:#dad8d8;background-color:transparent}.bar-button-clear-md-gray:hover:not(.disable-hover),.bar-button-gray-md:hover:not(.disable-hover),.bar-button-md-gray:hover:not(.disable-hover){color:#dad8d8}.bar-button-outline-md-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.bar-button-outline-md-gray.activated{background-color:transparent}.bar-button-outline-md-gray .button-effect{background-color:#c9c7c7}.bar-button-solid-md-gray{color:#424242;background-color:#dad8d8}.bar-button-solid-md-gray.activated{color:#424242;background-color:#c9c7c7}.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}.toolbar-wp-primary .bar-button-clear-wp-gray,.toolbar-wp-primary .bar-button-gray-wp,.toolbar-wp-primary .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-primary .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-primary .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-primary .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-wp-secondary .bar-button-clear-wp-gray,.toolbar-wp-secondary .bar-button-gray-wp,.toolbar-wp-secondary .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-secondary .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-secondary .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-secondary .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-wp-danger .bar-button-clear-wp-gray,.toolbar-wp-danger .bar-button-gray-wp,.toolbar-wp-danger .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-danger .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-danger .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-danger .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-wp-light .bar-button-clear-wp-gray,.toolbar-wp-light .bar-button-gray-wp,.toolbar-wp-light .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-light .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-light .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-light .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-light .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-wp-dark .bar-button-clear-wp-gray,.toolbar-wp-dark .bar-button-gray-wp,.toolbar-wp-dark .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-dark .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-dark .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-dark .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-wp-optblue .bar-button-clear-wp-gray,.toolbar-wp-optblue .bar-button-gray-wp,.toolbar-wp-optblue .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-optblue .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-optblue .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-optblue .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.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}.toolbar-wp-gray .toolbar-background-wp{background:#dad8d8}.toolbar-wp-gray .bar-button-clear-wp,.toolbar-wp-gray .bar-button-default-wp,.toolbar-wp-gray .bar-button-outline-wp,.toolbar-wp-gray .toolbar-title-wp{color:#000}.toolbar-wp-gray .bar-button-outline-wp{border-color:#000}.toolbar-wp-gray .bar-button-clear-wp-primary,.toolbar-wp-gray .bar-button-primary-wp,.toolbar-wp-gray .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-gray .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-gray .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-gray .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-gray .bar-button-clear-wp-secondary,.toolbar-wp-gray .bar-button-secondary-wp,.toolbar-wp-gray .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-gray .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-gray .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-gray .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-gray .bar-button-clear-wp-danger,.toolbar-wp-gray .bar-button-danger-wp,.toolbar-wp-gray .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-gray .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-gray .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-gray .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-gray .bar-button-clear-wp-light,.toolbar-wp-gray .bar-button-light-wp,.toolbar-wp-gray .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-gray .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-gray .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-gray .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-gray .bar-button-clear-wp-dark,.toolbar-wp-gray .bar-button-dark-wp,.toolbar-wp-gray .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-gray .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-gray .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-gray .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-gray .bar-button-clear-wp-optblue,.toolbar-wp-gray .bar-button-optblue-wp,.toolbar-wp-gray .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-gray .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-gray .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-gray .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-gray .bar-button-clear-wp-gray,.toolbar-wp-gray .bar-button-gray-wp,.toolbar-wp-gray .bar-button-wp-gray{color:#dad8d8;background-color:transparent}.toolbar-wp-gray .bar-button-clear-wp-gray:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-gray-wp:hover:not(.disable-hover),.toolbar-wp-gray .bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.toolbar-wp-gray .bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.toolbar-wp-gray .bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.toolbar-wp-gray .bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.toolbar-wp-gray .bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.bar-button-clear-wp-gray,.bar-button-gray-wp,.bar-button-wp-gray{color:#dad8d8;background-color:transparent}.bar-button-clear-wp-gray:hover:not(.disable-hover),.bar-button-gray-wp:hover:not(.disable-hover),.bar-button-wp-gray:hover:not(.disable-hover){color:#dad8d8}.bar-button-outline-wp-gray{border-color:#c9c7c7;color:#c9c7c7;background-color:transparent}.bar-button-outline-wp-gray.activated{color:#000;background-color:#c9c7c7}.bar-button-solid-wp-gray{color:#000;background-color:#dad8d8}.bar-button-solid-wp-gray.activated{color:#000;background-color:#c9c7c7}.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-ios-gray{color:#dad8d8}.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-md-gray{color:#dad8d8}.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}.text-wp-gray{color:#dad8d8}.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}.buttoncss{color:#8fbc8f}.buttoncss button.alert-button:nth-child(1){color:red;border:1px solid red;border-radius:10px;position:relative;right:20px;font-size:14px}.buttoncss button.alert-button:nth-child(2){color:green;border:1px solid green;border-radius:10px}.prompt_alert{color:#006400}.prompt_alert button.alert-button{color:green;border:1px solid green;border-radius:10px}.prompt_alert input.alert-input{border:1px solid #8a2be2}.complete_alert{color:#00008b}.complete_alert .alert-message{color:#6b8e23}.complete_alert button.alert-button:nth-child(1){color:red;border:1px solid red;border-radius:10px;width:85%;text-align:center;font-size:14px}.complete_alert button.alert-button:nth-child(2){margin-top:10px;color:#006400;width:60px}.complete_alert button.alert-button:nth-child(3){margin-top:8px;color:#8b0000}.mapAddress{padding:30px}.mapAddress .modal-wrapper{border-radius:7px;background:rgba(0,0,0,.5);height:80%!important;margin-top:25%}.mapAddress .modal-wrapper ion-content{background-color:#ffebcd}.mapAddress .modal-wrapper form{margin-top:20px}.mapAddress .modal-wrapper mat-label{margin-bottom:20px;color:#006400;font-weight:700;font-size:85%;padding:0 10px 0 10px}.mapAddress .modal-wrapper ion-list .login-top{margin-top:-20px;background:#4eb5e2;padding-bottom:10px;margin-bottom:25px}.mapAddress .modal-wrapper ion-list img{margin-top:15%;max-width:30%}.mapAddress .modal-wrapper ion-list .item{background:0 0!important}.mapAddress .modal-wrapper ion-list .item button{height:4rem!important}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-complete-list mat-grid-tile{background:#fff!important}page-complete-list .grid{padding:0}page-complete-list .scroll-content{padding:0!important}page-complete-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-complete-list .scroll-content{padding:0!important}page-complete-list .mat-card{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}page-complete-list *{font-size:10px}page-complete-list .mat-card-title{margin-bottom:0}page-complete-list .list-md{margin:0}page-complete-list .lettericon{background-color:#5f9ea0;padding:10px 8px 10px 8px;border-radius:20%;color:#fff;font-size:90%;font-weight:700}page-complete-list .no_applicant_pd{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-complete-list .label-md{margin:0}page-complete-list .item-md h4{font-size:1.7rem}page-complete-list .item-md ion-icon[item-start]+.item-inner{margin-left:0}page-complete-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-complete-list .button-md-primary{margin-bottom:0!important;height:50px}page-complete-list ion-fab[middle]{top:17%!important}page-complete-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-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}page-input .addressinfo{font-size:19px!important}page-input .schdul{border-radius:5px;color:red;padding-bottom:20px}page-input ion-input{color:red;background-color:#d3d3d3;padding-left:10px;font-weight:700}page-input ion-label{font-weight:700}page-input .input-cover{position:static}page-input .leaveDays{color:red}page-input ion-icon{font-size:120%}page-input .status{color:#e00201;border:2px solid #8b008b;padding:7px;border-radius:10px}page-input .inprogress_btn{position:relative;left:80%;bottom:50%}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,.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;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,.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-map-address .mat-form-field{width:100%;padding:0 10px 0 10px}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 8px 10px 8px;border-radius:20%;color:#fff;font-size:90%;font-weight:700}page-pd-list .no_applicant_pd{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-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-list .app_id{overflow:hidden;text-overflow:ellipsis}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-address textarea{resize:none}page-pd-question-address img{padding:0 5px 0 0;height:170px}page-pd-question-address input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-assessed-business .scroll-content{padding:16px}page-pd-question-assessed-business .scroll-content{background-color:#eee}page-pd-question-assessed-business .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-assessed-business .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-daily-purchase mat-form-field{width:100%}page-pd-question-assessed-daily-purchase .scroll-content{padding:16px}page-pd-question-assessed-daily-purchase .scroll-content{background-color:#eee}page-pd-question-assessed-daily-purchase .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-assessed-daily-purchase .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-daily-sales .input-cover{position:static}page-pd-question-assessed-daily-sales .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-assessed-daily-sales .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-daily-sales .scroll-content{background-color:#eee}page-pd-question-assessed-daily-sales mat-radio-button{width:100%;padding-top:10px;padding-bottom:10px}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-dash .radio{padding-top:10px;padding-bottom:10px;font-weight:700;font-size:24px}page-pd-question-assessed-household .scroll-content{padding:16px}page-pd-question-assessed-household .scroll-content{background-color:#eee}page-pd-question-assessed-household .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-assessed-household .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-images .scroll-content{padding:16px}page-pd-question-assessed-images .scroll-content{background-color:#eee}page-pd-question-assessed-images .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-assessed-images .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-images img{padding:0 5px 0 0;height:180px}page-pd-question-assessed-images input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-assessed-info ion-scroll.scroll-y .scroll-content{width:100%;height:200px}page-pd-question-assessed-info .mat-form-field-label{white-space:normal}page-pd-question-assessed-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-assessed-info input{height:30px}page-pd-question-assessed-info .scroll-content{padding:16px}page-pd-question-assessed-info .scroll-content{background-color:#eee}page-pd-question-assessed-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-assessed-info .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-sales mat-radio-button{padding-top:10px;padding-bottom:10px}page-pd-question-assessed-sales .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-assessed-sales .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-sales .scroll-content{background-color:#eee}page-pd-question-assessed-summary .val{font-size:14.5px;font-weight:700}page-pd-question-assessed-summary .l_cons{color:#2e8b57;font-weight:700}page-pd-question-assessed-summary .mat-card{border-radius:10px;margin-bottom:15px}page-pd-question-assessed-summary .scroll-content{background-color:#eee}page-pd-question-assessed-summary .mat-expansion-panel-header{padding:30px}page-pd-question-assessed-summary .label{font-weight:700}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-assests img{padding:0 5px 0 0;height:180px}page-pd-question-assests input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-banking img{padding:0 5px 0 0;height:180px}page-pd-question-banking input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-assets .mat-form-field-label{white-space:normal}page-pd-question-business-assets textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-business-assets mat-select{margin-top:7px}page-pd-question-business-assets img{padding:0 5px 0 0;height:180px}page-pd-question-business-assets input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-banking img{padding:0 5px 0 0;height:180px}page-pd-question-business-banking input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-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-business-info .mat-form-field-label{white-space:normal}page-pd-question-business-info .labelcss{white-space:normal}page-pd-question-business-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-business-info input{height:30px}page-pd-question-business-info mat-select{margin-top:8px}page-pd-question-business-info .checkbo{margin:10px;padding-top:10px;color:#008b8b}page-pd-question-business-info img{padding:0 5px 0 0;height:180px}page-pd-question-business-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-client-info img{padding:0 5px 0 0;height:180px}page-pd-question-client-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-financial-info .large{height:30px}page-pd-question-financial-info .mat-form-field-label{white-space:normal}page-pd-question-financial-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-financial-info .mat-input-placeholder{white-space:normal}page-pd-question-financial-info img{padding:0 5px 0 0;height:180px}page-pd-question-financial-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-stock-info .mat-form-field-label{white-space:normal}page-pd-question-stock-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-stock-info .mat-input-placeholder{white-space:normal}page-pd-question-stock-info mat-select{margin:5px 0}page-pd-question-stock-info img{padding:0 5px 0 0;height:180px}page-pd-question-stock-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-supplier-info img{padding:0 5px 0 0;height:180px}page-pd-question-supplier-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-current-loans img{padding:0 5px 0 0;height:180px}page-pd-question-current-loans input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-emp-info mat-hint{font-size:11px}page-pd-question-emp-info mat-error{font-size:11px}page-pd-question-emp-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-emp-info .mat-card-content{margin-bottom:0!important}page-pd-question-emp-info .scroll-content{background-color:#eee}page-pd-question-emp-info img{padding:0 5px 0 0;height:180px}page-pd-question-emp-info input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-family img{padding:0 5px 0 0;height:180px}page-pd-question-family input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-final-remark .mat-form-field-label{white-space:normal}page-pd-question-final-remark textarea.mat-input-element{padding:0 0;margin:10px 0}page-pd-question-final-remark .mat-input-placeholder{white-space:normal}page-pd-question-final-remark mat-placeholder{font-size:15px}page-pd-question-final-remark input-placeholder{margin:10px}page-pd-question-final-remark mat-select{margin:5px 0}page-pd-question-final-remark img{padding:0 5px 0 0;height:180px}page-pd-question-final-remark input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-general-info img{padding:0 5px 0 0;height:180px}page-pd-question-general-info input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-lender-representative img{padding:0 5px 0 0;height:180px}page-pd-question-lender-representative input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-loans img{padding:0 5px 0 0;height:180px}page-pd-question-loans input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-neighbour-hood .mat-form-field-label{white-space:normal}page-pd-question-neighbour-hood textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-neighbour-hood .mat-input-placeholder{white-space:normal}page-pd-question-neighbour-hood mat-select{margin:5px 0}page-pd-question-neighbour-hood img{padding:0 5px 0 0;height:180px}page-pd-question-neighbour-hood input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}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-other-income img{padding:0 5px 0 0;height:180px}page-pd-question-other-income input{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-rental-info mat-hint{font-size:11px}page-pd-question-rental-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-rental-info .mat-card-content{margin-bottom:0!important}page-pd-question-rental-info .scroll-content{background-color:#eee}page-pd-question-rental-info .mat-form-field-label{white-space:normal}page-pd-question-rental-info mat-select{margin-top:7px}page-pd-question-rental-info textarea.mat-input-element{padding:0 0;margin:10px 0}page-pd-question-rental-info input{height:32px}page-pd-question-rental-info img{padding:0 5px 0 0;height:180px}page-pd-question-rental-info .docName{width:100px;border-radius:4px;border-color:gray;font-size:12px;height:28px}page-pd-question-rental-dash .mat-card{margin-bottom:10px;padding-top:10px;padding-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}page-pd-question-rental-dash .mat-card-content{margin-bottom:0!important}page-pd-question-rental-dash .mat-card-title{color:#6b8e23}page-pd-question-rental-dash mat-label{color:#008b8b}page-pd-question-rental-dash .scroll-content{background-color:#eee} \ 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-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.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-md-gray { + color: #000; + background-color: #dad8d8; +} + +.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; +} + +.badge-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.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-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.button-ios-gray.activated { + background-color: #c9c7c7; +} + +.button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.button-clear-ios-gray { + border-color: transparent; + color: #dad8d8; + background-color: transparent; +} + +.button-clear-ios-gray.activated { + opacity: 0.4; +} + +.button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.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-md-gray { + color: #000; + background-color: #dad8d8; +} + +.button-md-gray:hover:not(.disable-hover) { + background-color: #dad8d8; +} + +.button-md-gray.activated { + background-color: #c9c7c7; + opacity: 1; +} + +.button-md-gray .button-effect { + background-color: #000; +} + +.button-outline-md-gray { + border-color: #cfcdcd; + color: #cfcdcd; + background-color: transparent; +} + +.button-outline-md-gray:hover:not(.disable-hover) { + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-md-gray.activated { + background-color: transparent; +} + +.button-outline-md-gray .button-effect { + background-color: #cfcdcd; +} + +.button-clear-md-gray { + border-color: transparent; + color: #dad8d8; + background-color: transparent; +} + +.button-clear-md-gray.activated { + background-color: rgba(158, 158, 158, 0.2); + -webkit-box-shadow: none; + box-shadow: none; +} + +.button-clear-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.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-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.button-wp-gray:hover:not(.disable-hover) { + border-color: #c9c7c7; + background-color: #dad8d8; +} + +.button-wp-gray.activated { + background-color: #c9c7c7; +} + +.button-outline-wp-gray { + border-color: #cfcdcd; + color: #cfcdcd; + background-color: transparent; +} + +.button-outline-wp-gray:hover:not(.disable-hover) { + border-color: #cfcdcd; + background-color: rgba(158, 158, 158, 0.1); +} + +.button-outline-wp-gray.activated { + background-color: rgba(207, 205, 205, 0.16); +} + +.button-clear-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.button-clear-wp-gray.activated { + background-color: rgba(158, 158, 158, 0.2); +} + +.button-clear-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.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-ios-primary .text-ios-gray, +.card-ios-primary .card-header-ios-gray, +.card-ios-primary .card-title-ios-gray, +.card-ios-primary .card-content-ios-gray { + color: #dad8d8; +} + +.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-ios-secondary .text-ios-gray, +.card-ios-secondary .card-header-ios-gray, +.card-ios-secondary .card-title-ios-gray, +.card-ios-secondary .card-content-ios-gray { + color: #dad8d8; +} + +.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-ios-danger .text-ios-gray, +.card-ios-danger .card-header-ios-gray, +.card-ios-danger .card-title-ios-gray, +.card-ios-danger .card-content-ios-gray { + color: #dad8d8; +} + +.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-ios-light .text-ios-gray, +.card-ios-light .card-header-ios-gray, +.card-ios-light .card-title-ios-gray, +.card-ios-light .card-content-ios-gray { + color: #dad8d8; +} + +.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-ios-dark .text-ios-gray, +.card-ios-dark .card-header-ios-gray, +.card-ios-dark .card-title-ios-gray, +.card-ios-dark .card-content-ios-gray { + color: #dad8d8; +} + +.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-ios-optblue .text-ios-gray, +.card-ios-optblue .card-header-ios-gray, +.card-ios-optblue .card-title-ios-gray, +.card-ios-optblue .card-content-ios-gray { + color: #dad8d8; +} + +.card-header-ios-optblue, +.card-title-ios-optblue, +.card-content-ios-optblue { + color: #E00201; +} + +.card-ios .text-ios-gray { + color: #dad8d8; +} + +.card-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.card-ios-gray .card-header-ios, +.card-ios-gray .card-title-ios, +.card-ios-gray .card-content-ios, +.card-ios-gray p { + color: #000; +} + +.card-ios-gray .text-ios-primary, +.card-ios-gray .card-header-ios-primary, +.card-ios-gray .card-title-ios-primary, +.card-ios-gray .card-content-ios-primary { + color: #673AB7; +} + +.card-ios-gray .text-ios-secondary, +.card-ios-gray .card-header-ios-secondary, +.card-ios-gray .card-title-ios-secondary, +.card-ios-gray .card-content-ios-secondary { + color: #32db64; +} + +.card-ios-gray .text-ios-danger, +.card-ios-gray .card-header-ios-danger, +.card-ios-gray .card-title-ios-danger, +.card-ios-gray .card-content-ios-danger { + color: #f53d3d; +} + +.card-ios-gray .text-ios-light, +.card-ios-gray .card-header-ios-light, +.card-ios-gray .card-title-ios-light, +.card-ios-gray .card-content-ios-light { + color: #f4f4f4; +} + +.card-ios-gray .text-ios-dark, +.card-ios-gray .card-header-ios-dark, +.card-ios-gray .card-title-ios-dark, +.card-ios-gray .card-content-ios-dark { + color: #222; +} + +.card-ios-gray .text-ios-optblue, +.card-ios-gray .card-header-ios-optblue, +.card-ios-gray .card-title-ios-optblue, +.card-ios-gray .card-content-ios-optblue { + color: #E00201; +} + +.card-ios-gray .text-ios-gray, +.card-ios-gray .card-header-ios-gray, +.card-ios-gray .card-title-ios-gray, +.card-ios-gray .card-content-ios-gray { + color: #dad8d8; +} + +.card-header-ios-gray, +.card-title-ios-gray, +.card-content-ios-gray { + color: #dad8d8; +} + +.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-md-primary .text-md-gray, +.card-md-primary .card-header-md-gray, +.card-md-primary .card-title-md-gray, +.card-md-primary .card-content-md-gray { + color: #dad8d8; +} + +.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-md-secondary .text-md-gray, +.card-md-secondary .card-header-md-gray, +.card-md-secondary .card-title-md-gray, +.card-md-secondary .card-content-md-gray { + color: #dad8d8; +} + +.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-md-danger .text-md-gray, +.card-md-danger .card-header-md-gray, +.card-md-danger .card-title-md-gray, +.card-md-danger .card-content-md-gray { + color: #dad8d8; +} + +.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-md-light .text-md-gray, +.card-md-light .card-header-md-gray, +.card-md-light .card-title-md-gray, +.card-md-light .card-content-md-gray { + color: #dad8d8; +} + +.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-md-dark .text-md-gray, +.card-md-dark .card-header-md-gray, +.card-md-dark .card-title-md-gray, +.card-md-dark .card-content-md-gray { + color: #dad8d8; +} + +.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-md-optblue .text-md-gray, +.card-md-optblue .card-header-md-gray, +.card-md-optblue .card-title-md-gray, +.card-md-optblue .card-content-md-gray { + color: #dad8d8; +} + +.card-header-md-optblue, +.card-title-md-optblue, +.card-content-md-optblue { + color: #E00201; +} + +.card-md .text-md-gray { + color: #dad8d8; +} + +.card-md-gray { + color: #000; + background-color: #dad8d8; +} + +.card-md-gray .card-header-md, +.card-md-gray .card-title-md, +.card-md-gray .card-content-md, +.card-md-gray h1, +.card-md-gray h2, +.card-md-gray h3, +.card-md-gray h4, +.card-md-gray h5, +.card-md-gray h6, +.card-md-gray p { + color: #000; +} + +.card-md-gray .text-md-primary, +.card-md-gray .card-header-md-primary, +.card-md-gray .card-title-md-primary, +.card-md-gray .card-content-md-primary { + color: #673AB7; +} + +.card-md-gray .text-md-secondary, +.card-md-gray .card-header-md-secondary, +.card-md-gray .card-title-md-secondary, +.card-md-gray .card-content-md-secondary { + color: #32db64; +} + +.card-md-gray .text-md-danger, +.card-md-gray .card-header-md-danger, +.card-md-gray .card-title-md-danger, +.card-md-gray .card-content-md-danger { + color: #f53d3d; +} + +.card-md-gray .text-md-light, +.card-md-gray .card-header-md-light, +.card-md-gray .card-title-md-light, +.card-md-gray .card-content-md-light { + color: #f4f4f4; +} + +.card-md-gray .text-md-dark, +.card-md-gray .card-header-md-dark, +.card-md-gray .card-title-md-dark, +.card-md-gray .card-content-md-dark { + color: #222; +} + +.card-md-gray .text-md-optblue, +.card-md-gray .card-header-md-optblue, +.card-md-gray .card-title-md-optblue, +.card-md-gray .card-content-md-optblue { + color: #E00201; +} + +.card-md-gray .text-md-gray, +.card-md-gray .card-header-md-gray, +.card-md-gray .card-title-md-gray, +.card-md-gray .card-content-md-gray { + color: #dad8d8; +} + +.card-header-md-gray, +.card-title-md-gray, +.card-content-md-gray { + color: #dad8d8; +} + +.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-wp-primary .text-wp-gray, +.card-wp-primary .card-header-wp-gray, +.card-wp-primary .card-title-wp-gray, +.card-wp-primary .card-content-wp-gray { + color: #dad8d8; +} + +.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-wp-secondary .text-wp-gray, +.card-wp-secondary .card-header-wp-gray, +.card-wp-secondary .card-title-wp-gray, +.card-wp-secondary .card-content-wp-gray { + color: #dad8d8; +} + +.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-wp-danger .text-wp-gray, +.card-wp-danger .card-header-wp-gray, +.card-wp-danger .card-title-wp-gray, +.card-wp-danger .card-content-wp-gray { + color: #dad8d8; +} + +.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-wp-light .text-wp-gray, +.card-wp-light .card-header-wp-gray, +.card-wp-light .card-title-wp-gray, +.card-wp-light .card-content-wp-gray { + color: #dad8d8; +} + +.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-wp-dark .text-wp-gray, +.card-wp-dark .card-header-wp-gray, +.card-wp-dark .card-title-wp-gray, +.card-wp-dark .card-content-wp-gray { + color: #dad8d8; +} + +.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-wp-optblue .text-wp-gray, +.card-wp-optblue .card-header-wp-gray, +.card-wp-optblue .card-title-wp-gray, +.card-wp-optblue .card-content-wp-gray { + color: #dad8d8; +} + +.card-header-wp-optblue, +.card-title-wp-optblue, +.card-content-wp-optblue { + color: #E00201; +} + +.card-wp .text-wp-gray { + color: #dad8d8; +} + +.card-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.card-wp-gray .card-header-wp, +.card-wp-gray .card-title-wp, +.card-wp-gray .card-content-wp, +.card-wp-gray h1, +.card-wp-gray h2, +.card-wp-gray h3, +.card-wp-gray h4, +.card-wp-gray h5, +.card-wp-gray h6, +.card-wp-gray p { + color: #000; +} + +.card-wp-gray .text-wp-primary, +.card-wp-gray .card-header-wp-primary, +.card-wp-gray .card-title-wp-primary, +.card-wp-gray .card-content-wp-primary { + color: #673AB7; +} + +.card-wp-gray .text-wp-secondary, +.card-wp-gray .card-header-wp-secondary, +.card-wp-gray .card-title-wp-secondary, +.card-wp-gray .card-content-wp-secondary { + color: #32db64; +} + +.card-wp-gray .text-wp-danger, +.card-wp-gray .card-header-wp-danger, +.card-wp-gray .card-title-wp-danger, +.card-wp-gray .card-content-wp-danger { + color: #f53d3d; +} + +.card-wp-gray .text-wp-light, +.card-wp-gray .card-header-wp-light, +.card-wp-gray .card-title-wp-light, +.card-wp-gray .card-content-wp-light { + color: #f4f4f4; +} + +.card-wp-gray .text-wp-dark, +.card-wp-gray .card-header-wp-dark, +.card-wp-gray .card-title-wp-dark, +.card-wp-gray .card-content-wp-dark { + color: #222; +} + +.card-wp-gray .text-wp-optblue, +.card-wp-gray .card-header-wp-optblue, +.card-wp-gray .card-title-wp-optblue, +.card-wp-gray .card-content-wp-optblue { + color: #E00201; +} + +.card-wp-gray .text-wp-gray, +.card-wp-gray .card-header-wp-gray, +.card-wp-gray .card-title-wp-gray, +.card-wp-gray .card-content-wp-gray { + color: #dad8d8; +} + +.card-header-wp-gray, +.card-title-wp-gray, +.card-content-wp-gray { + color: #dad8d8; +} + +.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-ios-gray .checkbox-checked { + border-color: #dad8d8; + background-color: #dad8d8; +} + +.checkbox-ios-gray .checkbox-checked .checkbox-inner { + border-color: #000; +} + +.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-md-gray .checkbox-checked { + border-color: #dad8d8; + background-color: #dad8d8; +} + +.checkbox-md-gray .checkbox-checked .checkbox-inner { + border-color: #000; +} + +.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; +} + +.checkbox-wp-gray .checkbox-checked { + border-color: #dad8d8; + background-color: #dad8d8; +} + +.checkbox-wp-gray .checkbox-checked .checkbox-inner { + border-color: #000; +} + +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-ios-gray, +.chip-ios .icon-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.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-md-gray, +.chip-md .icon-md-gray { + color: #000; + background-color: #dad8d8; +} + +.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; +} + +.chip-wp-gray, +.chip-wp .icon-wp-gray { + color: #000; + background-color: #dad8d8; +} + +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-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.fab-ios-gray.activated { + background-color: #c9c7c7; +} + +.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-md-gray { + color: #000; + background-color: #dad8d8; +} + +.fab-md-gray.activated { + background-color: #c9c7c7; +} + +.fab-md-gray .button-effect { + background-color: #000; +} + +.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; +} + +.fab-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.fab-wp-gray.activated { + background-color: #c9c7c7; +} + +.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-ios-gray { + color: #dad8d8; +} + +.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-md-gray { + color: #dad8d8; +} + +.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; +} + +.icon-wp-gray { + color: #dad8d8; +} + +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; +} + +.item-ios .text-ios-gray { + color: #dad8d8; +} + +.item-ios-gray, +.item-divider-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.item-ios-gray p, +.item-divider-ios-gray p { + color: #000; +} + +.item-ios-gray.activated, +.item-divider-ios-gray.activated { + background-color: #c9c7c7; +} + +.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; +} + +.item-md .text-md-gray { + color: #dad8d8; +} + +.item-md-gray, +.item-divider-md-gray { + color: #000; + background-color: #dad8d8; +} + +.item-md-gray p, +.item-divider-md-gray p { + color: #000; +} + +.item-md-gray.activated, +.item-divider-md-gray.activated { + background-color: #c9c7c7; +} + +.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; +} + +.item-wp .text-wp-gray { + color: #dad8d8; +} + +.item-wp-gray, +.item-divider-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.item-wp-gray p, +.item-divider-wp-gray p { + color: #000; +} + +.item-wp-gray.activated, +.item-divider-wp-gray.activated { + background-color: #c9c7c7; +} + +.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-ios-gray, +.item-input .label-ios-gray, +.item-select .label-ios-gray, +.item-datetime .label-ios-gray { + color: #dad8d8; +} + +.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-md-gray, +.item-input .label-md-gray, +.item-select .label-md-gray, +.item-datetime .label-md-gray { + color: #dad8d8; +} + +.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; +} + +.label-wp-gray, +.item-input .label-wp-gray, +.item-select .label-wp-gray, +.item-datetime .label-wp-gray { + color: #dad8d8; +} + +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-header-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.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-header-md-gray { + color: #000; + background-color: #dad8d8; +} + +.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; +} + +.list-header-wp-gray { + color: #000; + background-color: #dad8d8; +} + +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-ios-gray { + color: #dad8d8; +} + +.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-md-gray { + color: #dad8d8; +} + +.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; +} + +.note-wp-gray { + color: #dad8d8; +} + +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; +} + +.item-radio-ios-gray.item-radio-checked ion-label { + color: #dad8d8; +} + +.radio-ios-gray .radio-checked { + color: #dad8d8; +} + +.radio-ios-gray .radio-checked .radio-inner { + border-color: #dad8d8; +} + +.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; +} + +.item-radio-md-gray.item-radio-checked ion-label { + color: #dad8d8; +} + +.radio-md-gray .radio-checked { + border-color: #dad8d8; +} + +.radio-md-gray .radio-inner { + background-color: #dad8d8; +} + +.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; +} + +.radio-wp-gray .radio-checked { + border-color: #dad8d8; +} + +.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-ios-gray .range-bar-active, +.range-ios-gray .range-tick-active { + background: #dad8d8; +} + +.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-md-gray .range-md .range-knob-min.range-knob-min .range-knob { + border: 2px solid #bdbdbd; + background: #fff; +} + +.range-md-gray .range-md .range-knob-min.range-knob-min .range-pin, +.range-md-gray .range-md .range-knob-min.range-knob-min .range-pin::before { + color: #fff; + background: #bdbdbd; +} + +.range-md-gray .range-bar-active, +.range-md-gray .range-knob, +.range-md-gray .range-pin, +.range-md-gray .range-pin::before { + background: #dad8d8; +} + +.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; +} + +.range-wp-gray .range-bar-active, +.range-wp-gray .range-tick-active, +.range-wp-gray .range-knob, +.range-wp-gray .range-pin { + background: #dad8d8; +} + +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-gray .searchbar-ios-cancel { + color: #dad8d8; +} + +.searchbar-ios-gray .searchbar-ios-cancel:hover:not(.disable-hover) { + color: #c9c7c7; +} + +.toolbar-ios-gray .searchbar-ios .searchbar-search-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-gray .searchbar-ios .searchbar-input { + color: #000; + background: rgba(0, 0, 0, 0.08); +} + +.toolbar-ios-gray .searchbar-ios .searchbar-input::-moz-placeholder { + color: rgba(0, 0, 0, 0.5); +} + +.toolbar-ios-gray .searchbar-ios .searchbar-input:-ms-input-placeholder { + color: rgba(0, 0, 0, 0.5); +} + +.toolbar-ios-gray .searchbar-ios .searchbar-input::-webkit-input-placeholder { + text-indent: 0; + color: rgba(0, 0, 0, 0.5); +} + +.toolbar-ios-gray .searchbar-ios .searchbar-clear-icon { + background-image: url("data:image/svg+xml;charset=utf-8,"); +} + +.toolbar-ios-gray .searchbar-ios .searchbar-ios-cancel { + color: #673AB7; +} + +.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; +} + +.searchbar-wp-gray.searchbar-has-focus .searchbar-input-container { + border-color: #dad8d8; +} + +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-ios-gray .segment-button { + border-color: #dad8d8; + color: #dad8d8; +} + +.segment-ios-gray .segment-button:hover:not(.segment-activated) { + background-color: rgba(218, 216, 216, 0.1); +} + +.segment-ios-gray .segment-button:active:not(.segment-activated) { + background-color: rgba(218, 216, 216, 0.16); +} + +.segment-ios-gray .segment-button.segment-activated { + color: #000; + background-color: #dad8d8; +} + +.segment-ios-gray .segment-button-disabled { + color: rgba(218, 216, 216, 0.3); +} + +.toolbar-ios-gray .segment-ios .segment-button.segment-activated { + color: #dad8d8; +} + +.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-md-gray .segment-button { + color: #dad8d8; +} + +.segment-md-gray .segment-button.activated, .segment-md-gray .segment-button.segment-activated { + border-color: #dad8d8; + color: #dad8d8; + 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; +} + +.segment-wp-gray .segment-button { + color: #dad8d8; +} + +.segment-wp-gray .segment-button.activated, .segment-wp-gray .segment-button.segment-activated { + border-color: #dad8d8; + color: #dad8d8; + 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-ios-gray.spinner-ios line, +.spinner-ios-gray.spinner-ios-small line, +.spinner-ios-gray.spinner-crescent circle { + stroke: #dad8d8; +} + +.spinner-ios-gray.spinner-bubbles circle, +.spinner-ios-gray.spinner-circles circle, +.spinner-ios-gray.spinner-dots circle { + fill: #dad8d8; +} + +.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-md-gray.spinner-ios line, +.spinner-md-gray.spinner-ios-small line, +.spinner-md-gray.spinner-crescent circle { + stroke: #dad8d8; +} + +.spinner-md-gray.spinner-bubbles circle, +.spinner-md-gray.spinner-circles circle, +.spinner-md-gray.spinner-dots circle { + fill: #dad8d8; +} + +.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; +} + +.spinner-wp-gray.spinner-ios line, +.spinner-wp-gray.spinner-ios-small line, +.spinner-wp-gray.spinner-crescent circle { + stroke: #dad8d8; +} + +.spinner-wp-gray.spinner-bubbles circle, +.spinner-wp-gray.spinner-circles circle, +.spinner-wp-gray.spinner-dots circle { + fill: #dad8d8; +} + +.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-ios-gray .tabbar { + border-color: #c1bebe; + background-color: #dad8d8; +} + +.tabs-ios-gray .tab-button, +.tabs-ios-gray .tab-button-icon, +.tabs-ios-gray .tab-button:hover:not(.disable-hover), +.tabs-ios-gray .tab-button:hover:not(.disable-hover) .tab-button-icon { + color: rgba(0, 0, 0, 0.7); +} + +.tabs-ios-gray .tab-button[aria-selected=true], +.tabs-ios-gray .tab-button[aria-selected=true] .tab-button-icon { + color: #000; +} + +.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-md-gray .tabbar { + background-color: #dad8d8; +} + +.tabs-md-gray .tab-button, +.tabs-md-gray .tab-button-icon { + color: rgba(0, 0, 0, 0.7); +} + +.tabs-md-gray .tab-button:hover:not(.disable-hover), +.tabs-md-gray .tab-button[aria-selected=true], +.tabs-md-gray .tab-button[aria-selected=true] .tab-button-icon { + color: #000; +} + +.tabs-md-gray[tabsHighlight=true] .tab-highlight { + background: #000; +} + +.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; +} + +.tabs-wp-gray .tabbar { + background-color: #dad8d8; +} + +.tabs-wp-gray .tab-button, +.tabs-wp-gray .tab-button-icon { + color: rgba(0, 0, 0, 0.7); +} + +.tabs-wp-gray .tab-button:hover:not(.disable-hover), +.tabs-wp-gray .tab-button:hover:not(.disable-hover) .tab-button-icon, +.tabs-wp-gray .tab-button[aria-selected=true], +.tabs-wp-gray .tab-button[aria-selected=true] .tab-button-icon { + border-color: #000; + color: #000; +} + +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-ios-gray.toggle-checked .toggle-icon { + background-color: #dad8d8; +} + +.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-md-gray.toggle-checked .toggle-icon { + background-color: white; +} + +.toggle-md-gray.toggle-checked .toggle-inner { + background-color: #dad8d8; +} + +.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; +} + +.toggle-wp-gray.toggle-checked .toggle-icon { + border-color: #dad8d8; + background-color: #dad8d8; +} + +.toggle-wp-gray.toggle-checked .toggle-inner { + background-color: #000; +} + +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; +} + +.toolbar-ios-primary .bar-button-gray-ios, +.toolbar-ios-primary .bar-button-default.bar-button-ios-gray, +.toolbar-ios-primary .bar-button-clear-ios-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-gray-ios:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), +.toolbar-ios-primary .bar-button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-ios-primary .bar-button-gray-ios.activated, +.toolbar-ios-primary .bar-button-default.bar-button-ios-gray.activated, +.toolbar-ios-primary .bar-button-clear-ios-gray.activated { + opacity: .4; +} + +.toolbar-ios-primary .bar-button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-primary .bar-button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-primary .bar-button-solid-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-primary .bar-button-solid-ios-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-ios-secondary .bar-button-gray-ios, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray, +.toolbar-ios-secondary .bar-button-clear-ios-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-gray-ios:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), +.toolbar-ios-secondary .bar-button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-ios-secondary .bar-button-gray-ios.activated, +.toolbar-ios-secondary .bar-button-default.bar-button-ios-gray.activated, +.toolbar-ios-secondary .bar-button-clear-ios-gray.activated { + opacity: .4; +} + +.toolbar-ios-secondary .bar-button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-secondary .bar-button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-secondary .bar-button-solid-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-secondary .bar-button-solid-ios-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-ios-danger .bar-button-gray-ios, +.toolbar-ios-danger .bar-button-default.bar-button-ios-gray, +.toolbar-ios-danger .bar-button-clear-ios-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-gray-ios:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), +.toolbar-ios-danger .bar-button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-ios-danger .bar-button-gray-ios.activated, +.toolbar-ios-danger .bar-button-default.bar-button-ios-gray.activated, +.toolbar-ios-danger .bar-button-clear-ios-gray.activated { + opacity: .4; +} + +.toolbar-ios-danger .bar-button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-danger .bar-button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-danger .bar-button-solid-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-danger .bar-button-solid-ios-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-ios-light .bar-button-gray-ios, +.toolbar-ios-light .bar-button-default.bar-button-ios-gray, +.toolbar-ios-light .bar-button-clear-ios-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-gray-ios:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), +.toolbar-ios-light .bar-button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-ios-light .bar-button-gray-ios.activated, +.toolbar-ios-light .bar-button-default.bar-button-ios-gray.activated, +.toolbar-ios-light .bar-button-clear-ios-gray.activated { + opacity: .4; +} + +.toolbar-ios-light .bar-button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-light .bar-button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-light .bar-button-solid-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-light .bar-button-solid-ios-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-ios-dark .bar-button-gray-ios, +.toolbar-ios-dark .bar-button-default.bar-button-ios-gray, +.toolbar-ios-dark .bar-button-clear-ios-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-gray-ios:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), +.toolbar-ios-dark .bar-button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-ios-dark .bar-button-gray-ios.activated, +.toolbar-ios-dark .bar-button-default.bar-button-ios-gray.activated, +.toolbar-ios-dark .bar-button-clear-ios-gray.activated { + opacity: .4; +} + +.toolbar-ios-dark .bar-button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-dark .bar-button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-dark .bar-button-solid-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-dark .bar-button-solid-ios-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-ios-optblue .bar-button-gray-ios, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray, +.toolbar-ios-optblue .bar-button-clear-ios-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-gray-ios:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), +.toolbar-ios-optblue .bar-button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-ios-optblue .bar-button-gray-ios.activated, +.toolbar-ios-optblue .bar-button-default.bar-button-ios-gray.activated, +.toolbar-ios-optblue .bar-button-clear-ios-gray.activated { + opacity: .4; +} + +.toolbar-ios-optblue .bar-button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-optblue .bar-button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-optblue .bar-button-solid-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-optblue .bar-button-solid-ios-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-ios-gray .toolbar-background-ios { + background: #dad8d8; +} + +.toolbar-ios-gray .toolbar-title-ios, +.toolbar-ios-gray .bar-button-clear-ios, +.toolbar-ios-gray .bar-button-default-ios { + color: #000; +} + +.toolbar-ios-gray .bar-button-primary-ios, +.toolbar-ios-gray .bar-button-default.bar-button-ios-primary, +.toolbar-ios-gray .bar-button-clear-ios-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-primary-ios:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-clear-ios-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-ios-gray .bar-button-primary-ios.activated, +.toolbar-ios-gray .bar-button-default.bar-button-ios-primary.activated, +.toolbar-ios-gray .bar-button-clear-ios-primary.activated { + opacity: .4; +} + +.toolbar-ios-gray .bar-button-outline-ios-primary { + border-color: #673AB7; + color: #673AB7; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-outline-ios-primary.activated { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-gray .bar-button-solid-ios-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-ios-gray .bar-button-solid-ios-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-ios-gray .bar-button-secondary-ios, +.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary, +.toolbar-ios-gray .bar-button-clear-ios-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-secondary-ios:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-clear-ios-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-ios-gray .bar-button-secondary-ios.activated, +.toolbar-ios-gray .bar-button-default.bar-button-ios-secondary.activated, +.toolbar-ios-gray .bar-button-clear-ios-secondary.activated { + opacity: .4; +} + +.toolbar-ios-gray .bar-button-outline-ios-secondary { + border-color: #32db64; + color: #32db64; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-outline-ios-secondary.activated { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-gray .bar-button-solid-ios-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-ios-gray .bar-button-solid-ios-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-ios-gray .bar-button-danger-ios, +.toolbar-ios-gray .bar-button-default.bar-button-ios-danger, +.toolbar-ios-gray .bar-button-clear-ios-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-danger-ios:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-clear-ios-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-ios-gray .bar-button-danger-ios.activated, +.toolbar-ios-gray .bar-button-default.bar-button-ios-danger.activated, +.toolbar-ios-gray .bar-button-clear-ios-danger.activated { + opacity: .4; +} + +.toolbar-ios-gray .bar-button-outline-ios-danger { + border-color: #f53d3d; + color: #f53d3d; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-outline-ios-danger.activated { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-gray .bar-button-solid-ios-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-ios-gray .bar-button-solid-ios-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-ios-gray .bar-button-light-ios, +.toolbar-ios-gray .bar-button-default.bar-button-ios-light, +.toolbar-ios-gray .bar-button-clear-ios-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-light-ios:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-clear-ios-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-ios-gray .bar-button-light-ios.activated, +.toolbar-ios-gray .bar-button-default.bar-button-ios-light.activated, +.toolbar-ios-gray .bar-button-clear-ios-light.activated { + opacity: .4; +} + +.toolbar-ios-gray .bar-button-outline-ios-light { + border-color: #f4f4f4; + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-outline-ios-light.activated { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-gray .bar-button-solid-ios-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-ios-gray .bar-button-solid-ios-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-ios-gray .bar-button-dark-ios, +.toolbar-ios-gray .bar-button-default.bar-button-ios-dark, +.toolbar-ios-gray .bar-button-clear-ios-dark { + color: #222; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-dark-ios:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-clear-ios-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-ios-gray .bar-button-dark-ios.activated, +.toolbar-ios-gray .bar-button-default.bar-button-ios-dark.activated, +.toolbar-ios-gray .bar-button-clear-ios-dark.activated { + opacity: .4; +} + +.toolbar-ios-gray .bar-button-outline-ios-dark { + border-color: #222; + color: #222; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-outline-ios-dark.activated { + color: #fff; + background-color: #222; +} + +.toolbar-ios-gray .bar-button-solid-ios-dark { + color: #fff; + background-color: #222; +} + +.toolbar-ios-gray .bar-button-solid-ios-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-ios-gray .bar-button-optblue-ios, +.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue, +.toolbar-ios-gray .bar-button-clear-ios-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-optblue-ios:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-clear-ios-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-ios-gray .bar-button-optblue-ios.activated, +.toolbar-ios-gray .bar-button-default.bar-button-ios-optblue.activated, +.toolbar-ios-gray .bar-button-clear-ios-optblue.activated { + opacity: .4; +} + +.toolbar-ios-gray .bar-button-outline-ios-optblue { + border-color: #E00201; + color: #E00201; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-outline-ios-optblue.activated { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-gray .bar-button-solid-ios-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-ios-gray .bar-button-solid-ios-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-ios-gray .bar-button-gray-ios, +.toolbar-ios-gray .bar-button-default.bar-button-ios-gray, +.toolbar-ios-gray .bar-button-clear-ios-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-gray-ios:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), +.toolbar-ios-gray .bar-button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-ios-gray .bar-button-gray-ios.activated, +.toolbar-ios-gray .bar-button-default.bar-button-ios-gray.activated, +.toolbar-ios-gray .bar-button-clear-ios-gray.activated { + opacity: .4; +} + +.toolbar-ios-gray .bar-button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.toolbar-ios-gray .bar-button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-gray .bar-button-solid-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-ios-gray .bar-button-solid-ios-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.bar-button-gray-ios, +.bar-button-default.bar-button-ios-gray, +.bar-button-clear-ios-gray { + color: #dad8d8; + background-color: transparent; +} + +.bar-button-gray-ios:hover:not(.disable-hover), +.bar-button-default.bar-button-ios-gray:hover:not(.disable-hover), +.bar-button-clear-ios-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.bar-button-gray-ios.activated, +.bar-button-default.bar-button-ios-gray.activated, +.bar-button-clear-ios-gray.activated { + opacity: .4; +} + +.bar-button-outline-ios-gray { + border-color: #dad8d8; + color: #dad8d8; + background-color: transparent; +} + +.bar-button-outline-ios-gray.activated { + color: #000; + background-color: #dad8d8; +} + +.bar-button-solid-ios-gray { + color: #000; + background-color: #dad8d8; +} + +.bar-button-solid-ios-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-md-primary .bar-button-gray-md, +.toolbar-md-primary .bar-button-clear-md-gray, +.toolbar-md-primary .bar-button-md-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-gray-md:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-clear-md-gray:hover:not(.disable-hover), +.toolbar-md-primary .bar-button-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-md-primary .bar-button-outline-md-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-gray.activated { + background-color: transparent; +} + +.toolbar-md-primary .bar-button-outline-md-gray .button-effect { + background-color: #c9c7c7; +} + +.toolbar-md-primary .bar-button-solid-md-gray { + color: #424242; + background-color: #dad8d8; +} + +.toolbar-md-primary .bar-button-solid-md-gray.activated { + color: #424242; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-md-secondary .bar-button-gray-md, +.toolbar-md-secondary .bar-button-clear-md-gray, +.toolbar-md-secondary .bar-button-md-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-gray-md:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-clear-md-gray:hover:not(.disable-hover), +.toolbar-md-secondary .bar-button-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-md-secondary .bar-button-outline-md-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-gray.activated { + background-color: transparent; +} + +.toolbar-md-secondary .bar-button-outline-md-gray .button-effect { + background-color: #c9c7c7; +} + +.toolbar-md-secondary .bar-button-solid-md-gray { + color: #424242; + background-color: #dad8d8; +} + +.toolbar-md-secondary .bar-button-solid-md-gray.activated { + color: #424242; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-md-danger .bar-button-gray-md, +.toolbar-md-danger .bar-button-clear-md-gray, +.toolbar-md-danger .bar-button-md-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-gray-md:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-clear-md-gray:hover:not(.disable-hover), +.toolbar-md-danger .bar-button-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-md-danger .bar-button-outline-md-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-gray.activated { + background-color: transparent; +} + +.toolbar-md-danger .bar-button-outline-md-gray .button-effect { + background-color: #c9c7c7; +} + +.toolbar-md-danger .bar-button-solid-md-gray { + color: #424242; + background-color: #dad8d8; +} + +.toolbar-md-danger .bar-button-solid-md-gray.activated { + color: #424242; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-md-light .bar-button-gray-md, +.toolbar-md-light .bar-button-clear-md-gray, +.toolbar-md-light .bar-button-md-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-md-light .bar-button-gray-md:hover:not(.disable-hover), +.toolbar-md-light .bar-button-clear-md-gray:hover:not(.disable-hover), +.toolbar-md-light .bar-button-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-md-light .bar-button-outline-md-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-gray.activated { + background-color: transparent; +} + +.toolbar-md-light .bar-button-outline-md-gray .button-effect { + background-color: #c9c7c7; +} + +.toolbar-md-light .bar-button-solid-md-gray { + color: #424242; + background-color: #dad8d8; +} + +.toolbar-md-light .bar-button-solid-md-gray.activated { + color: #424242; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-md-dark .bar-button-gray-md, +.toolbar-md-dark .bar-button-clear-md-gray, +.toolbar-md-dark .bar-button-md-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-gray-md:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-clear-md-gray:hover:not(.disable-hover), +.toolbar-md-dark .bar-button-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-md-dark .bar-button-outline-md-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-gray.activated { + background-color: transparent; +} + +.toolbar-md-dark .bar-button-outline-md-gray .button-effect { + background-color: #c9c7c7; +} + +.toolbar-md-dark .bar-button-solid-md-gray { + color: #424242; + background-color: #dad8d8; +} + +.toolbar-md-dark .bar-button-solid-md-gray.activated { + color: #424242; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-md-optblue .bar-button-gray-md, +.toolbar-md-optblue .bar-button-clear-md-gray, +.toolbar-md-optblue .bar-button-md-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-gray-md:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-clear-md-gray:hover:not(.disable-hover), +.toolbar-md-optblue .bar-button-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-md-optblue .bar-button-outline-md-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-gray.activated { + background-color: transparent; +} + +.toolbar-md-optblue .bar-button-outline-md-gray .button-effect { + background-color: #c9c7c7; +} + +.toolbar-md-optblue .bar-button-solid-md-gray { + color: #424242; + background-color: #dad8d8; +} + +.toolbar-md-optblue .bar-button-solid-md-gray.activated { + color: #424242; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-md-gray .toolbar-background-md { + background: #dad8d8; +} + +.toolbar-md-gray .bar-button-clear-md, +.toolbar-md-gray .bar-button-default-md, +.toolbar-md-gray .bar-button-outline-md, +.toolbar-md-gray .toolbar-title-md { + color: #424242; +} + +.toolbar-md-gray .bar-button-clear-md .button-effect, +.toolbar-md-gray .bar-button-default-md .button-effect, +.toolbar-md-gray .bar-button-outline-md .button-effect { + background-color: #424242; +} + +.toolbar-md-gray .bar-button-outline-md { + border-color: #424242; +} + +.toolbar-md-gray .bar-button-primary-md, +.toolbar-md-gray .bar-button-clear-md-primary, +.toolbar-md-gray .bar-button-md-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-primary-md:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-clear-md-primary:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-md-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-md-gray .bar-button-outline-md-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-primary.activated { + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-primary .button-effect { + background-color: #734abd; +} + +.toolbar-md-gray .bar-button-solid-md-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-md-gray .bar-button-solid-md-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-md-gray .bar-button-secondary-md, +.toolbar-md-gray .bar-button-clear-md-secondary, +.toolbar-md-gray .bar-button-md-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-secondary-md:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-clear-md-secondary:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-md-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-md-gray .bar-button-outline-md-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-secondary.activated { + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-secondary .button-effect { + background-color: #2ec95c; +} + +.toolbar-md-gray .bar-button-solid-md-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-md-gray .bar-button-solid-md-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-md-gray .bar-button-danger-md, +.toolbar-md-gray .bar-button-clear-md-danger, +.toolbar-md-gray .bar-button-md-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-danger-md:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-clear-md-danger:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-md-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-md-gray .bar-button-outline-md-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-danger.activated { + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-danger .button-effect { + background-color: #e13838; +} + +.toolbar-md-gray .bar-button-solid-md-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-md-gray .bar-button-solid-md-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-md-gray .bar-button-light-md, +.toolbar-md-gray .bar-button-clear-md-light, +.toolbar-md-gray .bar-button-md-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-light-md:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-clear-md-light:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-md-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-md-gray .bar-button-outline-md-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-light.activated { + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-light .button-effect { + background-color: #e0e0e0; +} + +.toolbar-md-gray .bar-button-solid-md-light { + color: #424242; + background-color: #f4f4f4; +} + +.toolbar-md-gray .bar-button-solid-md-light.activated { + color: #424242; + background-color: #e0e0e0; +} + +.toolbar-md-gray .bar-button-dark-md, +.toolbar-md-gray .bar-button-clear-md-dark, +.toolbar-md-gray .bar-button-md-dark { + color: #222; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-dark-md:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-clear-md-dark:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-md-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-md-gray .bar-button-outline-md-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-dark.activated { + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-dark .button-effect { + background-color: #343434; +} + +.toolbar-md-gray .bar-button-solid-md-dark { + color: #fff; + background-color: #222; +} + +.toolbar-md-gray .bar-button-solid-md-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-md-gray .bar-button-optblue-md, +.toolbar-md-gray .bar-button-clear-md-optblue, +.toolbar-md-gray .bar-button-md-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-optblue-md:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-clear-md-optblue:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-md-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-md-gray .bar-button-outline-md-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-optblue.activated { + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-optblue .button-effect { + background-color: #e21615; +} + +.toolbar-md-gray .bar-button-solid-md-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-md-gray .bar-button-solid-md-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-md-gray .bar-button-gray-md, +.toolbar-md-gray .bar-button-clear-md-gray, +.toolbar-md-gray .bar-button-md-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-gray-md:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-clear-md-gray:hover:not(.disable-hover), +.toolbar-md-gray .bar-button-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-md-gray .bar-button-outline-md-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-gray.activated { + background-color: transparent; +} + +.toolbar-md-gray .bar-button-outline-md-gray .button-effect { + background-color: #c9c7c7; +} + +.toolbar-md-gray .bar-button-solid-md-gray { + color: #424242; + background-color: #dad8d8; +} + +.toolbar-md-gray .bar-button-solid-md-gray.activated { + color: #424242; + background-color: #c9c7c7; +} + +.bar-button-gray-md, +.bar-button-clear-md-gray, +.bar-button-md-gray { + color: #dad8d8; + background-color: transparent; +} + +.bar-button-gray-md:hover:not(.disable-hover), +.bar-button-clear-md-gray:hover:not(.disable-hover), +.bar-button-md-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.bar-button-outline-md-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.bar-button-outline-md-gray.activated { + background-color: transparent; +} + +.bar-button-outline-md-gray .button-effect { + background-color: #c9c7c7; +} + +.bar-button-solid-md-gray { + color: #424242; + background-color: #dad8d8; +} + +.bar-button-solid-md-gray.activated { + color: #424242; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-wp-primary .bar-button-gray-wp, +.toolbar-wp-primary .bar-button-clear-wp-gray, +.toolbar-wp-primary .bar-button-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-gray-wp:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-clear-wp-gray:hover:not(.disable-hover), +.toolbar-wp-primary .bar-button-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-wp-primary .bar-button-outline-wp-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-wp-primary .bar-button-outline-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.toolbar-wp-primary .bar-button-solid-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-wp-primary .bar-button-solid-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-wp-secondary .bar-button-gray-wp, +.toolbar-wp-secondary .bar-button-clear-wp-gray, +.toolbar-wp-secondary .bar-button-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-gray-wp:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-clear-wp-gray:hover:not(.disable-hover), +.toolbar-wp-secondary .bar-button-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-wp-secondary .bar-button-outline-wp-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-wp-secondary .bar-button-outline-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.toolbar-wp-secondary .bar-button-solid-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-wp-secondary .bar-button-solid-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-wp-danger .bar-button-gray-wp, +.toolbar-wp-danger .bar-button-clear-wp-gray, +.toolbar-wp-danger .bar-button-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-gray-wp:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-clear-wp-gray:hover:not(.disable-hover), +.toolbar-wp-danger .bar-button-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-wp-danger .bar-button-outline-wp-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-wp-danger .bar-button-outline-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.toolbar-wp-danger .bar-button-solid-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-wp-danger .bar-button-solid-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-wp-light .bar-button-gray-wp, +.toolbar-wp-light .bar-button-clear-wp-gray, +.toolbar-wp-light .bar-button-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-gray-wp:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-clear-wp-gray:hover:not(.disable-hover), +.toolbar-wp-light .bar-button-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-wp-light .bar-button-outline-wp-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-wp-light .bar-button-outline-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.toolbar-wp-light .bar-button-solid-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-wp-light .bar-button-solid-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-wp-dark .bar-button-gray-wp, +.toolbar-wp-dark .bar-button-clear-wp-gray, +.toolbar-wp-dark .bar-button-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-gray-wp:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-clear-wp-gray:hover:not(.disable-hover), +.toolbar-wp-dark .bar-button-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-wp-dark .bar-button-outline-wp-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-wp-dark .bar-button-outline-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.toolbar-wp-dark .bar-button-solid-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-wp-dark .bar-button-solid-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-wp-optblue .bar-button-gray-wp, +.toolbar-wp-optblue .bar-button-clear-wp-gray, +.toolbar-wp-optblue .bar-button-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-gray-wp:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-clear-wp-gray:hover:not(.disable-hover), +.toolbar-wp-optblue .bar-button-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-wp-optblue .bar-button-outline-wp-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-wp-optblue .bar-button-outline-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.toolbar-wp-optblue .bar-button-solid-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-wp-optblue .bar-button-solid-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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; +} + +.toolbar-wp-gray .toolbar-background-wp { + background: #dad8d8; +} + +.toolbar-wp-gray .bar-button-clear-wp, +.toolbar-wp-gray .bar-button-default-wp, +.toolbar-wp-gray .bar-button-outline-wp, +.toolbar-wp-gray .toolbar-title-wp { + color: #000; +} + +.toolbar-wp-gray .bar-button-outline-wp { + border-color: #000; +} + +.toolbar-wp-gray .bar-button-primary-wp, +.toolbar-wp-gray .bar-button-clear-wp-primary, +.toolbar-wp-gray .bar-button-wp-primary { + color: #673AB7; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-primary-wp:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-clear-wp-primary:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-wp-primary:hover:not(.disable-hover) { + color: #673AB7; +} + +.toolbar-wp-gray .bar-button-outline-wp-primary { + border-color: #734abd; + color: #734abd; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-outline-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-gray .bar-button-solid-wp-primary { + color: #fff; + background-color: #673AB7; +} + +.toolbar-wp-gray .bar-button-solid-wp-primary.activated { + color: #fff; + background-color: #734abd; +} + +.toolbar-wp-gray .bar-button-secondary-wp, +.toolbar-wp-gray .bar-button-clear-wp-secondary, +.toolbar-wp-gray .bar-button-wp-secondary { + color: #32db64; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-secondary-wp:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-clear-wp-secondary:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-wp-secondary:hover:not(.disable-hover) { + color: #32db64; +} + +.toolbar-wp-gray .bar-button-outline-wp-secondary { + border-color: #2ec95c; + color: #2ec95c; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-outline-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-gray .bar-button-solid-wp-secondary { + color: #fff; + background-color: #32db64; +} + +.toolbar-wp-gray .bar-button-solid-wp-secondary.activated { + color: #fff; + background-color: #2ec95c; +} + +.toolbar-wp-gray .bar-button-danger-wp, +.toolbar-wp-gray .bar-button-clear-wp-danger, +.toolbar-wp-gray .bar-button-wp-danger { + color: #f53d3d; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-danger-wp:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-clear-wp-danger:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-wp-danger:hover:not(.disable-hover) { + color: #f53d3d; +} + +.toolbar-wp-gray .bar-button-outline-wp-danger { + border-color: #e13838; + color: #e13838; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-outline-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-gray .bar-button-solid-wp-danger { + color: #fff; + background-color: #f53d3d; +} + +.toolbar-wp-gray .bar-button-solid-wp-danger.activated { + color: #fff; + background-color: #e13838; +} + +.toolbar-wp-gray .bar-button-light-wp, +.toolbar-wp-gray .bar-button-clear-wp-light, +.toolbar-wp-gray .bar-button-wp-light { + color: #f4f4f4; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-light-wp:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-clear-wp-light:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-wp-light:hover:not(.disable-hover) { + color: #f4f4f4; +} + +.toolbar-wp-gray .bar-button-outline-wp-light { + border-color: #e0e0e0; + color: #e0e0e0; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-outline-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-gray .bar-button-solid-wp-light { + color: #000; + background-color: #f4f4f4; +} + +.toolbar-wp-gray .bar-button-solid-wp-light.activated { + color: #000; + background-color: #e0e0e0; +} + +.toolbar-wp-gray .bar-button-dark-wp, +.toolbar-wp-gray .bar-button-clear-wp-dark, +.toolbar-wp-gray .bar-button-wp-dark { + color: #222; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-dark-wp:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-clear-wp-dark:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-wp-dark:hover:not(.disable-hover) { + color: #222; +} + +.toolbar-wp-gray .bar-button-outline-wp-dark { + border-color: #343434; + color: #343434; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-outline-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-gray .bar-button-solid-wp-dark { + color: #fff; + background-color: #222; +} + +.toolbar-wp-gray .bar-button-solid-wp-dark.activated { + color: #fff; + background-color: #343434; +} + +.toolbar-wp-gray .bar-button-optblue-wp, +.toolbar-wp-gray .bar-button-clear-wp-optblue, +.toolbar-wp-gray .bar-button-wp-optblue { + color: #E00201; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-optblue-wp:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-clear-wp-optblue:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-wp-optblue:hover:not(.disable-hover) { + color: #E00201; +} + +.toolbar-wp-gray .bar-button-outline-wp-optblue { + border-color: #e21615; + color: #e21615; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-outline-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-wp-gray .bar-button-solid-wp-optblue { + color: #fff; + background-color: #E00201; +} + +.toolbar-wp-gray .bar-button-solid-wp-optblue.activated { + color: #fff; + background-color: #e21615; +} + +.toolbar-wp-gray .bar-button-gray-wp, +.toolbar-wp-gray .bar-button-clear-wp-gray, +.toolbar-wp-gray .bar-button-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-gray-wp:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-clear-wp-gray:hover:not(.disable-hover), +.toolbar-wp-gray .bar-button-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.toolbar-wp-gray .bar-button-outline-wp-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.toolbar-wp-gray .bar-button-outline-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.toolbar-wp-gray .bar-button-solid-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.toolbar-wp-gray .bar-button-solid-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.bar-button-gray-wp, +.bar-button-clear-wp-gray, +.bar-button-wp-gray { + color: #dad8d8; + background-color: transparent; +} + +.bar-button-gray-wp:hover:not(.disable-hover), +.bar-button-clear-wp-gray:hover:not(.disable-hover), +.bar-button-wp-gray:hover:not(.disable-hover) { + color: #dad8d8; +} + +.bar-button-outline-wp-gray { + border-color: #c9c7c7; + color: #c9c7c7; + background-color: transparent; +} + +.bar-button-outline-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.bar-button-solid-wp-gray { + color: #000; + background-color: #dad8d8; +} + +.bar-button-solid-wp-gray.activated { + color: #000; + background-color: #c9c7c7; +} + +.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-ios-gray { + color: #dad8d8; +} + +.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-md-gray { + color: #dad8d8; +} + +.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; +} + +.text-wp-gray { + color: #dad8d8; +} + +.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; +} + +/* FOR ALERT */ +.buttoncss { + color: darkseagreen; +} + +.buttoncss button.alert-button:nth-child(1) { + color: red; + border: 1px solid red; + border-radius: 10px; + position: relative; + right: 20px; + font-size: 14px; +} + +.buttoncss button.alert-button:nth-child(2) { + color: green; + border: 1px solid green; + border-radius: 10px; +} + +.prompt_alert { + color: darkgreen; +} + +.prompt_alert button.alert-button { + color: green; + border: 1px solid green; + border-radius: 10px; +} + +.prompt_alert input.alert-input { + border: 1px solid blueviolet; +} + +.complete_alert { + color: darkblue; +} + +.complete_alert .alert-message { + color: olivedrab; +} + +.complete_alert button.alert-button:nth-child(1) { + color: red; + border: 1px solid red; + border-radius: 10px; + width: 85%; + text-align: center; + font-size: 14px; +} + +.complete_alert button.alert-button:nth-child(2) { + margin-top: 10px; + color: darkgreen; + width: 60px; +} + +.complete_alert button.alert-button:nth-child(3) { + margin-top: 8px; + color: darkred; +} + +/* END OF ALERT*/ +.applicant_free_text { + text-transform: capitalize; +} + +.mapAddress { + padding: 30px; +} + +.mapAddress .modal-wrapper { + border-radius: 7px; + background: rgba(0, 0, 0, 0.5); + height: 80% !important; + margin-top: 25%; +} + +.mapAddress .modal-wrapper ion-content { + background-color: blanchedalmond; +} + +.mapAddress .modal-wrapper form { + margin-top: 20px; +} + +.mapAddress .modal-wrapper mat-label { + margin-bottom: 20px; + color: darkgreen; + font-weight: bold; + font-size: 85%; + padding: 0 10px 0 10px; +} + +.mapAddress .modal-wrapper ion-list .login-top { + margin-top: -20px; + background: #4eb5e2; + padding-bottom: 10px; + margin-bottom: 25px; +} + +.mapAddress .modal-wrapper ion-list img { + margin-top: 15%; + max-width: 30%; +} + +.mapAddress .modal-wrapper ion-list .item { + background: none !important; +} + +.mapAddress .modal-wrapper ion-list .item button { + height: 4rem !important; +} + +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-complete-list mat-grid-tile { + background: white !important; +} + +page-complete-list .grid { + padding: 0px; +} + +page-complete-list .scroll-content { + padding: 0px !important; +} + +page-complete-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-complete-list { + font-family: Roboto; + src: url("../../assets/fonts/Roboto-Bold.ttf") !important; + } +} + +page-complete-list h1 { + margin: 2px 0; + font-size: 2.2rem !important; +} + +page-complete-list .scroll-content { + padding: 0px !important; +} + +page-complete-list .mat-card { + padding: 0px !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; +} + +page-complete-list * { + font-size: 10px; +} + +page-complete-list .mat-card-title { + margin-bottom: 0px; +} + +page-complete-list .list-md { + margin: 0px; +} + +page-complete-list .lettericon { + background-color: cadetblue; + padding: 10px 8px 10px 8px; + border-radius: 20%; + color: #fff; + font-size: 90%; + font-weight: bold; +} + +page-complete-list .no_applicant_pd { + background-color: cadetblue; + padding: 10px 15px 10px 15px; + border-radius: 50%; + color: #fff; +} + +page-complete-list .label-md { + margin: 0px; +} + +page-complete-list .item-md h4 { + font-size: 1.7rem; +} + +page-complete-list .item-md ion-icon[item-start] + .item-inner { + margin-left: 0px; +} + +page-complete-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-complete-list .button-md-primary { + margin-bottom: 0px !important; + height: 50px; +} + +page-complete-list ion-fab[middle] { + top: 17% !important; +} + +page-complete-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-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; +} + +page-input .addressinfo { + font-size: 19px !important; +} + +page-input .schdule_time { + font-size: 117%; +} + +page-input .schdul { + border-radius: 5px; + color: red; + padding-bottom: 20px; +} + +page-input ion-input { + color: red; + background-color: lightgray; + padding-left: 10px; + font-weight: bold; +} + +page-input ion-label { + font-weight: bold; +} + +page-input .input-cover { + position: static; +} + +page-input .leaveDays { + color: red; +} + +page-input ion-icon { + font-size: 120%; +} + +page-input .status { + color: #E00201; + border: 2px solid darkmagenta; + padding: 5px; + border-radius: 10px; +} + +page-input .inprogress_btn { + position: relative; + left: 80%; + bottom: 50%; +} + +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-map-address .mat-form-field { + width: 100%; + padding: 0 10px 0 10px; +} + +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 8px 10px 8px; + border-radius: 20%; + color: #fff; + font-size: 90%; + font-weight: bold; +} + +page-pd-list .no_applicant_pd { + 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-list .app_id { + overflow: hidden; + text-overflow: ellipsis; +} + +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-address textarea { + resize: none; +} + +page-pd-question-address img { + padding: 0 5px 0 0; + height: 170px; +} + +page-pd-question-address input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-assessed-business .scroll-content { + padding: 16px; +} + +page-pd-question-assessed-business .scroll-content { + background-color: #eee; +} + +page-pd-question-assessed-business .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-assessed-business .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-assessed-daily-purchase mat-form-field { + width: 100%; +} + +page-pd-question-assessed-daily-purchase .scroll-content { + padding: 16px; +} + +page-pd-question-assessed-daily-purchase .scroll-content { + background-color: #eee; +} + +page-pd-question-assessed-daily-purchase .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-assessed-daily-purchase .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-assessed-daily-sales .input-cover { + position: static; +} + +page-pd-question-assessed-daily-sales .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-assessed-daily-sales .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-assessed-daily-sales .scroll-content { + background-color: #eee; +} + +page-pd-question-assessed-daily-sales mat-radio-button { + width: 100%; + padding-top: 10px; + padding-bottom: 10px; +} + +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-dash .radio { + padding-top: 10px; + padding-bottom: 10px; + font-weight: bold; + font-size: 24px; +} + +page-pd-question-assessed-household .scroll-content { + padding: 16px; +} + +page-pd-question-assessed-household .scroll-content { + background-color: #eee; +} + +page-pd-question-assessed-household .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-assessed-household .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-assessed-images .scroll-content { + padding: 16px; +} + +page-pd-question-assessed-images .scroll-content { + background-color: #eee; +} + +page-pd-question-assessed-images .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-assessed-images .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-assessed-images img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-assessed-images input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-assessed-info ion-scroll.scroll-y .scroll-content { + width: 100%; + height: 200px; +} + +page-pd-question-assessed-info .mat-form-field-label { + white-space: normal; +} + +page-pd-question-assessed-info textarea.mat-input-element { + padding: 0px 0; + margin: 5px 0; +} + +page-pd-question-assessed-info input { + height: 30px; +} + +page-pd-question-assessed-info .scroll-content { + padding: 16px; +} + +page-pd-question-assessed-info .scroll-content { + background-color: #eee; +} + +page-pd-question-assessed-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-assessed-info .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-assessed-sales mat-radio-button { + padding-top: 10px; + padding-bottom: 10px; +} + +page-pd-question-assessed-sales .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-assessed-sales .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-assessed-sales .scroll-content { + background-color: #eee; +} + +page-pd-question-assessed-summary .val { + font-size: 14.5px; + font-weight: bold; +} + +page-pd-question-assessed-summary .l_cons { + color: seagreen; + font-weight: bold; +} + +page-pd-question-assessed-summary .mat-card { + border-radius: 10px; + margin-bottom: 15px; +} + +page-pd-question-assessed-summary .scroll-content { + background-color: #eee; +} + +page-pd-question-assessed-summary .mat-expansion-panel-header { + padding: 30px; +} + +page-pd-question-assessed-summary .label { + font-weight: bold; +} + +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-assests img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-assests input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-banking img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-banking input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-assets .mat-form-field-label { + white-space: normal; +} + +page-pd-question-business-assets textarea.mat-input-element { + padding: 0px 0; + margin: 5px 0; +} + +page-pd-question-business-assets mat-select { + margin-top: 7px; +} + +page-pd-question-business-assets img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-business-assets input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-banking img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-business-banking input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-business-info .mat-form-field-label { + white-space: normal; +} + +page-pd-question-business-info .labelcss { + white-space: normal; +} + +page-pd-question-business-info textarea.mat-input-element { + padding: 0px 0; + margin: 5px 0; +} + +page-pd-question-business-info input { + height: 30px; +} + +page-pd-question-business-info mat-select { + margin-top: 8px; +} + +page-pd-question-business-info .checkbo { + margin: 10px; + padding-top: 10px; + color: darkcyan; +} + +page-pd-question-business-info img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-business-info .docName { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-client-info img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-client-info .docName { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-financial-info .large { + height: 30px; +} + +page-pd-question-financial-info .mat-form-field-label { + white-space: normal; +} + +page-pd-question-financial-info textarea.mat-input-element { + padding: 0px 0; + margin: 5px 0; +} + +page-pd-question-financial-info .mat-input-placeholder { + white-space: normal; +} + +page-pd-question-financial-info img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-financial-info .docName { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-stock-info .mat-form-field-label { + white-space: normal; +} + +page-pd-question-stock-info textarea.mat-input-element { + padding: 0px 0; + margin: 5px 0; +} + +page-pd-question-stock-info .mat-input-placeholder { + white-space: normal; +} + +page-pd-question-stock-info mat-select { + margin: 5px 0; +} + +page-pd-question-stock-info img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-stock-info .docName { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-supplier-info img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-supplier-info .docName { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +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-current-loans img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-current-loans input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-emp-info { + /*FOR IMAGES*/ +} + +page-pd-question-emp-info mat-hint { + font-size: 11px; +} + +page-pd-question-emp-info mat-error { + font-size: 11px; +} + +page-pd-question-emp-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-emp-info .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-emp-info .scroll-content { + background-color: #eee; +} + +page-pd-question-emp-info img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-emp-info input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-family { + /*FOR IMAGES*/ +} + +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-family img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-family input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-final-remark { + /*FOR IMAGES*/ +} + +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-final-remark .mat-form-field-label { + white-space: normal; +} + +page-pd-question-final-remark textarea.mat-input-element { + padding: 0px 0; + margin: 10px 0; +} + +page-pd-question-final-remark .mat-input-placeholder { + white-space: normal; +} + +page-pd-question-final-remark mat-placeholder { + font-size: 15px; +} + +page-pd-question-final-remark input-placeholder { + margin: 10px; +} + +page-pd-question-final-remark mat-select { + margin: 5px 0; +} + +page-pd-question-final-remark img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-final-remark input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-general-info { + /*FOR IMAGES*/ +} + +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-general-info img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-general-info input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-general-info .rounded-circle { + border-radius: 50% !important; + background-image: url("../../../assets/img/misc/avatar.jpg"); +} + +page-pd-question-general-info .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-pd-question-lender-representative { + /*FOR IMAGES*/ +} + +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-lender-representative img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-lender-representative input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-loans { + /*FOR IMAGES*/ +} + +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-loans img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-loans input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-neighbour-hood { + /*FOR IMAGES*/ +} + +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-neighbour-hood .mat-form-field-label { + white-space: normal; +} + +page-pd-question-neighbour-hood textarea.mat-input-element { + padding: 0px 0; + margin: 5px 0; +} + +page-pd-question-neighbour-hood .mat-input-placeholder { + white-space: normal; +} + +page-pd-question-neighbour-hood mat-select { + margin: 5px 0; +} + +page-pd-question-neighbour-hood img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-neighbour-hood input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-other-income { + /*FOR IMAGES*/ +} + +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-other-income img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-other-income input { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-rental-info { + /*FOR IMAGES*/ +} + +page-pd-question-rental-info mat-hint { + font-size: 11px; +} + +page-pd-question-rental-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-rental-info .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-rental-info .scroll-content { + background-color: #eee; +} + +page-pd-question-rental-info .mat-form-field-label { + white-space: normal; +} + +page-pd-question-rental-info mat-select { + margin-top: 7px; +} + +page-pd-question-rental-info textarea.mat-input-element { + padding: 0px 0; + margin: 10px 0; +} + +page-pd-question-rental-info input { + height: 32px; +} + +page-pd-question-rental-info img { + padding: 0 5px 0 0; + height: 180px; +} + +page-pd-question-rental-info .docName { + width: 100px; + border-radius: 4px; + border-color: gray; + font-size: 12px; + height: 28px; +} + +page-pd-question-rental-dash .mat-card { + margin-bottom: 10px; + padding-top: 10px; + padding-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; +} + +page-pd-question-rental-dash .mat-card-content { + margin-bottom: 0px !important; +} + +page-pd-question-rental-dash .mat-card-title { + color: olivedrab; +} + +page-pd-question-rental-dash mat-label { + color: darkcyan; +} + +page-pd-question-rental-dash .scroll-content { + background-color: #eee; +} diff --git a/platforms/android/app/src/main/assets/www/build/main.js b/platforms/android/app/src/main/assets/www/build/main.js old mode 100755 new mode 100644 index 40a0f351..a0538a9b --- a/platforms/android/app/src/main/assets/www/build/main.js +++ b/platforms/android/app/src/main/assets/www/build/main.js @@ -1 +1,25786 @@ -webpackJsonp([2],{293: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=293},319: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=319},374:function(l,n,e){"use strict";function u(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"div",[["class","menu-header"],["style","text-align:center !important;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"p",[["class","name"]],null,null,null,null,null)),(l()(),uS._40(6,null,[""," ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(9,null,["(",")"])),(l()(),uS._40(-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 t(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[["class","menu-header"],["style","text-align:center !important;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"p",[["class","name"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Sineedge PD Officer"])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,e.chosenPicture||e.placeholder)})}function a(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,6).close()&&u}if("click"===n){u=!1!==l.context.$implicit.method()&&u}return u},OD.b,OD.a)),uS._17(1,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,4,{contentLabel:0}),uS._38(603979776,5,{_buttons:1}),uS._38(603979776,6,{_icons:1}),uS._17(5,16384,null,0,WD.a,[],null,null),uS._17(6,16384,null,0,ED.a,[jD.a],{menuClose:[0,"menuClose"]},null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,0,1,"ion-icon",[["item-left",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(9,147456,[[6,4]],0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(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,uS._32(n,9)._hidden);l(n,10,0,n.context.$implicit.title)})}function i(l){return uS._42(0,[uS._38(402653184,1,{nav:0}),(l()(),uS._18(1,0,null,null,24,"ion-menu",[["id","menu-material"],["role","navigation"]],null,null,null,BD.b,BD.a)),uS._37(6144,null,RD.a,null,[UD.a]),uS._17(3,245760,null,2,UD.a,[jD.a,uS.p,VD.a,MD.a,uS.O,KD.a,HD.l,GD.a,YD.a],{content:[0,"content"],id:[1,"id"]},null),uS._38(335544320,2,{menuContent:0}),uS._38(335544320,3,{menuNav:0}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(7,0,null,0,17,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(8,4374528,[[2,4]],0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,u)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,t)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(16,0,null,1,0,"div",[["class","hr"]],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(18,0,null,1,5,"ion-list",[["no-lines",""]],null,null,null,null,null)),uS._17(19,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,a)),uS._17(22,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-nav",[["swipeBackEnabled","false"]],null,null,null,lT.b,lT.a)),uS._37(6144,null,RD.a,null,[nT.a]),uS._17(30,4374528,[[1,4],["content",4]],0,nT.a,[[2,JD.a],[2,ZD.a],YD.a,VD.a,MD.a,uS.p,uS.H,uS.O,uS.l,HD.l,eT.a,[2,uT.a],GD.a,uS.r],{swipeBackEnabled:[0,"swipeBackEnabled"],root:[1,"root"]},null)],function(l,n){var e=n.component;l(n,3,0,uS._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,uS._32(n,8).statusbarPadding,uS._32(n,8)._hasRefresher)})}function o(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,84,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(17,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(18,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(21,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(24,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["PIN"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,38,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(32,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,34,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(35,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(38,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,1,{_control:0}),uS._38(335544320,2,{_placeholderChild:0}),uS._38(335544320,3,{_labelChild:0}),uS._38(603979776,4,{_errorChildren:1}),uS._38(603979776,5,{_hintChildren:1}),uS._38(603979776,6,{_prefixChildren:1}),uS._38(603979776,7,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,48)._onInput()&&u}return u},null,null)),uS._17(48,933888,null,0,fT.b,[uS.p,kS.a,[8,null],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[1,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._18(52,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(55,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,8,{_control:0}),uS._38(335544320,9,{_placeholderChild:0}),uS._38(335544320,10,{_labelChild:0}),uS._38(603979776,11,{_errorChildren:1}),uS._38(603979776,12,{_hintChildren:1}),uS._38(603979776,13,{_prefixChildren:1}),uS._38(603979776,14,{_suffixChildren:1}),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._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!==uS._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,65)._onInput()&&u}return u},null,null)),uS._17(65,933888,null,0,fT.b,[uS.p,kS.a,[8,null],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[8,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(72,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),uS._17(73,16384,null,0,_T.d,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(76,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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(uS._32(l,47).value)&&u}return u},hT.b,hT.a)),uS._17(79,180224,null,0,gT.b,[uS.p,kS.a,bT.j],{color:[0,"color"]},null),uS._17(80,16384,null,0,gT.f,[],null,null),(l()(),uS._40(-1,0,["UNLOCK"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-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,[uS._32(n,38)._control.errorState,uS._32(n,38)._control.errorState,uS._32(n,38)._canLabelFloat,uS._32(n,38)._shouldLabelFloat(),uS._32(n,38)._hideControlPlaceholder(),uS._32(n,38)._control.disabled,uS._32(n,38)._control.focused,"primary"==uS._32(n,38).color,"accent"==uS._32(n,38).color,"warn"==uS._32(n,38).color,uS._32(n,38)._shouldForward("untouched"),uS._32(n,38)._shouldForward("touched"),uS._32(n,38)._shouldForward("pristine"),uS._32(n,38)._shouldForward("dirty"),uS._32(n,38)._shouldForward("valid"),uS._32(n,38)._shouldForward("invalid"),uS._32(n,38)._shouldForward("pending")]);l(n,47,0,uS._32(n,48)._isServer,uS._32(n,48).id,uS._32(n,48).placeholder,uS._32(n,48).disabled,uS._32(n,48).required,uS._32(n,48).readonly,uS._32(n,48)._ariaDescribedby||null,uS._32(n,48).errorState,uS._32(n,48).required.toString());l(n,54,1,[uS._32(n,55)._control.errorState,uS._32(n,55)._control.errorState,uS._32(n,55)._canLabelFloat,uS._32(n,55)._shouldLabelFloat(),uS._32(n,55)._hideControlPlaceholder(),uS._32(n,55)._control.disabled,uS._32(n,55)._control.focused,"primary"==uS._32(n,55).color,"accent"==uS._32(n,55).color,"warn"==uS._32(n,55).color,uS._32(n,55)._shouldForward("untouched"),uS._32(n,55)._shouldForward("touched"),uS._32(n,55)._shouldForward("pristine"),uS._32(n,55)._shouldForward("dirty"),uS._32(n,55)._shouldForward("valid"),uS._32(n,55)._shouldForward("invalid"),uS._32(n,55)._shouldForward("pending")]);l(n,64,0,uS._32(n,65)._isServer,uS._32(n,65).id,uS._32(n,65).placeholder,uS._32(n,65).disabled,uS._32(n,65).required,uS._32(n,65).readonly,uS._32(n,65)._ariaDescribedby||null,uS._32(n,65).errorState,uS._32(n,65).required.toString());l(n,75,0,"end"===uS._32(n,76).align);l(n,78,0,uS._32(n,79).disabled||null)})}function r(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,74,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(17,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(18,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(21,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(24,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["PIN"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(32,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,17,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(35,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(38,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,15,{_control:0}),uS._38(335544320,16,{_placeholderChild:0}),uS._38(335544320,17,{_labelChild:0}),uS._38(603979776,18,{_errorChildren:1}),uS._38(603979776,19,{_hintChildren:1}),uS._38(603979776,20,{_prefixChildren:1}),uS._38(603979776,21,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,48)._onInput()&&u}return u},null,null)),uS._17(48,933888,null,0,fT.b,[uS.p,kS.a,[8,null],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[15,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(55,0,null,1,18,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),uS._17(56,16384,null,0,_T.d,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(59,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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(uS._32(l,47).value)&&u}return u},hT.b,hT.a)),uS._17(62,180224,null,0,gT.b,[uS.p,kS.a,bT.j],{color:[0,"color"]},null),uS._17(63,16384,null,0,gT.f,[],null,null),(l()(),uS._40(-1,0,["UNLOCK"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(68,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(70,0,null,null,1,"ion-icon",[["name","finger-print"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(71,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,[uS._32(n,38)._control.errorState,uS._32(n,38)._control.errorState,uS._32(n,38)._canLabelFloat,uS._32(n,38)._shouldLabelFloat(),uS._32(n,38)._hideControlPlaceholder(),uS._32(n,38)._control.disabled,uS._32(n,38)._control.focused,"primary"==uS._32(n,38).color,"accent"==uS._32(n,38).color,"warn"==uS._32(n,38).color,uS._32(n,38)._shouldForward("untouched"),uS._32(n,38)._shouldForward("touched"),uS._32(n,38)._shouldForward("pristine"),uS._32(n,38)._shouldForward("dirty"),uS._32(n,38)._shouldForward("valid"),uS._32(n,38)._shouldForward("invalid"),uS._32(n,38)._shouldForward("pending")]);l(n,47,0,uS._32(n,48)._isServer,uS._32(n,48).id,uS._32(n,48).placeholder,uS._32(n,48).disabled,uS._32(n,48).required,uS._32(n,48).readonly,uS._32(n,48)._ariaDescribedby||null,uS._32(n,48).errorState,uS._32(n,48).required.toString());l(n,58,0,"end"===uS._32(n,59).align);l(n,61,0,uS._32(n,62).disabled||null);l(n,67,0,"end"===uS._32(n,68).align);l(n,70,0,uS._32(n,71)._hidden)})}function _(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n\n\n\n"])),(l()(),uS._18(1,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(2,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,o)),uS._17(5,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._13(16777216,null,1,1,null,r)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,2).statusbarPadding,uS._32(n,2)._hasRefresher)})}function d(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["Forgot password?"]))],null,null)}function s(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(2,0,null,null,97,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(3,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(5,0,null,1,93,"div",[["class","relative"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,90,"div",[["class","form-bg"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,87,"div",[["class","pt-2"],["fxLayout","row"],["fxLayoutAlign","center start"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,81,"div",[["class","login-session"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(15,0,null,null,3,"div",[["class","col-lg"],["style","text-align: center;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,0,"img",[["alt","SineEdge"],["style","width: auto;height: auto;"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,t=l.component;if("submit"===n){u=!1!==uS._32(l,22).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,22).onReset()&&u}if("ngSubmit"===n){u=!1!==t.login()&&u}return u},null,null)),uS._17(21,16384,null,0,xS.B,[],null,null),uS._17(22,4210688,[["form",4]],0,xS.u,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),uS._37(2048,null,xS.c,null,[xS.u]),uS._17(24,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,66,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(29,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,1,{_control:0}),uS._38(335544320,2,{_placeholderChild:0}),uS._38(335544320,3,{_labelChild:0}),uS._38(603979776,4,{_errorChildren:1}),uS._38(603979776,5,{_hintChildren:1}),uS._38(603979776,6,{_prefixChildren:1}),uS._38(603979776,7,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,39)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,46)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.email=e)&&u}return u},null,null)),uS._17(39,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(40,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(43,671744,null,0,xS.v,[[2,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(45,16384,null,0,xS.s,[xS.r],null,null),uS._17(46,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[1,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(51,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,8,{_control:0}),uS._38(335544320,9,{_placeholderChild:0}),uS._38(335544320,10,{_labelChild:0}),uS._38(603979776,11,{_errorChildren:1}),uS._38(603979776,12,{_hintChildren:1}),uS._38(603979776,13,{_prefixChildren:1}),uS._38(603979776,14,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,69)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.password=e)&&u}return u},null,null)),uS._17(61,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(62,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._17(63,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.x,xS.o]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(66,671744,null,0,xS.v,[[2,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(68,16384,null,0,xS.s,[xS.r],null,null),uS._17(69,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[8,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(73,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(74,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(76,0,null,null,9,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(77,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(79,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],null,null,hT.b,hT.a)),uS._17(80,180224,null,0,gT.b,[uS.p,kS.a,bT.j],{color:[0,"color"]},null),uS._17(81,16384,null,0,gT.f,[],null,null),(l()(),uS._40(-1,0,["SIGN IN"])),(l()(),uS._18(83,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,d)),uS._17(90,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,3).statusbarPadding,uS._32(n,3)._hasRefresher);l(n,17,0,"http://ssa.sineedge.com/sparqapi/logo/sineedge_red.png");l(n,20,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending);l(n,28,1,[uS._32(n,29)._control.errorState,uS._32(n,29)._control.errorState,uS._32(n,29)._canLabelFloat,uS._32(n,29)._shouldLabelFloat(),uS._32(n,29)._hideControlPlaceholder(),uS._32(n,29)._control.disabled,uS._32(n,29)._control.focused,"primary"==uS._32(n,29).color,"accent"==uS._32(n,29).color,"warn"==uS._32(n,29).color,uS._32(n,29)._shouldForward("untouched"),uS._32(n,29)._shouldForward("touched"),uS._32(n,29)._shouldForward("pristine"),uS._32(n,29)._shouldForward("dirty"),uS._32(n,29)._shouldForward("valid"),uS._32(n,29)._shouldForward("invalid"),uS._32(n,29)._shouldForward("pending")]);l(n,38,1,[uS._32(n,40).required?"":null,uS._32(n,45).ngClassUntouched,uS._32(n,45).ngClassTouched,uS._32(n,45).ngClassPristine,uS._32(n,45).ngClassDirty,uS._32(n,45).ngClassValid,uS._32(n,45).ngClassInvalid,uS._32(n,45).ngClassPending,uS._32(n,46)._isServer,uS._32(n,46).id,uS._32(n,46).placeholder,uS._32(n,46).disabled,uS._32(n,46).required,uS._32(n,46).readonly,uS._32(n,46)._ariaDescribedby||null,uS._32(n,46).errorState,uS._32(n,46).required.toString()]);l(n,50,1,[uS._32(n,51)._control.errorState,uS._32(n,51)._control.errorState,uS._32(n,51)._canLabelFloat,uS._32(n,51)._shouldLabelFloat(),uS._32(n,51)._hideControlPlaceholder(),uS._32(n,51)._control.disabled,uS._32(n,51)._control.focused,"primary"==uS._32(n,51).color,"accent"==uS._32(n,51).color,"warn"==uS._32(n,51).color,uS._32(n,51)._shouldForward("untouched"),uS._32(n,51)._shouldForward("touched"),uS._32(n,51)._shouldForward("pristine"),uS._32(n,51)._shouldForward("dirty"),uS._32(n,51)._shouldForward("valid"),uS._32(n,51)._shouldForward("invalid"),uS._32(n,51)._shouldForward("pending")]);l(n,60,1,[uS._32(n,62).required?"":null,uS._32(n,63).minlength?uS._32(n,63).minlength:null,uS._32(n,68).ngClassUntouched,uS._32(n,68).ngClassTouched,uS._32(n,68).ngClassPristine,uS._32(n,68).ngClassDirty,uS._32(n,68).ngClassValid,uS._32(n,68).ngClassInvalid,uS._32(n,68).ngClassPending,uS._32(n,69)._isServer,uS._32(n,69).id,uS._32(n,69).placeholder,uS._32(n,69).disabled,uS._32(n,69).required,uS._32(n,69).readonly,uS._32(n,69)._ariaDescribedby||null,uS._32(n,69).errorState,uS._32(n,69).required.toString()]);l(n,79,0,uS._32(n,80).disabled||null)})}function c(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["PD Cases"]))],null,null)}function m(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,8,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,[" "])),(l()(),uS._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,t=l.component;if("ngModelChange"===n){u=!1!==(t.searchitem=e)&&u}if("input"===n){u=!1!==t.pdlistsearch(e)&&u}if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}if("ionclose"===n){u=!1!==t.pdlistsearch(e)&&u}return u},PT.b,PT.a)),uS._17(4,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(6,16384,null,0,xS.s,[xS.r],null,null),uS._17(7,1294336,null,0,DT.a,[VD.a,MD.a,uS.p,uS.O,[2,xS.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),uS._40(-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,[uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending,uS._32(n,7)._animated,uS._32(n,7)._value,uS._32(n,7)._isActive,uS._32(n,7)._showCancelButton,uS._32(n,7)._shouldAlignLeft,uS._32(n,7)._isFocus])})}function p(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function f(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function h(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,6,"content-loader",[],null,null,null,TT.b,TT.a)),uS._17(3,49152,null,0,pD.b,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,0,":svg:rect",[["height","70"],["rx","5"],["ry","5"],["width","300"],["x","80"],["y","40"]],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(7,0,null,0,0,":svg:circle",[["cx","40"],["cy","70"],["fill","red"],["r","30"],["stroke","3"],["stroke-width","3"]],null,null,null,null,null)),(l()(),uS._40(-1,0,[" \n \n "])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function g(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._13(16777216,null,null,2,null,h)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._33(4,5),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,l(n,4,0,1,2,3,4,5))},null)}function b(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),uS._40(4,null,["",""])),uS._36(5,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,4,0,uS._41(n,4,0,l(n,5,0,uS._32(n.parent.parent.parent.parent,0),n.parent.parent.context.$implicit.applicat_details[0].applicant_name)))})}function v(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,48,"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.parent.context.$implicit)&&u}return u},OD.b,OD.a)),uS._17(1,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,5,{contentLabel:0}),uS._38(603979776,6,{_buttons:1}),uS._38(603979776,7,{_icons:1}),uS._17(5,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),uS._40(9,null,["",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(11,0,null,2,18,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(12,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,b)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(18,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(23,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(25,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(26,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(31,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(32,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(35,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),uS._40(38,null,["",", ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(41,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(42,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(44,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(45,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "]))],function(l,n){l(n,15,0,0!=n.parent.context.$implicit.applicat_details.length&&1==n.parent.context.$implicit.applicat_details[0].applicant_type)},function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,23,0,n.parent.context.$implicit.pd_date_of_initiation);l(n,26,0,n.parent.context.$implicit.city_name);l(n,38,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,45,0,n.parent.context.$implicit.pd_status)})}function y(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,53,"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.parent.context.$implicit)&&u}return u},OD.b,OD.a)),uS._17(1,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,8,{contentLabel:0}),uS._38(603979776,9,{_buttons:1}),uS._38(603979776,10,{_icons:1}),uS._17(5,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),uS._40(9,null,["",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(11,0,null,2,23,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(12,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,6,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),uS._17(15,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),uS._40(18,null,["Add On for ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(23,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(25,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(28,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(30,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(31,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(36,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(37,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(40,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(42,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),uS._40(43,null,["",", ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(46,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(47,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(49,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(50,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "]))],null,function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,18,0,n.parent.context.$implicit.parent_pd_id);l(n,28,0,n.parent.context.$implicit.pd_date_of_initiation);l(n,31,0,n.parent.context.$implicit.city_name);l(n,43,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,50,0,n.parent.context.$implicit.pd_status)})}function C(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,10,"ion-list",[],null,null,null,null,null)),uS._17(4,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,v)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,y)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,8,0,1!=n.context.$implicit.is_child);l(n,12,0,1==n.context.$implicit.is_child)},null)}function w(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,C)),uS._17(2,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,2,0,n.component.pdinprogress)},null)}function F(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,6,"content-loader",[],null,null,null,TT.b,TT.a)),uS._17(3,49152,null,0,pD.b,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,0,":svg:rect",[["height","70"],["rx","5"],["ry","5"],["width","300"],["x","80"],["y","40"]],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(7,0,null,0,0,":svg:circle",[["cx","40"],["cy","70"],["fill","red"],["r","30"],["stroke","3"],["stroke-width","3"]],null,null,null,null,null)),(l()(),uS._40(-1,0,[" \n \n "])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function x(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._13(16777216,null,null,2,null,F)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._33(4,5),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,l(n,4,0,1,2,3,4,5))},null)}function k(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),uS._40(4,null,["",""])),uS._36(5,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,4,0,uS._41(n,4,0,l(n,5,0,uS._32(n.parent.parent.parent.parent.parent,0),n.parent.parent.parent.context.$implicit.applicat_details[0].applicant_name)))})}function S(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,k)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,4,0,n.parent.parent.context.$implicit.applicat_details&&0!=n.parent.parent.context.$implicit.applicat_details.length&&1==n.parent.parent.context.$implicit.applicat_details[0].applicant_type)},null)}function I(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.pd_date_of_initiation)})}function q(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.scheduled_on)})}function P(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,56,"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.parent.context.$implicit)&&u}return u},OD.b,OD.a)),uS._17(1,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,11,{contentLabel:0}),uS._38(603979776,12,{_buttons:1}),uS._38(603979776,13,{_icons:1}),uS._17(5,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" \n \n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),uS._40(9,null,["",""])),(l()(),uS._40(-1,2,["\n \n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._13(16777216,null,2,1,null,S)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(15,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(16,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(19,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),uS._40(22,null,["",", ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(25,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(26,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(29,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(33,0,null,2,22,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(34,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(37,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(40,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(43,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(44,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(46,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,I)),uS._17(49,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,q)),uS._17(52,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n \n "]))],function(l,n){l(n,13,0,n.parent.context.$implicit.applicat_details&&0!=n.parent.context.$implicit.applicat_details.length);l(n,49,0,null==n.parent.context.$implicit.scheduled_on);l(n,52,0,null!=n.parent.context.$implicit.scheduled_on)},function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,22,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,29,0,n.parent.context.$implicit.city_name);l(n,40,0,n.parent.context.$implicit.pd_status)})}function D(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.pd_date_of_initiation)})}function T(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.scheduled_on)})}function O(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,64,"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.parent.context.$implicit)&&u}return u},OD.b,OD.a)),uS._17(1,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,14,{contentLabel:0}),uS._38(603979776,15,{_buttons:1}),uS._38(603979776,16,{_icons:1}),uS._17(5,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(7,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),uS._40(8,null,["",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(12,0,null,2,9,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(13,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(16,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),uS._40(19,null,["Add On for ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n \n "])),(l()(),uS._18(23,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(24,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(27,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),uS._40(30,null,["",", ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(33,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(34,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(37,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(41,0,null,2,22,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(42,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(44,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(45,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(47,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(48,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(52,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(54,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,D)),uS._17(57,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,T)),uS._17(60,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n \n "]))],function(l,n){l(n,57,0,null==n.parent.context.$implicit.scheduled_on);l(n,60,0,null!=n.parent.context.$implicit.scheduled_on)},function(l,n){l(n,7,0,n.component.bgColorPast[n.parent.context.index]);l(n,8,0,n.parent.context.$implicit.pd_id);l(n,19,0,n.parent.context.$implicit.parent_pd_id);l(n,30,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,37,0,n.parent.context.$implicit.city_name);l(n,48,0,n.parent.context.$implicit.pd_status)})}function L(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n \n "])),(l()(),uS._18(3,0,null,0,10,"ion-list",[],null,null,null,null,null)),uS._17(4,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,P)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,O)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "]))],function(l,n){l(n,8,0,"0"==n.context.$implicit.is_child);l(n,12,0,"1"==n.context.$implicit.is_child)},null)}function A(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,L)),uS._17(2,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,2,0,n.component.pdschduleDetails)},null)}function V(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"div",[["text-center",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function N(l){return uS._42(0,[uS._34(0,wI.u,[]),uS._38(402653184,1,{slider:0}),(l()(),uS._18(2,0,null,null,50,"ion-header",[],null,null,null,null,null)),uS._17(3,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(6,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,10).toggle()&&u}return u},AT.b,AT.a)),uS._17(9,1097728,[[2,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(10,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(11,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(15,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,c)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n "])),(l()(),uS._13(16777216,null,3,1,null,m)),uS._17(22,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(24,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(25,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,p)),uS._17(29,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,f)),uS._17(32,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,0,null,null,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)),uS._17(38,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(40,16384,null,0,xS.s,[xS.r],null,null),uS._17(41,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,4,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(44,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==uS._32(l,45).onClick()&&u}if("click"===n){t.selectedTab(0);u=!1!=(t.showButton=!t.showButton)&&u}return u},jT.b,jT.a)),uS._17(45,114688,[[4,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Allocated\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(48,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==uS._32(l,49).onClick()&&u}if("click"===n){u=!1!==t.selectedTab(1)&&u}return u},jT.b,jT.a)),uS._17(49,114688,[[4,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Scheduled\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(54,0,null,null,62,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(55,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(57,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)),uS._17(58,212992,null,0,BT.a,[MD.a,QD.a,uS.H,HD.l],null,{ionRefresh:"ionRefresh"}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(60,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,RT.b,RT.a)),uS._17(61,114688,null,0,UT.a,[BT.a,VD.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n\n\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(67,0,null,1,2,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(68,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(71,0,null,1,40,"ion-slides",[],null,[[null,"ionSlideWillChange"]],function(l,n,e){var u=!0;if("ionSlideWillChange"===n){u=!1!==l.component.moveButton(e)&&u}return u},MT.b,MT.a)),uS._17(72,1228800,[[1,4],["slider",4]],0,KT.a,[VD.a,MD.a,uS.H,[2,JD.a],uS.p,uS.O],null,{ionSlideWillChange:"ionSlideWillChange"}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(78,0,null,0,13,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(79,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(82,0,null,0,7,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),uS._17(83,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,g)),uS._17(86,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(0,[["allocateaccess",2]],null,0,null,w)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-1,0,["\n \n \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(95,0,null,0,14,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(96,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(99,0,null,0,8,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),uS._17(100,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._13(16777216,null,null,1,null,x)),uS._17(103,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(0,[["access",2]],null,0,null,A)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,V)),uS._17(115,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,38,0,e.pdlist);l(n,41,0,"optblue");l(n,45,0,"0");l(n,49,0,"1"),l(n,58,0);l(n,61,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,86,0,e.pdlistaccess,uS._32(n,88));l(n,103,0,e.pdlistaccess,uS._32(n,106));l(n,115,0,!e.pdlistaccess&&null!=e.pdlistaccess)},function(l,n){l(n,5,0,uS._32(n,6)._hidden,uS._32(n,6)._sbPadding);l(n,8,0,uS._32(n,10).isHidden);l(n,14,0,uS._32(n,15)._hidden);l(n,37,0,uS._32(n,40).ngClassUntouched,uS._32(n,40).ngClassTouched,uS._32(n,40).ngClassPristine,uS._32(n,40).ngClassDirty,uS._32(n,40).ngClassValid,uS._32(n,40).ngClassInvalid,uS._32(n,40).ngClassPending,uS._32(n,41)._disabled);l(n,44,0,uS._32(n,45)._disabled,uS._32(n,45).isActive,uS._32(n,45).isActive);l(n,48,0,uS._32(n,49)._disabled,uS._32(n,49).isActive,uS._32(n,49).isActive);l(n,54,0,uS._32(n,55).statusbarPadding,uS._32(n,55)._hasRefresher);l(n,57,0,"inactive"!==uS._32(n,58).state,uS._32(n,58)._top);l(n,60,0,uS._32(n,61).r.state)})}function W(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],null,function(l,n){var e=n.component;l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent,0),e.pageTitle)))})}function E(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,8,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,[" "])),(l()(),uS._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,t=l.component;if("ngModelChange"===n){u=!1!==(t.searchitem=e)&&u}if("input"===n){u=!1!==t.pdlistsearch(e)&&u}if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},PT.b,PT.a)),uS._17(4,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(6,16384,null,0,xS.s,[xS.r],null,null),uS._17(7,1294336,null,0,DT.a,[VD.a,MD.a,uS.p,uS.O,[2,xS.r]],{showCancelButton:[0,"showCancelButton"]},{ionCancel:"ionCancel"}),(l()(),uS._40(-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,[uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending,uS._32(n,7)._animated,uS._32(n,7)._value,uS._32(n,7)._isActive,uS._32(n,7)._showCancelButton,uS._32(n,7)._shouldAlignLeft,uS._32(n,7)._isFocus])})}function j(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function $(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function B(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,37,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(5,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,26,"ion-item",[["class","item item-block"]],null,null,null,OD.b,OD.a)),uS._17(8,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,3,{contentLabel:0}),uS._38(603979776,4,{_buttons:1}),uS._38(603979776,5,{_icons:1}),uS._17(12,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(14,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),uS._17(15,147456,[[5,4]],0,$D.a,[VD.a,uS.p,uS.O],null,null),(l()(),uS._40(16,null,["",""])),uS._34(0,wI.t,[]),uS._36(18,1),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(20,0,null,2,12,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(21,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,8,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),uS._17(24,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),uS._40(27,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(30,null,[""," / "," Questions"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(36,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,[" \n \n "]))],null,function(l,n){l(n,14,0,n.component.bgColorqustCat[n.context.index],uS._32(n,15)._hidden);l(n,16,0,uS._41(n,16,0,l(n,18,0,uS._32(n.parent.parent,1),uS._41(n,16,0,uS._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 R(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._13(16777216,null,null,1,null,B)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.component.questionCate.question_answers)},null)}function U(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-checkmark-circle")},function(l,n){l(n,0,0,uS._32(n,1)._hidden)})}function M(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-close-circle")},function(l,n){l(n,0,0,uS._32(n,1)._hidden)})}function K(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,44,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,38,"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)),uS._17(4,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,34,"ion-item",[["class","item item-block"]],null,null,null,OD.b,OD.a)),uS._17(7,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,6,{contentLabel:0}),uS._38(603979776,7,{_buttons:1}),uS._38(603979776,8,{_icons:1}),uS._17(11,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(13,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),uS._17(14,147456,[[8,4]],0,$D.a,[VD.a,uS.p,uS.O],null,null),(l()(),uS._40(15,null,["",""])),uS._34(0,wI.t,[]),uS._36(17,1),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(19,0,null,2,20,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(20,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,7,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),uS._17(23,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,1,"h2",[["style","font-size:20px;"]],null,null,null,null,null)),(l()(),uS._40(27,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(31,0,null,null,7,"ion-col",[["class","col"],["col-1",""],["offset-5",""]],null,null,null,null,null)),uS._17(32,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,U)),uS._17(35,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(0,[["notAnswer",2]],null,0,null,M)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(43,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,35,0,n.context.$implicit.isAnswered,uS._32(n,37))},function(l,n){l(n,13,0,n.component.bgColortempForm[n.context.index],uS._32(n,14)._hidden);l(n,15,0,uS._41(n,15,0,l(n,17,0,uS._32(n.parent.parent,1),uS._41(n,15,0,uS._32(n,16).transform(n.context.$implicit.form_name[0],0,1)))));l(n,27,0,19==n.context.$implicit.form_id?"Neighbourhood Details":7==n.context.$implicit.form_id?"Personal Banking":n.context.$implicit.form_name)})}function H(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,K)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,3,0,n.component.dis_forms)},null)}function G(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"div",[["text-center",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(3,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),uS._40(4,null,["",""])),(l()(),uS._40(-1,null,[" \n "]))],null,function(l,n){l(n,4,0,n.component.questionCate)})}function Y(l){return uS._42(0,[(l()(),uS._18(0,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.completePDAlert()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["\n Completed "]))],function(l,n){l(n,1,0,"primary","")},function(l,n){l(n,0,0,0==n.component.complete_btn)})}function z(l){return uS._42(0,[uS._34(0,wI.u,[]),uS._34(0,wI.v,[]),(l()(),uS._18(2,0,null,null,34,"ion-header",[],null,null,null,null,null)),uS._17(3,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(6,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,10).toggle()&&u}return u},AT.b,AT.a)),uS._17(9,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(10,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(11,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(15,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,W)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n "])),(l()(),uS._13(16777216,null,3,1,null,E)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(26,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,j)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(38,0,null,null,29,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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)),uS._17(42,212992,null,0,BT.a,[MD.a,QD.a,uS.H,HD.l],null,{ionRefresh:"ionRefresh"}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(44,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,RT.b,RT.a)),uS._17(45,114688,null,0,UT.a,[BT.a,VD.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(50,0,null,1,13,"ion-list",[],null,null,null,null,null)),uS._17(51,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(53,0,null,null,9,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(54,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,R)),uS._17(58,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,H)),uS._17(61,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n\n \n \n "])),(l()(),uS._13(16777216,null,1,1,null,G)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(69,0,null,null,10,"ion-footer",[],null,null,null,null,null)),uS._17(70,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(72,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(73,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Y)),uS._17(77,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-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,77,0,!e.complete_status)},function(l,n){l(n,5,0,uS._32(n,6)._hidden,uS._32(n,6)._sbPadding);l(n,8,0,uS._32(n,10).isHidden);l(n,14,0,uS._32(n,15)._hidden);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,41,0,"inactive"!==uS._32(n,42).state,uS._32(n,42)._top);l(n,44,0,uS._32(n,45).r.state)})}function Q(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,[""," Category"]))],null,function(l,n){l(n,2,0,n.component.questionDetails.category_name)})}function J(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},PT.b,PT.a)),uS._17(4,1294336,null,0,DT.a,[VD.a,MD.a,uS.p,uS.O,[2,xS.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,n.component.click,uS._32(n,4)._animated,uS._32(n,4)._value,uS._32(n,4)._isActive,uS._32(n,4)._showCancelButton,uS._32(n,4)._shouldAlignLeft,uS._32(n,4)._isFocus)})}function Z(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function X(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function ll(l){return uS._42(0,[(l()(),uS._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,t=l.component;if("click"===n){u=!1!==uS._32(l,3).onClick()&&u}if("click"===n){u=!1!==t.selectTab(l.context.index)&&u}return u},jT.b,jT.a)),uS._17(1,278528,null,0,wI.i,[uS.B,uS.C,uS.p,uS.P],{ngClass:[0,"ngClass"]},null),uS._35(2,{"SwipedTabs-activeTab":0}),uS._17(3,114688,[[5,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(4,0,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,uS._32(n.parent,61)&&(uS._32(n.parent,61).getActiveIndex()===n.context.index||e.tabs.length-1===n.context.index&&uS._32(n.parent,61).isEnd())));l(n,3,0,"IngoreMe")},function(l,n){l(n,0,0,uS._21(1,"tabTitle",n.context.index,""),uS._32(n,3)._disabled,uS._32(n,3).isActive,uS._32(n,3).isActive);l(n,4,0,n.context.$implicit)})}function nl(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._handleFocus()&&u}if("blur"===n){u=!1!==uS._32(l,1)._handleBlur()&&u}return u},lO.c,lO.b)),uS._17(1,1097728,null,2,nO.b,[uS.p,[2,nO.e]],null,null),uS._38(603979776,9,{_lines:1}),uS._38(335544320,10,{_hasAvatar:0}),(l()(),uS._40(-1,2,["\n\n "])),(l()(),uS._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!==uS._32(l,6)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(6,4440064,[[8,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{name:[0,"name"],checked:[1,"checked"],value:[2,"value"]},null),(l()(),uS._40(7,0,["",""])),(l()(),uS._40(-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,uS._32(n,6).checked,uS._32(n,6).disabled,uS._32(n,6).id);l(n,7,0,n.context.$implicit.answer)})}function el(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,t=l.component;if("blur"===n){u=!1!==uS._32(l,4)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,4)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,4)._onInput()&&u}if("blur"===n){u=!1!==t.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)),uS._37(6144,null,mT.c,null,[fT.b]),uS._17(4,933888,null,0,fT.b,[uS.p,kS.a,[8,null],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"File Name","","text")},function(l,n){l(n,2,0,uS._32(n,4)._isServer,uS._32(n,4).id,uS._32(n,4).placeholder,uS._32(n,4).disabled,uS._32(n,4).required,uS._32(n,4).readonly,uS._32(n,4)._ariaDescribedby||null,uS._32(n,4).errorState,uS._32(n,4).required.toString())})}function ul(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),uS._40(1,null,["\n ","\n "]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.pd_document_title)})}function tl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,8).onClick(e)&&u}return u},null,null)),uS._17(8,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,el)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ul)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,4)._hidden);l(n,7,0,uS._21(1,"",n.parent.context.$implicit.pd_document_name,""))})}function al(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,tl)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.context.$implicit.questionId==n.parent.parent.context.$implicit.fk_question_id)},null)}function il(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,26,"mat-list",[["class","mat-list"]],null,null,null,lO.d,lO.a)),uS._17(7,49152,null,0,nO.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(9,0,null,0,22,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(10,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(13,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,8,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,nl)),uS._17(21,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._18(25,0,null,0,5,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(26,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,al)),uS._17(29,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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,uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending)})}function ol(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,1).onReset()&&u}if("focus"===n){u=!1!==uS._32(l,4)._handleFocus()&&u}if("blur"===n){u=!1!==uS._32(l,4)._handleBlur()&&u}return u},lO.c,lO.b)),uS._17(1,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),uS._17(4,1097728,null,2,nO.b,[uS.p,[2,nO.e]],null,null),uS._38(603979776,11,{_lines:1}),uS._38(335544320,12,{_hasAvatar:0}),(l()(),uS._40(-1,2,["\n\n "])),(l()(),uS._18(8,0,null,2,10,"small",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,oO.b,oO.a)),uS._17(12,4374528,null,0,rO.b,[uS.p,uS.i,bT.j,[8,null],[2,rO.a]],{id:[0,"id"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[rO.b]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(17,0,["\n ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n\n "]))],function(l,n){l(n,1,0,n.context.$implicit);l(n,12,0,uS._21(1,"",n.context.$implicit.controls.pd_answer_id.value,""));l(n,14,0,"checkbox")},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,11,1,[uS._32(n,12).id,uS._32(n,12).indeterminate,uS._32(n,12).checked,uS._32(n,12).disabled,"before"==uS._32(n,12).labelPosition,uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending]);l(n,17,0,n.context.$implicit.controls.pd_answer.value)})}function rl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,39,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,35,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,31,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._18(9,0,null,0,27,"mat-list",[["class","mat-list"]],null,null,null,lO.d,lO.a)),uS._17(10,49152,null,0,nO.a,[],null,null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._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!==uS._32(l,14).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,14).onReset()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.B,[],null,null),uS._17(14,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(16,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,16,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(19,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(22,0,null,null,11,"div",[["class","text-xs-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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,lO.d,lO.a)),uS._17(25,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(27,16384,null,0,xS.t,[xS.c],null,null),uS._17(28,49152,null,0,nO.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,ol)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending);l(n,24,0,uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending)})}function _l(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,37,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,33,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,29,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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!==uS._32(l,11).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,11).onReset()&&u}return u},null,null)),uS._17(10,16384,null,0,xS.B,[],null,null),uS._17(11,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(13,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(16,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,13,{_control:0}),uS._38(335544320,14,{_placeholderChild:0}),uS._38(335544320,15,{_labelChild:0}),uS._38(603979776,16,{_errorChildren:1}),uS._38(603979776,17,{_hintChildren:1}),uS._38(603979776,18,{_prefixChildren:1}),uS._38(603979776,19,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,31)._onInput()&&u}return u},null,null)),uS._17(26,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(28,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(30,16384,null,0,xS.s,[xS.r],null,null),uS._17(31,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[13,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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,uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending);l(n,15,1,[uS._32(n,16)._control.errorState,uS._32(n,16)._control.errorState,uS._32(n,16)._canLabelFloat,uS._32(n,16)._shouldLabelFloat(),uS._32(n,16)._hideControlPlaceholder(),uS._32(n,16)._control.disabled,uS._32(n,16)._control.focused,"primary"==uS._32(n,16).color,"accent"==uS._32(n,16).color,"warn"==uS._32(n,16).color,uS._32(n,16)._shouldForward("untouched"),uS._32(n,16)._shouldForward("touched"),uS._32(n,16)._shouldForward("pristine"),uS._32(n,16)._shouldForward("dirty"),uS._32(n,16)._shouldForward("valid"),uS._32(n,16)._shouldForward("invalid"),uS._32(n,16)._shouldForward("pending")]);l(n,25,1,[uS._32(n,30).ngClassUntouched,uS._32(n,30).ngClassTouched,uS._32(n,30).ngClassPristine,uS._32(n,30).ngClassDirty,uS._32(n,30).ngClassValid,uS._32(n,30).ngClassInvalid,uS._32(n,30).ngClassPending,uS._32(n,31)._isServer,uS._32(n,31).id,uS._32(n,31).placeholder,uS._32(n,31).disabled,uS._32(n,31).required,uS._32(n,31).readonly,uS._32(n,31)._ariaDescribedby||null,uS._32(n,31).errorState,uS._32(n,31).required.toString()])})}function dl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,110,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(1,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,11,"ion-fab",[["middle",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(4,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,6,{_mainButton:0}),uS._38(603979776,7,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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},sO.b,sO.a)),uS._17(9,49152,[[6,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(11,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(12,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,93,"ion-scroll",[["scrollY","true"]],[[2,"scroll-x",null],[2,"scroll-y",null]],null,null,mO.b,mO.a)),uS._17(17,49152,null,0,pO.a,[],{scrollY:[0,"scrollY"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(19,0,null,0,13,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(20,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,9,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),uS._17(23,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(25,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(26,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(28,0,null,0,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(29,null,["",""])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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!==uS._32(l,36).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,36).onReset()&&u}return u},null,null)),uS._17(35,16384,null,0,xS.B,[],null,null),uS._17(36,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(38,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,il)),uS._17(41,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rl)),uS._17(44,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,_l)),uS._17(47,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,57)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.questionId=e)&&u}return u},null,null)),uS._37(6144,null,mT.c,null,[fT.b]),uS._17(51,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(53,671744,null,0,xS.v,[[2,xS.c],[8,null],[8,null],[2,xS.q]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),uS._35(54,{standalone:0}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(56,16384,null,0,xS.s,[xS.r],null,null),uS._17(57,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{type:[0,"type"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(60,0,null,0,48,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(61,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(63,0,null,null,44,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(64,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(66,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(67,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(72,0,null,0,33,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(73,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(75,0,null,null,29,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(76,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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!==uS._32(l,80).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,80).onReset()&&u}return u},null,null)),uS._17(79,16384,null,0,xS.B,[],null,null),uS._17(80,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(82,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(85,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,95)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,95).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,95)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,95)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,100)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,100)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,100)._onInput()&&u}return u},null,null)),uS._17(95,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(97,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(99,16384,null,0,xS.s,[xS.r],null,null),uS._17(100,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[20,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-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,uS._32(n,12)._hidden);l(n,16,0,uS._32(n,17).scrollX,uS._32(n,17).scrollY);l(n,29,0,n.context.$implicit.question);l(n,34,0,uS._32(n,38).ngClassUntouched,uS._32(n,38).ngClassTouched,uS._32(n,38).ngClassPristine,uS._32(n,38).ngClassDirty,uS._32(n,38).ngClassValid,uS._32(n,38).ngClassInvalid,uS._32(n,38).ngClassPending);l(n,49,1,[uS._32(n,56).ngClassUntouched,uS._32(n,56).ngClassTouched,uS._32(n,56).ngClassPristine,uS._32(n,56).ngClassDirty,uS._32(n,56).ngClassValid,uS._32(n,56).ngClassInvalid,uS._32(n,56).ngClassPending,uS._32(n,57)._isServer,uS._32(n,57).id,uS._32(n,57).placeholder,uS._32(n,57).disabled,uS._32(n,57).required,uS._32(n,57).readonly,uS._32(n,57)._ariaDescribedby||null,uS._32(n,57).errorState,uS._32(n,57).required.toString()]);l(n,78,0,uS._32(n,82).ngClassUntouched,uS._32(n,82).ngClassTouched,uS._32(n,82).ngClassPristine,uS._32(n,82).ngClassDirty,uS._32(n,82).ngClassValid,uS._32(n,82).ngClassInvalid,uS._32(n,82).ngClassPending);l(n,84,1,[uS._32(n,85)._control.errorState,uS._32(n,85)._control.errorState,uS._32(n,85)._canLabelFloat,uS._32(n,85)._shouldLabelFloat(),uS._32(n,85)._hideControlPlaceholder(),uS._32(n,85)._control.disabled,uS._32(n,85)._control.focused,"primary"==uS._32(n,85).color,"accent"==uS._32(n,85).color,"warn"==uS._32(n,85).color,uS._32(n,85)._shouldForward("untouched"),uS._32(n,85)._shouldForward("touched"),uS._32(n,85)._shouldForward("pristine"),uS._32(n,85)._shouldForward("dirty"),uS._32(n,85)._shouldForward("valid"),uS._32(n,85)._shouldForward("invalid"),uS._32(n,85)._shouldForward("pending")]);l(n,94,1,[uS._32(n,99).ngClassUntouched,uS._32(n,99).ngClassTouched,uS._32(n,99).ngClassPristine,uS._32(n,99).ngClassDirty,uS._32(n,99).ngClassValid,uS._32(n,99).ngClassInvalid,uS._32(n,99).ngClassPending,uS._32(n,100)._isServer,uS._32(n,100).id,uS._32(n,100).placeholder,uS._32(n,100).disabled,uS._32(n,100).required,uS._32(n,100).readonly,uS._32(n,100)._ariaDescribedby||null,uS._32(n,100).errorState,uS._32(n,100).required.toString()])})}function sl(l){return uS._42(0,[uS._38(402653184,1,{SwipedTabsSlider:0}),uS._38(402653184,2,{ItemsTitles:0}),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(3,0,null,null,52,"ion-header",[],null,null,null,null,null)),uS._17(4,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(7,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,11).toggle()&&u}return u},AT.b,AT.a)),uS._17(10,1097728,[[3,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(11,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(12,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Q)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n "])),(l()(),uS._13(16777216,null,3,1,null,J)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(26,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,4,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Z)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,X)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,0,null,null,17,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,fO.b,fO.a)),uS._17(38,49152,null,0,IT.a,[VD.a,uS.p,uS.O],null,null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(40,0,null,3,13,"ion-content",[["class","tabsContent"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(41,4374528,[[2,4],["MultiItemsScrollingTabs",4]],0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,0,null,1,6,"ion-segment",[["class","SwipedTabs-tabs"]],[[2,"segment-disabled",null]],null,null,null,null)),uS._17(44,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],null,null),uS._38(603979776,5,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ll)),uS._17(48,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(52,0,null,1,0,"div",[["class","SwipedTabs-indicatorSegment"],["id","indicator"]],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(57,0,null,null,9,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(58,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(60,0,null,1,5,"ion-slides",[],null,[[null,"ionSlideDrag"],[null,"ionSlideDidChange"],[null,"ionSlideWillChange"],[null,"panend"]],function(l,n,e){var u=!0,t=l.component;if("ionSlideDrag"===n){u=!1!==t.animateIndicator(e)&&u}if("ionSlideDidChange"===n){u=!1!==t.updateIndicatorPosition()&&u}if("ionSlideWillChange"===n){u=!1!==t.scrollIndicatiorTab()&&u}if("panend"===n){u=!1!==t.updateIndicatorPositionOnTouchEnd()&&u}return u},MT.b,MT.a)),uS._17(61,1228800,[[1,4],["SwipedTabsSlider",4]],0,KT.a,[VD.a,MD.a,uS.H,[2,JD.a],uS.p,uS.O],{pager:[0,"pager"]},{ionSlideWillChange:"ionSlideWillChange",ionSlideDidChange:"ionSlideDidChange",ionSlideDrag:"ionSlideDrag"}),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,dl)),uS._17(64,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n\n\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(68,0,null,null,30,"ion-footer",[],null,null,null,null,null)),uS._17(69,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(71,0,null,null,26,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(72,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(74,0,null,null,10,"ion-col",[["class","col"],["col-6",""],["style","padding: 0px !important;"]],null,null,null,null,null)),uS._17(75,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(78,0,null,null,5,"button",[["color","danger"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.prev(t.questionAnswer.value,t.questionanotherData.value,t.questionDetails)&&u}return u},AT.b,AT.a)),uS._17(79,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(81,0,null,0,1,"ion-icon",[["name","md-arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(82,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,[" SAVE & PREVIOUS\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(86,0,null,null,10,"ion-col",[["class","col"],["col-6",""],["style","padding: 0px !important;"]],null,null,null,null,null)),uS._17(87,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(90,0,null,null,5,"button",[["color","secondary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveQuestionDetails(t.questionAnswer.value,t.questionanotherData.value,t.questionDetails)&&u}return u},AT.b,AT.a)),uS._17(91,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["Save & Next\n "])),(l()(),uS._18(93,0,null,0,1,"ion-icon",[["name","md-arrow-forward"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(94,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,7)._hidden,uS._32(n,7)._sbPadding);l(n,9,0,uS._32(n,11).isHidden);l(n,15,0,uS._32(n,16)._hidden);l(n,37,0,uS._32(n,38)._sbPadding);l(n,40,0,uS._32(n,41).statusbarPadding,uS._32(n,41)._hasRefresher);l(n,43,0,uS._32(n,44)._disabled);l(n,57,0,uS._32(n,58).statusbarPadding,uS._32(n,58)._hasRefresher);l(n,81,0,uS._32(n,82)._hidden);l(n,93,0,uS._32(n,94)._hidden)})}function cl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["PD Listing"]))],null,null)}function ml(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,[" "])),(l()(),uS._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,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},PT.b,PT.a)),uS._17(4,1294336,null,0,DT.a,[VD.a,MD.a,uS.p,uS.O,[2,xS.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,n.component.click,uS._32(n,4)._animated,uS._32(n,4)._value,uS._32(n,4)._isActive,uS._32(n,4)._showCancelButton,uS._32(n,4)._shouldAlignLeft,uS._32(n,4)._isFocus)})}function pl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function fl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function hl(l){return uS._42(0,[(l()(),uS._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,t=l.component;if("click"===n){u=!1!==uS._32(l,3).onClick()&&u}if("click"===n){u=!1!==t.selectTab(l.context.index)&&u}return u},jT.b,jT.a)),uS._17(1,278528,null,0,wI.i,[uS.B,uS.C,uS.p,uS.P],{ngClass:[0,"ngClass"]},null),uS._35(2,{"SwipedTabs-activeTab":0}),uS._17(3,114688,[[5,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(4,0,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,uS._32(n.parent,61)&&(uS._32(n.parent,61).getActiveIndex()===n.context.index||e.tabs.length-1===n.context.index&&uS._32(n.parent,61).isEnd())));l(n,3,0,"IngoreMe")},function(l,n){l(n,0,0,uS._21(1,"tabTitle",n.context.index,""),uS._32(n,3)._disabled,uS._32(n,3).isActive,uS._32(n,3).isActive);l(n,4,0,n.context.$implicit)})}function gl(l){return uS._42(0,[uS._38(402653184,1,{SwipedTabsSlider:0}),uS._38(402653184,2,{ItemsTitles:0}),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(3,0,null,null,52,"ion-header",[],null,null,null,null,null)),uS._17(4,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(7,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,11).toggle()&&u}return u},AT.b,AT.a)),uS._17(10,1097728,[[3,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(11,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(12,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,cl)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n "])),(l()(),uS._13(16777216,null,3,1,null,ml)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(26,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,4,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,pl)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fl)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,0,null,null,17,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,fO.b,fO.a)),uS._17(38,49152,null,0,IT.a,[VD.a,uS.p,uS.O],null,null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(40,0,null,3,13,"ion-content",[["class","tabsContent"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(41,4374528,[[2,4],["MultiItemsScrollingTabs",4]],0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,0,null,1,6,"ion-segment",[["class","SwipedTabs-tabs"]],[[2,"segment-disabled",null]],null,null,null,null)),uS._17(44,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],null,null),uS._38(603979776,5,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hl)),uS._17(48,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(52,0,null,1,0,"div",[["class","SwipedTabs-indicatorSegment"],["id","indicator"]],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(57,0,null,null,576,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(58,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(60,0,null,1,572,"ion-slides",[],null,[[null,"ionSlideDrag"],[null,"ionSlideDidChange"],[null,"ionSlideWillChange"],[null,"panend"]],function(l,n,e){var u=!0,t=l.component;if("ionSlideDrag"===n){u=!1!==t.animateIndicator(e)&&u}if("ionSlideDidChange"===n){u=!1!==t.updateIndicatorPosition()&&u}if("ionSlideWillChange"===n){u=!1!==t.scrollIndicatiorTab()&&u}if("panend"===n){u=!1!==t.updateIndicatorPositionOnTouchEnd()&&u}return u},MT.b,MT.a)),uS._17(61,1228800,[[1,4],["SwipedTabsSlider",4]],0,KT.a,[VD.a,MD.a,uS.H,[2,JD.a],uS.p,uS.O],{pager:[0,"pager"]},{ionSlideWillChange:"ionSlideWillChange",ionSlideDidChange:"ionSlideDidChange",ionSlideDrag:"ionSlideDrag"}),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(63,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(64,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._18(66,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(67,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(69,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(70,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(72,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(73,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(75,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(77,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(83,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(84,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(86,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(87,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(89,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(90,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(92,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(96,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(97,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(99,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(103,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(104,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(106,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(110,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(111,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(113,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(120,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(121,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(123,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(124,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(126,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(127,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(129,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(130,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(132,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(134,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(140,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(141,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(143,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(144,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(146,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(147,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(149,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(153,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(154,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(156,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(160,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(161,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(163,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(167,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(168,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(170,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(177,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(178,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(180,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(181,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(183,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(184,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(186,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(187,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(189,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(191,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(197,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(198,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(200,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(201,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(203,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(204,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(206,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(210,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(211,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(213,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(217,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(218,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(220,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(224,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(225,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(227,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(234,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(235,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(237,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(238,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(240,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(241,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(243,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(244,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(246,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(248,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(254,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(255,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(257,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(258,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(260,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(261,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(263,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(267,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(268,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(270,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(274,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(275,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(277,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(281,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(282,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(284,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(291,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(292,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(294,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(295,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(297,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(298,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(300,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(301,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(303,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(305,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(311,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(312,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(314,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(315,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(317,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(318,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(320,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(324,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(325,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(327,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(331,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(332,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(334,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(338,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(339,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(341,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(348,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(349,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(351,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(352,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(354,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(355,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(357,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(358,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(360,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(362,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(368,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(369,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(371,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(372,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(374,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(375,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(377,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(381,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(382,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(384,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(388,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(389,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(391,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(395,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(396,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(398,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(405,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(406,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(408,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(409,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(411,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(412,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(414,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(415,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(417,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(419,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(425,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(426,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(428,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(429,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(431,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(432,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(434,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(438,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(439,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(441,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(445,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(446,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(448,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(452,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(453,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(455,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(462,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(463,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(465,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(466,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(468,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(469,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(471,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(472,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(474,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(476,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(482,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(483,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(485,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(486,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(488,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(489,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(491,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(495,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(496,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(498,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(502,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(503,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(505,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(509,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(510,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(512,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(519,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(520,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(522,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(523,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(525,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(526,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(528,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(529,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(531,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(533,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(539,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(540,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(542,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(543,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(545,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(546,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(548,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(552,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(553,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(555,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(559,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(560,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(562,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(566,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(567,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(569,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(576,0,null,0,55,"ion-slide",[],null,null,null,HT.b,HT.a)),uS._17(577,180224,null,0,GT.a,[uS.p,uS.O,KT.a],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(579,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(580,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(582,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(583,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(585,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(586,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(588,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),uS._18(590,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["56+12*0.45-3=?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(596,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(597,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(599,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(600,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(602,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(603,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(605,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["1. 28.5"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(609,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(610,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(612,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["2. 47.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(616,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(617,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(619,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["3. 86.6"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(623,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,rT.d,rT.a)),uS._17(624,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(626,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["4. 58.4"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,0,["\n\n\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,7)._hidden,uS._32(n,7)._sbPadding);l(n,9,0,uS._32(n,11).isHidden);l(n,15,0,uS._32(n,16)._hidden);l(n,37,0,uS._32(n,38)._sbPadding);l(n,40,0,uS._32(n,41).statusbarPadding,uS._32(n,41)._hasRefresher);l(n,43,0,uS._32(n,44)._disabled);l(n,57,0,uS._32(n,58).statusbarPadding,uS._32(n,58)._hasRefresher)})}function bl(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(7,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(8,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["password"])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(13,0,null,null,88,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(14,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(16,0,null,1,84,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(17,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(19,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(20,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(23,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(24,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(27,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(33,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(34,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(37,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(40,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(42,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["New Password"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(47,0,null,null,38,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(48,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(50,0,null,null,34,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(51,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(54,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,1,{_control:0}),uS._38(335544320,2,{_placeholderChild:0}),uS._38(335544320,3,{_labelChild:0}),uS._38(603979776,4,{_errorChildren:1}),uS._38(603979776,5,{_hintChildren:1}),uS._38(603979776,6,{_prefixChildren:1}),uS._38(603979776,7,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,64)._onInput()&&u}return u},null,null)),uS._17(64,933888,null,0,fT.b,[uS.p,kS.a,[8,null],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[1,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._18(68,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(71,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,8,{_control:0}),uS._38(335544320,9,{_placeholderChild:0}),uS._38(335544320,10,{_labelChild:0}),uS._38(603979776,11,{_errorChildren:1}),uS._38(603979776,12,{_hintChildren:1}),uS._38(603979776,13,{_prefixChildren:1}),uS._38(603979776,14,{_suffixChildren:1}),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._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!==uS._32(l,81)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,81)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,81)._onInput()&&u}return u},null,null)),uS._17(81,933888,null,0,fT.b,[uS.p,kS.a,[8,null],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[8,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(88,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),uS._17(89,16384,null,0,_T.d,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(92,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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(uS._32(l,63).value)&&u}return u},hT.b,hT.a)),uS._17(95,180224,null,0,gT.b,[uS.p,kS.a,bT.j],{color:[0,"color"]},null),uS._17(96,16384,null,0,gT.f,[],null,null),(l()(),uS._40(-1,0,["Set Password"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,13,0,uS._32(n,14).statusbarPadding,uS._32(n,14)._hasRefresher);l(n,29,0,e.commonImage||"../../assets/img/misc/avatar.jpg");l(n,53,1,[uS._32(n,54)._control.errorState,uS._32(n,54)._control.errorState,uS._32(n,54)._canLabelFloat,uS._32(n,54)._shouldLabelFloat(),uS._32(n,54)._hideControlPlaceholder(),uS._32(n,54)._control.disabled,uS._32(n,54)._control.focused,"primary"==uS._32(n,54).color,"accent"==uS._32(n,54).color,"warn"==uS._32(n,54).color,uS._32(n,54)._shouldForward("untouched"),uS._32(n,54)._shouldForward("touched"),uS._32(n,54)._shouldForward("pristine"),uS._32(n,54)._shouldForward("dirty"),uS._32(n,54)._shouldForward("valid"),uS._32(n,54)._shouldForward("invalid"),uS._32(n,54)._shouldForward("pending")]);l(n,63,0,uS._32(n,64)._isServer,uS._32(n,64).id,uS._32(n,64).placeholder,uS._32(n,64).disabled,uS._32(n,64).required,uS._32(n,64).readonly,uS._32(n,64)._ariaDescribedby||null,uS._32(n,64).errorState,uS._32(n,64).required.toString());l(n,70,1,[uS._32(n,71)._control.errorState,uS._32(n,71)._control.errorState,uS._32(n,71)._canLabelFloat,uS._32(n,71)._shouldLabelFloat(),uS._32(n,71)._hideControlPlaceholder(),uS._32(n,71)._control.disabled,uS._32(n,71)._control.focused,"primary"==uS._32(n,71).color,"accent"==uS._32(n,71).color,"warn"==uS._32(n,71).color,uS._32(n,71)._shouldForward("untouched"),uS._32(n,71)._shouldForward("touched"),uS._32(n,71)._shouldForward("pristine"),uS._32(n,71)._shouldForward("dirty"),uS._32(n,71)._shouldForward("valid"),uS._32(n,71)._shouldForward("invalid"),uS._32(n,71)._shouldForward("pending")]);l(n,80,0,uS._32(n,81)._isServer,uS._32(n,81).id,uS._32(n,81).placeholder,uS._32(n,81).disabled,uS._32(n,81).required,uS._32(n,81).readonly,uS._32(n,81)._ariaDescribedby||null,uS._32(n,81).errorState,uS._32(n,81).required.toString());l(n,91,0,"end"===uS._32(n,92).align);l(n,94,0,uS._32(n,95).disabled||null)})}function vl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),uS._40(4,null,["",""])),uS._36(5,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,4,0,uS._41(n,4,0,l(n,5,0,uS._32(n.parent.parent.parent,0),n.parent.parent.context.$implicit.applicat_details[0].applicant_name)))})}function yl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,48,"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.parent.context.$implicit)&&u}return u},OD.b,OD.a)),uS._17(1,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,2,{contentLabel:0}),uS._38(603979776,3,{_buttons:1}),uS._38(603979776,4,{_icons:1}),uS._17(5,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),uS._40(9,null,["",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(11,0,null,2,18,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(12,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vl)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(18,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(23,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(25,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(26,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(31,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(32,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(35,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),uS._40(38,null,["",", ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(41,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(42,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(44,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(45,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "]))],function(l,n){l(n,15,0,0!=n.parent.context.$implicit.applicat_details.length&&1==n.parent.context.$implicit.applicat_details[0].applicant_type)},function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,23,0,n.parent.context.$implicit.pd_date_of_initiation);l(n,26,0,n.parent.context.$implicit.city_name);l(n,38,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,45,0,n.parent.context.$implicit.pd_status)})}function Cl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,53,"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.parent.context.$implicit)&&u}return u},OD.b,OD.a)),uS._17(1,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,5,{contentLabel:0}),uS._38(603979776,6,{_buttons:1}),uS._38(603979776,7,{_icons:1}),uS._17(5,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,0,1,"p",[["class","lettericon"],["item-start",""]],[[4,"background",null]],null,null,null,null)),(l()(),uS._40(9,null,["",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(11,0,null,2,23,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(12,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,6,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),uS._17(15,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),uS._40(18,null,["Add On for ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(23,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(25,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(28,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(30,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(31,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "])),(l()(),uS._18(36,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(37,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(40,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(42,0,null,null,1,"h6",[["class","app_id"]],null,null,null,null,null)),(l()(),uS._40(43,null,["",", ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(46,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(47,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(49,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(50,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,2,[" \n "]))],null,function(l,n){l(n,8,0,n.component.bgColorPast[n.parent.context.index]);l(n,9,0,n.parent.context.$implicit.pd_id);l(n,18,0,n.parent.context.$implicit.parent_pd_id);l(n,28,0,n.parent.context.$implicit.pd_date_of_initiation);l(n,31,0,n.parent.context.$implicit.city_name);l(n,43,0,n.parent.context.$implicit.lender_short_name,n.parent.context.$implicit.lender_applicant_id);l(n,50,0,n.parent.context.$implicit.pd_status)})}function wl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,10,"ion-list",[],null,null,null,null,null)),uS._17(4,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yl)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Cl)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n"]))],function(l,n){l(n,8,0,1!=n.context.$implicit.is_child);l(n,12,0,1==n.context.$implicit.is_child)},null)}function Fl(l){return uS._42(0,[uS._34(0,wI.u,[]),(l()(),uS._18(1,0,null,null,20,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(17,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(18,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Complete List"])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(23,0,null,null,10,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(24,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(26,0,null,1,6,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(27,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,[" \n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._13(16777216,null,null,1,null,wl)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,31,0,e.pdcomplete)},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,23,0,uS._32(n,24).statusbarPadding,uS._32(n,24)._hasRefresher)})}function xl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["PD Listing"]))],null,null)}function kl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,[" "])),(l()(),uS._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,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},PT.b,PT.a)),uS._17(4,1294336,null,0,DT.a,[VD.a,MD.a,uS.p,uS.O,[2,xS.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,uS._32(n,4)._animated,uS._32(n,4)._value,uS._32(n,4)._isActive,uS._32(n,4)._showCancelButton,uS._32(n,4)._shouldAlignLeft,uS._32(n,4)._isFocus)})}function Sl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Il(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function ql(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._18(7,0,null,null,0,"i",[["class","fa-1x fa fa-user-o"]],null,null,null,null,null)),(l()(),uS._40(8,null,["  "," (Main)"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),uS._17(12,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._18(15,0,null,null,0,"i",[["class","fa-1x fa fa-phone"]],null,null,null,null,null)),(l()(),uS._40(16,null,[" "," "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 uS._42(0,[(l()(),uS._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._18(7,0,null,null,0,"i",[["class","fa-1x fa fa-user-o"]],null,null,null,null,null)),(l()(),uS._40(8,null,["  ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),uS._17(12,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._18(15,0,null,null,0,"i",[["class","fa-1x fa fa-phone"]],null,null,null,null,null)),(l()(),uS._40(16,null,[" "," "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 Dl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,8,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(1,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ql)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pl)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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 Tl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,33,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,xl)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n "])),(l()(),uS._13(16777216,null,3,1,null,kl)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(22,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(23,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Sl)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Il)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(35,0,null,null,113,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(36,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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)),uS._17(39,212992,null,0,BT.a,[MD.a,QD.a,uS.H,HD.l],null,{ionRefresh:"ionRefresh"}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(41,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,RT.b,RT.a)),uS._17(42,114688,null,0,UT.a,[BT.a,VD.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(46,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(48,0,null,1,99,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),uS._17(49,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,69,"mat-card",[["class","box mat-card"],["reorder","true"]],null,null,null,rT.d,rT.a)),uS._17(52,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(54,0,null,0,21,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(55,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(57,0,null,2,17,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(59,0,null,null,5,"mat-card-title",[["class","mat-card-title mat-card-title"]],null,null,null,null,null)),uS._17(60,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(62,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),uS._40(63,null,["",""])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(66,0,null,null,7,"mat-card-subtitle",[["class","mat-card-subtitle mat-card-subtitle"]],null,null,null,null,null)),uS._17(67,16384,null,0,_T.g,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(69,0,null,null,0,"i",[["class","fa-1x fa fa-map-marker"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(71,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(72,null,[""," / -",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(79,0,null,0,40,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(80,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(82,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Product"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(86,null,[""," / ","."])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(88,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(89,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(91,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(92,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(94,0,null,null,1,"div",[["style","text-align:right;"]],null,null,null,null,null)),(l()(),uS._40(95,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(97,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(99,0,null,null,0,"h2",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(101,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(102,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(104,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(105,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(107,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(108,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(111,0,null,null,6,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),uS._17(112,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(114,0,null,null,2,"h2",[],null,null,null,null,null)),(l()(),uS._18(115,0,null,null,0,"i",[["class","fa-1x fa fa-rupee"]],null,null,null,null,null)),(l()(),uS._40(116,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(122,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(124,0,null,null,21,"mat-card",[["class","box mat-card"],["reorder","true"]],null,null,null,rT.d,rT.a)),uS._17(125,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(127,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(128,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(130,0,null,2,8,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(132,0,null,null,5,"mat-card-title",[["class","mat-card-title mat-card-title"]],null,null,null,null,null)),uS._17(133,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(135,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Applicants"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(141,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Dl)),uS._17(144,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,35,0,uS._32(n,36).statusbarPadding,uS._32(n,36)._hasRefresher);l(n,38,0,"inactive"!==uS._32(n,39).state,uS._32(n,39)._top);l(n,41,0,uS._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 Ol(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._18(5,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(7,null,["  ",""])),uS._36(8,1),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,6,0,"contact")},function(l,n){var e=n.component;l(n,5,0,uS._32(n,6)._hidden);l(n,7,0,uS._41(n,7,0,l(n,8,0,uS._32(n.parent,0),e.mainApplicant.applicant_name)))})}function Ll(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[["class","cardinfo"]],null,null,null,null,null)),(l()(),uS._40(1,null,["/ ",""]))],null,function(l,n){l(n,1,0,n.component.applicatentDetails.subproduct_name)})}function Al(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,5,"ion-row",[["class","row"],["float-right",""]],null,null,null,null,null)),uS._17(3,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"h6",[["class","status"]],null,null,null,null,null)),(l()(),uS._40(6,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,6,0,n.context.$implicit.pd_status)})}function Vl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[["class","addressinfo"]],null,null,null,null,null)),(l()(),uS._40(1,null,["-",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.pincode)})}function Nl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[["class","addressinfo"]],null,null,null,null,null)),(l()(),uS._40(1,null,["-",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.other_pincode)})}function Wl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,3,"button",[["class","inprogress_btn"],["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.mapAddress(l.parent.context.$implicit)&&u}return u},AT.b,AT.a)),uS._17(2,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(3,0,null,0,1,"i",[["class","material-icons"],["style","font-size:24px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["where_to_vote"]))],function(l,n){l(n,2,0,"optblue","")},null)}function El(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-icon",[["class","addressinfo"],["item-start",""],["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(1,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(2,null,[" ",""]))],function(l,n){l(n,1,0,"md-calendar")},function(l,n){l(n,0,0,uS._32(n,1)._hidden);l(n,2,0,n.parent.context.$implicit.scheduled_on)})}function jl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[["class","inprogress_btn"]],null,null,null,null,null)),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(2,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.inprogress(t.applicatentDetails,l.parent.context.$implicit)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(4,0,null,0,1,"ion-icon",[["name","md-chatbubbles"],["role","img"],["style","font-size:24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(5,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null)],function(l,n){l(n,3,0,"optblue","");l(n,5,0,"md-chatbubbles")},function(l,n){l(n,4,0,uS._32(n,5)._hidden)})}function $l(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,14,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,El)),uS._17(5,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,2,"ion-icon",[["class","addressinfo"],["float-right",""],["name","md-people"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(8,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(9,null,[" ",""])),(l()(),uS._18(10,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jl)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,null!=n.context.$implicit.scheduled_on);l(n,8,0,"md-people");l(n,13,0,"COMPLETED"==n.context.$implicit.pd_status||"INPROGRESS"==n.context.$implicit.pd_status||"ADD_ON_PENDING"==n.context.$implicit.pd_status)},function(l,n){l(n,7,0,uS._32(n,8)._hidden);l(n,9,0,n.context.$implicit.customer_segment_abbr)})}function Bl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,41,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"mat-label",[["style","font-size:12px;color:gray"]],null,null,null,null,null)),uS._17(3,16384,null,0,mT.f,[],null,null),(l()(),uS._40(4,null,["Address ",""])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Al)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(9,0,null,null,23,"a",[["style","text-decoration: none;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.locationnavicate(l.context.index)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,20,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(12,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(14,0,null,null,3,"ion-col",[["class","col"],["col-1",""],["top",""]],null,null,null,null,null)),uS._17(15,16384,null,0,sT.a,[],null,null),(l()(),uS._18(16,0,null,null,1,"ion-icon",[["name","pin"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(17,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,11,"ion-col",[["class","addressinfo col"]],null,null,null,null,null)),uS._17(20,16384,null,0,sT.a,[],null,null),(l()(),uS._40(21,null,["",""])),(l()(),uS._18(22,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(23,null,["\n ",""])),(l()(),uS._18(24,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(25,null,["\n ","\n "])),(l()(),uS._13(16777216,null,null,1,null,Vl)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Nl)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wl)),uS._17(35,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$l)),uS._17(38,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(40,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,n.context.$implicit.addtional_pd_data);l(n,17,0,"pin");l(n,27,0,""!=n.context.$implicit.pincode&&null!=n.context.$implicit.pincode&&"Others"!=n.context.$implicit.pincode);l(n,30,0,""!=n.context.$implicit.pincode&&null!=n.context.$implicit.pincode&&"Others"==n.context.$implicit.pincode);l(n,35,0,0==n.context.$implicit.addtional_pd_data.length&&0==n.context.$implicit.is_primary&&""==e.address_pd_status);l(n,38,0,n.context.$implicit.addtional_pd_data)},function(l,n){l(n,4,0,n.context.index+1);l(n,16,0,uS._32(n,17)._hidden);l(n,21,0,n.context.$implicit.addressline1);l(n,23,0,n.context.$implicit.city_name);l(n,25,0,n.context.$implicit.state_name)})}function Rl(l){return uS._42(0,[(l()(),uS._18(0,0,[[2,0],["scroll",1]],null,24,"ion-row",[["class","schdul row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,18,"ion-item",[["class","item item-block"]],null,null,null,OD.b,OD.a)),uS._17(6,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,4,{contentLabel:0}),uS._38(603979776,5,{_buttons:1}),uS._38(603979776,6,{_icons:1}),uS._17(10,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,[" "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(13,0,null,1,2,"ion-label",[["color","primary"],["floating",""]],null,null,null,null,null)),uS._17(14,16384,[[4,4]],0,SO.a,[VD.a,uS.p,uS.O,[8,""],[8,null],[8,null],[8,null]],{color:[0,"color"]},null),(l()(),uS._40(-1,null,["Schedule Date"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=t.datetime-(t.local=e.target.value)!==!1&&u}if("ngModelChange"===n){u=!1!==(t.scheduleDate=e)&&u}return u},IO.b,IO.a)),uS._17(18,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,5423104,[[1,4],["focusinp",4]],0,qO.a,[VD.a,MD.a,AD.a,YD.a,uS.p,uS.O,[2,QD.a],[2,LD.a],[2,xS.r],GD.a],{type:[0,"type"],placeholder:[1,"placeholder"],min:[2,"min"]},{input:"input"}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n \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,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending)})}function Ul(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,16,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,2,"ion-label",[],null,null,null,null,null)),uS._17(7,16384,null,0,SO.a,[VD.a,uS.p,uS.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),uS._40(-1,null,["Scheduled On"])),(l()(),uS._18(9,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(12,16384,null,0,sT.a,[],null,null),(l()(),uS._18(13,0,null,null,1,"ion-icon",[["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(17,16384,null,0,sT.a,[],null,null),(l()(),uS._40(18,null,["  ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,14,0,"md-calendar")},function(l,n){var e=n.component;l(n,13,0,uS._32(n,14)._hidden);l(n,18,0,e.address_allocated_data.scheduled_on)})}function Ml(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._18(5,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(9,16384,null,0,sT.a,[],null,null),(l()(),uS._40(10,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,6,"ion-col",[["class","col"],["col-2",""]],null,null,null,null,null)),uS._17(13,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),uS._18(16,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(17,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,6,0,"call");l(n,17,0,"optblue","call")},function(l,n){l(n,5,0,uS._32(n,6)._hidden);l(n,10,0,n.parent.context.$implicit.mobile_no);l(n,15,0,uS._21(1,"tel:?",n.parent.context.$implicit.mobile_no,""));l(n,16,0,uS._32(n,17)._hidden)})}function Kl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(1,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(6,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(7,16384,null,0,_T.h,[],null,null),(l()(),uS._18(8,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(9,null,["Applicant ",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(13,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,0,null,null,9,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(16,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,5,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(19,16384,null,0,sT.a,[],null,null),(l()(),uS._18(20,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(21,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(22,null,["  ",""])),uS._36(23,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ml)),uS._17(28,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(30,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,21,0,"contact");l(n,28,0,""!=n.context.$implicit.mobile_no&&null!=n.context.$implicit.mobile_no)},function(l,n){l(n,9,0,n.context.index+1);l(n,20,0,uS._32(n,21)._hidden);l(n,22,0,uS._41(n,22,0,l(n,23,0,uS._32(n.parent,0),n.context.$implicit.applicant_name)))})}function Hl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._18(3,0,null,null,6,"ion-col",[["class","col"],["col-12",""],["style","padding:0px !important;"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdschedule(t.scheduleDate,t.applicatentDetails)&&u}return u},AT.b,AT.a)),uS._17(7,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["Schedule"])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","")},null)}function Gl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(3,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"],["text-center",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdStatus("BOUNCED",t.applicatentDetails)&&u}return u},AT.b,AT.a)),uS._17(7,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["Reject"])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px;"],["text-center",""]],null,null,null,null,null)),uS._17(12,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,t=l.component;if("click"===n){u=!1!==t.pdStatus("ACCEPTED",t.applicatentDetails)&&u}return u},AT.b,AT.a)),uS._17(15,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["Accept"])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","");l(n,15,0,"primary","")},null)}function Yl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(3,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,t=l.component;if("click"===n){u=!1!==t.pdinitiated(t.applicatentDetails)&&u}return u},AT.b,AT.a)),uS._17(7,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["INITIATE"])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"]],null,null,null,null,null)),uS._17(13,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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},AT.b,AT.a)),uS._17(16,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["Re Schedule"])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-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 zl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._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,t=l.component;if("click"===n){u=!1!==t.checkOTP(t.applicatentDetails)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["\n Start"])),(l()(),uS._40(-1,null,["\n \n \n "]))],function(l,n){l(n,4,0,"primary","")},null)}function Ql(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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;if("click"===n){u=!1!==l.component.startPdDiscussion()&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["\n Check OTP"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"primary","")},null)}function Jl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"ion-footer",[],null,null,null,null,null)),uS._17(1,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,17,"mat-card",[["class","mat-card"],["style","padding:0px !important;"]],null,null,null,rT.d,rT.a)),uS._17(4,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Hl)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Gl)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n \n \n \n "])),(l()(),uS._13(16777216,null,0,1,null,Yl)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,zl)),uS._17(16,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Ql)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,e.scheduleAccess);l(n,10,0,e.acceptedAccess);l(n,13,0,e.initiatedAccess);l(n,16,0,e.startedAccess);l(n,19,0,e.checkOtpAccess)},null)}function Zl(l){return uS._42(0,[uS._34(0,wI.u,[]),uS._38(671088640,1,{input_focus:0}),uS._38(671088640,2,{scrolltop:0}),(l()(),uS._18(3,0,null,null,0,"link",[["href","https://fonts.googleapis.com/icon?family=Material+Icons"],["rel","stylesheet"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(5,0,null,null,20,"ion-header",[],null,null,null,null,null)),uS._17(6,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(9,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(11,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!==uS._32(l,13).toggle()&&u}return u},AT.b,AT.a)),uS._17(12,1097728,[[3,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(13,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(14,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(17,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(18,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(21,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(22,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(23,0,[""," - ",""])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._18(27,0,null,null,162,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(28,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,0,null,1,88,"mat-card",[["class","mat-card"],["style"," border-radius: 10px;"]],null,null,null,rT.d,rT.a)),uS._17(33,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Ol)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(39,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(41,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(42,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(44,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(45,16384,null,0,sT.a,[],null,null),(l()(),uS._18(46,0,null,null,1,"ion-icon",[["name","md-people"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(47,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(49,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(50,16384,null,0,sT.a,[],null,null),(l()(),uS._40(51,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(54,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n \n \n "])),(l()(),uS._18(57,0,null,0,18,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(58,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(60,0,null,null,3,"ion-col",[["class"," col"],["col-1",""]],null,null,null,null,null)),uS._17(61,16384,null,0,sT.a,[],null,null),(l()(),uS._18(62,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(63,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(65,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(66,16384,null,0,sT.a,[],null,null),(l()(),uS._40(67,null,[""," "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(69,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["color","optblue"]],null,null,null,null,null)),uS._17(70,16384,null,0,sT.a,[],null,null),(l()(),uS._18(71,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(73,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(74,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(79,0,null,0,13,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(80,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(82,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(83,16384,null,0,sT.a,[],null,null),(l()(),uS._18(84,0,null,null,1,"ion-icon",[["name","md-briefcase"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(85,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(87,0,null,null,4,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(88,16384,null,0,sT.a,[],null,null),(l()(),uS._40(89,null,["","\n "])),(l()(),uS._13(16777216,null,null,1,null,Ll)),uS._17(91,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(94,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(96,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(97,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(99,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(100,16384,null,0,sT.a,[],null,null),(l()(),uS._18(101,0,null,null,1,"ion-icon",[["name","md-cash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(102,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(104,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(105,16384,null,0,sT.a,[],null,null),(l()(),uS._40(106,null,[""," ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(109,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Bl)),uS._17(112,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Rl)),uS._17(115,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Ul)),uS._17(118,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,[" \n \n \n \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(122,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(124,0,null,1,7,"mat-card",[["class","mat-card"],["style","border-radius:10px"]],null,null,null,rT.d,rT.a)),uS._17(125,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(127,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Kl)),uS._17(130,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(132,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(134,0,null,1,52,"mat-card",[["class","mat-card"],["style","border-radius:10px"]],null,null,null,rT.d,rT.a)),uS._17(135,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(137,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(139,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(140,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(142,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(143,16384,null,0,_T.h,[],null,null),(l()(),uS._18(144,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Lender Contact Details"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(148,0,null,0,37,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(149,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(151,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(152,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(154,0,null,null,8,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(155,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(157,0,null,null,4,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(158,16384,null,0,sT.a,[],null,null),(l()(),uS._18(159,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(160,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(161,null,["  ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(165,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(166,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(168,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(169,16384,null,0,sT.a,[],null,null),(l()(),uS._18(170,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(171,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(173,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),uS._17(174,16384,null,0,sT.a,[],null,null),(l()(),uS._40(175,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(177,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["color","optblue"]],null,null,null,null,null)),uS._17(178,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(180,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),uS._18(181,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(182,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(187,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._18(188,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jl)),uS._17(192,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null)],function(l,n){var e=n.component;l(n,9,0,"optblue");l(n,13,0,"");l(n,18,0,"menu");l(n,36,0,e.other_applicant[0]);l(n,47,0,"md-people");l(n,63,0,"call");l(n,74,0,"optblue","call");l(n,85,0,"md-briefcase");l(n,91,0,"Not Applicable"!=e.applicatentDetails.subproduct_name&&null!=e.applicatentDetails.subproduct_name);l(n,102,0,"md-cash");l(n,112,0,e.addresses);l(n,115,0,e.scheduleAccess);l(n,118,0,e.initiatedAccess||e.startedAccess);l(n,130,0,e.other_applicant);l(n,160,0,"contact");l(n,171,0,"call");l(n,182,0,"optblue","call");l(n,192,0,null!=e.address_pd_id)},function(l,n){var e=n.component;l(n,8,0,uS._32(n,9)._hidden,uS._32(n,9)._sbPadding);l(n,11,0,uS._32(n,13).isHidden);l(n,17,0,uS._32(n,18)._hidden);l(n,23,0,e.pdMaster.lender_full_name,e.pdMaster.lender_applicant_id);l(n,27,0,uS._32(n,28).statusbarPadding,uS._32(n,28)._hasRefresher);l(n,46,0,uS._32(n,47)._hidden);l(n,51,0,e.pdMaster.customer_segment_name);l(n,62,0,uS._32(n,63)._hidden);l(n,67,0,e.mainApplicant.mobile_no);l(n,71,0,uS._21(1,"tel:?",e.mainApplicant.mobile_no,""));l(n,73,0,uS._32(n,74)._hidden);l(n,84,0,uS._32(n,85)._hidden);l(n,89,0,e.pdMaster.product_name);l(n,101,0,uS._32(n,102)._hidden);l(n,106,0,"₹",e.pdMaster.loan_amount);l(n,159,0,uS._32(n,160)._hidden);l(n,161,0,e.pdMaster.pd_contact_person);l(n,170,0,uS._32(n,171)._hidden);l(n,175,0,e.pdMaster.pd_contact_mobileno);l(n,180,0,uS._21(1,"tel:?",e.pdMaster.pd_contact_mobileno,""));l(n,181,0,uS._32(n,182)._hidden)})}function Xl(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["OTP Page"]))],null,null)}function ln(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Reason Page"]))],null,null)}function nn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(7,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,7,0,n.component.balance_time)})}function en(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,70,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(17,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(18,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(21,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(24,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["OTP"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(32,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,17,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(35,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(38,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,48)._onInput()&&u}return u},null,null)),uS._17(48,933888,null,0,fT.b,[uS.p,kS.a,[8,null],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[2,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(55,0,null,1,14,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),uS._17(56,16384,null,0,_T.d,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(59,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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(uS._32(l,47).value)&&u}return u},hT.b,hT.a)),uS._17(62,180224,null,0,gT.b,[uS.p,kS.a,bT.j],{color:[0,"color"]},null),uS._17(63,16384,null,0,gT.f,[],null,null),(l()(),uS._40(-1,0,["Verify OTP"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,nn)),uS._17(68,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-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,[uS._32(n,38)._control.errorState,uS._32(n,38)._control.errorState,uS._32(n,38)._canLabelFloat,uS._32(n,38)._shouldLabelFloat(),uS._32(n,38)._hideControlPlaceholder(),uS._32(n,38)._control.disabled,uS._32(n,38)._control.focused,"primary"==uS._32(n,38).color,"accent"==uS._32(n,38).color,"warn"==uS._32(n,38).color,uS._32(n,38)._shouldForward("untouched"),uS._32(n,38)._shouldForward("touched"),uS._32(n,38)._shouldForward("pristine"),uS._32(n,38)._shouldForward("dirty"),uS._32(n,38)._shouldForward("valid"),uS._32(n,38)._shouldForward("invalid"),uS._32(n,38)._shouldForward("pending")]);l(n,47,0,uS._32(n,48)._isServer,uS._32(n,48).id,uS._32(n,48).placeholder,uS._32(n,48).disabled,uS._32(n,48).required,uS._32(n,48).readonly,uS._32(n,48)._ariaDescribedby||null,uS._32(n,48).errorState,uS._32(n,48).required.toString());l(n,58,0,"end"===uS._32(n,59).align);l(n,61,0,uS._32(n,62).disabled||null)})}function un(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[16,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.otp_rejection_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.rejection_reason)})}function tn(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,19,{_control:0}),uS._38(335544320,20,{_placeholderChild:0}),uS._38(335544320,21,{_labelChild:0}),uS._38(603979776,22,{_errorChildren:1}),uS._38(603979776,23,{_hintChildren:1}),uS._38(603979776,24,{_prefixChildren:1}),uS._38(603979776,25,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[19,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function an(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,84,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(7,0,null,0,3,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,58,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(13,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(16,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(19,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["OTP Rejection Reason"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,43,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(27,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,31).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,31).onReset()&&u}return u},null,null)),uS._17(30,16384,null,0,xS.B,[],null,null),uS._17(31,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(33,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,0,null,null,31,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),uS._17(37,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(40,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,9,{_control:0}),uS._38(335544320,10,{_placeholderChild:0}),uS._38(335544320,11,{_labelChild:0}),uS._38(603979776,12,{_errorChildren:1}),uS._38(603979776,13,{_hintChildren:1}),uS._38(603979776,14,{_prefixChildren:1}),uS._38(603979776,15,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(49,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","reason"],["placeholder","OTP Rejection 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,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==uS._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,54)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),uS._17(54,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,16,{options:1}),uS._38(603979776,17,{optionGroups:1}),uS._38(335544320,18,{customTrigger:0}),uS._37(2048,[[9,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,un)),uS._17(61,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(64,null,["\n ","\n "])),(l()(),uS._13(16777216,null,null,1,null,tn)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(72,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),uS._17(73,16384,null,0,_T.d,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(76,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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},hT.b,hT.a)),uS._17(79,180224,null,0,gT.b,[uS.p,kS.a,bT.j],{color:[0,"color"]},null),uS._17(80,16384,null,0,gT.f,[],null,null),(l()(),uS._40(-1,0,["Process"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,"OTP Rejection Reason");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,uS._32(n,33).ngClassUntouched,uS._32(n,33).ngClassTouched,uS._32(n,33).ngClassPristine,uS._32(n,33).ngClassDirty,uS._32(n,33).ngClassValid,uS._32(n,33).ngClassInvalid,uS._32(n,33).ngClassPending);l(n,39,1,[uS._32(n,40)._control.errorState,uS._32(n,40)._control.errorState,uS._32(n,40)._canLabelFloat,uS._32(n,40)._shouldLabelFloat(),uS._32(n,40)._hideControlPlaceholder(),uS._32(n,40)._control.disabled,uS._32(n,40)._control.focused,"primary"==uS._32(n,40).color,"accent"==uS._32(n,40).color,"warn"==uS._32(n,40).color,uS._32(n,40)._shouldForward("untouched"),uS._32(n,40)._shouldForward("touched"),uS._32(n,40)._shouldForward("pristine"),uS._32(n,40)._shouldForward("dirty"),uS._32(n,40)._shouldForward("valid"),uS._32(n,40)._shouldForward("invalid"),uS._32(n,40)._shouldForward("pending")]);l(n,49,1,[uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending,uS._32(n,54).id,uS._32(n,54).tabIndex,uS._32(n,54)._ariaLabel,uS._32(n,54).ariaLabelledby,uS._32(n,54).required.toString(),uS._32(n,54).disabled.toString(),uS._32(n,54).errorState,uS._32(n,54).panelOpen?uS._32(n,54)._optionIds:null,uS._32(n,54).multiple,uS._32(n,54)._ariaDescribedby||null,uS._32(n,54)._getAriaActiveDescendant(),uS._32(n,54).disabled,uS._32(n,54).errorState,uS._32(n,54).required]);l(n,64,0,e.reason);l(n,75,0,"end"===uS._32(n,76).align);l(n,78,0,uS._32(n,79).disabled||null)})}function on(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(1,0,null,null,22,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,18,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Xl)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,ln)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(25,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(26,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,en)),uS._17(29,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,an)),uS._17(32,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n\n"])),(l()(),uS._40(-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,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,25,0,uS._32(n,26).statusbarPadding,uS._32(n,26)._hasRefresher)})}function rn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function _n(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function dn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function sn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function cn(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function mn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dn)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,sn)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,cn)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function pn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,mn)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function fn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function hn(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function gn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fn)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,hn)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function bn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gn)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function vn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function yn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,24,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,15,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_n)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,pn)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,bn)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(20,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,vn)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,17,0,e.imageBucket.length>0);l(n,23,0,e.imageBucket.length>0)},null)}function Cn(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function wn(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[28,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Fn(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[39,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function xn(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,43,{_control:0}),uS._38(335544320,44,{_placeholderChild:0}),uS._38(335544320,45,{_labelChild:0}),uS._38(603979776,46,{_errorChildren:1}),uS._38(603979776,47,{_hintChildren:1}),uS._38(603979776,48,{_prefixChildren:1}),uS._38(603979776,49,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","pincode_others"],["matInput",""],["placeholder","Specify Pincode "],["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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[43,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"pincode_others");l(n,17,0,"Specify Pincode ","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function kn(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[57,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,[" "," "]))],function(l,n){l(n,1,0,n.context.$implicit.address_type_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.address_type)})}function Sn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[53,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Address Type is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function In(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,60,{_control:0}),uS._38(335544320,61,{_placeholderChild:0}),uS._38(335544320,62,{_labelChild:0}),uS._38(603979776,63,{_errorChildren:1}),uS._38(603979776,64,{_hintChildren:1}),uS._38(603979776,65,{_prefixChildren:1}),uS._38(603979776,66,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}if("change"===n){u=!1!==t.selectedAddressType(e.target.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[60,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function qn(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[74,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["","\n "]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.locality_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.locality_name)})}function Pn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[70,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Locality is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Dn(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,77,{_control:0}),uS._38(335544320,78,{_placeholderChild:0}),uS._38(335544320,79,{_labelChild:0}),uS._38(603979776,80,{_errorChildren:1}),uS._38(603979776,81,{_hintChildren:1}),uS._38(603979776,82,{_prefixChildren:1}),uS._38(603979776,83,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[77,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"locality_others");l(n,16,0,"Specify Locality")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Tn(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[91,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["","\n "]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.pd_location_approach_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.description)})}function On(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[87,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["PD Location is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Ln(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[101,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["","\n "]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.comments_on_locality_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.rating)})}function An(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[97,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Comment on Locality is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Vn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,104,{_control:0}),uS._38(335544320,105,{_placeholderChild:0}),uS._38(335544320,106,{_labelChild:0}),uS._38(603979776,107,{_errorChildren:1}),uS._38(603979776,108,{_hintChildren:1}),uS._38(603979776,109,{_prefixChildren:1}),uS._38(603979776,110,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[104,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function Nn(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[125,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Wn(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,128,{_control:0}),uS._38(335544320,129,{_placeholderChild:0}),uS._38(335544320,130,{_labelChild:0}),uS._38(603979776,131,{_errorChildren:1}),uS._38(603979776,132,{_hintChildren:1}),uS._38(603979776,133,{_prefixChildren:1}),uS._38(603979776,134,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","uom_others"],["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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[128,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"uom_others");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function En(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,404,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(9,16384,null,0,_T.h,[],null,null),(l()(),uS._18(10,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(11,null,["Address Details # ",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,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,cT.b,cT.a)),uS._17(17,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(26,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address"],["matInput",""],["name","address"],["placeholder","Address"],["style","text-transform: uppercase;"],["type","text"]],[[8,"rows",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!==uS._32(l,27)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,27).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,27)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,27)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,32)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,32)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,32)._onInput()&&u}return u},null,null)),uS._17(27,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(29,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(31,16384,null,0,xS.s,[xS.r],null,null),uS._17(32,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[3,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(40,0,null,null,46,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(41,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,10,{_control:0}),uS._38(335544320,11,{_placeholderChild:0}),uS._38(335544320,12,{_labelChild:0}),uS._38(603979776,13,{_errorChildren:1}),uS._38(603979776,14,{_hintChildren:1}),uS._38(603979776,15,{_prefixChildren:1}),uS._38(603979776,16,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(50,0,null,1,35,"mat-select",[["class","mat-select"],["formControlName","state"],["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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,54)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getCityAndPincodeDetails(e.value,l.context.index,"")&&u}return u},LO.b,LO.a)),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),uS._17(54,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,17,{options:1}),uS._38(603979776,18,{optionGroups:1}),uS._38(335544320,19,{customTrigger:0}),uS._37(2048,[[10,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,1,15,"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!==uS._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(62,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(64,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(65,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,20,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(68,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(70,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(72,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(73,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(74,16384,[[20,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(78,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!==uS._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,79)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(79,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,Cn)),uS._17(83,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(88,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(89,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,21,{_control:0}),uS._38(335544320,22,{_placeholderChild:0}),uS._38(335544320,23,{_labelChild:0}),uS._38(603979776,24,{_errorChildren:1}),uS._38(603979776,25,{_hintChildren:1}),uS._38(603979776,26,{_prefixChildren:1}),uS._38(603979776,27,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(98,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","city"],["placeholder","City"],["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!==uS._32(l,102)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,102)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,102)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(99,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(101,16384,null,0,xS.s,[xS.r],null,null),uS._17(102,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,28,{options:1}),uS._38(603979776,29,{optionGroups:1}),uS._38(335544320,30,{customTrigger:0}),uS._37(2048,[[21,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(109,0,null,1,15,"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!==uS._32(l,110)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,110)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(110,8437760,[[28,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(112,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(113,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,31,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(116,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(118,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(120,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(121,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(122,16384,[[31,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(126,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!==uS._32(l,127)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,127)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(127,8437760,[[28,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,wn)),uS._17(131,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(135,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(136,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,32,{_control:0}),uS._38(335544320,33,{_placeholderChild:0}),uS._38(335544320,34,{_labelChild:0}),uS._38(603979776,35,{_errorChildren:1}),uS._38(603979776,36,{_hintChildren:1}),uS._38(603979776,37,{_prefixChildren:1}),uS._38(603979776,38,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(145,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","pincode"],["placeholder","Pincode"],["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!==uS._32(l,149)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,149)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,149)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(146,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(148,16384,null,0,xS.s,[xS.r],null,null),uS._17(149,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,39,{options:1}),uS._38(603979776,40,{optionGroups:1}),uS._38(335544320,41,{customTrigger:0}),uS._37(2048,[[32,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(156,0,null,1,15,"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!==uS._32(l,157)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,157)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(157,8437760,[[39,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(159,0,null,0,11,"ngx-mat-select-search",[["formControlName","pinSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"pin")&&u}return u},jO.b,jO.a)),uS._17(160,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,42,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(163,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(165,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(167,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(168,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(169,16384,[[42,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(173,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!==uS._32(l,174)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,174)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(174,8437760,[[39,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Fn)),uS._17(178,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xn)),uS._17(184,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(186,0,null,null,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(188,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,cT.b,cT.a)),uS._17(189,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,50,{_control:0}),uS._38(335544320,51,{_placeholderChild:0}),uS._38(335544320,52,{_labelChild:0}),uS._38(603979776,53,{_errorChildren:1}),uS._38(603979776,54,{_hintChildren:1}),uS._38(603979776,55,{_prefixChildren:1}),uS._38(603979776,56,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(198,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","address_type"],["name","address_type"],["placeholder","Address 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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,204)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,204)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,204)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAddressType(e.source.triggerValue,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(199,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(201,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(203,16384,null,0,xS.s,[xS.r],null,null),uS._17(204,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,57,{options:1}),uS._38(603979776,58,{optionGroups:1}),uS._38(335544320,59,{customTrigger:0}),uS._37(2048,[[50,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(211,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!==uS._32(l,212)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,212)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(212,8437760,[[57,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,kn)),uS._17(216,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Sn)),uS._17(220,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,In)),uS._17(225,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n \n "])),(l()(),uS._18(227,0,null,null,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(229,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,cT.b,cT.a)),uS._17(230,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,67,{_control:0}),uS._38(335544320,68,{_placeholderChild:0}),uS._38(335544320,69,{_labelChild:0}),uS._38(603979776,70,{_errorChildren:1}),uS._38(603979776,71,{_hintChildren:1}),uS._38(603979776,72,{_prefixChildren:1}),uS._38(603979776,73,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(239,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","locality"],["matInput",""],["name","locality"],["placeholder","Locality"],["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!==uS._32(l,245)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,245)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,245)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(240,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(242,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(244,16384,null,0,xS.s,[xS.r],null,null),uS._17(245,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,74,{options:1}),uS._38(603979776,75,{optionGroups:1}),uS._38(335544320,76,{customTrigger:0}),uS._37(2048,[[67,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(252,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!==uS._32(l,253)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,253)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(253,8437760,[[74,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,qn)),uS._17(257,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Pn)),uS._17(261,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Dn)),uS._17(266,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(269,0,null,null,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(271,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,cT.b,cT.a)),uS._17(272,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,84,{_control:0}),uS._38(335544320,85,{_placeholderChild:0}),uS._38(335544320,86,{_labelChild:0}),uS._38(603979776,87,{_errorChildren:1}),uS._38(603979776,88,{_hintChildren:1}),uS._38(603979776,89,{_prefixChildren:1}),uS._38(603979776,90,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(281,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","pd_location"],["name","pd_location"],["placeholder","Approach to PD Location"],["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!==uS._32(l,287)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,287)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,287)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(282,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(284,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(286,16384,null,0,xS.s,[xS.r],null,null),uS._17(287,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,91,{options:1}),uS._38(603979776,92,{optionGroups:1}),uS._38(335544320,93,{customTrigger:0}),uS._37(2048,[[84,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(294,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!==uS._32(l,295)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,295)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(295,8437760,[[91,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Tn)),uS._17(299,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,On)),uS._17(303,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(307,0,null,null,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(309,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,cT.b,cT.a)),uS._17(310,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,94,{_control:0}),uS._38(335544320,95,{_placeholderChild:0}),uS._38(335544320,96,{_labelChild:0}),uS._38(603979776,97,{_errorChildren:1}),uS._38(603979776,98,{_hintChildren:1}),uS._38(603979776,99,{_prefixChildren:1}),uS._38(603979776,100,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(319,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","comment_locality"],["name","comment_locality"],["placeholder","Comment on Locality"],["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!==uS._32(l,325)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,325)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,325)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(320,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(322,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(324,16384,null,0,xS.s,[xS.r],null,null),uS._17(325,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,101,{options:1}),uS._38(603979776,102,{optionGroups:1}),uS._38(335544320,103,{customTrigger:0}),uS._37(2048,[[94,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(332,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!==uS._32(l,333)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,333)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(333,8437760,[[101,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ln)),uS._17(337,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,An)),uS._17(341,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Vn)),uS._17(346,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(348,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,cT.b,cT.a)),uS._17(349,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,111,{_control:0}),uS._38(335544320,112,{_placeholderChild:0}),uS._38(335544320,113,{_labelChild:0}),uS._38(603979776,114,{_errorChildren:1}),uS._38(603979776,115,{_hintChildren:1}),uS._38(603979776,116,{_prefixChildren:1}),uS._38(603979776,117,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(358,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_area"],["matInput",""],["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!==uS._32(l,359)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,359).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,359)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,359)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,360).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,360).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,360).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,365)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,365)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,365)._onInput()&&u}return u},null,null)),uS._17(359,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(360,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(362,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(364,16384,null,0,xS.s,[xS.r],null,null),uS._17(365,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[111,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(369,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,cT.b,cT.a)),uS._17(370,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,118,{_control:0}),uS._38(335544320,119,{_placeholderChild:0}),uS._38(335544320,120,{_labelChild:0}),uS._38(603979776,121,{_errorChildren:1}),uS._38(603979776,122,{_hintChildren:1}),uS._38(603979776,123,{_prefixChildren:1}),uS._38(603979776,124,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(379,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","uom"],["placeholder","Unit of Measurement"],["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!==uS._32(l,383)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,383)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,383)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(380,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(382,16384,null,0,xS.s,[xS.r],null,null),uS._17(383,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,125,{options:1}),uS._38(603979776,126,{optionGroups:1}),uS._38(335544320,127,{customTrigger:0}),uS._37(2048,[[118,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(390,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!==uS._32(l,391)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,391)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(391,8437760,[[125,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Nn)),uS._17(395,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Wn)),uS._17(400,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n\n"])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,29,0,"address");l(n,32,0,"Address","text");l(n,51,0,"state");l(n,54,0,"State");l(n,65,0,"Find State","No Matching Result");l(n,68,0,"stateSearch");l(n,73,0,"md-close");l(n,83,0,uS._41(n,83,0,uS._32(n,84).transform(e.filteredState)));l(n,99,0,"city");l(n,102,0,"City");l(n,113,0,"Find City","No Matching Result");l(n,116,0,"citySearch");l(n,121,0,"md-close");l(n,131,0,e.cityDataValue[n.context.index]);l(n,146,0,"pincode");l(n,149,0,"Pincode");l(n,160,0,"Search Pincode","No Matching Result");l(n,163,0,"pinSearch");l(n,168,0,"md-close");l(n,178,0,e.pincodeDataValue[n.context.index]);l(n,184,0,1==n.context.$implicit.get("pincode").value);l(n,199,0,"");l(n,201,0,"address_type");l(n,204,0,"Address Type","");l(n,216,0,e.addressTypes);l(n,220,0,(null==n.context.$implicit.controls.address_type.errors?null:n.context.$implicit.controls.address_type.errors.required)||n.context.$implicit.controls.address_type.touched);l(n,225,0,1==n.context.$implicit.get("address_type").value);l(n,240,0,"");l(n,242,0,"locality");l(n,245,0,"Locality","");l(n,257,0,e.locality);l(n,261,0,(null==n.context.$implicit.controls.locality.errors?null:n.context.$implicit.controls.locality.errors.required)||n.context.$implicit.controls.locality.touched);l(n,266,0,1==n.context.$implicit.get("locality").value);l(n,282,0,"");l(n,284,0,"pd_location");l(n,287,0,"Approach to PD Location","");l(n,299,0,e.pdlocation);l(n,303,0,(null==n.context.$implicit.controls.pd_location.errors?null:n.context.$implicit.controls.pd_location.errors.required)||n.context.$implicit.controls.pd_location.touched);l(n,320,0,"");l(n,322,0,"comment_locality");l(n,325,0,"Comment on Locality","");l(n,337,0,e.cmtlocality);l(n,341,0,(null==n.context.$implicit.controls.comment_locality.errors?null:n.context.$implicit.controls.comment_locality.errors.required)||n.context.$implicit.controls.comment_locality.touched);l(n,346,0,1==n.context.$implicit.get("comment_locality").value);l(n,362,0,"estimated_area");l(n,365,0,e.placeholderName[n.context.index]?e.placeholderName[n.context.index]:"Estimated area of the (Address Type)","number");l(n,380,0,"uom");l(n,383,0,"Unit of Measurement");l(n,395,0,e.uomData);l(n,400,0,1==n.context.$implicit.get("uom").value)},function(l,n){var e=n.component;l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,11,0,n.context.index+1);l(n,16,1,[uS._32(n,17)._control.errorState,uS._32(n,17)._control.errorState,uS._32(n,17)._canLabelFloat,uS._32(n,17)._shouldLabelFloat(),uS._32(n,17)._hideControlPlaceholder(),uS._32(n,17)._control.disabled,uS._32(n,17)._control.focused,"primary"==uS._32(n,17).color,"accent"==uS._32(n,17).color,"warn"==uS._32(n,17).color,uS._32(n,17)._shouldForward("untouched"),uS._32(n,17)._shouldForward("touched"),uS._32(n,17)._shouldForward("pristine"),uS._32(n,17)._shouldForward("dirty"),uS._32(n,17)._shouldForward("valid"),uS._32(n,17)._shouldForward("invalid"),uS._32(n,17)._shouldForward("pending")]);l(n,26,1,[uS._21(1,"",e.countRowsForTextarea(n.context.$implicit.get("address").value),""),uS._32(n,31).ngClassUntouched,uS._32(n,31).ngClassTouched,uS._32(n,31).ngClassPristine,uS._32(n,31).ngClassDirty,uS._32(n,31).ngClassValid,uS._32(n,31).ngClassInvalid,uS._32(n,31).ngClassPending,uS._32(n,32)._isServer,uS._32(n,32).id,uS._32(n,32).placeholder,uS._32(n,32).disabled,uS._32(n,32).required,uS._32(n,32).readonly,uS._32(n,32)._ariaDescribedby||null,uS._32(n,32).errorState,uS._32(n,32).required.toString()]);l(n,40,1,[uS._32(n,41)._control.errorState,uS._32(n,41)._control.errorState,uS._32(n,41)._canLabelFloat,uS._32(n,41)._shouldLabelFloat(),uS._32(n,41)._hideControlPlaceholder(),uS._32(n,41)._control.disabled,uS._32(n,41)._control.focused,"primary"==uS._32(n,41).color,"accent"==uS._32(n,41).color,"warn"==uS._32(n,41).color,uS._32(n,41)._shouldForward("untouched"),uS._32(n,41)._shouldForward("touched"),uS._32(n,41)._shouldForward("pristine"),uS._32(n,41)._shouldForward("dirty"),uS._32(n,41)._shouldForward("valid"),uS._32(n,41)._shouldForward("invalid"),uS._32(n,41)._shouldForward("pending")]);l(n,50,1,[uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending,uS._32(n,54).id,uS._32(n,54).tabIndex,uS._32(n,54)._ariaLabel,uS._32(n,54).ariaLabelledby,uS._32(n,54).required.toString(),uS._32(n,54).disabled.toString(),uS._32(n,54).errorState,uS._32(n,54).panelOpen?uS._32(n,54)._optionIds:null,uS._32(n,54).multiple,uS._32(n,54)._ariaDescribedby||null,uS._32(n,54)._getAriaActiveDescendant(),uS._32(n,54).disabled,uS._32(n,54).errorState,uS._32(n,54).required]);l(n,61,0,uS._32(n,62)._getTabIndex(),uS._32(n,62).selected,uS._32(n,62).multiple,uS._32(n,62).active,uS._32(n,62).id,uS._32(n,62).selected.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).disabled);l(n,64,0,uS._32(n,65).isInsideMatOption,uS._32(n,70).ngClassUntouched,uS._32(n,70).ngClassTouched,uS._32(n,70).ngClassPristine,uS._32(n,70).ngClassDirty,uS._32(n,70).ngClassValid,uS._32(n,70).ngClassInvalid,uS._32(n,70).ngClassPending);l(n,72,0,uS._32(n,73)._hidden);l(n,78,0,uS._32(n,79)._getTabIndex(),uS._32(n,79).selected,uS._32(n,79).multiple,uS._32(n,79).active,uS._32(n,79).id,uS._32(n,79).selected.toString(),uS._32(n,79).disabled.toString(),uS._32(n,79).disabled);l(n,88,1,[uS._32(n,89)._control.errorState,uS._32(n,89)._control.errorState,uS._32(n,89)._canLabelFloat,uS._32(n,89)._shouldLabelFloat(),uS._32(n,89)._hideControlPlaceholder(),uS._32(n,89)._control.disabled,uS._32(n,89)._control.focused,"primary"==uS._32(n,89).color,"accent"==uS._32(n,89).color,"warn"==uS._32(n,89).color,uS._32(n,89)._shouldForward("untouched"),uS._32(n,89)._shouldForward("touched"),uS._32(n,89)._shouldForward("pristine"),uS._32(n,89)._shouldForward("dirty"),uS._32(n,89)._shouldForward("valid"),uS._32(n,89)._shouldForward("invalid"),uS._32(n,89)._shouldForward("pending")]);l(n,98,1,[uS._32(n,101).ngClassUntouched,uS._32(n,101).ngClassTouched,uS._32(n,101).ngClassPristine,uS._32(n,101).ngClassDirty,uS._32(n,101).ngClassValid,uS._32(n,101).ngClassInvalid,uS._32(n,101).ngClassPending,uS._32(n,102).id,uS._32(n,102).tabIndex,uS._32(n,102)._ariaLabel,uS._32(n,102).ariaLabelledby,uS._32(n,102).required.toString(),uS._32(n,102).disabled.toString(),uS._32(n,102).errorState,uS._32(n,102).panelOpen?uS._32(n,102)._optionIds:null,uS._32(n,102).multiple,uS._32(n,102)._ariaDescribedby||null,uS._32(n,102)._getAriaActiveDescendant(),uS._32(n,102).disabled,uS._32(n,102).errorState,uS._32(n,102).required]);l(n,109,0,uS._32(n,110)._getTabIndex(),uS._32(n,110).selected,uS._32(n,110).multiple,uS._32(n,110).active,uS._32(n,110).id,uS._32(n,110).selected.toString(),uS._32(n,110).disabled.toString(),uS._32(n,110).disabled);l(n,112,0,uS._32(n,113).isInsideMatOption,uS._32(n,118).ngClassUntouched,uS._32(n,118).ngClassTouched,uS._32(n,118).ngClassPristine,uS._32(n,118).ngClassDirty,uS._32(n,118).ngClassValid,uS._32(n,118).ngClassInvalid,uS._32(n,118).ngClassPending);l(n,120,0,uS._32(n,121)._hidden);l(n,126,0,uS._32(n,127)._getTabIndex(),uS._32(n,127).selected,uS._32(n,127).multiple,uS._32(n,127).active,uS._32(n,127).id,uS._32(n,127).selected.toString(),uS._32(n,127).disabled.toString(),uS._32(n,127).disabled);l(n,135,1,[uS._32(n,136)._control.errorState,uS._32(n,136)._control.errorState,uS._32(n,136)._canLabelFloat,uS._32(n,136)._shouldLabelFloat(),uS._32(n,136)._hideControlPlaceholder(),uS._32(n,136)._control.disabled,uS._32(n,136)._control.focused,"primary"==uS._32(n,136).color,"accent"==uS._32(n,136).color,"warn"==uS._32(n,136).color,uS._32(n,136)._shouldForward("untouched"),uS._32(n,136)._shouldForward("touched"),uS._32(n,136)._shouldForward("pristine"),uS._32(n,136)._shouldForward("dirty"),uS._32(n,136)._shouldForward("valid"),uS._32(n,136)._shouldForward("invalid"),uS._32(n,136)._shouldForward("pending")]);l(n,145,1,[uS._32(n,148).ngClassUntouched,uS._32(n,148).ngClassTouched,uS._32(n,148).ngClassPristine,uS._32(n,148).ngClassDirty,uS._32(n,148).ngClassValid,uS._32(n,148).ngClassInvalid,uS._32(n,148).ngClassPending,uS._32(n,149).id,uS._32(n,149).tabIndex,uS._32(n,149)._ariaLabel,uS._32(n,149).ariaLabelledby,uS._32(n,149).required.toString(),uS._32(n,149).disabled.toString(),uS._32(n,149).errorState,uS._32(n,149).panelOpen?uS._32(n,149)._optionIds:null,uS._32(n,149).multiple,uS._32(n,149)._ariaDescribedby||null,uS._32(n,149)._getAriaActiveDescendant(),uS._32(n,149).disabled,uS._32(n,149).errorState,uS._32(n,149).required]);l(n,156,0,uS._32(n,157)._getTabIndex(),uS._32(n,157).selected,uS._32(n,157).multiple,uS._32(n,157).active,uS._32(n,157).id,uS._32(n,157).selected.toString(),uS._32(n,157).disabled.toString(),uS._32(n,157).disabled);l(n,159,0,uS._32(n,160).isInsideMatOption,uS._32(n,165).ngClassUntouched,uS._32(n,165).ngClassTouched,uS._32(n,165).ngClassPristine,uS._32(n,165).ngClassDirty,uS._32(n,165).ngClassValid,uS._32(n,165).ngClassInvalid,uS._32(n,165).ngClassPending);l(n,167,0,uS._32(n,168)._hidden);l(n,173,0,uS._32(n,174)._getTabIndex(),uS._32(n,174).selected,uS._32(n,174).multiple,uS._32(n,174).active,uS._32(n,174).id,uS._32(n,174).selected.toString(),uS._32(n,174).disabled.toString(),uS._32(n,174).disabled);l(n,188,1,[uS._32(n,189)._control.errorState,uS._32(n,189)._control.errorState,uS._32(n,189)._canLabelFloat,uS._32(n,189)._shouldLabelFloat(),uS._32(n,189)._hideControlPlaceholder(),uS._32(n,189)._control.disabled,uS._32(n,189)._control.focused,"primary"==uS._32(n,189).color,"accent"==uS._32(n,189).color,"warn"==uS._32(n,189).color,uS._32(n,189)._shouldForward("untouched"),uS._32(n,189)._shouldForward("touched"),uS._32(n,189)._shouldForward("pristine"),uS._32(n,189)._shouldForward("dirty"),uS._32(n,189)._shouldForward("valid"),uS._32(n,189)._shouldForward("invalid"),uS._32(n,189)._shouldForward("pending")]);l(n,198,1,[uS._32(n,199).required?"":null,uS._32(n,203).ngClassUntouched,uS._32(n,203).ngClassTouched,uS._32(n,203).ngClassPristine,uS._32(n,203).ngClassDirty,uS._32(n,203).ngClassValid,uS._32(n,203).ngClassInvalid,uS._32(n,203).ngClassPending,uS._32(n,204).id,uS._32(n,204).tabIndex,uS._32(n,204)._ariaLabel,uS._32(n,204).ariaLabelledby,uS._32(n,204).required.toString(),uS._32(n,204).disabled.toString(),uS._32(n,204).errorState,uS._32(n,204).panelOpen?uS._32(n,204)._optionIds:null,uS._32(n,204).multiple,uS._32(n,204)._ariaDescribedby||null,uS._32(n,204)._getAriaActiveDescendant(),uS._32(n,204).disabled,uS._32(n,204).errorState,uS._32(n,204).required]);l(n,211,0,uS._32(n,212)._getTabIndex(),uS._32(n,212).selected,uS._32(n,212).multiple,uS._32(n,212).active,uS._32(n,212).id,uS._32(n,212).selected.toString(),uS._32(n,212).disabled.toString(),uS._32(n,212).disabled);l(n,229,1,[uS._32(n,230)._control.errorState,uS._32(n,230)._control.errorState,uS._32(n,230)._canLabelFloat,uS._32(n,230)._shouldLabelFloat(),uS._32(n,230)._hideControlPlaceholder(),uS._32(n,230)._control.disabled,uS._32(n,230)._control.focused,"primary"==uS._32(n,230).color,"accent"==uS._32(n,230).color,"warn"==uS._32(n,230).color,uS._32(n,230)._shouldForward("untouched"),uS._32(n,230)._shouldForward("touched"),uS._32(n,230)._shouldForward("pristine"),uS._32(n,230)._shouldForward("dirty"),uS._32(n,230)._shouldForward("valid"),uS._32(n,230)._shouldForward("invalid"),uS._32(n,230)._shouldForward("pending")]);l(n,239,1,[uS._32(n,240).required?"":null,uS._32(n,244).ngClassUntouched,uS._32(n,244).ngClassTouched,uS._32(n,244).ngClassPristine,uS._32(n,244).ngClassDirty,uS._32(n,244).ngClassValid,uS._32(n,244).ngClassInvalid,uS._32(n,244).ngClassPending,uS._32(n,245).id,uS._32(n,245).tabIndex,uS._32(n,245)._ariaLabel,uS._32(n,245).ariaLabelledby,uS._32(n,245).required.toString(),uS._32(n,245).disabled.toString(),uS._32(n,245).errorState,uS._32(n,245).panelOpen?uS._32(n,245)._optionIds:null,uS._32(n,245).multiple,uS._32(n,245)._ariaDescribedby||null,uS._32(n,245)._getAriaActiveDescendant(),uS._32(n,245).disabled,uS._32(n,245).errorState,uS._32(n,245).required]);l(n,252,0,uS._32(n,253)._getTabIndex(),uS._32(n,253).selected,uS._32(n,253).multiple,uS._32(n,253).active,uS._32(n,253).id,uS._32(n,253).selected.toString(),uS._32(n,253).disabled.toString(),uS._32(n,253).disabled);l(n,271,1,[uS._32(n,272)._control.errorState,uS._32(n,272)._control.errorState,uS._32(n,272)._canLabelFloat,uS._32(n,272)._shouldLabelFloat(),uS._32(n,272)._hideControlPlaceholder(),uS._32(n,272)._control.disabled,uS._32(n,272)._control.focused,"primary"==uS._32(n,272).color,"accent"==uS._32(n,272).color,"warn"==uS._32(n,272).color,uS._32(n,272)._shouldForward("untouched"),uS._32(n,272)._shouldForward("touched"),uS._32(n,272)._shouldForward("pristine"),uS._32(n,272)._shouldForward("dirty"),uS._32(n,272)._shouldForward("valid"),uS._32(n,272)._shouldForward("invalid"),uS._32(n,272)._shouldForward("pending")]);l(n,281,1,[uS._32(n,282).required?"":null,uS._32(n,286).ngClassUntouched,uS._32(n,286).ngClassTouched,uS._32(n,286).ngClassPristine,uS._32(n,286).ngClassDirty,uS._32(n,286).ngClassValid,uS._32(n,286).ngClassInvalid,uS._32(n,286).ngClassPending,uS._32(n,287).id,uS._32(n,287).tabIndex,uS._32(n,287)._ariaLabel,uS._32(n,287).ariaLabelledby,uS._32(n,287).required.toString(),uS._32(n,287).disabled.toString(),uS._32(n,287).errorState,uS._32(n,287).panelOpen?uS._32(n,287)._optionIds:null,uS._32(n,287).multiple,uS._32(n,287)._ariaDescribedby||null,uS._32(n,287)._getAriaActiveDescendant(),uS._32(n,287).disabled,uS._32(n,287).errorState,uS._32(n,287).required]);l(n,294,0,uS._32(n,295)._getTabIndex(),uS._32(n,295).selected,uS._32(n,295).multiple,uS._32(n,295).active,uS._32(n,295).id,uS._32(n,295).selected.toString(),uS._32(n,295).disabled.toString(),uS._32(n,295).disabled);l(n,309,1,[uS._32(n,310)._control.errorState,uS._32(n,310)._control.errorState,uS._32(n,310)._canLabelFloat,uS._32(n,310)._shouldLabelFloat(),uS._32(n,310)._hideControlPlaceholder(),uS._32(n,310)._control.disabled,uS._32(n,310)._control.focused,"primary"==uS._32(n,310).color,"accent"==uS._32(n,310).color,"warn"==uS._32(n,310).color,uS._32(n,310)._shouldForward("untouched"),uS._32(n,310)._shouldForward("touched"),uS._32(n,310)._shouldForward("pristine"),uS._32(n,310)._shouldForward("dirty"),uS._32(n,310)._shouldForward("valid"),uS._32(n,310)._shouldForward("invalid"),uS._32(n,310)._shouldForward("pending")]);l(n,319,1,[uS._32(n,320).required?"":null,uS._32(n,324).ngClassUntouched,uS._32(n,324).ngClassTouched,uS._32(n,324).ngClassPristine,uS._32(n,324).ngClassDirty,uS._32(n,324).ngClassValid,uS._32(n,324).ngClassInvalid,uS._32(n,324).ngClassPending,uS._32(n,325).id,uS._32(n,325).tabIndex,uS._32(n,325)._ariaLabel,uS._32(n,325).ariaLabelledby,uS._32(n,325).required.toString(),uS._32(n,325).disabled.toString(),uS._32(n,325).errorState,uS._32(n,325).panelOpen?uS._32(n,325)._optionIds:null,uS._32(n,325).multiple,uS._32(n,325)._ariaDescribedby||null,uS._32(n,325)._getAriaActiveDescendant(),uS._32(n,325).disabled,uS._32(n,325).errorState,uS._32(n,325).required]);l(n,332,0,uS._32(n,333)._getTabIndex(),uS._32(n,333).selected,uS._32(n,333).multiple,uS._32(n,333).active,uS._32(n,333).id,uS._32(n,333).selected.toString(),uS._32(n,333).disabled.toString(),uS._32(n,333).disabled);l(n,348,1,[uS._32(n,349)._control.errorState,uS._32(n,349)._control.errorState,uS._32(n,349)._canLabelFloat,uS._32(n,349)._shouldLabelFloat(),uS._32(n,349)._hideControlPlaceholder(),uS._32(n,349)._control.disabled,uS._32(n,349)._control.focused,"primary"==uS._32(n,349).color,"accent"==uS._32(n,349).color,"warn"==uS._32(n,349).color,uS._32(n,349)._shouldForward("untouched"),uS._32(n,349)._shouldForward("touched"),uS._32(n,349)._shouldForward("pristine"),uS._32(n,349)._shouldForward("dirty"),uS._32(n,349)._shouldForward("valid"),uS._32(n,349)._shouldForward("invalid"),uS._32(n,349)._shouldForward("pending")]);l(n,358,1,[uS._32(n,364).ngClassUntouched,uS._32(n,364).ngClassTouched,uS._32(n,364).ngClassPristine,uS._32(n,364).ngClassDirty,uS._32(n,364).ngClassValid,uS._32(n,364).ngClassInvalid,uS._32(n,364).ngClassPending,uS._32(n,365)._isServer,uS._32(n,365).id,uS._32(n,365).placeholder,uS._32(n,365).disabled,uS._32(n,365).required,uS._32(n,365).readonly,uS._32(n,365)._ariaDescribedby||null,uS._32(n,365).errorState,uS._32(n,365).required.toString()]);l(n,369,1,[uS._32(n,370)._control.errorState,uS._32(n,370)._control.errorState,uS._32(n,370)._canLabelFloat,uS._32(n,370)._shouldLabelFloat(),uS._32(n,370)._hideControlPlaceholder(),uS._32(n,370)._control.disabled,uS._32(n,370)._control.focused,"primary"==uS._32(n,370).color,"accent"==uS._32(n,370).color,"warn"==uS._32(n,370).color,uS._32(n,370)._shouldForward("untouched"),uS._32(n,370)._shouldForward("touched"),uS._32(n,370)._shouldForward("pristine"),uS._32(n,370)._shouldForward("dirty"),uS._32(n,370)._shouldForward("valid"),uS._32(n,370)._shouldForward("invalid"),uS._32(n,370)._shouldForward("pending")]);l(n,379,1,[uS._32(n,382).ngClassUntouched,uS._32(n,382).ngClassTouched,uS._32(n,382).ngClassPristine,uS._32(n,382).ngClassDirty,uS._32(n,382).ngClassValid,uS._32(n,382).ngClassInvalid,uS._32(n,382).ngClassPending,uS._32(n,383).id,uS._32(n,383).tabIndex,uS._32(n,383)._ariaLabel,uS._32(n,383).ariaLabelledby,uS._32(n,383).required.toString(),uS._32(n,383).disabled.toString(),uS._32(n,383).errorState,uS._32(n,383).panelOpen?uS._32(n,383)._optionIds:null,uS._32(n,383).multiple,uS._32(n,383)._ariaDescribedby||null,uS._32(n,383)._getAriaActiveDescendant(),uS._32(n,383).disabled,uS._32(n,383).errorState,uS._32(n,383).required]);l(n,390,0,uS._32(n,391)._getTabIndex(),uS._32(n,391).selected,uS._32(n,391).multiple,uS._32(n,391).active,uS._32(n,391).id,uS._32(n,391).selected.toString(),uS._32(n,391).disabled.toString(),uS._32(n,391).disabled)})}function jn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,11,"mat-card",[["class","box mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n"])),(l()(),uS._18(9,0,null,0,7,"div",[["formArrayName","addresses"]],[[2,"ng-untouched",null],[2,"ng-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)),uS._17(10,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(12,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,En)),uS._17(15,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,[" \n\n "])),(l()(),uS._18(19,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(20,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(22,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,cT.b,cT.a)),uS._17(23,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,135,{_control:0}),uS._38(335544320,136,{_placeholderChild:0}),uS._38(335544320,137,{_labelChild:0}),uS._38(603979776,138,{_errorChildren:1}),uS._38(603979776,139,{_hintChildren:1}),uS._38(603979776,140,{_prefixChildren:1}),uS._38(603979776,141,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,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!==uS._32(l,33)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,33).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,33)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,33)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,38)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,38)._onInput()&&u}return u},null,null)),uS._17(33,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),uS._17(38,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[135,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,2,0,e.pdQuestionAddress);l(n,10,0,"addresses");l(n,15,0,e.pdQuestionAddress.controls.addresses.controls);l(n,35,0,"address_form_remark");l(n,38,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,9,0,uS._32(n,12).ngClassUntouched,uS._32(n,12).ngClassTouched,uS._32(n,12).ngClassPristine,uS._32(n,12).ngClassDirty,uS._32(n,12).ngClassValid,uS._32(n,12).ngClassInvalid,uS._32(n,12).ngClassPending);l(n,22,1,[uS._32(n,23)._control.errorState,uS._32(n,23)._control.errorState,uS._32(n,23)._canLabelFloat,uS._32(n,23)._shouldLabelFloat(),uS._32(n,23)._hideControlPlaceholder(),uS._32(n,23)._control.disabled,uS._32(n,23)._control.focused,"primary"==uS._32(n,23).color,"accent"==uS._32(n,23).color,"warn"==uS._32(n,23).color,uS._32(n,23)._shouldForward("untouched"),uS._32(n,23)._shouldForward("touched"),uS._32(n,23)._shouldForward("pristine"),uS._32(n,23)._shouldForward("dirty"),uS._32(n,23)._shouldForward("valid"),uS._32(n,23)._shouldForward("invalid"),uS._32(n,23)._shouldForward("pending")]);l(n,32,1,[uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending,uS._32(n,38)._isServer,uS._32(n,38).id,uS._32(n,38).placeholder,uS._32(n,38).disabled,uS._32(n,38).required,uS._32(n,38).readonly,uS._32(n,38)._ariaDescribedby||null,uS._32(n,38).errorState,uS._32(n,38).required.toString()])})}function $n(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdQuestion(t.pdQuestionAddress.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Bn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,36,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,rn)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(22,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,29).onClick()&&u}return u},jT.b,jT.a)),uS._17(29,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,33).onClick()&&u}return u},jT.b,jT.a)),uS._17(33,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(38,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(42,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yn)),uS._17(45,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,jn)),uS._17(48,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n\n \n "])),(l()(),uS._18(51,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(52,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,142,{_mainButton:0}),uS._38(603979776,143,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(56,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.savePhoto()&&u}return u},sO.b,sO.a)),uS._17(57,49152,[[142,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(58,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(59,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(62,0,null,null,7,"ion-footer",[],null,null,null,null,null)),uS._17(63,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n \n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$n)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\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,18,0,!e.viewchange);l(n,22,0,e.tab);l(n,25,0,"optblue");l(n,29,0,"0");l(n,33,0,"1");l(n,42,0,e.tab);l(n,45,0,"1");l(n,48,0,"0");l(n,57,0,"optblue");l(n,59,0,"md-camera");l(n,67,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._disabled);l(n,28,0,uS._32(n,29)._disabled,uS._32(n,29).isActive,uS._32(n,29).isActive);l(n,32,0,uS._32(n,33)._disabled,uS._32(n,33).isActive,uS._32(n,33).isActive);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,58,0,uS._32(n,59)._hidden)})}function Rn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Un(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found"]))],null,null)}function Mn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Kn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Hn(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Gn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mn)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Kn)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hn)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function Yn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Gn)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function zn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Qn(l){return uS._42(0,[(l()(),uS._18(0,0,[[1,0],["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Jn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zn)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Qn)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Zn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jn)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Xn(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[[1,4],["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function le(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,24,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[[2,4],["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,15,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Un)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Yn)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Zn)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(20,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Xn)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,17,0,e.imageBucket.length>0);l(n,23,0,e.imageBucket.length>0)},null)}function ne(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[12,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ee(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,15,{_control:0}),uS._38(335544320,16,{_placeholderChild:0}),uS._38(335544320,17,{_labelChild:0}),uS._38(603979776,18,{_errorChildren:1}),uS._38(603979776,19,{_hintChildren:1}),uS._38(603979776,20,{_prefixChildren:1}),uS._38(603979776,21,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[15,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,22,0,"any_other_assets");l(n,25,0,"Description of the Assets")},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()])})}function ue(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ee)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.details.controls)},null)}function te(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[29,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ae(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,32,{_control:0}),uS._38(335544320,33,{_placeholderChild:0}),uS._38(335544320,34,{_labelChild:0}),uS._38(603979776,35,{_errorChildren:1}),uS._38(603979776,36,{_hintChildren:1}),uS._38(603979776,37,{_prefixChildren:1}),uS._38(603979776,38,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[32,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function ie(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,39,{_control:0}),uS._38(335544320,40,{_placeholderChild:0}),uS._38(335544320,41,{_labelChild:0}),uS._38(603979776,42,{_errorChildren:1}),uS._38(603979776,43,{_hintChildren:1}),uS._38(603979776,44,{_prefixChildren:1}),uS._38(603979776,45,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[39,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function oe(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,46,{_control:0}),uS._38(335544320,47,{_placeholderChild:0}),uS._38(335544320,48,{_labelChild:0}),uS._38(603979776,49,{_errorChildren:1}),uS._38(603979776,50,{_hintChildren:1}),uS._38(603979776,51,{_prefixChildren:1}),uS._38(603979776,52,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","describe_of_the_property_asset"],["matInput",""],["placeholder","Description 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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[46,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"describe_of_the_property_asset");l(n,16,0,"Description of the Property")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function re(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[67,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _e(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,70,{_control:0}),uS._38(335544320,71,{_placeholderChild:0}),uS._38(335544320,72,{_labelChild:0}),uS._38(603979776,73,{_errorChildren:1}),uS._38(603979776,74,{_hintChildren:1}),uS._38(603979776,75,{_prefixChildren:1}),uS._38(603979776,76,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_uom"],["matInput",""],["placeholder","Specify Unit of Measurement"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[70,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_uom");l(n,16,0,"Specify Unit of Measurement")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function de(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,103,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,100,"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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,94,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,22,{_control:0}),uS._38(335544320,23,{_placeholderChild:0}),uS._38(335544320,24,{_labelChild:0}),uS._38(603979776,25,{_errorChildren:1}),uS._38(603979776,26,{_hintChildren:1}),uS._38(603979776,27,{_prefixChildren:1}),uS._38(603979776,28,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,17,"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!==uS._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,23)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,29,{options:1}),uS._38(603979776,30,{optionGroups:1}),uS._38(335544320,31,{customTrigger:0}),uS._37(2048,[[22,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(30,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!==uS._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,31)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(31,8437760,[[29,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,te)),uS._17(35,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,ae)),uS._17(40,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ie)),uS._17(43,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,oe)),uS._17(46,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(48,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,cT.b,cT.a)),uS._17(49,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,53,{_control:0}),uS._38(335544320,54,{_placeholderChild:0}),uS._38(335544320,55,{_labelChild:0}),uS._38(603979776,56,{_errorChildren:1}),uS._38(603979776,57,{_hintChildren:1}),uS._38(603979776,58,{_prefixChildren:1}),uS._38(603979776,59,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(58,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","area_covered_by_this_property"],["matInput",""],["placeholder","Area Covered"],["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!==uS._32(l,59)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,59).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,59)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,59)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,60).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,60).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,60).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,65)._onInput()&&u}return u},null,null)),uS._17(59,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(60,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(62,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(64,16384,null,0,xS.s,[xS.r],null,null),uS._17(65,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[53,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(69,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,cT.b,cT.a)),uS._17(70,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,60,{_control:0}),uS._38(335544320,61,{_placeholderChild:0}),uS._38(335544320,62,{_labelChild:0}),uS._38(603979776,63,{_errorChildren:1}),uS._38(603979776,64,{_hintChildren:1}),uS._38(603979776,65,{_prefixChildren:1}),uS._38(603979776,66,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(79,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","uom_of_the_property"],["placeholder","Unit of Measurement"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,83)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,83)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,83)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.context.$implicit,6)&&u}return u},LO.b,LO.a)),uS._17(80,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(82,16384,null,0,xS.s,[xS.r],null,null),uS._17(83,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,67,{options:1}),uS._38(603979776,68,{optionGroups:1}),uS._38(335544320,69,{customTrigger:0}),uS._37(2048,[[60,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(90,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!==uS._32(l,91)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,91)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(91,8437760,[[67,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,re)),uS._17(95,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,_e)),uS._17(100,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,20,0,"property_type");l(n,23,0,"Property Type");l(n,35,0,e.m_propertyType);l(n,40,0,1==n.context.$implicit.get("property_type").value);l(n,43,0,""!=n.context.$implicit.get("property_type").value);l(n,46,0,""!=n.context.$implicit.get("property_type").value);l(n,62,0,"area_covered_by_this_property");l(n,65,0,"Area Covered","number");l(n,80,0,"uom_of_the_property");l(n,83,0,"Unit of Measurement");l(n,95,0,e.m_uom_type);l(n,100,0,1==n.context.$implicit.get("uom_of_the_property").value)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23).id,uS._32(n,23).tabIndex,uS._32(n,23)._ariaLabel,uS._32(n,23).ariaLabelledby,uS._32(n,23).required.toString(),uS._32(n,23).disabled.toString(),uS._32(n,23).errorState,uS._32(n,23).panelOpen?uS._32(n,23)._optionIds:null,uS._32(n,23).multiple,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23)._getAriaActiveDescendant(),uS._32(n,23).disabled,uS._32(n,23).errorState,uS._32(n,23).required]);l(n,30,0,uS._32(n,31)._getTabIndex(),uS._32(n,31).selected,uS._32(n,31).multiple,uS._32(n,31).active,uS._32(n,31).id,uS._32(n,31).selected.toString(),uS._32(n,31).disabled.toString(),uS._32(n,31).disabled);l(n,48,1,[uS._32(n,49)._control.errorState,uS._32(n,49)._control.errorState,uS._32(n,49)._canLabelFloat,uS._32(n,49)._shouldLabelFloat(),uS._32(n,49)._hideControlPlaceholder(),uS._32(n,49)._control.disabled,uS._32(n,49)._control.focused,"primary"==uS._32(n,49).color,"accent"==uS._32(n,49).color,"warn"==uS._32(n,49).color,uS._32(n,49)._shouldForward("untouched"),uS._32(n,49)._shouldForward("touched"),uS._32(n,49)._shouldForward("pristine"),uS._32(n,49)._shouldForward("dirty"),uS._32(n,49)._shouldForward("valid"),uS._32(n,49)._shouldForward("invalid"),uS._32(n,49)._shouldForward("pending")]);l(n,58,1,[uS._32(n,64).ngClassUntouched,uS._32(n,64).ngClassTouched,uS._32(n,64).ngClassPristine,uS._32(n,64).ngClassDirty,uS._32(n,64).ngClassValid,uS._32(n,64).ngClassInvalid,uS._32(n,64).ngClassPending,uS._32(n,65)._isServer,uS._32(n,65).id,uS._32(n,65).placeholder,uS._32(n,65).disabled,uS._32(n,65).required,uS._32(n,65).readonly,uS._32(n,65)._ariaDescribedby||null,uS._32(n,65).errorState,uS._32(n,65).required.toString()]);l(n,69,1,[uS._32(n,70)._control.errorState,uS._32(n,70)._control.errorState,uS._32(n,70)._canLabelFloat,uS._32(n,70)._shouldLabelFloat(),uS._32(n,70)._hideControlPlaceholder(),uS._32(n,70)._control.disabled,uS._32(n,70)._control.focused,"primary"==uS._32(n,70).color,"accent"==uS._32(n,70).color,"warn"==uS._32(n,70).color,uS._32(n,70)._shouldForward("untouched"),uS._32(n,70)._shouldForward("touched"),uS._32(n,70)._shouldForward("pristine"),uS._32(n,70)._shouldForward("dirty"),uS._32(n,70)._shouldForward("valid"),uS._32(n,70)._shouldForward("invalid"),uS._32(n,70)._shouldForward("pending")]);l(n,79,1,[uS._32(n,82).ngClassUntouched,uS._32(n,82).ngClassTouched,uS._32(n,82).ngClassPristine,uS._32(n,82).ngClassDirty,uS._32(n,82).ngClassValid,uS._32(n,82).ngClassInvalid,uS._32(n,82).ngClassPending,uS._32(n,83).id,uS._32(n,83).tabIndex,uS._32(n,83)._ariaLabel,uS._32(n,83).ariaLabelledby,uS._32(n,83).required.toString(),uS._32(n,83).disabled.toString(),uS._32(n,83).errorState,uS._32(n,83).panelOpen?uS._32(n,83)._optionIds:null,uS._32(n,83).multiple,uS._32(n,83)._ariaDescribedby||null,uS._32(n,83)._getAriaActiveDescendant(),uS._32(n,83).disabled,uS._32(n,83).errorState,uS._32(n,83).required]);l(n,90,0,uS._32(n,91)._getTabIndex(),uS._32(n,91).selected,uS._32(n,91).multiple,uS._32(n,91).active,uS._32(n,91).id,uS._32(n,91).selected.toString(),uS._32(n,91).disabled.toString(),uS._32(n,91).disabled)})}function se(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,de)),uS._17(5,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function ce(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[84,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.vehicle_type_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.vehicle_type_name)})}function me(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,87,{_control:0}),uS._38(335544320,88,{_placeholderChild:0}),uS._38(335544320,89,{_labelChild:0}),uS._38(603979776,90,{_errorChildren:1}),uS._38(603979776,91,{_hintChildren:1}),uS._38(603979776,92,{_prefixChildren:1}),uS._38(603979776,93,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[87,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function pe(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,64,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,55,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,77,{_control:0}),uS._38(335544320,78,{_placeholderChild:0}),uS._38(335544320,79,{_labelChild:0}),uS._38(603979776,80,{_errorChildren:1}),uS._38(603979776,81,{_hintChildren:1}),uS._38(603979776,82,{_prefixChildren:1}),uS._38(603979776,83,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,18,"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!==uS._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,23)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,84,{options:1}),uS._38(603979776,85,{optionGroups:1}),uS._38(335544320,86,{customTrigger:0}),uS._37(2048,[[77,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,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!==uS._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(32,8437760,[[84,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ce)),uS._17(36,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,me)),uS._17(41,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(43,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,cT.b,cT.a)),uS._17(44,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,94,{_control:0}),uS._38(335544320,95,{_placeholderChild:0}),uS._38(335544320,96,{_labelChild:0}),uS._38(603979776,97,{_errorChildren:1}),uS._38(603979776,98,{_hintChildren:1}),uS._38(603979776,99,{_prefixChildren:1}),uS._38(603979776,100,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(53,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturer_model_vehicle"],["matInput",""],["placeholder","Description of Vehicle (example -Toyota Altis)"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,54)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,59)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,59)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,59)._onInput()&&u}return u},null,null)),uS._17(54,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(56,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(58,16384,null,0,xS.s,[xS.r],null,null),uS._17(59,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[94,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,20,0,"vehicle_type");l(n,23,0,"Type of Vehicle");l(n,36,0,e.m_vehicle_type);l(n,41,0,1==n.context.$implicit.get("vehicle_type").value);l(n,56,0,"manufacturer_model_vehicle");l(n,59,0,"Description of Vehicle (example -Toyota Altis)")},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23).id,uS._32(n,23).tabIndex,uS._32(n,23)._ariaLabel,uS._32(n,23).ariaLabelledby,uS._32(n,23).required.toString(),uS._32(n,23).disabled.toString(),uS._32(n,23).errorState,uS._32(n,23).panelOpen?uS._32(n,23)._optionIds:null,uS._32(n,23).multiple,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23)._getAriaActiveDescendant(),uS._32(n,23).disabled,uS._32(n,23).errorState,uS._32(n,23).required]);l(n,31,0,uS._32(n,32)._getTabIndex(),uS._32(n,32).selected,uS._32(n,32).multiple,uS._32(n,32).active,uS._32(n,32).id,uS._32(n,32).selected.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).disabled);l(n,43,1,[uS._32(n,44)._control.errorState,uS._32(n,44)._control.errorState,uS._32(n,44)._canLabelFloat,uS._32(n,44)._shouldLabelFloat(),uS._32(n,44)._hideControlPlaceholder(),uS._32(n,44)._control.disabled,uS._32(n,44)._control.focused,"primary"==uS._32(n,44).color,"accent"==uS._32(n,44).color,"warn"==uS._32(n,44).color,uS._32(n,44)._shouldForward("untouched"),uS._32(n,44)._shouldForward("touched"),uS._32(n,44)._shouldForward("pristine"),uS._32(n,44)._shouldForward("dirty"),uS._32(n,44)._shouldForward("valid"),uS._32(n,44)._shouldForward("invalid"),uS._32(n,44)._shouldForward("pending")]);l(n,53,1,[uS._32(n,58).ngClassUntouched,uS._32(n,58).ngClassTouched,uS._32(n,58).ngClassPristine,uS._32(n,58).ngClassDirty,uS._32(n,58).ngClassValid,uS._32(n,58).ngClassInvalid,uS._32(n,58).ngClassPending,uS._32(n,59)._isServer,uS._32(n,59).id,uS._32(n,59).placeholder,uS._32(n,59).disabled,uS._32(n,59).required,uS._32(n,59).readonly,uS._32(n,59)._ariaDescribedby||null,uS._32(n,59).errorState,uS._32(n,59).required.toString()])})}function fe(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,pe)),uS._17(5,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function he(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,21,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,101,{_control:0}),uS._38(335544320,102,{_placeholderChild:0}),uS._38(335544320,103,{_labelChild:0}),uS._38(603979776,104,{_errorChildren:1}),uS._38(603979776,105,{_hintChildren:1}),uS._38(603979776,106,{_prefixChildren:1}),uS._38(603979776,107,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[101,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,22,0,"equipment_manufacturing_description");l(n,25,0,"Description")},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()])})}function ge(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,he)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.details.controls)},null)}function be(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[112,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.PremiumPaidInwords[n.parent.context.index])})}function ve(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[122,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ye(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,125,{_control:0}),uS._38(335544320,126,{_placeholderChild:0}),uS._38(335544320,127,{_labelChild:0}),uS._38(603979776,128,{_errorChildren:1}),uS._38(603979776,129,{_hintChildren:1}),uS._38(603979776,130,{_prefixChildren:1}),uS._38(603979776,131,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[125,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Ce(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[136,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.SumAssuredInwords[n.parent.context.index])})}function we(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,127,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,124,"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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,66,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(9,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(12,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,108,{_control:0}),uS._38(335544320,109,{_placeholderChild:0}),uS._38(335544320,110,{_labelChild:0}),uS._38(603979776,111,{_errorChildren:1}),uS._38(603979776,112,{_hintChildren:1}),uS._38(603979776,113,{_prefixChildren:1}),uS._38(603979776,114,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,22)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,22)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,22)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,27)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),uS._17(22,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(24,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(26,16384,null,0,xS.s,[xS.r],null,null),uS._17(27,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[108,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,be)),uS._17(31,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(35,0,null,null,31,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,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,cT.b,cT.a)),uS._17(38,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,115,{_control:0}),uS._38(335544320,116,{_placeholderChild:0}),uS._38(335544320,117,{_labelChild:0}),uS._38(603979776,118,{_errorChildren:1}),uS._38(603979776,119,{_hintChildren:1}),uS._38(603979776,120,{_prefixChildren:1}),uS._38(603979776,121,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(47,0,null,1,17,"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!==uS._32(l,51)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,51)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,51)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(48,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(50,16384,null,0,xS.s,[xS.r],null,null),uS._17(51,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,122,{options:1}),uS._38(603979776,123,{optionGroups:1}),uS._38(335544320,124,{customTrigger:0}),uS._37(2048,[[115,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(58,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!==uS._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,59)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(59,8437760,[[122,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ve)),uS._17(63,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(68,0,null,null,4,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ye)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(75,0,null,null,50,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(77,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(79,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,cT.b,cT.a)),uS._17(80,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,132,{_control:0}),uS._38(335544320,133,{_placeholderChild:0}),uS._38(335544320,134,{_labelChild:0}),uS._38(603979776,135,{_errorChildren:1}),uS._38(603979776,136,{_hintChildren:1}),uS._38(603979776,137,{_prefixChildren:1}),uS._38(603979776,138,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(89,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,t=l.component;if("input"===n){u=!1!==uS._32(l,90)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,90).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,90)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,90)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,95)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,2)&&u}return u},null,null)),uS._17(90,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(92,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(94,16384,null,0,xS.s,[xS.r],null,null),uS._17(95,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[132,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Ce)),uS._17(99,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(103,0,null,null,21,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(105,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,cT.b,cT.a)),uS._17(106,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,139,{_control:0}),uS._38(335544320,140,{_placeholderChild:0}),uS._38(335544320,141,{_labelChild:0}),uS._38(603979776,142,{_errorChildren:1}),uS._38(603979776,143,{_hintChildren:1}),uS._38(603979776,144,{_prefixChildren:1}),uS._38(603979776,145,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(115,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!==uS._32(l,116)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,116).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,116)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,116)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,121)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,121)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,121)._onInput()&&u}return u},null,null)),uS._17(116,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(118,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(120,16384,null,0,xS.s,[xS.r],null,null),uS._17(121,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[139,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,48,0,"frequency_mode");l(n,51,0,"Frequency");l(n,63,0,e.m_freqOfPurchase);l(n,71,0,1==n.context.$implicit.get("frequency_mode").value);l(n,92,0,"sum_assured");l(n,95,0,"Sum Assured");l(n,99,0,""!=n.context.$implicit.get("sum_assured").value);l(n,118,0,"members_coverd");l(n,121,0,"Members Covered")},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,11,1,[uS._32(n,12)._control.errorState,uS._32(n,12)._control.errorState,uS._32(n,12)._canLabelFloat,uS._32(n,12)._shouldLabelFloat(),uS._32(n,12)._hideControlPlaceholder(),uS._32(n,12)._control.disabled,uS._32(n,12)._control.focused,"primary"==uS._32(n,12).color,"accent"==uS._32(n,12).color,"warn"==uS._32(n,12).color,uS._32(n,12)._shouldForward("untouched"),uS._32(n,12)._shouldForward("touched"),uS._32(n,12)._shouldForward("pristine"),uS._32(n,12)._shouldForward("dirty"),uS._32(n,12)._shouldForward("valid"),uS._32(n,12)._shouldForward("invalid"),uS._32(n,12)._shouldForward("pending")]);l(n,21,1,[uS._32(n,26).ngClassUntouched,uS._32(n,26).ngClassTouched,uS._32(n,26).ngClassPristine,uS._32(n,26).ngClassDirty,uS._32(n,26).ngClassValid,uS._32(n,26).ngClassInvalid,uS._32(n,26).ngClassPending,uS._32(n,27)._isServer,uS._32(n,27).id,uS._32(n,27).placeholder,uS._32(n,27).disabled,uS._32(n,27).required,uS._32(n,27).readonly,uS._32(n,27)._ariaDescribedby||null,uS._32(n,27).errorState,uS._32(n,27).required.toString()]);l(n,37,1,[uS._32(n,38)._control.errorState,uS._32(n,38)._control.errorState,uS._32(n,38)._canLabelFloat,uS._32(n,38)._shouldLabelFloat(),uS._32(n,38)._hideControlPlaceholder(),uS._32(n,38)._control.disabled,uS._32(n,38)._control.focused,"primary"==uS._32(n,38).color,"accent"==uS._32(n,38).color,"warn"==uS._32(n,38).color,uS._32(n,38)._shouldForward("untouched"),uS._32(n,38)._shouldForward("touched"),uS._32(n,38)._shouldForward("pristine"),uS._32(n,38)._shouldForward("dirty"),uS._32(n,38)._shouldForward("valid"),uS._32(n,38)._shouldForward("invalid"),uS._32(n,38)._shouldForward("pending")]);l(n,47,1,[uS._32(n,50).ngClassUntouched,uS._32(n,50).ngClassTouched,uS._32(n,50).ngClassPristine,uS._32(n,50).ngClassDirty,uS._32(n,50).ngClassValid,uS._32(n,50).ngClassInvalid,uS._32(n,50).ngClassPending,uS._32(n,51).id,uS._32(n,51).tabIndex,uS._32(n,51)._ariaLabel,uS._32(n,51).ariaLabelledby,uS._32(n,51).required.toString(),uS._32(n,51).disabled.toString(),uS._32(n,51).errorState,uS._32(n,51).panelOpen?uS._32(n,51)._optionIds:null,uS._32(n,51).multiple,uS._32(n,51)._ariaDescribedby||null,uS._32(n,51)._getAriaActiveDescendant(),uS._32(n,51).disabled,uS._32(n,51).errorState,uS._32(n,51).required]);l(n,58,0,uS._32(n,59)._getTabIndex(),uS._32(n,59).selected,uS._32(n,59).multiple,uS._32(n,59).active,uS._32(n,59).id,uS._32(n,59).selected.toString(),uS._32(n,59).disabled.toString(),uS._32(n,59).disabled);l(n,79,1,[uS._32(n,80)._control.errorState,uS._32(n,80)._control.errorState,uS._32(n,80)._canLabelFloat,uS._32(n,80)._shouldLabelFloat(),uS._32(n,80)._hideControlPlaceholder(),uS._32(n,80)._control.disabled,uS._32(n,80)._control.focused,"primary"==uS._32(n,80).color,"accent"==uS._32(n,80).color,"warn"==uS._32(n,80).color,uS._32(n,80)._shouldForward("untouched"),uS._32(n,80)._shouldForward("touched"),uS._32(n,80)._shouldForward("pristine"),uS._32(n,80)._shouldForward("dirty"),uS._32(n,80)._shouldForward("valid"),uS._32(n,80)._shouldForward("invalid"),uS._32(n,80)._shouldForward("pending")]);l(n,89,1,[uS._32(n,94).ngClassUntouched,uS._32(n,94).ngClassTouched,uS._32(n,94).ngClassPristine,uS._32(n,94).ngClassDirty,uS._32(n,94).ngClassValid,uS._32(n,94).ngClassInvalid,uS._32(n,94).ngClassPending,uS._32(n,95)._isServer,uS._32(n,95).id,uS._32(n,95).placeholder,uS._32(n,95).disabled,uS._32(n,95).required,uS._32(n,95).readonly,uS._32(n,95)._ariaDescribedby||null,uS._32(n,95).errorState,uS._32(n,95).required.toString()]);l(n,105,1,[uS._32(n,106)._control.errorState,uS._32(n,106)._control.errorState,uS._32(n,106)._canLabelFloat,uS._32(n,106)._shouldLabelFloat(),uS._32(n,106)._hideControlPlaceholder(),uS._32(n,106)._control.disabled,uS._32(n,106)._control.focused,"primary"==uS._32(n,106).color,"accent"==uS._32(n,106).color,"warn"==uS._32(n,106).color,uS._32(n,106)._shouldForward("untouched"),uS._32(n,106)._shouldForward("touched"),uS._32(n,106)._shouldForward("pristine"),uS._32(n,106)._shouldForward("dirty"),uS._32(n,106)._shouldForward("valid"),uS._32(n,106)._shouldForward("invalid"),uS._32(n,106)._shouldForward("pending")]);l(n,115,1,[uS._32(n,120).ngClassUntouched,uS._32(n,120).ngClassTouched,uS._32(n,120).ngClassPristine,uS._32(n,120).ngClassDirty,uS._32(n,120).ngClassValid,uS._32(n,120).ngClassInvalid,uS._32(n,120).ngClassPending,uS._32(n,121)._isServer,uS._32(n,121).id,uS._32(n,121).placeholder,uS._32(n,121).disabled,uS._32(n,121).required,uS._32(n,121).readonly,uS._32(n,121)._ariaDescribedby||null,uS._32(n,121).errorState,uS._32(n,121).required.toString()])})}function Fe(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,4,"div",[["fxFill",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,we)),uS._17(5,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function xe(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[153,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ke(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,156,{_control:0}),uS._38(335544320,157,{_placeholderChild:0}),uS._38(335544320,158,{_labelChild:0}),uS._38(603979776,159,{_errorChildren:1}),uS._38(603979776,160,{_hintChildren:1}),uS._38(603979776,161,{_prefixChildren:1}),uS._38(603979776,162,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[156,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Se(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,163,{_control:0}),uS._38(335544320,164,{_placeholderChild:0}),uS._38(335544320,165,{_labelChild:0}),uS._38(603979776,166,{_errorChildren:1}),uS._38(603979776,167,{_hintChildren:1}),uS._38(603979776,168,{_prefixChildren:1}),uS._38(603979776,169,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","in_which_organisation"],["matInput",""],["placeholder","Name of organisation in which investment 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],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[163,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"in_which_organisation");l(n,16,0,"Name of organisation in which investment done")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Ie(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[174,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AmtInvestInwords[n.parent.context.index])})}function qe(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,177,{_control:0}),uS._38(335544320,178,{_placeholderChild:0}),uS._38(335544320,179,{_labelChild:0}),uS._38(603979776,180,{_errorChildren:1}),uS._38(603979776,181,{_hintChildren:1}),uS._38(603979776,182,{_prefixChildren:1}),uS._38(603979776,183,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[177,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"bank_name");l(n,16,0,"Bank Name")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Pe(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,81,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,78,"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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,72,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,34,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,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,cT.b,cT.a)),uS._17(12,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,146,{_control:0}),uS._38(335544320,147,{_placeholderChild:0}),uS._38(335544320,148,{_labelChild:0}),uS._38(603979776,149,{_errorChildren:1}),uS._38(603979776,150,{_hintChildren:1}),uS._38(603979776,151,{_prefixChildren:1}),uS._38(603979776,152,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,0,null,1,17,"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!==uS._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,25)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,153,{options:1}),uS._38(603979776,154,{optionGroups:1}),uS._38(335544320,155,{customTrigger:0}),uS._37(2048,[[146,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,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!==uS._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,33)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(33,8437760,[[153,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,xe)),uS._17(37,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ke)),uS._17(42,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Se)),uS._17(46,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(48,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(50,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,cT.b,cT.a)),uS._17(51,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,170,{_control:0}),uS._38(335544320,171,{_placeholderChild:0}),uS._38(335544320,172,{_labelChild:0}),uS._38(603979776,173,{_errorChildren:1}),uS._38(603979776,174,{_hintChildren:1}),uS._38(603979776,175,{_prefixChildren:1}),uS._38(603979776,176,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(60,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_of_invest"],["matInput",""],["placeholder","Current 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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,66)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,3)&&u}return u},null,null)),uS._17(61,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(63,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(65,16384,null,0,xS.s,[xS.r],null,null),uS._17(66,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[170,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Ie)),uS._17(70,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(74,0,null,null,4,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qe)),uS._17(77,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,22,0,"investments_type");l(n,25,0,"Type");l(n,37,0,e.m_investmentType);l(n,42,0,1==n.context.$implicit.get("investments_type").value);l(n,46,0,6==n.context.$implicit.get("investments_type").value||5==n.context.$implicit.get("investments_type").value||4==n.context.$implicit.get("investments_type").value);l(n,63,0,"amount_of_invest");l(n,66,0,"Current Market Value");l(n,70,0,""!=n.context.$implicit.get("amount_of_invest").value);l(n,77,0,1==n.context.$implicit.get("investments_type").value||2==n.context.$implicit.get("investments_type").value||3==n.context.$implicit.get("investments_type").value)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,11,1,[uS._32(n,12)._control.errorState,uS._32(n,12)._control.errorState,uS._32(n,12)._canLabelFloat,uS._32(n,12)._shouldLabelFloat(),uS._32(n,12)._hideControlPlaceholder(),uS._32(n,12)._control.disabled,uS._32(n,12)._control.focused,"primary"==uS._32(n,12).color,"accent"==uS._32(n,12).color,"warn"==uS._32(n,12).color,uS._32(n,12)._shouldForward("untouched"),uS._32(n,12)._shouldForward("touched"),uS._32(n,12)._shouldForward("pristine"),uS._32(n,12)._shouldForward("dirty"),uS._32(n,12)._shouldForward("valid"),uS._32(n,12)._shouldForward("invalid"),uS._32(n,12)._shouldForward("pending")]);l(n,21,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25).id,uS._32(n,25).tabIndex,uS._32(n,25)._ariaLabel,uS._32(n,25).ariaLabelledby,uS._32(n,25).required.toString(),uS._32(n,25).disabled.toString(),uS._32(n,25).errorState,uS._32(n,25).panelOpen?uS._32(n,25)._optionIds:null,uS._32(n,25).multiple,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25)._getAriaActiveDescendant(),uS._32(n,25).disabled,uS._32(n,25).errorState,uS._32(n,25).required]);l(n,32,0,uS._32(n,33)._getTabIndex(),uS._32(n,33).selected,uS._32(n,33).multiple,uS._32(n,33).active,uS._32(n,33).id,uS._32(n,33).selected.toString(),uS._32(n,33).disabled.toString(),uS._32(n,33).disabled);l(n,50,1,[uS._32(n,51)._control.errorState,uS._32(n,51)._control.errorState,uS._32(n,51)._canLabelFloat,uS._32(n,51)._shouldLabelFloat(),uS._32(n,51)._hideControlPlaceholder(),uS._32(n,51)._control.disabled,uS._32(n,51)._control.focused,"primary"==uS._32(n,51).color,"accent"==uS._32(n,51).color,"warn"==uS._32(n,51).color,uS._32(n,51)._shouldForward("untouched"),uS._32(n,51)._shouldForward("touched"),uS._32(n,51)._shouldForward("pristine"),uS._32(n,51)._shouldForward("dirty"),uS._32(n,51)._shouldForward("valid"),uS._32(n,51)._shouldForward("invalid"),uS._32(n,51)._shouldForward("pending")]);l(n,60,1,[uS._32(n,65).ngClassUntouched,uS._32(n,65).ngClassTouched,uS._32(n,65).ngClassPristine,uS._32(n,65).ngClassDirty,uS._32(n,65).ngClassValid,uS._32(n,65).ngClassInvalid,uS._32(n,65).ngClassPending,uS._32(n,66)._isServer,uS._32(n,66).id,uS._32(n,66).placeholder,uS._32(n,66).disabled,uS._32(n,66).required,uS._32(n,66).readonly,uS._32(n,66)._ariaDescribedby||null,uS._32(n,66).errorState,uS._32(n,66).required.toString()])})}function De(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pe)),uS._17(5,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function Te(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[188,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.ApproxInwords[n.parent.parent.context.index])})}function Oe(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,25,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,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,cT.b,cT.a)),uS._17(5,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,184,{_control:0}),uS._38(335544320,185,{_placeholderChild:0}),uS._38(335544320,186,{_labelChild:0}),uS._38(603979776,187,{_errorChildren:1}),uS._38(603979776,188,{_hintChildren:1}),uS._38(603979776,189,{_prefixChildren:1}),uS._38(603979776,190,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,4)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[184,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Te)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,18,0,"approximate_market_value");l(n,21,0,"Approximate Market Value","number");l(n,25,0,""!=n.parent.context.$implicit.get("approximate_market_value").value)},function(l,n){l(n,4,1,[uS._32(n,5)._control.errorState,uS._32(n,5)._control.errorState,uS._32(n,5)._canLabelFloat,uS._32(n,5)._shouldLabelFloat(),uS._32(n,5)._hideControlPlaceholder(),uS._32(n,5)._control.disabled,uS._32(n,5)._control.focused,"primary"==uS._32(n,5).color,"accent"==uS._32(n,5).color,"warn"==uS._32(n,5).color,uS._32(n,5)._shouldForward("untouched"),uS._32(n,5)._shouldForward("touched"),uS._32(n,5)._shouldForward("pristine"),uS._32(n,5)._shouldForward("dirty"),uS._32(n,5)._shouldForward("valid"),uS._32(n,5)._shouldForward("invalid"),uS._32(n,5)._shouldForward("pending")]);l(n,14,1,[uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()])})}function Le(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[198,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ae(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[199,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Le)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function Ve(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,191,{_control:0}),uS._38(335544320,192,{_placeholderChild:0}),uS._38(335544320,193,{_labelChild:0}),uS._38(603979776,194,{_errorChildren:1}),uS._38(603979776,195,{_hintChildren:1}),uS._38(603979776,196,{_prefixChildren:1}),uS._38(603979776,197,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","name_of_the_owner"],["multiple",""],["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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,15)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.index,"",4)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(12,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(14,16384,null,0,xS.s,[xS.r],null,null),uS._17(15,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,198,{options:1}),uS._38(603979776,199,{optionGroups:1}),uS._38(335544320,200,{customTrigger:0}),uS._37(2048,[[191,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ae)),uS._17(22,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"name_of_the_owner");l(n,15,0,"Name of the Owner","",e.compareObjects);l(n,22,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending,uS._32(n,15).id,uS._32(n,15).tabIndex,uS._32(n,15)._ariaLabel,uS._32(n,15).ariaLabelledby,uS._32(n,15).required.toString(),uS._32(n,15).disabled.toString(),uS._32(n,15).errorState,uS._32(n,15).panelOpen?uS._32(n,15)._optionIds:null,uS._32(n,15).multiple,uS._32(n,15)._ariaDescribedby||null,uS._32(n,15)._getAriaActiveDescendant(),uS._32(n,15).disabled,uS._32(n,15).errorState,uS._32(n,15).required])})}function Ne(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,201,{_control:0}),uS._38(335544320,202,{_placeholderChild:0}),uS._38(335544320,203,{_labelChild:0}),uS._38(603979776,204,{_errorChildren:1}),uS._38(603979776,205,{_hintChildren:1}),uS._38(603979776,206,{_prefixChildren:1}),uS._38(603979776,207,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[201,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function We(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,57,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,208,{_control:0}),uS._38(335544320,209,{_placeholderChild:0}),uS._38(335544320,210,{_labelChild:0}),uS._38(603979776,211,{_errorChildren:1}),uS._38(603979776,212,{_hintChildren:1}),uS._38(603979776,213,{_prefixChildren:1}),uS._38(603979776,214,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(13,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(14,16384,[[210,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Age of Asset in Years"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(17,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_personal"],["matInput",""],["maxlength","2"],["minlength","1"],["placeholder","eg.99"],["type","tel"]],[[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,t=l.component;if("input"===n){u=!1!==uS._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,26)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,26)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,26)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,3)&&u}return u},null,null)),uS._17(18,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(19,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(20,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(23,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(25,16384,null,0,xS.s,[xS.r],null,null),uS._17(26,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[208,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(31,0,null,null,25,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,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,cT.b,cT.a)),uS._17(34,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,215,{_control:0}),uS._38(335544320,216,{_placeholderChild:0}),uS._38(335544320,217,{_labelChild:0}),uS._38(603979776,218,{_errorChildren:1}),uS._38(603979776,219,{_hintChildren:1}),uS._38(603979776,220,{_prefixChildren:1}),uS._38(603979776,221,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(44,16384,[[217,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Purchase Year"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(47,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,53)._onInput()&&u}return u},null,null)),uS._17(48,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[215,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,19,0,"1");l(n,20,0,"2");l(n,23,0,"vintage_personal");l(n,26,0,"eg.99","tel");l(n,50,0,"purchase_year");l(n,53,0,"YYYY eg.2018")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,17,1,[uS._32(n,19).minlength?uS._32(n,19).minlength:null,uS._32(n,20).maxlength?uS._32(n,20).maxlength:null,uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending,uS._32(n,26)._isServer,uS._32(n,26).id,uS._32(n,26).placeholder,uS._32(n,26).disabled,uS._32(n,26).required,uS._32(n,26).readonly,uS._32(n,26)._ariaDescribedby||null,uS._32(n,26).errorState,uS._32(n,26).required.toString()]);l(n,33,1,[uS._32(n,34)._control.errorState,uS._32(n,34)._control.errorState,uS._32(n,34)._canLabelFloat,uS._32(n,34)._shouldLabelFloat(),uS._32(n,34)._hideControlPlaceholder(),uS._32(n,34)._control.disabled,uS._32(n,34)._control.focused,"primary"==uS._32(n,34).color,"accent"==uS._32(n,34).color,"warn"==uS._32(n,34).color,uS._32(n,34)._shouldForward("untouched"),uS._32(n,34)._shouldForward("touched"),uS._32(n,34)._shouldForward("pristine"),uS._32(n,34)._shouldForward("dirty"),uS._32(n,34)._shouldForward("valid"),uS._32(n,34)._shouldForward("invalid"),uS._32(n,34)._shouldForward("pending")]);l(n,47,1,[uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53)._isServer,uS._32(n,53).id,uS._32(n,53).placeholder,uS._32(n,53).disabled,uS._32(n,53).required,uS._32(n,53).readonly,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53).errorState,uS._32(n,53).required.toString()])})}function Ee(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function je(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,154,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,151,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(3,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(6,null,["Asset Details # ",""])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(8,0,null,0,144,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(9,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,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)),uS._17(12,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(14,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,31,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","5px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,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,cT.b,cT.a)),uS._17(19,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,5,{_control:0}),uS._38(335544320,6,{_placeholderChild:0}),uS._38(335544320,7,{_labelChild:0}),uS._38(603979776,8,{_errorChildren:1}),uS._38(603979776,9,{_hintChildren:1}),uS._38(603979776,10,{_prefixChildren:1}),uS._38(603979776,11,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,17,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,32)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,32)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAssetsType(e,l.context.index,1)&&u}return u},LO.b,LO.a)),uS._17(29,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(31,16384,null,0,xS.s,[xS.r],null,null),uS._17(32,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,12,{options:1}),uS._38(603979776,13,{optionGroups:1}),uS._38(335544320,14,{customTrigger:0}),uS._37(2048,[[5,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(39,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!==uS._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,40)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(40,8437760,[[12,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ne)),uS._17(44,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(50,0,null,null,28,"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)),uS._17(51,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(53,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,ue)),uS._17(57,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,se)),uS._17(61,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fe)),uS._17(65,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ge)),uS._17(69,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fe)),uS._17(73,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,De)),uS._17(77,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n \n "])),(l()(),uS._18(81,0,null,null,5,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Oe)),uS._17(85,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(88,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ve)),uS._17(91,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ne)),uS._17(94,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,We)),uS._17(100,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n \n "])),(l()(),uS._40(-1,null,[" \n \n \n "])),(l()(),uS._18(103,0,null,null,22,"mat-list",[["class","mat-list"]],null,null,null,lO.d,lO.a)),uS._17(104,49152,null,0,nO.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(106,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Is there a Loan Existing Against this Assets?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(109,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)),uS._17(110,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,222,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(113,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(115,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(117,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!==uS._32(l,118)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(118,4440064,[[222,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["YES"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(121,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!==uS._32(l,122)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(122,4440064,[[222,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NO"])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(127,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(130,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(131,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,223,{_buttons:1}),(l()(),uS._40(-1,null,[" \n \n "])),(l()(),uS._18(134,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(135,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(137,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(139,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(140,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(144,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(145,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ee)),uS._17(148,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,n.context.index);l(n,29,0,"assets_mode");l(n,32,0,"Assets Type");l(n,44,0,e.m_assets_type);l(n,51,0,"details");l(n,57,0,1==n.context.$implicit.get("assets_mode").value);l(n,61,0,2==n.context.$implicit.get("assets_mode").value);l(n,65,0,3==n.context.$implicit.get("assets_mode").value);l(n,69,0,4==n.context.$implicit.get("assets_mode").value);l(n,73,0,6==n.context.$implicit.get("assets_mode").value);l(n,77,0,7==n.context.$implicit.get("assets_mode").value);l(n,85,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||4==n.context.$implicit.get("assets_mode").value||5==n.context.$implicit.get("assets_mode").value);l(n,91,0,""!=n.context.$implicit.get("assets_mode").value);l(n,94,0,e.isOtherOwner[n.context.index]);l(n,100,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,113,0,"emi");l(n,118,0,"yes");l(n,122,0,"no");l(n,140,0,"optblue","md-trash");l(n,148,0,n.context.last)},function(l,n){l(n,6,0,n.context.index+1);l(n,11,0,uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending);l(n,18,1,[uS._32(n,19)._control.errorState,uS._32(n,19)._control.errorState,uS._32(n,19)._canLabelFloat,uS._32(n,19)._shouldLabelFloat(),uS._32(n,19)._hideControlPlaceholder(),uS._32(n,19)._control.disabled,uS._32(n,19)._control.focused,"primary"==uS._32(n,19).color,"accent"==uS._32(n,19).color,"warn"==uS._32(n,19).color,uS._32(n,19)._shouldForward("untouched"),uS._32(n,19)._shouldForward("touched"),uS._32(n,19)._shouldForward("pristine"),uS._32(n,19)._shouldForward("dirty"),uS._32(n,19)._shouldForward("valid"),uS._32(n,19)._shouldForward("invalid"),uS._32(n,19)._shouldForward("pending")]);l(n,28,1,[uS._32(n,31).ngClassUntouched,uS._32(n,31).ngClassTouched,uS._32(n,31).ngClassPristine,uS._32(n,31).ngClassDirty,uS._32(n,31).ngClassValid,uS._32(n,31).ngClassInvalid,uS._32(n,31).ngClassPending,uS._32(n,32).id,uS._32(n,32).tabIndex,uS._32(n,32)._ariaLabel,uS._32(n,32).ariaLabelledby,uS._32(n,32).required.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).errorState,uS._32(n,32).panelOpen?uS._32(n,32)._optionIds:null,uS._32(n,32).multiple,uS._32(n,32)._ariaDescribedby||null,uS._32(n,32)._getAriaActiveDescendant(),uS._32(n,32).disabled,uS._32(n,32).errorState,uS._32(n,32).required]);l(n,39,0,uS._32(n,40)._getTabIndex(),uS._32(n,40).selected,uS._32(n,40).multiple,uS._32(n,40).active,uS._32(n,40).id,uS._32(n,40).selected.toString(),uS._32(n,40).disabled.toString(),uS._32(n,40).disabled);l(n,50,0,uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending);l(n,109,0,uS._32(n,115).ngClassUntouched,uS._32(n,115).ngClassTouched,uS._32(n,115).ngClassPristine,uS._32(n,115).ngClassDirty,uS._32(n,115).ngClassValid,uS._32(n,115).ngClassInvalid,uS._32(n,115).ngClassPending);l(n,117,0,uS._32(n,118).checked,uS._32(n,118).disabled,uS._32(n,118).id);l(n,121,0,uS._32(n,122).checked,uS._32(n,122).disabled,uS._32(n,122).id);l(n,139,0,uS._32(n,140)._hidden)})}function $e(l){return uS._42(0,[(l()(),uS._18(0,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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,10,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,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)),uS._17(11,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(13,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,je)),uS._17(16,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(21,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(23,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,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,224,{_control:0}),uS._38(335544320,225,{_placeholderChild:0}),uS._38(335544320,226,{_labelChild:0}),uS._38(603979776,227,{_errorChildren:1}),uS._38(603979776,228,{_hintChildren:1}),uS._38(603979776,229,{_prefixChildren:1}),uS._38(603979776,230,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(34,16384,[[226,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(37,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!==uS._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,38)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,43)._onInput()&&u}return u},null,null)),uS._17(38,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(40,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(42,16384,null,0,xS.s,[xS.r],null,null),uS._17(43,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[224,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(48,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(49,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.AssetsDetailsForm);l(n,11,0,"assets_details");l(n,16,0,e.AssetsDetailsForm.controls.assets_details.controls);l(n,40,0,"assets_form_remark");l(n,43,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,10,0,uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,37,1,[uS._32(n,42).ngClassUntouched,uS._32(n,42).ngClassTouched,uS._32(n,42).ngClassPristine,uS._32(n,42).ngClassDirty,uS._32(n,42).ngClassValid,uS._32(n,42).ngClassInvalid,uS._32(n,42).ngClassPending,uS._32(n,43)._isServer,uS._32(n,43).id,uS._32(n,43).placeholder,uS._32(n,43).disabled,uS._32(n,43).required,uS._32(n,43).readonly,uS._32(n,43)._ariaDescribedby||null,uS._32(n,43).errorState,uS._32(n,43).required.toString()])})}function Be(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveAssetDetails(t.AssetsDetailsForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function Re(l){return uS._42(0,[uS._38(671088640,1,{inputFocus:0}),uS._38(671088640,2,{content:0}),(l()(),uS._18(2,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(3,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(6,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,10).toggle()&&u}return u},AT.b,AT.a)),uS._17(9,1097728,[[3,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(10,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(11,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(15,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Rn)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(23,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(25,16384,null,0,xS.s,[xS.r],null,null),uS._17(26,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,4,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,30).onClick()&&u}return u},jT.b,jT.a)),uS._17(30,114688,[[4,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,34).onClick()&&u}return u},jT.b,jT.a)),uS._17(34,114688,[[4,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(39,0,null,null,22,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(40,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(43,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,le)),uS._17(46,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,$e)),uS._17(49,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(52,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(53,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,231,{_mainButton:0}),uS._38(603979776,232,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(57,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.savePhoto()&&u}return u},sO.b,sO.a)),uS._17(58,49152,[[231,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(59,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(60,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(63,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(64,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Be)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,23,0,e.tab);l(n,26,0,"optblue");l(n,30,0,"0");l(n,34,0,"1");l(n,43,0,e.tab);l(n,46,0,"1");l(n,49,0,"0");l(n,58,0,"optblue");l(n,60,0,"md-camera");l(n,67,0,!e.complete_status)},function(l,n){l(n,5,0,uS._32(n,6)._hidden,uS._32(n,6)._sbPadding);l(n,8,0,uS._32(n,10).isHidden);l(n,14,0,uS._32(n,15)._hidden);l(n,22,0,uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending,uS._32(n,26)._disabled);l(n,29,0,uS._32(n,30)._disabled,uS._32(n,30).isActive,uS._32(n,30).isActive);l(n,33,0,uS._32(n,34)._disabled,uS._32(n,34).isActive,uS._32(n,34).isActive);l(n,39,0,uS._32(n,40).statusbarPadding,uS._32(n,40)._hasRefresher);l(n,59,0,uS._32(n,60)._hidden)})}function Ue(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Personal Banking"]))],null,null)}function Me(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Ke(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function He(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Ge(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Ye(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ke)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,He)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ge)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function ze(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ye)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Qe(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Je(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Ze(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Qe)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Je)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Xe(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ze)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function lu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function nu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Me)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ze)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Xe)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,lu)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function eu(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function uu(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[11,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,eu)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function tu(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,13,{_control:0}),uS._38(335544320,14,{_placeholderChild:0}),uS._38(335544320,15,{_labelChild:0}),uS._38(603979776,16,{_errorChildren:1}),uS._38(603979776,17,{_hintChildren:1}),uS._38(603979776,18,{_prefixChildren:1}),uS._38(603979776,19,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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 Account 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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[13,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_applicant");l(n,16,0,"Specify Account Name","text")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function au(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function iu(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,31,{_control:0}),uS._38(335544320,32,{_placeholderChild:0}),uS._38(335544320,33,{_labelChild:0}),uS._38(603979776,34,{_errorChildren:1}),uS._38(603979776,35,{_hintChildren:1}),uS._38(603979776,36,{_prefixChildren:1}),uS._38(603979776,37,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[31,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function ou(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[45,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ru(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,48,{_control:0}),uS._38(335544320,49,{_placeholderChild:0}),uS._38(335544320,50,{_labelChild:0}),uS._38(603979776,51,{_errorChildren:1}),uS._38(603979776,52,{_hintChildren:1}),uS._38(603979776,53,{_prefixChildren:1}),uS._38(603979776,54,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(10,0,null,1,26,"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!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,55,{options:1}),uS._38(603979776,56,{optionGroups:1}),uS._38(335544320,57,{customTrigger:0}),uS._37(2048,[[48,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[55,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(25,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!==uS._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(26,8437760,[[55,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(29,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!==uS._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,30)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(30,8437760,[[55,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,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!==uS._32(l,34)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,34)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(34,8437760,[[55,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,11,0,"salary");l(n,14,0,"Salary Credited in this account");l(n,26,0,"Yes");l(n,30,0,"No");l(n,34,0,"NA")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,25,0,uS._32(n,26)._getTabIndex(),uS._32(n,26).selected,uS._32(n,26).multiple,uS._32(n,26).active,uS._32(n,26).id,uS._32(n,26).selected.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).disabled);l(n,29,0,uS._32(n,30)._getTabIndex(),uS._32(n,30).selected,uS._32(n,30).multiple,uS._32(n,30).active,uS._32(n,30).id,uS._32(n,30).selected.toString(),uS._32(n,30).disabled.toString(),uS._32(n,30).disabled);l(n,33,0,uS._32(n,34)._getTabIndex(),uS._32(n,34).selected,uS._32(n,34).multiple,uS._32(n,34).active,uS._32(n,34).id,uS._32(n,34).selected.toString(),uS._32(n,34).disabled.toString(),uS._32(n,34).disabled)})}function _u(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[62,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.parent.context.index])})}function du(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,30,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,[" "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(4,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["In case of OD / CC account, What is the Limit"])),(l()(),uS._40(-1,null,[" "])),(l()(),uS._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,cT.b,cT.a)),uS._17(8,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,58,{_control:0}),uS._38(335544320,59,{_placeholderChild:0}),uS._38(335544320,60,{_labelChild:0}),uS._38(603979776,61,{_errorChildren:1}),uS._38(603979776,62,{_hintChildren:1}),uS._38(603979776,63,{_prefixChildren:1}),uS._38(603979776,64,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,18)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,19).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,19).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,19).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,24)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,1)&&u}return u},null,null)),uS._17(18,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(19,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[58,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,_u)),uS._17(28,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,8)._control.errorState,uS._32(n,8)._control.errorState,uS._32(n,8)._canLabelFloat,uS._32(n,8)._shouldLabelFloat(),uS._32(n,8)._hideControlPlaceholder(),uS._32(n,8)._control.disabled,uS._32(n,8)._control.focused,"primary"==uS._32(n,8).color,"accent"==uS._32(n,8).color,"warn"==uS._32(n,8).color,uS._32(n,8)._shouldForward("untouched"),uS._32(n,8)._shouldForward("touched"),uS._32(n,8)._shouldForward("pristine"),uS._32(n,8)._shouldForward("dirty"),uS._32(n,8)._shouldForward("valid"),uS._32(n,8)._shouldForward("invalid"),uS._32(n,8)._shouldForward("pending")]);l(n,17,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._isServer,uS._32(n,24).id,uS._32(n,24).placeholder,uS._32(n,24).disabled,uS._32(n,24).required,uS._32(n,24).readonly,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24).errorState,uS._32(n,24).required.toString()])})}function su(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function cu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,236,"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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,230,"div",[["class","column"],["fxFlex.lg","100"],["fxFlex.md","100"],["fxFlex.sm","100"],["fxFlex.xl","100"],["fxFlex.xs","100"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(7,0,null,null,227,"mat-card",[["class","box mat-card"]],null,null,null,rT.d,rT.a)),uS._17(8,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(10,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(11,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(14,null,["Banking Details ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,3,"ion-col",[["class","col"],["col-3",""],["offset-1",""]],null,null,null,null,null)),uS._17(17,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(22,0,null,0,211,"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)),uS._17(23,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(25,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(30,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(39,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Account 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!==uS._32(l,44)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,44)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,44)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(41,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(43,16384,null,0,xS.s,[xS.r],null,null),uS._17(44,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),uS._38(603979776,10,{options:1}),uS._38(603979776,11,{optionGroups:1}),uS._38(335544320,12,{customTrigger:0}),uS._37(2048,[[3,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,uu)),uS._17(51,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,tu)),uS._17(57,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(59,0,null,null,49,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(61,0,null,null,46,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(62,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(71,0,null,1,35,"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!==uS._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,75)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(72,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(74,16384,null,0,xS.s,[xS.r],null,null),uS._17(75,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,27,{options:1}),uS._38(603979776,28,{optionGroups:1}),uS._38(335544320,29,{customTrigger:0}),uS._37(2048,[[20,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(82,0,null,1,16,"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!==uS._32(l,83)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,83)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(83,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(85,0,null,0,12,"ngx-mat-select-search",[["formControlName","filterCtrl"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit)&&u}return u},jO.b,jO.a)),uS._17(86,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,30,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(89,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(91,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(93,0,null,0,3,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(94,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(95,16384,[[30,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(100,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!==uS._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,101)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(101,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,au)),uS._17(105,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,iu)),uS._17(111,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(113,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(115,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,cT.b,cT.a)),uS._17(116,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,38,{_control:0}),uS._38(335544320,39,{_placeholderChild:0}),uS._38(335544320,40,{_labelChild:0}),uS._38(603979776,41,{_errorChildren:1}),uS._38(603979776,42,{_hintChildren:1}),uS._38(603979776,43,{_prefixChildren:1}),uS._38(603979776,44,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(125,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","account_type"],["matInput",""],["name","account_type"],["placeholder","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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,129)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,129)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,129)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAccTypeChanges(e.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(126,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(128,16384,null,0,xS.s,[xS.r],null,null),uS._17(129,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,45,{options:1}),uS._38(603979776,46,{optionGroups:1}),uS._38(335544320,47,{customTrigger:0}),uS._37(2048,[[38,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(136,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!==uS._32(l,137)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,137)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(137,8437760,[[45,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ou)),uS._17(141,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n \n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(146,0,null,null,4,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ru)),uS._17(149,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,du)),uS._17(153,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(164,0,null,null,47,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(167,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Number of Years / Months since account was started"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(170,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 46%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(171,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,65,{_control:0}),uS._38(335544320,66,{_placeholderChild:0}),uS._38(335544320,67,{_labelChild:0}),uS._38(603979776,68,{_errorChildren:1}),uS._38(603979776,69,{_hintChildren:1}),uS._38(603979776,70,{_prefixChildren:1}),uS._38(603979776,71,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(180,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!==uS._32(l,181)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,181).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,181)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,181)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,182).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,182).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,182).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,187)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,187)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,187)._onInput()&&u}return u},null,null)),uS._17(181,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(182,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(184,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(186,16384,null,0,xS.s,[xS.r],null,null),uS._17(187,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[65,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["   \n "])),(l()(),uS._18(191,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 46%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(192,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,72,{_control:0}),uS._38(335544320,73,{_placeholderChild:0}),uS._38(335544320,74,{_labelChild:0}),uS._38(603979776,75,{_errorChildren:1}),uS._38(603979776,76,{_hintChildren:1}),uS._38(603979776,77,{_prefixChildren:1}),uS._38(603979776,78,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(201,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,t=l.component;if("input"===n){u=!1!==uS._32(l,202)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,202).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,202)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,202)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,203).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,203).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,203).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,208)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,208)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,208)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value)&&u}return u},null,null)),uS._17(202,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(203,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(205,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(207,16384,null,0,xS.s,[xS.r],null,null),uS._17(208,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[72,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(213,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(214,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,79,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(217,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(218,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(220,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(222,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(223,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(226,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(227,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,su)),uS._17(230,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,"Account 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,72,0,"bank_name");l(n,75,0,"Bank Name");l(n,86,0,"Search Bank by Name","No Matching Result");l(n,89,0,"filterCtrl");l(n,94,0,"md-close");l(n,105,0,e.m_btLenderListValue);l(n,111,0,1==n.context.$implicit.get("bank_name").value);l(n,126,0,"account_type");l(n,129,0,"Account Type ");l(n,141,0,e.accountType);l(n,149,0,e.salaryField);l(n,153,0,e.limitCaseFlag[n.context.index]);l(n,184,0,"vintage_year");l(n,187,0,"Year","number");l(n,205,0,"vintage_month");l(n,208,0,"Month","number");l(n,223,0,"optblue","md-trash");l(n,230,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,14,0,n.context.index+1);l(n,22,0,uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending);l(n,29,1,[uS._32(n,30)._control.errorState,uS._32(n,30)._control.errorState,uS._32(n,30)._canLabelFloat,uS._32(n,30)._shouldLabelFloat(),uS._32(n,30)._hideControlPlaceholder(),uS._32(n,30)._control.disabled,uS._32(n,30)._control.focused,"primary"==uS._32(n,30).color,"accent"==uS._32(n,30).color,"warn"==uS._32(n,30).color,uS._32(n,30)._shouldForward("untouched"),uS._32(n,30)._shouldForward("touched"),uS._32(n,30)._shouldForward("pristine"),uS._32(n,30)._shouldForward("dirty"),uS._32(n,30)._shouldForward("valid"),uS._32(n,30)._shouldForward("invalid"),uS._32(n,30)._shouldForward("pending")]);l(n,39,1,[uS._32(n,43).ngClassUntouched,uS._32(n,43).ngClassTouched,uS._32(n,43).ngClassPristine,uS._32(n,43).ngClassDirty,uS._32(n,43).ngClassValid,uS._32(n,43).ngClassInvalid,uS._32(n,43).ngClassPending,uS._32(n,44).id,uS._32(n,44).tabIndex,uS._32(n,44)._ariaLabel,uS._32(n,44).ariaLabelledby,uS._32(n,44).required.toString(),uS._32(n,44).disabled.toString(),uS._32(n,44).errorState,uS._32(n,44).panelOpen?uS._32(n,44)._optionIds:null,uS._32(n,44).multiple,uS._32(n,44)._ariaDescribedby||null,uS._32(n,44)._getAriaActiveDescendant(),uS._32(n,44).disabled,uS._32(n,44).errorState,uS._32(n,44).required]);l(n,61,1,[uS._32(n,62)._control.errorState,uS._32(n,62)._control.errorState,uS._32(n,62)._canLabelFloat,uS._32(n,62)._shouldLabelFloat(),uS._32(n,62)._hideControlPlaceholder(),uS._32(n,62)._control.disabled,uS._32(n,62)._control.focused,"primary"==uS._32(n,62).color,"accent"==uS._32(n,62).color,"warn"==uS._32(n,62).color,uS._32(n,62)._shouldForward("untouched"),uS._32(n,62)._shouldForward("touched"),uS._32(n,62)._shouldForward("pristine"),uS._32(n,62)._shouldForward("dirty"),uS._32(n,62)._shouldForward("valid"),uS._32(n,62)._shouldForward("invalid"),uS._32(n,62)._shouldForward("pending")]);l(n,71,1,[uS._32(n,74).ngClassUntouched,uS._32(n,74).ngClassTouched,uS._32(n,74).ngClassPristine,uS._32(n,74).ngClassDirty,uS._32(n,74).ngClassValid,uS._32(n,74).ngClassInvalid,uS._32(n,74).ngClassPending,uS._32(n,75).id,uS._32(n,75).tabIndex,uS._32(n,75)._ariaLabel,uS._32(n,75).ariaLabelledby,uS._32(n,75).required.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).errorState,uS._32(n,75).panelOpen?uS._32(n,75)._optionIds:null,uS._32(n,75).multiple,uS._32(n,75)._ariaDescribedby||null,uS._32(n,75)._getAriaActiveDescendant(),uS._32(n,75).disabled,uS._32(n,75).errorState,uS._32(n,75).required]);l(n,82,0,uS._32(n,83)._getTabIndex(),uS._32(n,83).selected,uS._32(n,83).multiple,uS._32(n,83).active,uS._32(n,83).id,uS._32(n,83).selected.toString(),uS._32(n,83).disabled.toString(),uS._32(n,83).disabled);l(n,85,0,uS._32(n,86).isInsideMatOption,uS._32(n,91).ngClassUntouched,uS._32(n,91).ngClassTouched,uS._32(n,91).ngClassPristine,uS._32(n,91).ngClassDirty,uS._32(n,91).ngClassValid,uS._32(n,91).ngClassInvalid,uS._32(n,91).ngClassPending);l(n,93,0,uS._32(n,94)._hidden);l(n,100,0,uS._32(n,101)._getTabIndex(),uS._32(n,101).selected,uS._32(n,101).multiple,uS._32(n,101).active,uS._32(n,101).id,uS._32(n,101).selected.toString(),uS._32(n,101).disabled.toString(),uS._32(n,101).disabled);l(n,115,1,[uS._32(n,116)._control.errorState,uS._32(n,116)._control.errorState,uS._32(n,116)._canLabelFloat,uS._32(n,116)._shouldLabelFloat(),uS._32(n,116)._hideControlPlaceholder(),uS._32(n,116)._control.disabled,uS._32(n,116)._control.focused,"primary"==uS._32(n,116).color,"accent"==uS._32(n,116).color,"warn"==uS._32(n,116).color,uS._32(n,116)._shouldForward("untouched"),uS._32(n,116)._shouldForward("touched"),uS._32(n,116)._shouldForward("pristine"),uS._32(n,116)._shouldForward("dirty"),uS._32(n,116)._shouldForward("valid"),uS._32(n,116)._shouldForward("invalid"),uS._32(n,116)._shouldForward("pending")]);l(n,125,1,[uS._32(n,128).ngClassUntouched,uS._32(n,128).ngClassTouched,uS._32(n,128).ngClassPristine,uS._32(n,128).ngClassDirty,uS._32(n,128).ngClassValid,uS._32(n,128).ngClassInvalid,uS._32(n,128).ngClassPending,uS._32(n,129).id,uS._32(n,129).tabIndex,uS._32(n,129)._ariaLabel,uS._32(n,129).ariaLabelledby,uS._32(n,129).required.toString(),uS._32(n,129).disabled.toString(),uS._32(n,129).errorState,uS._32(n,129).panelOpen?uS._32(n,129)._optionIds:null,uS._32(n,129).multiple,uS._32(n,129)._ariaDescribedby||null,uS._32(n,129)._getAriaActiveDescendant(),uS._32(n,129).disabled,uS._32(n,129).errorState,uS._32(n,129).required]);l(n,136,0,uS._32(n,137)._getTabIndex(),uS._32(n,137).selected,uS._32(n,137).multiple,uS._32(n,137).active,uS._32(n,137).id,uS._32(n,137).selected.toString(),uS._32(n,137).disabled.toString(),uS._32(n,137).disabled);l(n,170,1,[uS._32(n,171)._control.errorState,uS._32(n,171)._control.errorState,uS._32(n,171)._canLabelFloat,uS._32(n,171)._shouldLabelFloat(),uS._32(n,171)._hideControlPlaceholder(),uS._32(n,171)._control.disabled,uS._32(n,171)._control.focused,"primary"==uS._32(n,171).color,"accent"==uS._32(n,171).color,"warn"==uS._32(n,171).color,uS._32(n,171)._shouldForward("untouched"),uS._32(n,171)._shouldForward("touched"),uS._32(n,171)._shouldForward("pristine"),uS._32(n,171)._shouldForward("dirty"),uS._32(n,171)._shouldForward("valid"),uS._32(n,171)._shouldForward("invalid"),uS._32(n,171)._shouldForward("pending")]);l(n,180,1,[uS._32(n,186).ngClassUntouched,uS._32(n,186).ngClassTouched,uS._32(n,186).ngClassPristine,uS._32(n,186).ngClassDirty,uS._32(n,186).ngClassValid,uS._32(n,186).ngClassInvalid,uS._32(n,186).ngClassPending,uS._32(n,187)._isServer,uS._32(n,187).id,uS._32(n,187).placeholder,uS._32(n,187).disabled,uS._32(n,187).required,uS._32(n,187).readonly,uS._32(n,187)._ariaDescribedby||null,uS._32(n,187).errorState,uS._32(n,187).required.toString()]);l(n,191,1,[uS._32(n,192)._control.errorState,uS._32(n,192)._control.errorState,uS._32(n,192)._canLabelFloat,uS._32(n,192)._shouldLabelFloat(),uS._32(n,192)._hideControlPlaceholder(),uS._32(n,192)._control.disabled,uS._32(n,192)._control.focused,"primary"==uS._32(n,192).color,"accent"==uS._32(n,192).color,"warn"==uS._32(n,192).color,uS._32(n,192)._shouldForward("untouched"),uS._32(n,192)._shouldForward("touched"),uS._32(n,192)._shouldForward("pristine"),uS._32(n,192)._shouldForward("dirty"),uS._32(n,192)._shouldForward("valid"),uS._32(n,192)._shouldForward("invalid"),uS._32(n,192)._shouldForward("pending")]);l(n,201,1,[uS._32(n,207).ngClassUntouched,uS._32(n,207).ngClassTouched,uS._32(n,207).ngClassPristine,uS._32(n,207).ngClassDirty,uS._32(n,207).ngClassValid,uS._32(n,207).ngClassInvalid,uS._32(n,207).ngClassPending,uS._32(n,208)._isServer,uS._32(n,208).id,uS._32(n,208).placeholder,uS._32(n,208).disabled,uS._32(n,208).required,uS._32(n,208).readonly,uS._32(n,208)._ariaDescribedby||null,uS._32(n,208).errorState,uS._32(n,208).required.toString()]);l(n,222,0,uS._32(n,223)._hidden)})}function mu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,38,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,cu)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(10,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(13,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,80,{_control:0}),uS._38(335544320,81,{_placeholderChild:0}),uS._38(335544320,82,{_labelChild:0}),uS._38(603979776,83,{_errorChildren:1}),uS._38(603979776,84,{_hintChildren:1}),uS._38(603979776,85,{_prefixChildren:1}),uS._38(603979776,86,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(22,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!==uS._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}return u},null,null)),uS._17(23,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[80,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(34,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.bankDetails);l(n,7,0,e.bankDetails.get("bankitems").controls);l(n,25,0,"banking_form_remark");l(n,28,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,12,1,[uS._32(n,13)._control.errorState,uS._32(n,13)._control.errorState,uS._32(n,13)._canLabelFloat,uS._32(n,13)._shouldLabelFloat(),uS._32(n,13)._hideControlPlaceholder(),uS._32(n,13)._control.disabled,uS._32(n,13)._control.focused,"primary"==uS._32(n,13).color,"accent"==uS._32(n,13).color,"warn"==uS._32(n,13).color,uS._32(n,13)._shouldForward("untouched"),uS._32(n,13)._shouldForward("touched"),uS._32(n,13)._shouldForward("pristine"),uS._32(n,13)._shouldForward("dirty"),uS._32(n,13)._shouldForward("valid"),uS._32(n,13)._shouldForward("invalid"),uS._32(n,13)._shouldForward("pending")]);l(n,22,1,[uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()])})}function pu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdBank(t.bankDetails.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function fu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,36,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Ue)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(22,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,29).onClick()&&u}return u},jT.b,jT.a)),uS._17(29,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,33).onClick()&&u}return u},jT.b,jT.a)),uS._17(33,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(38,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,0,null,1,9,"div",[],null,null,null,null,null)),uS._17(42,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,nu)),uS._17(45,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,mu)),uS._17(49,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(52,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(53,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,87,{_mainButton:0}),uS._38(603979776,88,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(57,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(58,49152,[[87,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(59,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(60,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(63,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(64,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._13(16777216,null,null,1,null,pu)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,18,0,!e.viewchange);l(n,22,0,e.tab);l(n,25,0,"optblue");l(n,29,0,"0");l(n,33,0,"1");l(n,42,0,e.tab);l(n,45,0,"1");l(n,49,0,"0");l(n,58,0,"optblue");l(n,60,0,"md-camera");l(n,67,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._disabled);l(n,28,0,uS._32(n,29)._disabled,uS._32(n,29).isActive,uS._32(n,29).isActive);l(n,32,0,uS._32(n,33)._disabled,uS._32(n,33).isActive,uS._32(n,33).isActive);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,59,0,uS._32(n,60)._hidden)})}function hu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function gu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function bu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function vu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function yu(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Cu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,bu)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,vu)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yu)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function wu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Cu)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Fu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function xu(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function ku(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fu)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,xu)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Su(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ku)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Iu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function qu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gu)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,wu)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Su)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Iu)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Pu(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[21,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.existing_loan_type_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.loan_type_name)})}function Du(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,24,{_control:0}),uS._38(335544320,25,{_placeholderChild:0}),uS._38(335544320,26,{_labelChild:0}),uS._38(603979776,27,{_errorChildren:1}),uS._38(603979776,28,{_hintChildren:1}),uS._38(603979776,29,{_prefixChildren:1}),uS._38(603979776,30,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[24,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Tu(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[35,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.context.index])})}function Ou(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[45,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function Lu(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,49,{_control:0}),uS._38(335544320,50,{_placeholderChild:0}),uS._38(335544320,51,{_labelChild:0}),uS._38(603979776,52,{_errorChildren:1}),uS._38(603979776,53,{_hintChildren:1}),uS._38(603979776,54,{_prefixChildren:1}),uS._38(603979776,55,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[49,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Au(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[63,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Vu(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[64,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Au)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function Nu(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,66,{_control:0}),uS._38(335544320,67,{_placeholderChild:0}),uS._38(335544320,68,{_labelChild:0}),uS._38(603979776,69,{_errorChildren:1}),uS._38(603979776,70,{_hintChildren:1}),uS._38(603979776,71,{_prefixChildren:1}),uS._38(603979776,72,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[66,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Wu(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[80,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.frequency_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Eu(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,83,{_control:0}),uS._38(335544320,84,{_placeholderChild:0}),uS._38(335544320,85,{_labelChild:0}),uS._38(603979776,86,{_errorChildren:1}),uS._38(603979776,87,{_hintChildren:1}),uS._38(603979776,88,{_prefixChildren:1}),uS._38(603979776,89,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[83,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function ju(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[94,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.emiAmtInwords[n.parent.parent.context.index])})}function $u(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,90,{_control:0}),uS._38(335544320,91,{_placeholderChild:0}),uS._38(335544320,92,{_labelChild:0}),uS._38(603979776,93,{_errorChildren:1}),uS._38(603979776,94,{_hintChildren:1}),uS._38(603979776,95,{_prefixChildren:1}),uS._38(603979776,96,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,2)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(13,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[90,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,ju)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).required?"":null,uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()])})}function Bu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[107,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Oringinal Tenure Less than Current Balance Tenure"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Ru(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[114,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Oringinal Tenure Less than Elapsed Tenure"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Uu(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Mu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,274,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(6,null,["Loan Details #"," ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,265,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(9,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,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,cT.b,cT.a)),uS._17(12,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,14,{_control:0}),uS._38(335544320,15,{_placeholderChild:0}),uS._38(335544320,16,{_labelChild:0}),uS._38(603979776,17,{_errorChildren:1}),uS._38(603979776,18,{_hintChildren:1}),uS._38(603979776,19,{_prefixChildren:1}),uS._38(603979776,20,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,0,null,1,17,"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!==uS._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,25)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,21,{options:1}),uS._38(603979776,22,{optionGroups:1}),uS._38(335544320,23,{customTrigger:0}),uS._37(2048,[[14,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,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!==uS._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,33)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(33,8437760,[[21,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Pu)),uS._17(37,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Du)),uS._17(42,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(44,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,cT.b,cT.a)),uS._17(45,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,31,{_control:0}),uS._38(335544320,32,{_placeholderChild:0}),uS._38(335544320,33,{_labelChild:0}),uS._38(603979776,34,{_errorChildren:1}),uS._38(603979776,35,{_hintChildren:1}),uS._38(603979776,36,{_prefixChildren:1}),uS._38(603979776,37,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(54,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,t=l.component;if("input"===n){u=!1!==uS._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,61)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,1)&&u}return u},null,null)),uS._17(55,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(56,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(58,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(60,16384,null,0,xS.s,[xS.r],null,null),uS._17(61,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[31,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Tu)),uS._17(65,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(68,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(69,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,38,{_control:0}),uS._38(335544320,39,{_placeholderChild:0}),uS._38(335544320,40,{_labelChild:0}),uS._38(603979776,41,{_errorChildren:1}),uS._38(603979776,42,{_hintChildren:1}),uS._38(603979776,43,{_prefixChildren:1}),uS._38(603979776,44,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(78,0,null,1,34,"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!==uS._32(l,82)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,82)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,82)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(79,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(81,16384,null,0,xS.s,[xS.r],null,null),uS._17(82,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,45,{options:1}),uS._38(603979776,46,{optionGroups:1}),uS._38(335544320,47,{customTrigger:0}),uS._37(2048,[[38,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(89,0,null,1,15,"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!==uS._32(l,90)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,90)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(90,8437760,[[45,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(92,0,null,0,11,"ngx-mat-select-search",[["formControlName","bankSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit)&&u}return u},jO.b,jO.a)),uS._17(93,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,48,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(96,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(98,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(100,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(101,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(102,16384,[[48,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(106,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!==uS._32(l,107)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,107)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(107,8437760,[[45,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ou)),uS._17(111,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Lu)),uS._17(116,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(118,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,cT.b,cT.a)),uS._17(119,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,56,{_control:0}),uS._38(335544320,57,{_placeholderChild:0}),uS._38(335544320,58,{_labelChild:0}),uS._38(603979776,59,{_errorChildren:1}),uS._38(603979776,60,{_hintChildren:1}),uS._38(603979776,61,{_prefixChildren:1}),uS._38(603979776,62,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(128,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","loan_taken_by"],["multiple",""],["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!==uS._32(l,133)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,133)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,133)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(130,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(132,16384,null,0,xS.s,[xS.r],null,null),uS._17(133,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},null),uS._38(603979776,63,{options:1}),uS._38(603979776,64,{optionGroups:1}),uS._38(335544320,65,{customTrigger:0}),uS._37(2048,[[56,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Vu)),uS._17(140,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Nu)),uS._17(145,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(147,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,cT.b,cT.a)),uS._17(148,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,73,{_control:0}),uS._38(335544320,74,{_placeholderChild:0}),uS._38(335544320,75,{_labelChild:0}),uS._38(603979776,76,{_errorChildren:1}),uS._38(603979776,77,{_hintChildren:1}),uS._38(603979776,78,{_prefixChildren:1}),uS._38(603979776,79,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(157,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","frequency"],["placeholder","Instalment 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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,161)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,161)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,161)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedfrequency(e.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(158,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(160,16384,null,0,xS.s,[xS.r],null,null),uS._17(161,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,80,{options:1}),uS._38(603979776,81,{optionGroups:1}),uS._38(335544320,82,{customTrigger:0}),uS._37(2048,[[73,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(168,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!==uS._32(l,169)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,169)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(169,8437760,[[80,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Wu)),uS._17(173,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Eu)),uS._17(178,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$u)),uS._17(181,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n \n \n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(185,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,97,{_control:0}),uS._38(335544320,98,{_placeholderChild:0}),uS._38(335544320,99,{_labelChild:0}),uS._38(603979776,100,{_errorChildren:1}),uS._38(603979776,101,{_hintChildren:1}),uS._38(603979776,102,{_prefixChildren:1}),uS._38(603979776,103,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(194,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","original_tenure"],["matInput",""],["placeholder","Original 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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,195)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,195).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,195)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,195)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,196).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,196).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,196).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,201)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,201)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,201)._onInput()&&u}if("change"===n){t.checkTenure(l.context.$implicit);u=!1!==t.calculateTenure(l.context.$implicit,1)&&u}return u},null,null)),uS._17(195,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(196,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(198,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(200,16384,null,0,xS.s,[xS.r],null,null),uS._17(201,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[97,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(205,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,cT.b,cT.a)),uS._17(206,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,104,{_control:0}),uS._38(335544320,105,{_placeholderChild:0}),uS._38(335544320,106,{_labelChild:0}),uS._38(603979776,107,{_errorChildren:1}),uS._38(603979776,108,{_hintChildren:1}),uS._38(603979776,109,{_prefixChildren:1}),uS._38(603979776,110,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(215,0,[[1,0],["balanceTenure",1]],1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_balance_tenure"],["matInput",""],["placeholder","Current Balance 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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,216)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,216).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,216)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,216)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,217).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,217).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,217).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,222)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,222)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,222)._onInput()&&u}if("change"===n){u=!1!==t.calculateTenure(l.context.$implicit,1)&&u}return u},null,null)),uS._17(216,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(217,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(219,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(221,16384,null,0,xS.s,[xS.r],null,null),uS._17(222,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[104,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._13(16777216,null,5,1,null,Bu)),uS._17(226,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(229,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,cT.b,cT.a)),uS._17(230,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,111,{_control:0}),uS._38(335544320,112,{_placeholderChild:0}),uS._38(335544320,113,{_labelChild:0}),uS._38(603979776,114,{_errorChildren:1}),uS._38(603979776,115,{_hintChildren:1}),uS._38(603979776,116,{_prefixChildren:1}),uS._38(603979776,117,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(239,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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,240)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,240).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,240)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,240)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,241).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,241).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,241).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,246)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,246)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,246)._onInput()&&u}if("change"===n){u=!1!==t.calculateTenure(l.context.$implicit,2)&&u}return u},null,null)),uS._17(240,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(241,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(243,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(245,16384,null,0,xS.s,[xS.r],null,null),uS._17(246,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[111,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Ru)),uS._17(250,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(253,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(254,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,118,{_buttons:1}),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(257,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(258,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(260,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(262,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(263,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(266,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(267,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Uu)),uS._17(270,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"loan_type");l(n,25,0,"Loan Type");l(n,37,0,e.loanTypeData);l(n,42,0,1==n.context.$implicit.get("loan_type").value);l(n,58,0,"loan_amount");l(n,61,0,"Loan Amount","number");l(n,65,0,""!=n.context.$implicit.get("loan_amount").value);l(n,79,0,"lender");l(n,82,0,"Lender");l(n,93,0,"Search Unit","No Matching Result");l(n,96,0,"bankSearch");l(n,101,0,"md-close");l(n,111,0,e.lenderDataValue);l(n,116,0,3==n.context.$implicit.get("lender").value);l(n,130,0,"loan_taken_by");l(n,133,0,"Loan Taken By","",e.compareObjects);l(n,140,0,e.mergeCompanyApplicant);l(n,145,0,1==e.checkOthers(n.context.$implicit.get("loan_taken_by").value));l(n,158,0,"frequency");l(n,161,0,"Instalment Frequency");l(n,173,0,e.frequencyData);l(n,178,0,1==n.context.$implicit.get("frequency").value);l(n,181,0,""!=n.context.$implicit.get("frequency").value);l(n,198,0,"original_tenure");l(n,201,0,"Original Tenure in Months","number");l(n,219,0,"current_balance_tenure");l(n,222,0,"Current Balance Tenure in Months","number");l(n,226,0,e.tentureErrorFlag||n.context.$implicit.controls.current_balance_tenure.hasError("max"));l(n,243,0,"elapsed_tenure");l(n,246,0,"Elapsed Tenure in Months","number");l(n,250,0,e.tentureErrorFlag);l(n,263,0,"optblue","md-trash");l(n,270,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,n.context.index+1,n.context.$implicit.get("label").value);l(n,11,1,[uS._32(n,12)._control.errorState,uS._32(n,12)._control.errorState,uS._32(n,12)._canLabelFloat,uS._32(n,12)._shouldLabelFloat(),uS._32(n,12)._hideControlPlaceholder(),uS._32(n,12)._control.disabled,uS._32(n,12)._control.focused,"primary"==uS._32(n,12).color,"accent"==uS._32(n,12).color,"warn"==uS._32(n,12).color,uS._32(n,12)._shouldForward("untouched"),uS._32(n,12)._shouldForward("touched"),uS._32(n,12)._shouldForward("pristine"),uS._32(n,12)._shouldForward("dirty"),uS._32(n,12)._shouldForward("valid"),uS._32(n,12)._shouldForward("invalid"),uS._32(n,12)._shouldForward("pending")]);l(n,21,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25).id,uS._32(n,25).tabIndex,uS._32(n,25)._ariaLabel,uS._32(n,25).ariaLabelledby,uS._32(n,25).required.toString(),uS._32(n,25).disabled.toString(),uS._32(n,25).errorState,uS._32(n,25).panelOpen?uS._32(n,25)._optionIds:null,uS._32(n,25).multiple,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25)._getAriaActiveDescendant(),uS._32(n,25).disabled,uS._32(n,25).errorState,uS._32(n,25).required]);l(n,32,0,uS._32(n,33)._getTabIndex(),uS._32(n,33).selected,uS._32(n,33).multiple,uS._32(n,33).active,uS._32(n,33).id,uS._32(n,33).selected.toString(),uS._32(n,33).disabled.toString(),uS._32(n,33).disabled);l(n,44,1,[uS._32(n,45)._control.errorState,uS._32(n,45)._control.errorState,uS._32(n,45)._canLabelFloat,uS._32(n,45)._shouldLabelFloat(),uS._32(n,45)._hideControlPlaceholder(),uS._32(n,45)._control.disabled,uS._32(n,45)._control.focused,"primary"==uS._32(n,45).color,"accent"==uS._32(n,45).color,"warn"==uS._32(n,45).color,uS._32(n,45)._shouldForward("untouched"),uS._32(n,45)._shouldForward("touched"),uS._32(n,45)._shouldForward("pristine"),uS._32(n,45)._shouldForward("dirty"),uS._32(n,45)._shouldForward("valid"),uS._32(n,45)._shouldForward("invalid"),uS._32(n,45)._shouldForward("pending")]);l(n,54,1,[uS._32(n,60).ngClassUntouched,uS._32(n,60).ngClassTouched,uS._32(n,60).ngClassPristine,uS._32(n,60).ngClassDirty,uS._32(n,60).ngClassValid,uS._32(n,60).ngClassInvalid,uS._32(n,60).ngClassPending,uS._32(n,61)._isServer,uS._32(n,61).id,uS._32(n,61).placeholder,uS._32(n,61).disabled,uS._32(n,61).required,uS._32(n,61).readonly,uS._32(n,61)._ariaDescribedby||null,uS._32(n,61).errorState,uS._32(n,61).required.toString()]);l(n,68,1,[uS._32(n,69)._control.errorState,uS._32(n,69)._control.errorState,uS._32(n,69)._canLabelFloat,uS._32(n,69)._shouldLabelFloat(),uS._32(n,69)._hideControlPlaceholder(),uS._32(n,69)._control.disabled,uS._32(n,69)._control.focused,"primary"==uS._32(n,69).color,"accent"==uS._32(n,69).color,"warn"==uS._32(n,69).color,uS._32(n,69)._shouldForward("untouched"),uS._32(n,69)._shouldForward("touched"),uS._32(n,69)._shouldForward("pristine"),uS._32(n,69)._shouldForward("dirty"),uS._32(n,69)._shouldForward("valid"),uS._32(n,69)._shouldForward("invalid"),uS._32(n,69)._shouldForward("pending")]);l(n,78,1,[uS._32(n,81).ngClassUntouched,uS._32(n,81).ngClassTouched,uS._32(n,81).ngClassPristine,uS._32(n,81).ngClassDirty,uS._32(n,81).ngClassValid,uS._32(n,81).ngClassInvalid,uS._32(n,81).ngClassPending,uS._32(n,82).id,uS._32(n,82).tabIndex,uS._32(n,82)._ariaLabel,uS._32(n,82).ariaLabelledby,uS._32(n,82).required.toString(),uS._32(n,82).disabled.toString(),uS._32(n,82).errorState,uS._32(n,82).panelOpen?uS._32(n,82)._optionIds:null,uS._32(n,82).multiple,uS._32(n,82)._ariaDescribedby||null,uS._32(n,82)._getAriaActiveDescendant(),uS._32(n,82).disabled,uS._32(n,82).errorState,uS._32(n,82).required]);l(n,89,0,uS._32(n,90)._getTabIndex(),uS._32(n,90).selected,uS._32(n,90).multiple,uS._32(n,90).active,uS._32(n,90).id,uS._32(n,90).selected.toString(),uS._32(n,90).disabled.toString(),uS._32(n,90).disabled);l(n,92,0,uS._32(n,93).isInsideMatOption,uS._32(n,98).ngClassUntouched,uS._32(n,98).ngClassTouched,uS._32(n,98).ngClassPristine,uS._32(n,98).ngClassDirty,uS._32(n,98).ngClassValid,uS._32(n,98).ngClassInvalid,uS._32(n,98).ngClassPending);l(n,100,0,uS._32(n,101)._hidden);l(n,106,0,uS._32(n,107)._getTabIndex(),uS._32(n,107).selected,uS._32(n,107).multiple,uS._32(n,107).active,uS._32(n,107).id,uS._32(n,107).selected.toString(),uS._32(n,107).disabled.toString(),uS._32(n,107).disabled);l(n,118,1,[uS._32(n,119)._control.errorState,uS._32(n,119)._control.errorState,uS._32(n,119)._canLabelFloat,uS._32(n,119)._shouldLabelFloat(),uS._32(n,119)._hideControlPlaceholder(),uS._32(n,119)._control.disabled,uS._32(n,119)._control.focused,"primary"==uS._32(n,119).color,"accent"==uS._32(n,119).color,"warn"==uS._32(n,119).color,uS._32(n,119)._shouldForward("untouched"),uS._32(n,119)._shouldForward("touched"),uS._32(n,119)._shouldForward("pristine"),uS._32(n,119)._shouldForward("dirty"),uS._32(n,119)._shouldForward("valid"),uS._32(n,119)._shouldForward("invalid"),uS._32(n,119)._shouldForward("pending")]);l(n,128,1,[uS._32(n,132).ngClassUntouched,uS._32(n,132).ngClassTouched,uS._32(n,132).ngClassPristine,uS._32(n,132).ngClassDirty,uS._32(n,132).ngClassValid,uS._32(n,132).ngClassInvalid,uS._32(n,132).ngClassPending,uS._32(n,133).id,uS._32(n,133).tabIndex,uS._32(n,133)._ariaLabel,uS._32(n,133).ariaLabelledby,uS._32(n,133).required.toString(),uS._32(n,133).disabled.toString(),uS._32(n,133).errorState,uS._32(n,133).panelOpen?uS._32(n,133)._optionIds:null,uS._32(n,133).multiple,uS._32(n,133)._ariaDescribedby||null,uS._32(n,133)._getAriaActiveDescendant(),uS._32(n,133).disabled,uS._32(n,133).errorState,uS._32(n,133).required]);l(n,147,1,[uS._32(n,148)._control.errorState,uS._32(n,148)._control.errorState,uS._32(n,148)._canLabelFloat,uS._32(n,148)._shouldLabelFloat(),uS._32(n,148)._hideControlPlaceholder(),uS._32(n,148)._control.disabled,uS._32(n,148)._control.focused,"primary"==uS._32(n,148).color,"accent"==uS._32(n,148).color,"warn"==uS._32(n,148).color,uS._32(n,148)._shouldForward("untouched"),uS._32(n,148)._shouldForward("touched"),uS._32(n,148)._shouldForward("pristine"),uS._32(n,148)._shouldForward("dirty"),uS._32(n,148)._shouldForward("valid"),uS._32(n,148)._shouldForward("invalid"),uS._32(n,148)._shouldForward("pending")]);l(n,157,1,[uS._32(n,160).ngClassUntouched,uS._32(n,160).ngClassTouched,uS._32(n,160).ngClassPristine,uS._32(n,160).ngClassDirty,uS._32(n,160).ngClassValid,uS._32(n,160).ngClassInvalid,uS._32(n,160).ngClassPending,uS._32(n,161).id,uS._32(n,161).tabIndex,uS._32(n,161)._ariaLabel,uS._32(n,161).ariaLabelledby,uS._32(n,161).required.toString(),uS._32(n,161).disabled.toString(),uS._32(n,161).errorState,uS._32(n,161).panelOpen?uS._32(n,161)._optionIds:null,uS._32(n,161).multiple,uS._32(n,161)._ariaDescribedby||null,uS._32(n,161)._getAriaActiveDescendant(),uS._32(n,161).disabled,uS._32(n,161).errorState,uS._32(n,161).required]);l(n,168,0,uS._32(n,169)._getTabIndex(),uS._32(n,169).selected,uS._32(n,169).multiple,uS._32(n,169).active,uS._32(n,169).id,uS._32(n,169).selected.toString(),uS._32(n,169).disabled.toString(),uS._32(n,169).disabled);l(n,184,1,[uS._32(n,185)._control.errorState,uS._32(n,185)._control.errorState,uS._32(n,185)._canLabelFloat,uS._32(n,185)._shouldLabelFloat(),uS._32(n,185)._hideControlPlaceholder(),uS._32(n,185)._control.disabled,uS._32(n,185)._control.focused,"primary"==uS._32(n,185).color,"accent"==uS._32(n,185).color,"warn"==uS._32(n,185).color,uS._32(n,185)._shouldForward("untouched"),uS._32(n,185)._shouldForward("touched"),uS._32(n,185)._shouldForward("pristine"),uS._32(n,185)._shouldForward("dirty"),uS._32(n,185)._shouldForward("valid"),uS._32(n,185)._shouldForward("invalid"),uS._32(n,185)._shouldForward("pending")]);l(n,194,1,[uS._32(n,200).ngClassUntouched,uS._32(n,200).ngClassTouched,uS._32(n,200).ngClassPristine,uS._32(n,200).ngClassDirty,uS._32(n,200).ngClassValid,uS._32(n,200).ngClassInvalid,uS._32(n,200).ngClassPending,uS._32(n,201)._isServer,uS._32(n,201).id,uS._32(n,201).placeholder,uS._32(n,201).disabled,uS._32(n,201).required,uS._32(n,201).readonly,uS._32(n,201)._ariaDescribedby||null,uS._32(n,201).errorState,uS._32(n,201).required.toString()]);l(n,205,1,[uS._32(n,206)._control.errorState,uS._32(n,206)._control.errorState,uS._32(n,206)._canLabelFloat,uS._32(n,206)._shouldLabelFloat(),uS._32(n,206)._hideControlPlaceholder(),uS._32(n,206)._control.disabled,uS._32(n,206)._control.focused,"primary"==uS._32(n,206).color,"accent"==uS._32(n,206).color,"warn"==uS._32(n,206).color,uS._32(n,206)._shouldForward("untouched"),uS._32(n,206)._shouldForward("touched"),uS._32(n,206)._shouldForward("pristine"),uS._32(n,206)._shouldForward("dirty"),uS._32(n,206)._shouldForward("valid"),uS._32(n,206)._shouldForward("invalid"),uS._32(n,206)._shouldForward("pending")]);l(n,215,1,[uS._32(n,221).ngClassUntouched,uS._32(n,221).ngClassTouched,uS._32(n,221).ngClassPristine,uS._32(n,221).ngClassDirty,uS._32(n,221).ngClassValid,uS._32(n,221).ngClassInvalid,uS._32(n,221).ngClassPending,uS._32(n,222)._isServer,uS._32(n,222).id,uS._32(n,222).placeholder,uS._32(n,222).disabled,uS._32(n,222).required,uS._32(n,222).readonly,uS._32(n,222)._ariaDescribedby||null,uS._32(n,222).errorState,uS._32(n,222).required.toString()]);l(n,229,1,[uS._32(n,230)._control.errorState,uS._32(n,230)._control.errorState,uS._32(n,230)._canLabelFloat,uS._32(n,230)._shouldLabelFloat(),uS._32(n,230)._hideControlPlaceholder(),uS._32(n,230)._control.disabled,uS._32(n,230)._control.focused,"primary"==uS._32(n,230).color,"accent"==uS._32(n,230).color,"warn"==uS._32(n,230).color,uS._32(n,230)._shouldForward("untouched"),uS._32(n,230)._shouldForward("touched"),uS._32(n,230)._shouldForward("pristine"),uS._32(n,230)._shouldForward("dirty"),uS._32(n,230)._shouldForward("valid"),uS._32(n,230)._shouldForward("invalid"),uS._32(n,230)._shouldForward("pending")]);l(n,239,1,[uS._32(n,245).ngClassUntouched,uS._32(n,245).ngClassTouched,uS._32(n,245).ngClassPristine,uS._32(n,245).ngClassDirty,uS._32(n,245).ngClassValid,uS._32(n,245).ngClassInvalid,uS._32(n,245).ngClassPending,uS._32(n,246)._isServer,uS._32(n,246).id,uS._32(n,246).placeholder,uS._32(n,246).disabled,uS._32(n,246).required,uS._32(n,246).readonly,uS._32(n,246)._ariaDescribedby||null,uS._32(n,246).errorState,uS._32(n,246).required.toString()]);l(n,262,0,uS._32(n,263)._hidden)})}function Ku(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mu)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function Hu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,44,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(9,0,null,0,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,4,{_control:0}),uS._38(335544320,5,{_placeholderChild:0}),uS._38(335544320,6,{_labelChild:0}),uS._38(603979776,7,{_errorChildren:1}),uS._38(603979776,8,{_hintChildren:1}),uS._38(603979776,9,{_prefixChildren:1}),uS._38(603979776,10,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(20,16384,[[6,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Do you have any other Existing Loans"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,0,null,1,22,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,27)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,27)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,27)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.exitsCheck(e.value)&&u}return u},LO.b,LO.a)),uS._17(24,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(26,16384,null,0,xS.s,[xS.r],null,null),uS._17(27,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],null,{selectionChange:"selectionChange"}),uS._38(603979776,11,{options:1}),uS._38(603979776,12,{optionGroups:1}),uS._38(335544320,13,{customTrigger:0}),uS._37(2048,[[4,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(34,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!==uS._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,35)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(35,8437760,[[11,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,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!==uS._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,39)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(39,8437760,[[11,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,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!==uS._32(l,43)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,43)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(43,8437760,[[11,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Ku)),uS._17(49,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(52,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(53,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(55,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,cT.b,cT.a)),uS._17(56,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,119,{_control:0}),uS._38(335544320,120,{_placeholderChild:0}),uS._38(335544320,121,{_labelChild:0}),uS._38(603979776,122,{_errorChildren:1}),uS._38(603979776,123,{_hintChildren:1}),uS._38(603979776,124,{_prefixChildren:1}),uS._38(603979776,125,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(65,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!==uS._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,66)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,71)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,71)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,71)._onInput()&&u}return u},null,null)),uS._17(66,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(68,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(70,16384,null,0,xS.s,[xS.r],null,null),uS._17(71,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[119,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(76,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(77,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.currentLoans);l(n,24,0,"existing_loan"),l(n,27,0);l(n,39,0,"Yes");l(n,43,0,"No");l(n,49,0,"Yes"==e.currentLoans.controls.existing_loan.value);l(n,68,0,"currentloan_remarks");l(n,71,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,23,1,[uS._32(n,26).ngClassUntouched,uS._32(n,26).ngClassTouched,uS._32(n,26).ngClassPristine,uS._32(n,26).ngClassDirty,uS._32(n,26).ngClassValid,uS._32(n,26).ngClassInvalid,uS._32(n,26).ngClassPending,uS._32(n,27).id,uS._32(n,27).tabIndex,uS._32(n,27)._ariaLabel,uS._32(n,27).ariaLabelledby,uS._32(n,27).required.toString(),uS._32(n,27).disabled.toString(),uS._32(n,27).errorState,uS._32(n,27).panelOpen?uS._32(n,27)._optionIds:null,uS._32(n,27).multiple,uS._32(n,27)._ariaDescribedby||null,uS._32(n,27)._getAriaActiveDescendant(),uS._32(n,27).disabled,uS._32(n,27).errorState,uS._32(n,27).required]);l(n,34,0,uS._32(n,35)._getTabIndex(),uS._32(n,35).selected,uS._32(n,35).multiple,uS._32(n,35).active,uS._32(n,35).id,uS._32(n,35).selected.toString(),uS._32(n,35).disabled.toString(),uS._32(n,35).disabled);l(n,38,0,uS._32(n,39)._getTabIndex(),uS._32(n,39).selected,uS._32(n,39).multiple,uS._32(n,39).active,uS._32(n,39).id,uS._32(n,39).selected.toString(),uS._32(n,39).disabled.toString(),uS._32(n,39).disabled);l(n,42,0,uS._32(n,43)._getTabIndex(),uS._32(n,43).selected,uS._32(n,43).multiple,uS._32(n,43).active,uS._32(n,43).id,uS._32(n,43).selected.toString(),uS._32(n,43).disabled.toString(),uS._32(n,43).disabled);l(n,55,1,[uS._32(n,56)._control.errorState,uS._32(n,56)._control.errorState,uS._32(n,56)._canLabelFloat,uS._32(n,56)._shouldLabelFloat(),uS._32(n,56)._hideControlPlaceholder(),uS._32(n,56)._control.disabled,uS._32(n,56)._control.focused,"primary"==uS._32(n,56).color,"accent"==uS._32(n,56).color,"warn"==uS._32(n,56).color,uS._32(n,56)._shouldForward("untouched"),uS._32(n,56)._shouldForward("touched"),uS._32(n,56)._shouldForward("pristine"),uS._32(n,56)._shouldForward("dirty"),uS._32(n,56)._shouldForward("valid"),uS._32(n,56)._shouldForward("invalid"),uS._32(n,56)._shouldForward("pending")]);l(n,65,1,[uS._32(n,70).ngClassUntouched,uS._32(n,70).ngClassTouched,uS._32(n,70).ngClassPristine,uS._32(n,70).ngClassDirty,uS._32(n,70).ngClassValid,uS._32(n,70).ngClassInvalid,uS._32(n,70).ngClassPending,uS._32(n,71)._isServer,uS._32(n,71).id,uS._32(n,71).placeholder,uS._32(n,71).disabled,uS._32(n,71).required,uS._32(n,71).readonly,uS._32(n,71)._ariaDescribedby||null,uS._32(n,71).errorState,uS._32(n,71).required.toString()])})}function Gu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitCurrentloan(t.currentLoans.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function Yu(l){return uS._42(0,[uS._38(671088640,1,{TenureFocus:0}),(l()(),uS._18(1,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[2,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,hu)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(22,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,29).onClick()&&u}return u},jT.b,jT.a)),uS._17(29,114688,[[3,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,33).onClick()&&u}return u},jT.b,jT.a)),uS._17(33,114688,[[3,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(38,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(42,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qu)),uS._17(45,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Hu)),uS._17(48,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(51,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(52,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,126,{_mainButton:0}),uS._38(603979776,127,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(56,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(57,49152,[[126,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(58,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(59,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(62,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(63,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Gu)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,22,0,e.tab);l(n,25,0,"optblue");l(n,29,0,"0");l(n,33,0,"1");l(n,42,0,e.tab);l(n,45,0,"1");l(n,48,0,"0");l(n,57,0,"optblue");l(n,59,0,"md-camera");l(n,66,0,!e.complete_status)},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,21,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._disabled);l(n,28,0,uS._32(n,29)._disabled,uS._32(n,29).isActive,uS._32(n,29).isActive);l(n,32,0,uS._32(n,33)._disabled,uS._32(n,33).isActive,uS._32(n,33).isActive);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,58,0,uS._32(n,59)._hidden)})}function zu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Qu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Ju(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Zu(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Xu(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function lt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ju)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Zu)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Xu)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function nt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,lt)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function et(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ut(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function tt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,et)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ut)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function at(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,tt)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function it(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function ot(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Qu)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,nt)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,at)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,it)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function rt(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[13,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.company_order_id+"-"+n.context.$implicit.company_name)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.company_name)})}function _t(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["required",""],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,16,{_control:0}),uS._38(335544320,17,{_placeholderChild:0}),uS._38(335544320,18,{_labelChild:0}),uS._38(603979776,19,{_errorChildren:1}),uS._38(603979776,20,{_hintChildren:1}),uS._38(603979776,21,{_prefixChildren:1}),uS._38(603979776,22,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employer_in_brief"],["matInput",""],["placeholder","Company Profile in brief"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[16,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"employer_in_brief");l(n,18,0,"Company Profile in brief")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function dt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[26,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Higher than business vintage"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function st(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[33,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Higher than business vintage"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function ct(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[40,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Total working Experience is Lower"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function mt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,44,{_control:0}),uS._38(335544320,45,{_placeholderChild:0}),uS._38(335544320,46,{_labelChild:0}),uS._38(603979776,47,{_errorChildren:1}),uS._38(603979776,48,{_hintChildren:1}),uS._38(603979776,49,{_prefixChildren:1}),uS._38(603979776,50,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_previous_experience"],["matInput",""],["placeholder","Previous Work Experience 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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}if("change"===n){u=!1!==t.checkWorkingExperiences()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[44,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"total_business_previous_experience");l(n,18,0,"Previous Work Experience Details")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function pt(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[59,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function ft(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,33,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,52,{_control:0}),uS._38(335544320,53,{_placeholderChild:0}),uS._38(335544320,54,{_labelChild:0}),uS._38(603979776,55,{_errorChildren:1}),uS._38(603979776,56,{_hintChildren:1}),uS._38(603979776,57,{_prefixChildren:1}),uS._38(603979776,58,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","name_person_met"],["placeholder","Name of Person Met"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,18)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,18)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,18)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filtercompanyrelationship(t.employmentForm.controls.employer_name.value,e.value)&&u}return u},LO.b,LO.a)),uS._17(13,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,59,{options:1}),uS._38(603979776,60,{optionGroups:1}),uS._38(335544320,61,{customTrigger:0}),uS._37(2048,[[52,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(25,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!==uS._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(26,8437760,[[59,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,pt)),uS._17(30,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,15,0,"name_person_met");l(n,18,0,"Name of Person Met","");l(n,30,0,e.person_met_list)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,13).required?"":null,uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18).id,uS._32(n,18).tabIndex,uS._32(n,18)._ariaLabel,uS._32(n,18).ariaLabelledby,uS._32(n,18).required.toString(),uS._32(n,18).disabled.toString(),uS._32(n,18).errorState,uS._32(n,18).panelOpen?uS._32(n,18)._optionIds:null,uS._32(n,18).multiple,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18)._getAriaActiveDescendant(),uS._32(n,18).disabled,uS._32(n,18).errorState,uS._32(n,18).required]);l(n,25,0,uS._32(n,26)._getTabIndex(),uS._32(n,26).selected,uS._32(n,26).multiple,uS._32(n,26).active,uS._32(n,26).id,uS._32(n,26).selected.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).disabled)})}function ht(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,62,{_control:0}),uS._38(335544320,63,{_placeholderChild:0}),uS._38(335544320,64,{_labelChild:0}),uS._38(603979776,65,{_errorChildren:1}),uS._38(603979776,66,{_hintChildren:1}),uS._38(603979776,67,{_prefixChildren:1}),uS._38(603979776,68,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","designation_person_met"],["matInput",""],["placeholder","Designation of Person Met"],["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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,20)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[62,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,14,0,"");l(n,17,0,"designation_person_met");l(n,20,0,"Designation of Person Met","")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,14).required?"":null,uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20)._isServer,uS._32(n,20).id,uS._32(n,20).placeholder,uS._32(n,20).disabled,uS._32(n,20).required,uS._32(n,20).readonly,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20).errorState,uS._32(n,20).required.toString()])})}function gt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ft)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,ht)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,6,0,"SAL-CHQ"!=e.pd_cus_segment)},null)}function bt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,26,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Was the Employer Met"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,16,"mat-radio-group",[["class","mat-radio-group"],["formControlName","was_met"],["name","was_met"],["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)),uS._17(6,1064960,null,1,uO.b,[uS.i],{name:[0,"name"]},null),uS._38(603979776,51,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,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!==uS._32(l,15)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(15,4440064,[[51,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["YES"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,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!==uS._32(l,19)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(19,4440064,[[51,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NO"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,gt)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,"was_met");l(n,9,0,"was_met");l(n,15,0,"yes");l(n,19,0,"no");l(n,25,0,"yes"==e.employmentForm.controls.was_met.value)},function(l,n){l(n,5,0,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,14,0,uS._32(n,15).checked,uS._32(n,15).disabled,uS._32(n,15).id);l(n,18,0,uS._32(n,19).checked,uS._32(n,19).disabled,uS._32(n,19).id)})}function vt(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[74,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.mthlySlryAmtInWords)})}function yt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,25,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,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,cT.b,cT.a)),uS._17(5,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,70,{_control:0}),uS._38(335544320,71,{_placeholderChild:0}),uS._38(335544320,72,{_labelChild:0}),uS._38(603979776,73,{_errorChildren:1}),uS._38(603979776,74,{_hintChildren:1}),uS._38(603979776,75,{_prefixChildren:1}),uS._38(603979776,76,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","confirm_salary_amount"],["matInput",""],["placeholder","What is the salary amount confirmed?"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,1)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[70,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,vt)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,18,0,"confirm_salary_amount");l(n,21,0,"What is the salary amount confirmed?","number");l(n,25,0,""!=e.employmentForm.controls.confirm_salary_amount.value&&""!=e.mthlySlryAmtInWords)},function(l,n){l(n,4,1,[uS._32(n,5)._control.errorState,uS._32(n,5)._control.errorState,uS._32(n,5)._canLabelFloat,uS._32(n,5)._shouldLabelFloat(),uS._32(n,5)._hideControlPlaceholder(),uS._32(n,5)._control.disabled,uS._32(n,5)._control.focused,"primary"==uS._32(n,5).color,"accent"==uS._32(n,5).color,"warn"==uS._32(n,5).color,uS._32(n,5)._shouldForward("untouched"),uS._32(n,5)._shouldForward("touched"),uS._32(n,5)._shouldForward("pristine"),uS._32(n,5)._shouldForward("dirty"),uS._32(n,5)._shouldForward("valid"),uS._32(n,5)._shouldForward("invalid"),uS._32(n,5)._shouldForward("pending")]);l(n,14,1,[uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()])})}function Ct(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Salary amount confirmed ?"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","confirm_salary"],["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)),uS._17(6,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,69,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,14)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(14,4440064,[[69,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["YES"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(18,4440064,[[69,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NO"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,yt)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"confirm_salary");l(n,14,0,"yes");l(n,18,0,"no");l(n,23,0,"yes"==e.employmentForm.controls.confirm_salary.value)},function(l,n){l(n,5,0,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,13,0,uS._32(n,14).checked,uS._32(n,14).disabled,uS._32(n,14).id);l(n,17,0,uS._32(n,18).checked,uS._32(n,18).disabled,uS._32(n,18).id)})}function wt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Attendance register seen ?"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","attendance_seen"],["name","attendance_seen"],["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)),uS._17(6,1064960,null,1,uO.b,[uS.i],{name:[0,"name"]},null),uS._38(603979776,77,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,14)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(14,4440064,[[77,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["YES"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(18,4440064,[[77,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NO"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,6,0,"attendance_seen");l(n,9,0,"attendance_seen");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,13,0,uS._32(n,14).checked,uS._32(n,14).disabled,uS._32(n,14).id);l(n,17,0,uS._32(n,18).checked,uS._32(n,18).disabled,uS._32(n,18).id)})}function Ft(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"P",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Salary register seen ?"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","sal_reg_seen"],["name","sal_reg_seen"],["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)),uS._17(6,1064960,null,1,uO.b,[uS.i],{name:[0,"name"]},null),uS._38(603979776,78,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,14)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(14,4440064,[[78,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["YES"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(18,4440064,[[78,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NO"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,6,0,"sal_reg_seen");l(n,9,0,"sal_reg_seen");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,13,0,uS._32(n,14).checked,uS._32(n,14).disabled,uS._32(n,14).id);l(n,17,0,uS._32(n,18).checked,uS._32(n,18).disabled,uS._32(n,18).id)})}function xt(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[86,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.date,n.context.$implicit.isdisabled)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.date)})}function kt(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[96,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.date,n.context.$implicit.isdisabled)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.date)})}function St(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[103,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.grossMthlySlryAmtInWords)})}function It(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[110,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.netMthlySlryAmtInWords)})}function qt(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[117,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.cashAmtInWords)})}function Pt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[116,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value is Maximum of Net Salary"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Dt(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[124,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.bankAmtInWords)})}function Tt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[123,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value is Maximum of Net Salary"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Ot(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,127,{_control:0}),uS._38(335544320,128,{_placeholderChild:0}),uS._38(335544320,129,{_labelChild:0}),uS._38(603979776,130,{_errorChildren:1}),uS._38(603979776,131,{_hintChildren:1}),uS._38(603979776,132,{_prefixChildren:1}),uS._38(603979776,133,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","check_validated"],["placeholder","Is the Amount is Validated or Not"],["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!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,134,{options:1}),uS._38(603979776,135,{optionGroups:1}),uS._38(335544320,136,{customTrigger:0}),uS._37(2048,[[127,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[134,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","validated"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[134,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Validated"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","not validated"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(32,8437760,[[134,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Not Validated"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,13,0,"check_validated");l(n,16,0,"Is the Amount is Validated or Not");l(n,28,0,"validated");l(n,32,0,"not validated")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled);l(n,31,0,uS._32(n,32)._getTabIndex(),uS._32(n,32).selected,uS._32(n,32).multiple,uS._32(n,32).active,uS._32(n,32).id,uS._32(n,32).selected.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).disabled)})}function Lt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,137,{_control:0}),uS._38(335544320,138,{_placeholderChild:0}),uS._38(335544320,139,{_labelChild:0}),uS._38(603979776,140,{_errorChildren:1}),uS._38(603979776,141,{_hintChildren:1}),uS._38(603979776,142,{_prefixChildren:1}),uS._38(603979776,143,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_was_it_validated"],["matInput",""],["placeholder","How was it Validated"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[137,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"how_was_it_validated");l(n,18,0,"How was it Validated")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function At(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,144,{_control:0}),uS._38(335544320,145,{_placeholderChild:0}),uS._38(335544320,146,{_labelChild:0}),uS._38(603979776,147,{_errorChildren:1}),uS._38(603979776,148,{_hintChildren:1}),uS._38(603979776,149,{_prefixChildren:1}),uS._38(603979776,150,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","why_was_it_not_validated"],["matInput",""],["placeholder","Why was it not Validated"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[144,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"why_was_it_not_validated");l(n,18,0,"Why was it not Validated")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function Vt(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[155,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.bonusIncentiveAmtInWords)})}function Nt(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[165,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Wt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,158,{_control:0}),uS._38(335544320,159,{_placeholderChild:0}),uS._38(335544320,160,{_labelChild:0}),uS._38(603979776,161,{_errorChildren:1}),uS._38(603979776,162,{_hintChildren:1}),uS._38(603979776,163,{_prefixChildren:1}),uS._38(603979776,164,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","bonus_frequency"],["placeholder","Bonus 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!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,165,{options:1}),uS._38(603979776,166,{optionGroups:1}),uS._38(335544320,167,{customTrigger:0}),uS._37(2048,[[158,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[165,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Nt)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"bonus_frequency");l(n,16,0,"Bonus Frequency");l(n,28,0,e.frequency_data)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled)})}function Et(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,40,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,168,{_control:0}),uS._38(335544320,169,{_placeholderChild:0}),uS._38(335544320,170,{_labelChild:0}),uS._38(603979776,171,{_errorChildren:1}),uS._38(603979776,172,{_hintChildren:1}),uS._38(603979776,173,{_prefixChildren:1}),uS._38(603979776,174,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","bonus_type"],["placeholder","Type of Bonus"],["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!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,175,{options:1}),uS._38(603979776,176,{optionGroups:1}),uS._38(335544320,177,{customTrigger:0}),uS._37(2048,[[168,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[175,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","fixed"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[175,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Fixed"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","variable depending on performance"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(32,8437760,[[175,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Variable\n depending on performance"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(35,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!==uS._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,36)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(36,8437760,[[175,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Others"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,13,0,"bonus_type");l(n,16,0,"Type of Bonus");l(n,28,0,"fixed");l(n,32,0,"variable depending on performance");l(n,36,0,"others")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled);l(n,31,0,uS._32(n,32)._getTabIndex(),uS._32(n,32).selected,uS._32(n,32).multiple,uS._32(n,32).active,uS._32(n,32).id,uS._32(n,32).selected.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).disabled);l(n,35,0,uS._32(n,36)._getTabIndex(),uS._32(n,36).selected,uS._32(n,36).multiple,uS._32(n,36).active,uS._32(n,36).id,uS._32(n,36).selected.toString(),uS._32(n,36).disabled.toString(),uS._32(n,36).disabled)})}function jt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,178,{_control:0}),uS._38(335544320,179,{_placeholderChild:0}),uS._38(335544320,180,{_labelChild:0}),uS._38(603979776,181,{_errorChildren:1}),uS._38(603979776,182,{_hintChildren:1}),uS._38(603979776,183,{_prefixChildren:1}),uS._38(603979776,184,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bonus_type_other"],["matInput",""],["placeholder","Bonus Type 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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[178,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"bonus_type_other");l(n,18,0,"Bonus Type Others")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function $t(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,441,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,134,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._18(9,0,null,0,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(12,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,6,{_control:0}),uS._38(335544320,7,{_placeholderChild:0}),uS._38(335544320,8,{_labelChild:0}),uS._38(603979776,9,{_errorChildren:1}),uS._38(603979776,10,{_hintChildren:1}),uS._38(603979776,11,{_prefixChildren:1}),uS._38(603979776,12,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","employer_name"],["placeholder","Name of Employer"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,26)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkWithExistYear(e.value)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(23,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(25,16384,null,0,xS.s,[xS.r],null,null),uS._17(26,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,13,{options:1}),uS._38(603979776,14,{optionGroups:1}),uS._38(335544320,15,{customTrigger:0}),uS._37(2048,[[6,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,rt)),uS._17(33,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,_t)),uS._17(39,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n\n\n "])),(l()(),uS._18(41,0,null,0,2,"mat-label",[],null,null,null,null,null)),uS._17(42,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Since how long working with this employer?"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(45,0,null,0,49,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(47,0,null,null,22,"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,cT.b,cT.a)),uS._17(48,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,23,{_control:0}),uS._38(335544320,24,{_placeholderChild:0}),uS._38(335544320,25,{_labelChild:0}),uS._38(603979776,26,{_errorChildren:1}),uS._38(603979776,27,{_hintChildren:1}),uS._38(603979776,28,{_prefixChildren:1}),uS._38(603979776,29,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(57,0,[[3,0],["yearFocus",1]],1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_year"],["matInput",""],["min","0"],["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!==uS._32(l,58)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,58).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,58)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,58)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,59).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,59).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,59).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,64)._onInput()&&u}return u},null,null)),uS._17(58,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(59,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(61,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(63,16384,null,0,xS.s,[xS.r],null,null),uS._17(64,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[23,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,dt)),uS._17(68,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n    \n "])),(l()(),uS._18(71,0,null,null,22,"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,cT.b,cT.a)),uS._17(72,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,30,{_control:0}),uS._38(335544320,31,{_placeholderChild:0}),uS._38(335544320,32,{_labelChild:0}),uS._38(603979776,33,{_errorChildren:1}),uS._38(603979776,34,{_hintChildren:1}),uS._38(603979776,35,{_prefixChildren:1}),uS._38(603979776,36,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(81,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_month"],["matInput",""],["min","0"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,82)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,82).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,82)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,82)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,83).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,83).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,83).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,88)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,88)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,88)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(e.target.value)&&u}return u},null,null)),uS._17(82,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(83,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(85,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(87,16384,null,0,xS.s,[xS.r],null,null),uS._17(88,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[30,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,st)),uS._17(92,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._18(96,0,null,0,28,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(98,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,cT.b,cT.a)),uS._17(99,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,37,{_control:0}),uS._38(335544320,38,{_placeholderChild:0}),uS._38(335544320,39,{_labelChild:0}),uS._38(603979776,40,{_errorChildren:1}),uS._38(603979776,41,{_hintChildren:1}),uS._38(603979776,42,{_prefixChildren:1}),uS._38(603979776,43,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(108,0,[[1,0],["workExp",1]],1,8,"input",[["OnlyNumber",""],["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_experience"],["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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,109)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,109).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,109)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,109)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,110).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,110).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,110).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,115)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,115)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,115)._onInput()&&u}if("change"===n){u=!1!==t.checkWorkingExperiences()&&u}return u},null,null)),uS._17(109,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(110,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(112,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(114,16384,null,0,xS.s,[xS.r],null,null),uS._17(115,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[37,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,ct)),uS._17(122,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,mt)),uS._17(127,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,bt)),uS._17(130,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,Ct)),uS._17(133,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,wt)),uS._17(136,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,Ft)),uS._17(139,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(142,0,null,null,260,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(143,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(145,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Salary Details"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(148,0,null,0,253,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(149,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(151,0,null,null,64,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(153,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Date of Salary"])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(156,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 35%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(157,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,79,{_control:0}),uS._38(335544320,80,{_placeholderChild:0}),uS._38(335544320,81,{_labelChild:0}),uS._38(603979776,82,{_errorChildren:1}),uS._38(603979776,83,{_hintChildren:1}),uS._38(603979776,84,{_prefixChildren:1}),uS._38(603979776,85,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(166,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","from_date_the_salary_is_rcv"],["placeholder","From"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,170)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,170)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,170)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.formDate(e.value)&&u}return u},LO.b,LO.a)),uS._17(167,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(169,16384,null,0,xS.s,[xS.r],null,null),uS._17(170,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,86,{options:1}),uS._38(603979776,87,{optionGroups:1}),uS._38(335544320,88,{customTrigger:0}),uS._37(2048,[[79,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(177,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!==uS._32(l,178)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,178)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(178,8437760,[[86,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,xt)),uS._17(182,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n    \n "])),(l()(),uS._18(186,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 35%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(187,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,89,{_control:0}),uS._38(335544320,90,{_placeholderChild:0}),uS._38(335544320,91,{_labelChild:0}),uS._38(603979776,92,{_errorChildren:1}),uS._38(603979776,93,{_hintChildren:1}),uS._38(603979776,94,{_prefixChildren:1}),uS._38(603979776,95,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(196,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","to_date_the_salary_is_rcv"],["placeholder","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!==uS._32(l,200)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,200)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,200)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(197,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(199,16384,null,0,xS.s,[xS.r],null,null),uS._17(200,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,96,{options:1}),uS._38(603979776,97,{optionGroups:1}),uS._38(335544320,98,{customTrigger:0}),uS._37(2048,[[89,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(207,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!==uS._32(l,208)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,208)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(208,8437760,[[96,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,kt)),uS._17(212,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(217,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(220,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,99,{_control:0}),uS._38(335544320,100,{_placeholderChild:0}),uS._38(335544320,101,{_labelChild:0}),uS._38(603979776,102,{_errorChildren:1}),uS._38(603979776,103,{_hintChildren:1}),uS._38(603979776,104,{_prefixChildren:1}),uS._38(603979776,105,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(229,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","gross_monthly_salary"],["matInput",""],["placeholder","Gross Monthly Salary"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,230)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,230).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,230)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,230)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,231).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,231).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,231).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,238)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,238)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,238)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,2)&&u}return u},null,null)),uS._17(230,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(231,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(232,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(235,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(237,16384,null,0,xS.s,[xS.r],null,null),uS._17(238,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[99,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,St)),uS._17(242,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(246,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(248,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,cT.b,cT.a)),uS._17(249,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,106,{_control:0}),uS._38(335544320,107,{_placeholderChild:0}),uS._38(335544320,108,{_labelChild:0}),uS._38(603979776,109,{_errorChildren:1}),uS._38(603979776,110,{_hintChildren:1}),uS._38(603979776,111,{_prefixChildren:1}),uS._38(603979776,112,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(258,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","net_monthly_salary"],["matInput",""],["placeholder","Net Monthly Salary"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,259)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,259).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,259)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,259)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,260).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,260).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,260).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,267)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,267)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,267)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,3)&&u}return u},null,null)),uS._17(259,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(260,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(261,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(264,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(266,16384,null,0,xS.s,[xS.r],null,null),uS._17(267,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[106,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,It)),uS._17(271,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(275,0,null,null,28,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(277,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,cT.b,cT.a)),uS._17(278,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,113,{_control:0}),uS._38(335544320,114,{_placeholderChild:0}),uS._38(335544320,115,{_labelChild:0}),uS._38(603979776,116,{_errorChildren:1}),uS._38(603979776,117,{_hintChildren:1}),uS._38(603979776,118,{_prefixChildren:1}),uS._38(603979776,119,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(287,0,[[2,0],["cashPaidFocus",1]],1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_paid_in_cash"],["matInput",""],["placeholder","Amount paid in 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,"keyup"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,288)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,288).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,288)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,288)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,289).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,289).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,289).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,294)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,294)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,294)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,6)&&u}if("change"===n){u=!1!==t.ValidateNetSalary()&&u}return u},null,null)),uS._17(288,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(289,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(291,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(293,16384,null,0,xS.s,[xS.r],null,null),uS._17(294,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[113,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,qt)),uS._17(298,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Pt)),uS._17(301,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(305,0,null,null,28,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(307,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,cT.b,cT.a)),uS._17(308,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,120,{_control:0}),uS._38(335544320,121,{_placeholderChild:0}),uS._38(335544320,122,{_labelChild:0}),uS._38(603979776,123,{_errorChildren:1}),uS._38(603979776,124,{_hintChildren:1}),uS._38(603979776,125,{_prefixChildren:1}),uS._38(603979776,126,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(317,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_paid_through_bank"],["matInput",""],["placeholder","Amount paid through 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,"keyup"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,318)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,318).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,318)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,318)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,319).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,319).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,319).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,324)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,324)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,324)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,5)&&u}if("change"===n){u=!1!==t.ValidateNetSalary()&&u}return u},null,null)),uS._17(318,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(319,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(321,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(323,16384,null,0,xS.s,[xS.r],null,null),uS._17(324,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[120,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Dt)),uS._17(328,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Tt)),uS._17(331,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Ot)),uS._17(336,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Lt)),uS._17(339,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,At)),uS._17(342,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._18(344,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(346,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,cT.b,cT.a)),uS._17(347,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,151,{_control:0}),uS._38(335544320,152,{_placeholderChild:0}),uS._38(335544320,153,{_labelChild:0}),uS._38(603979776,154,{_errorChildren:1}),uS._38(603979776,155,{_hintChildren:1}),uS._38(603979776,156,{_prefixChildren:1}),uS._38(603979776,157,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(356,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bonus_incentive"],["matInput",""],["placeholder","Bonus or Incentive"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,357)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,357).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,357)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,357)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,358).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,358).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,358).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,365)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,365)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,365)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,4)&&u}return u},null,null)),uS._17(357,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(358,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(359,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(362,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(364,16384,null,0,xS.s,[xS.r],null,null),uS._17(365,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[151,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Vt)),uS._17(369,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Wt)),uS._17(374,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Et)),uS._17(377,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,jt)),uS._17(380,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(382,0,null,null,1,"P",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Is there any delay in receiving the salary"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(385,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","any_delays"],["name","any_delays"],["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)),uS._17(386,1064960,null,1,uO.b,[uS.i],{name:[0,"name"]},null),uS._38(603979776,185,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(389,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(391,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(393,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!==uS._32(l,394)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(394,4440064,[[185,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["YES"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(397,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!==uS._32(l,398)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(398,4440064,[[185,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NO"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(404,0,null,null,32,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(405,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(407,0,null,0,28,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(409,0,null,null,25,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(411,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,cT.b,cT.a)),uS._17(412,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,186,{_control:0}),uS._38(335544320,187,{_placeholderChild:0}),uS._38(335544320,188,{_labelChild:0}),uS._38(603979776,189,{_errorChildren:1}),uS._38(603979776,190,{_hintChildren:1}),uS._38(603979776,191,{_prefixChildren:1}),uS._38(603979776,192,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(421,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(422,16384,[[188,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(425,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employment_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!==uS._32(l,426)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,426).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,426)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,426)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,431)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,431)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,431)._onInput()&&u}return u},null,null)),uS._17(426,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(428,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(430,16384,null,0,xS.s,[xS.r],null,null),uS._17(431,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[186,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(438,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(439,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,2,0,e.employmentForm);l(n,23,0,"employer_name");l(n,26,0,"Name of Employer");l(n,33,0,e.company_list);l(n,39,0,""!=e.employmentForm.controls.employer_name.value);l(n,61,0,"how_long_year");l(n,64,0,"Year","number");l(n,68,0,e.employmentForm.controls.how_long_year.hasError("max"));l(n,85,0,"how_long_month");l(n,88,0,"Month","number");l(n,92,0,e.employmentForm.controls.how_long_month.hasError("max"));l(n,112,0,"total_business_experience");l(n,115,0,"Total Work Experience","number");l(n,122,0,e.employmentForm.controls.total_business_experience.hasError("min"));l(n,127,0,e.workExperienceFlag);l(n,130,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,133,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,136,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,139,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,167,0,"from_date_the_salary_is_rcv");l(n,170,0,"From");l(n,182,0,e.dateonly);l(n,197,0,"to_date_the_salary_is_rcv");l(n,200,0,"To");l(n,212,0,e.todate);l(n,232,0,"");l(n,235,0,"gross_monthly_salary");l(n,238,0,"Gross Monthly Salary","","number");l(n,242,0,""!=e.employmentForm.controls.gross_monthly_salary.value&&""!=e.grossMthlySlryAmtInWords);l(n,261,0,"");l(n,264,0,"net_monthly_salary");l(n,267,0,"Net Monthly Salary","","number");l(n,271,0,""!=e.employmentForm.value.net_monthly_salary&&""!=e.netMthlySlryAmtInWords);l(n,291,0,"amount_paid_in_cash");l(n,294,0,"Amount paid in Cash","number");l(n,298,0,""!=e.employmentForm.controls.amount_paid_in_cash.value&&""!=e.cashAmtInWords);l(n,301,0,e.employmentForm.controls.amount_paid_in_cash.hasError("max"));l(n,321,0,"amount_paid_through_bank");l(n,324,0,"Amount paid through Bank","number");l(n,328,0,""!=e.employmentForm.controls.amount_paid_through_bank.value&&""!=e.bankAmtInWords);l(n,331,0,e.employmentForm.controls.amount_paid_through_bank.hasError("max"));l(n,336,0,""!=e.employmentForm.controls.amount_paid_in_cash.value&&0!=e.employmentForm.controls.amount_paid_in_cash.value);l(n,339,0,"validated"==e.employmentForm.controls.check_validated.value);l(n,342,0,"not validated"==e.employmentForm.controls.check_validated.value);l(n,359,0,"");l(n,362,0,"bonus_incentive");l(n,365,0,"Bonus or Incentive","","number");l(n,369,0,""!=e.employmentForm.controls.bonus_incentive.value&&""!=e.bonusIncentiveAmtInWords);l(n,374,0,""!=e.employmentForm.controls.bonus_incentive.value&&"0"!=e.employmentForm.controls.bonus_incentive.value);l(n,377,0,""!=e.employmentForm.controls.bonus_incentive.value&&"0"!=e.employmentForm.controls.bonus_incentive.value);l(n,380,0,"others"==e.employmentForm.controls.bonus_type.value);l(n,386,0,"any_delays");l(n,389,0,"any_delays");l(n,394,0,"yes");l(n,398,0,"no");l(n,428,0,"employment_remarks");l(n,431,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,11,1,[uS._32(n,12)._control.errorState,uS._32(n,12)._control.errorState,uS._32(n,12)._canLabelFloat,uS._32(n,12)._shouldLabelFloat(),uS._32(n,12)._hideControlPlaceholder(),uS._32(n,12)._control.disabled,uS._32(n,12)._control.focused,"primary"==uS._32(n,12).color,"accent"==uS._32(n,12).color,"warn"==uS._32(n,12).color,uS._32(n,12)._shouldForward("untouched"),uS._32(n,12)._shouldForward("touched"),uS._32(n,12)._shouldForward("pristine"),uS._32(n,12)._shouldForward("dirty"),uS._32(n,12)._shouldForward("valid"),uS._32(n,12)._shouldForward("invalid"),uS._32(n,12)._shouldForward("pending")]);l(n,21,1,[uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending,uS._32(n,26).id,uS._32(n,26).tabIndex,uS._32(n,26)._ariaLabel,uS._32(n,26).ariaLabelledby,uS._32(n,26).required.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).errorState,uS._32(n,26).panelOpen?uS._32(n,26)._optionIds:null,uS._32(n,26).multiple,uS._32(n,26)._ariaDescribedby||null,uS._32(n,26)._getAriaActiveDescendant(),uS._32(n,26).disabled,uS._32(n,26).errorState,uS._32(n,26).required]);l(n,47,1,[uS._32(n,48)._control.errorState,uS._32(n,48)._control.errorState,uS._32(n,48)._canLabelFloat,uS._32(n,48)._shouldLabelFloat(),uS._32(n,48)._hideControlPlaceholder(),uS._32(n,48)._control.disabled,uS._32(n,48)._control.focused,"primary"==uS._32(n,48).color,"accent"==uS._32(n,48).color,"warn"==uS._32(n,48).color,uS._32(n,48)._shouldForward("untouched"),uS._32(n,48)._shouldForward("touched"),uS._32(n,48)._shouldForward("pristine"),uS._32(n,48)._shouldForward("dirty"),uS._32(n,48)._shouldForward("valid"),uS._32(n,48)._shouldForward("invalid"),uS._32(n,48)._shouldForward("pending")]);l(n,57,1,[uS._32(n,63).ngClassUntouched,uS._32(n,63).ngClassTouched,uS._32(n,63).ngClassPristine,uS._32(n,63).ngClassDirty,uS._32(n,63).ngClassValid,uS._32(n,63).ngClassInvalid,uS._32(n,63).ngClassPending,uS._32(n,64)._isServer,uS._32(n,64).id,uS._32(n,64).placeholder,uS._32(n,64).disabled,uS._32(n,64).required,uS._32(n,64).readonly,uS._32(n,64)._ariaDescribedby||null,uS._32(n,64).errorState,uS._32(n,64).required.toString()]);l(n,71,1,[uS._32(n,72)._control.errorState,uS._32(n,72)._control.errorState,uS._32(n,72)._canLabelFloat,uS._32(n,72)._shouldLabelFloat(),uS._32(n,72)._hideControlPlaceholder(),uS._32(n,72)._control.disabled,uS._32(n,72)._control.focused,"primary"==uS._32(n,72).color,"accent"==uS._32(n,72).color,"warn"==uS._32(n,72).color,uS._32(n,72)._shouldForward("untouched"),uS._32(n,72)._shouldForward("touched"),uS._32(n,72)._shouldForward("pristine"),uS._32(n,72)._shouldForward("dirty"),uS._32(n,72)._shouldForward("valid"),uS._32(n,72)._shouldForward("invalid"),uS._32(n,72)._shouldForward("pending")]);l(n,81,1,[uS._32(n,87).ngClassUntouched,uS._32(n,87).ngClassTouched,uS._32(n,87).ngClassPristine,uS._32(n,87).ngClassDirty,uS._32(n,87).ngClassValid,uS._32(n,87).ngClassInvalid,uS._32(n,87).ngClassPending,uS._32(n,88)._isServer,uS._32(n,88).id,uS._32(n,88).placeholder,uS._32(n,88).disabled,uS._32(n,88).required,uS._32(n,88).readonly,uS._32(n,88)._ariaDescribedby||null,uS._32(n,88).errorState,uS._32(n,88).required.toString()]);l(n,98,1,[uS._32(n,99)._control.errorState,uS._32(n,99)._control.errorState,uS._32(n,99)._canLabelFloat,uS._32(n,99)._shouldLabelFloat(),uS._32(n,99)._hideControlPlaceholder(),uS._32(n,99)._control.disabled,uS._32(n,99)._control.focused,"primary"==uS._32(n,99).color,"accent"==uS._32(n,99).color,"warn"==uS._32(n,99).color,uS._32(n,99)._shouldForward("untouched"),uS._32(n,99)._shouldForward("touched"),uS._32(n,99)._shouldForward("pristine"),uS._32(n,99)._shouldForward("dirty"),uS._32(n,99)._shouldForward("valid"),uS._32(n,99)._shouldForward("invalid"),uS._32(n,99)._shouldForward("pending")]);l(n,108,1,[uS._32(n,114).ngClassUntouched,uS._32(n,114).ngClassTouched,uS._32(n,114).ngClassPristine,uS._32(n,114).ngClassDirty,uS._32(n,114).ngClassValid,uS._32(n,114).ngClassInvalid,uS._32(n,114).ngClassPending,uS._32(n,115)._isServer,uS._32(n,115).id,uS._32(n,115).placeholder,uS._32(n,115).disabled,uS._32(n,115).required,uS._32(n,115).readonly,uS._32(n,115)._ariaDescribedby||null,uS._32(n,115).errorState,uS._32(n,115).required.toString()]);l(n,156,1,[uS._32(n,157)._control.errorState,uS._32(n,157)._control.errorState,uS._32(n,157)._canLabelFloat,uS._32(n,157)._shouldLabelFloat(),uS._32(n,157)._hideControlPlaceholder(),uS._32(n,157)._control.disabled,uS._32(n,157)._control.focused,"primary"==uS._32(n,157).color,"accent"==uS._32(n,157).color,"warn"==uS._32(n,157).color,uS._32(n,157)._shouldForward("untouched"),uS._32(n,157)._shouldForward("touched"),uS._32(n,157)._shouldForward("pristine"),uS._32(n,157)._shouldForward("dirty"),uS._32(n,157)._shouldForward("valid"),uS._32(n,157)._shouldForward("invalid"),uS._32(n,157)._shouldForward("pending")]);l(n,166,1,[uS._32(n,169).ngClassUntouched,uS._32(n,169).ngClassTouched,uS._32(n,169).ngClassPristine,uS._32(n,169).ngClassDirty,uS._32(n,169).ngClassValid,uS._32(n,169).ngClassInvalid,uS._32(n,169).ngClassPending,uS._32(n,170).id,uS._32(n,170).tabIndex,uS._32(n,170)._ariaLabel,uS._32(n,170).ariaLabelledby,uS._32(n,170).required.toString(),uS._32(n,170).disabled.toString(),uS._32(n,170).errorState,uS._32(n,170).panelOpen?uS._32(n,170)._optionIds:null,uS._32(n,170).multiple,uS._32(n,170)._ariaDescribedby||null,uS._32(n,170)._getAriaActiveDescendant(),uS._32(n,170).disabled,uS._32(n,170).errorState,uS._32(n,170).required]);l(n,177,0,uS._32(n,178)._getTabIndex(),uS._32(n,178).selected,uS._32(n,178).multiple,uS._32(n,178).active,uS._32(n,178).id,uS._32(n,178).selected.toString(),uS._32(n,178).disabled.toString(),uS._32(n,178).disabled);l(n,186,1,[uS._32(n,187)._control.errorState,uS._32(n,187)._control.errorState,uS._32(n,187)._canLabelFloat,uS._32(n,187)._shouldLabelFloat(),uS._32(n,187)._hideControlPlaceholder(),uS._32(n,187)._control.disabled,uS._32(n,187)._control.focused,"primary"==uS._32(n,187).color,"accent"==uS._32(n,187).color,"warn"==uS._32(n,187).color,uS._32(n,187)._shouldForward("untouched"),uS._32(n,187)._shouldForward("touched"),uS._32(n,187)._shouldForward("pristine"),uS._32(n,187)._shouldForward("dirty"),uS._32(n,187)._shouldForward("valid"),uS._32(n,187)._shouldForward("invalid"),uS._32(n,187)._shouldForward("pending")]);l(n,196,1,[uS._32(n,199).ngClassUntouched,uS._32(n,199).ngClassTouched,uS._32(n,199).ngClassPristine,uS._32(n,199).ngClassDirty,uS._32(n,199).ngClassValid,uS._32(n,199).ngClassInvalid,uS._32(n,199).ngClassPending,uS._32(n,200).id,uS._32(n,200).tabIndex,uS._32(n,200)._ariaLabel,uS._32(n,200).ariaLabelledby,uS._32(n,200).required.toString(),uS._32(n,200).disabled.toString(),uS._32(n,200).errorState,uS._32(n,200).panelOpen?uS._32(n,200)._optionIds:null,uS._32(n,200).multiple,uS._32(n,200)._ariaDescribedby||null,uS._32(n,200)._getAriaActiveDescendant(),uS._32(n,200).disabled,uS._32(n,200).errorState,uS._32(n,200).required]);l(n,207,0,uS._32(n,208)._getTabIndex(),uS._32(n,208).selected,uS._32(n,208).multiple,uS._32(n,208).active,uS._32(n,208).id,uS._32(n,208).selected.toString(),uS._32(n,208).disabled.toString(),uS._32(n,208).disabled);l(n,219,1,[uS._32(n,220)._control.errorState,uS._32(n,220)._control.errorState,uS._32(n,220)._canLabelFloat,uS._32(n,220)._shouldLabelFloat(),uS._32(n,220)._hideControlPlaceholder(),uS._32(n,220)._control.disabled,uS._32(n,220)._control.focused,"primary"==uS._32(n,220).color,"accent"==uS._32(n,220).color,"warn"==uS._32(n,220).color,uS._32(n,220)._shouldForward("untouched"),uS._32(n,220)._shouldForward("touched"),uS._32(n,220)._shouldForward("pristine"),uS._32(n,220)._shouldForward("dirty"),uS._32(n,220)._shouldForward("valid"),uS._32(n,220)._shouldForward("invalid"),uS._32(n,220)._shouldForward("pending")]);l(n,229,1,[uS._32(n,232).required?"":null,uS._32(n,237).ngClassUntouched,uS._32(n,237).ngClassTouched,uS._32(n,237).ngClassPristine,uS._32(n,237).ngClassDirty,uS._32(n,237).ngClassValid,uS._32(n,237).ngClassInvalid,uS._32(n,237).ngClassPending,uS._32(n,238)._isServer,uS._32(n,238).id,uS._32(n,238).placeholder,uS._32(n,238).disabled,uS._32(n,238).required,uS._32(n,238).readonly,uS._32(n,238)._ariaDescribedby||null,uS._32(n,238).errorState,uS._32(n,238).required.toString()]);l(n,248,1,[uS._32(n,249)._control.errorState,uS._32(n,249)._control.errorState,uS._32(n,249)._canLabelFloat,uS._32(n,249)._shouldLabelFloat(),uS._32(n,249)._hideControlPlaceholder(),uS._32(n,249)._control.disabled,uS._32(n,249)._control.focused,"primary"==uS._32(n,249).color,"accent"==uS._32(n,249).color,"warn"==uS._32(n,249).color,uS._32(n,249)._shouldForward("untouched"),uS._32(n,249)._shouldForward("touched"),uS._32(n,249)._shouldForward("pristine"),uS._32(n,249)._shouldForward("dirty"),uS._32(n,249)._shouldForward("valid"),uS._32(n,249)._shouldForward("invalid"),uS._32(n,249)._shouldForward("pending")]);l(n,258,1,[uS._32(n,261).required?"":null,uS._32(n,266).ngClassUntouched,uS._32(n,266).ngClassTouched,uS._32(n,266).ngClassPristine,uS._32(n,266).ngClassDirty,uS._32(n,266).ngClassValid,uS._32(n,266).ngClassInvalid,uS._32(n,266).ngClassPending,uS._32(n,267)._isServer,uS._32(n,267).id,uS._32(n,267).placeholder,uS._32(n,267).disabled,uS._32(n,267).required,uS._32(n,267).readonly,uS._32(n,267)._ariaDescribedby||null,uS._32(n,267).errorState,uS._32(n,267).required.toString()]);l(n,277,1,[uS._32(n,278)._control.errorState,uS._32(n,278)._control.errorState,uS._32(n,278)._canLabelFloat,uS._32(n,278)._shouldLabelFloat(),uS._32(n,278)._hideControlPlaceholder(),uS._32(n,278)._control.disabled,uS._32(n,278)._control.focused,"primary"==uS._32(n,278).color,"accent"==uS._32(n,278).color,"warn"==uS._32(n,278).color,uS._32(n,278)._shouldForward("untouched"),uS._32(n,278)._shouldForward("touched"),uS._32(n,278)._shouldForward("pristine"),uS._32(n,278)._shouldForward("dirty"),uS._32(n,278)._shouldForward("valid"),uS._32(n,278)._shouldForward("invalid"),uS._32(n,278)._shouldForward("pending")]);l(n,287,1,[uS._32(n,293).ngClassUntouched,uS._32(n,293).ngClassTouched,uS._32(n,293).ngClassPristine,uS._32(n,293).ngClassDirty,uS._32(n,293).ngClassValid,uS._32(n,293).ngClassInvalid,uS._32(n,293).ngClassPending,uS._32(n,294)._isServer,uS._32(n,294).id,uS._32(n,294).placeholder,uS._32(n,294).disabled,uS._32(n,294).required,uS._32(n,294).readonly,uS._32(n,294)._ariaDescribedby||null,uS._32(n,294).errorState,uS._32(n,294).required.toString()]);l(n,307,1,[uS._32(n,308)._control.errorState,uS._32(n,308)._control.errorState,uS._32(n,308)._canLabelFloat,uS._32(n,308)._shouldLabelFloat(),uS._32(n,308)._hideControlPlaceholder(),uS._32(n,308)._control.disabled,uS._32(n,308)._control.focused,"primary"==uS._32(n,308).color,"accent"==uS._32(n,308).color,"warn"==uS._32(n,308).color,uS._32(n,308)._shouldForward("untouched"),uS._32(n,308)._shouldForward("touched"),uS._32(n,308)._shouldForward("pristine"),uS._32(n,308)._shouldForward("dirty"),uS._32(n,308)._shouldForward("valid"),uS._32(n,308)._shouldForward("invalid"),uS._32(n,308)._shouldForward("pending")]);l(n,317,1,[uS._32(n,323).ngClassUntouched,uS._32(n,323).ngClassTouched,uS._32(n,323).ngClassPristine,uS._32(n,323).ngClassDirty,uS._32(n,323).ngClassValid,uS._32(n,323).ngClassInvalid,uS._32(n,323).ngClassPending,uS._32(n,324)._isServer,uS._32(n,324).id,uS._32(n,324).placeholder,uS._32(n,324).disabled,uS._32(n,324).required,uS._32(n,324).readonly,uS._32(n,324)._ariaDescribedby||null,uS._32(n,324).errorState,uS._32(n,324).required.toString()]);l(n,346,1,[uS._32(n,347)._control.errorState,uS._32(n,347)._control.errorState,uS._32(n,347)._canLabelFloat,uS._32(n,347)._shouldLabelFloat(),uS._32(n,347)._hideControlPlaceholder(),uS._32(n,347)._control.disabled,uS._32(n,347)._control.focused,"primary"==uS._32(n,347).color,"accent"==uS._32(n,347).color,"warn"==uS._32(n,347).color,uS._32(n,347)._shouldForward("untouched"),uS._32(n,347)._shouldForward("touched"),uS._32(n,347)._shouldForward("pristine"),uS._32(n,347)._shouldForward("dirty"),uS._32(n,347)._shouldForward("valid"),uS._32(n,347)._shouldForward("invalid"),uS._32(n,347)._shouldForward("pending")]);l(n,356,1,[uS._32(n,359).required?"":null,uS._32(n,364).ngClassUntouched,uS._32(n,364).ngClassTouched,uS._32(n,364).ngClassPristine,uS._32(n,364).ngClassDirty,uS._32(n,364).ngClassValid,uS._32(n,364).ngClassInvalid,uS._32(n,364).ngClassPending,uS._32(n,365)._isServer,uS._32(n,365).id,uS._32(n,365).placeholder,uS._32(n,365).disabled,uS._32(n,365).required,uS._32(n,365).readonly,uS._32(n,365)._ariaDescribedby||null,uS._32(n,365).errorState,uS._32(n,365).required.toString()]);l(n,385,0,uS._32(n,391).ngClassUntouched,uS._32(n,391).ngClassTouched,uS._32(n,391).ngClassPristine,uS._32(n,391).ngClassDirty,uS._32(n,391).ngClassValid,uS._32(n,391).ngClassInvalid,uS._32(n,391).ngClassPending);l(n,393,0,uS._32(n,394).checked,uS._32(n,394).disabled,uS._32(n,394).id);l(n,397,0,uS._32(n,398).checked,uS._32(n,398).disabled,uS._32(n,398).id);l(n,411,1,[uS._32(n,412)._control.errorState,uS._32(n,412)._control.errorState,uS._32(n,412)._canLabelFloat,uS._32(n,412)._shouldLabelFloat(),uS._32(n,412)._hideControlPlaceholder(),uS._32(n,412)._control.disabled,uS._32(n,412)._control.focused,"primary"==uS._32(n,412).color,"accent"==uS._32(n,412).color,"warn"==uS._32(n,412).color,uS._32(n,412)._shouldForward("untouched"),uS._32(n,412)._shouldForward("touched"),uS._32(n,412)._shouldForward("pristine"),uS._32(n,412)._shouldForward("dirty"),uS._32(n,412)._shouldForward("valid"),uS._32(n,412)._shouldForward("invalid"),uS._32(n,412)._shouldForward("pending")]);l(n,425,1,[uS._32(n,430).ngClassUntouched,uS._32(n,430).ngClassTouched,uS._32(n,430).ngClassPristine,uS._32(n,430).ngClassDirty,uS._32(n,430).ngClassValid,uS._32(n,430).ngClassInvalid,uS._32(n,430).ngClassPending,uS._32(n,431)._isServer,uS._32(n,431).id,uS._32(n,431).placeholder,uS._32(n,431).disabled,uS._32(n,431).required,uS._32(n,431).readonly,uS._32(n,431)._ariaDescribedby||null,uS._32(n,431).errorState,uS._32(n,431).required.toString()])})}function Bt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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.saveEmpInfo()&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Rt(l){return uS._42(0,[uS._34(0,wI.u,[]),uS._38(671088640,1,{expFocus:0}),uS._38(671088640,2,{inputCashPaidFocus:0}),uS._38(671088640,3,{inputYearFocus:0}),(l()(),uS._18(4,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(5,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(8,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(10,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!==uS._32(l,12).toggle()&&u}return u},AT.b,AT.a)),uS._17(11,1097728,[[4,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(12,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(13,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,4,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(17,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,zu)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(24,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(25,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,5,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,32).onClick()&&u}return u},jT.b,jT.a)),uS._17(32,114688,[[5,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(35,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,36).onClick()&&u}return u},jT.b,jT.a)),uS._17(36,114688,[[5,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(41,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(42,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(44,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(45,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ot)),uS._17(48,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,$t)),uS._17(51,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(54,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(55,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,193,{_mainButton:0}),uS._38(603979776,194,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(59,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(60,49152,[[193,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(61,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(62,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(65,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(66,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Bt)),uS._17(69,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,8,0,"optblue");l(n,12,0,"");l(n,17,0,"menu");l(n,21,0,!e.viewchange);l(n,25,0,e.tab);l(n,28,0,"optblue");l(n,32,0,"0");l(n,36,0,"1");l(n,45,0,e.tab);l(n,48,0,"1");l(n,51,0,"0");l(n,60,0,"optblue");l(n,62,0,"md-camera");l(n,69,0,!e.complete_status)},function(l,n){l(n,7,0,uS._32(n,8)._hidden,uS._32(n,8)._sbPadding);l(n,10,0,uS._32(n,12).isHidden);l(n,16,0,uS._32(n,17)._hidden);l(n,24,0,uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._disabled);l(n,31,0,uS._32(n,32)._disabled,uS._32(n,32).isActive,uS._32(n,32).isActive);l(n,35,0,uS._32(n,36)._disabled,uS._32(n,36).isActive,uS._32(n,36).isActive);l(n,41,0,uS._32(n,42).statusbarPadding,uS._32(n,42)._hasRefresher);l(n,61,0,uS._32(n,62)._hidden)})}function Ut(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Mt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Kt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Ht(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Gt(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Yt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Kt)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Ht)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Gt)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function zt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Yt)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Qt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Jt(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Zt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Qt)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Jt)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Xt(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zt)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function la(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function na(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mt)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,zt)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Xt)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,la)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function ea(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.pd_co_applicant_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function ua(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[6,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Applicant\n is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function ta(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[20,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function aa(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[31,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ia(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[49,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function oa(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,53,{_control:0}),uS._38(335544320,54,{_placeholderChild:0}),uS._38(335544320,55,{_labelChild:0}),uS._38(603979776,56,{_errorChildren:1}),uS._38(603979776,57,{_hintChildren:1}),uS._38(603979776,58,{_prefixChildren:1}),uS._38(603979776,59,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_other_pincode"],["matInput",""],["placeholder","Specify Pincode"],["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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[53,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"residence_other_pincode");l(n,17,0,"Specify Pincode","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function ra(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[74,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _a(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[81,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.RentAmount[n.parent.parent.context.index])})}function da(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,77,{_control:0}),uS._38(335544320,78,{_placeholderChild:0}),uS._38(335544320,79,{_labelChild:0}),uS._38(603979776,80,{_errorChildren:1}),uS._38(603979776,81,{_hintChildren:1}),uS._38(603979776,82,{_prefixChildren:1}),uS._38(603979776,83,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent"],["matInput",""],["placeholder","Monthly 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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,2)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[77,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,_a)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n"]))],function(l,n){l(n,14,0,"rent");l(n,17,0,"Monthly Rent Amount","number");l(n,21,0,""!=n.parent.context.$implicit.get("rent").value)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function sa(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,84,{_control:0}),uS._38(335544320,85,{_placeholderChild:0}),uS._38(335544320,86,{_labelChild:0}),uS._38(603979776,87,{_errorChildren:1}),uS._38(603979776,88,{_hintChildren:1}),uS._38(603979776,89,{_prefixChildren:1}),uS._38(603979776,90,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[84,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function ca(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[99,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ma(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[116,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["","\n "]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.relationship_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function pa(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[134,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["","\n "]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.type)})}function fa(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[144,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.earning_member_status_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.earning_member_status)})}function ha(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,147,{_control:0}),uS._38(335544320,148,{_placeholderChild:0}),uS._38(335544320,149,{_labelChild:0}),uS._38(603979776,150,{_errorChildren:1}),uS._38(603979776,151,{_hintChildren:1}),uS._38(603979776,152,{_prefixChildren:1}),uS._38(603979776,153,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[147,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function ga(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[158,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.IncomePerMonth[n.parent.parent.context.index])})}function ba(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,102,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Earning Details"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,137,{_control:0}),uS._38(335544320,138,{_placeholderChild:0}),uS._38(335544320,139,{_labelChild:0}),uS._38(603979776,140,{_errorChildren:1}),uS._38(603979776,141,{_hintChildren:1}),uS._38(603979776,142,{_prefixChildren:1}),uS._38(603979776,143,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,17,"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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,144,{options:1}),uS._38(603979776,145,{optionGroups:1}),uS._38(335544320,146,{customTrigger:0}),uS._37(2048,[[137,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(26,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!==uS._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,27)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(27,8437760,[[144,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,fa)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ha)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(38,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,cT.b,cT.a)),uS._17(39,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,154,{_control:0}),uS._38(335544320,155,{_placeholderChild:0}),uS._38(335544320,156,{_labelChild:0}),uS._38(603979776,157,{_errorChildren:1}),uS._38(603979776,158,{_hintChildren:1}),uS._38(603979776,159,{_prefixChildren:1}),uS._38(603979776,160,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(48,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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,49)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,49).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,49)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,49)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,50).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,50).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,55)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),uS._17(49,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(50,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(52,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(54,16384,null,0,xS.s,[xS.r],null,null),uS._17(55,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[154,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,ga)),uS._17(59,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(62,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,cT.b,cT.a)),uS._17(63,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,161,{_control:0}),uS._38(335544320,162,{_placeholderChild:0}),uS._38(335544320,163,{_labelChild:0}),uS._38(603979776,164,{_errorChildren:1}),uS._38(603979776,165,{_hintChildren:1}),uS._38(603979776,166,{_prefixChildren:1}),uS._38(603979776,167,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(72,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_name_of_the_employer_or_business"],["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!==uS._32(l,73)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,73).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,73)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,73)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,78)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,78)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,78)._onInput()&&u}return u},null,null)),uS._17(73,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(75,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(77,16384,null,0,xS.s,[xS.r],null,null),uS._17(78,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[161,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(82,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,cT.b,cT.a)),uS._17(83,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,168,{_control:0}),uS._38(335544320,169,{_placeholderChild:0}),uS._38(335544320,170,{_labelChild:0}),uS._38(603979776,171,{_errorChildren:1}),uS._38(603979776,172,{_hintChildren:1}),uS._38(603979776,173,{_prefixChildren:1}),uS._38(603979776,174,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(92,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!==uS._32(l,93)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,93).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,93)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,93)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,94).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,94).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,94).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,99)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,99)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,99)._onInput()&&u}return u},null,null)),uS._17(93,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(94,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(96,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(98,16384,null,0,xS.s,[xS.r],null,null),uS._17(99,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[168,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,16,0,"earning_segment");l(n,19,0,"Segment");l(n,31,0,e.cusSeg);l(n,36,0,1==n.parent.context.$implicit.get("earning_segment").value);l(n,52,0,"earning_gross_income_per_month");l(n,55,0,"Income Per Month","number");l(n,59,0,""!=n.parent.context.$implicit.get("earning_gross_income_per_month").value);l(n,75,0,"earning_name_of_the_employer_or_business");l(n,78,0,5!=n.parent.context.$implicit.get("earning_segment").value?"Name of the Employer/Business":"Pension Received From");l(n,96,0,"earning_number_of_years_in_employment_or_business");l(n,99,0,"No. of years in Employer/Business","number")},function(l,n){l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required]);l(n,26,0,uS._32(n,27)._getTabIndex(),uS._32(n,27).selected,uS._32(n,27).multiple,uS._32(n,27).active,uS._32(n,27).id,uS._32(n,27).selected.toString(),uS._32(n,27).disabled.toString(),uS._32(n,27).disabled);l(n,38,1,[uS._32(n,39)._control.errorState,uS._32(n,39)._control.errorState,uS._32(n,39)._canLabelFloat,uS._32(n,39)._shouldLabelFloat(),uS._32(n,39)._hideControlPlaceholder(),uS._32(n,39)._control.disabled,uS._32(n,39)._control.focused,"primary"==uS._32(n,39).color,"accent"==uS._32(n,39).color,"warn"==uS._32(n,39).color,uS._32(n,39)._shouldForward("untouched"),uS._32(n,39)._shouldForward("touched"),uS._32(n,39)._shouldForward("pristine"),uS._32(n,39)._shouldForward("dirty"),uS._32(n,39)._shouldForward("valid"),uS._32(n,39)._shouldForward("invalid"),uS._32(n,39)._shouldForward("pending")]);l(n,48,1,[uS._32(n,54).ngClassUntouched,uS._32(n,54).ngClassTouched,uS._32(n,54).ngClassPristine,uS._32(n,54).ngClassDirty,uS._32(n,54).ngClassValid,uS._32(n,54).ngClassInvalid,uS._32(n,54).ngClassPending,uS._32(n,55)._isServer,uS._32(n,55).id,uS._32(n,55).placeholder,uS._32(n,55).disabled,uS._32(n,55).required,uS._32(n,55).readonly,uS._32(n,55)._ariaDescribedby||null,uS._32(n,55).errorState,uS._32(n,55).required.toString()]);l(n,62,1,[uS._32(n,63)._control.errorState,uS._32(n,63)._control.errorState,uS._32(n,63)._canLabelFloat,uS._32(n,63)._shouldLabelFloat(),uS._32(n,63)._hideControlPlaceholder(),uS._32(n,63)._control.disabled,uS._32(n,63)._control.focused,"primary"==uS._32(n,63).color,"accent"==uS._32(n,63).color,"warn"==uS._32(n,63).color,uS._32(n,63)._shouldForward("untouched"),uS._32(n,63)._shouldForward("touched"),uS._32(n,63)._shouldForward("pristine"),uS._32(n,63)._shouldForward("dirty"),uS._32(n,63)._shouldForward("valid"),uS._32(n,63)._shouldForward("invalid"),uS._32(n,63)._shouldForward("pending")]);l(n,72,1,[uS._32(n,77).ngClassUntouched,uS._32(n,77).ngClassTouched,uS._32(n,77).ngClassPristine,uS._32(n,77).ngClassDirty,uS._32(n,77).ngClassValid,uS._32(n,77).ngClassInvalid,uS._32(n,77).ngClassPending,uS._32(n,78)._isServer,uS._32(n,78).id,uS._32(n,78).placeholder,uS._32(n,78).disabled,uS._32(n,78).required,uS._32(n,78).readonly,uS._32(n,78)._ariaDescribedby||null,uS._32(n,78).errorState,uS._32(n,78).required.toString()]);l(n,82,1,[uS._32(n,83)._control.errorState,uS._32(n,83)._control.errorState,uS._32(n,83)._canLabelFloat,uS._32(n,83)._shouldLabelFloat(),uS._32(n,83)._hideControlPlaceholder(),uS._32(n,83)._control.disabled,uS._32(n,83)._control.focused,"primary"==uS._32(n,83).color,"accent"==uS._32(n,83).color,"warn"==uS._32(n,83).color,uS._32(n,83)._shouldForward("untouched"),uS._32(n,83)._shouldForward("touched"),uS._32(n,83)._shouldForward("pristine"),uS._32(n,83)._shouldForward("dirty"),uS._32(n,83)._shouldForward("valid"),uS._32(n,83)._shouldForward("invalid"),uS._32(n,83)._shouldForward("pending")]);l(n,92,1,[uS._32(n,98).ngClassUntouched,uS._32(n,98).ngClassTouched,uS._32(n,98).ngClassPristine,uS._32(n,98).ngClassDirty,uS._32(n,98).ngClassValid,uS._32(n,98).ngClassInvalid,uS._32(n,98).ngClassPending,uS._32(n,99)._isServer,uS._32(n,99).id,uS._32(n,99).placeholder,uS._32(n,99).disabled,uS._32(n,99).required,uS._32(n,99).readonly,uS._32(n,99)._ariaDescribedby||null,uS._32(n,99).errorState,uS._32(n,99).required.toString()])})}function va(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[182,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.occupation_non_earning_member_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ya(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[178,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Non Earning Occupation\n is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Ca(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,185,{_control:0}),uS._38(335544320,186,{_placeholderChild:0}),uS._38(335544320,187,{_labelChild:0}),uS._38(603979776,188,{_errorChildren:1}),uS._38(603979776,189,{_hintChildren:1}),uS._38(603979776,190,{_prefixChildren:1}),uS._38(603979776,191,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[185,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function wa(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,192,{_control:0}),uS._38(335544320,193,{_placeholderChild:0}),uS._38(335544320,194,{_labelChild:0}),uS._38(603979776,195,{_errorChildren:1}),uS._38(603979776,196,{_hintChildren:1}),uS._38(603979776,197,{_prefixChildren:1}),uS._38(603979776,198,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[192,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Fa(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,199,{_control:0}),uS._38(335544320,200,{_placeholderChild:0}),uS._38(335544320,201,{_labelChild:0}),uS._38(603979776,202,{_errorChildren:1}),uS._38(603979776,203,{_hintChildren:1}),uS._38(603979776,204,{_prefixChildren:1}),uS._38(603979776,205,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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","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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[199,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_retired_from");l(n,16,0,"Retired From","text")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function xa(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,175,{_control:0}),uS._38(335544320,176,{_placeholderChild:0}),uS._38(335544320,177,{_labelChild:0}),uS._38(603979776,178,{_errorChildren:1}),uS._38(603979776,179,{_hintChildren:1}),uS._38(603979776,180,{_prefixChildren:1}),uS._38(603979776,181,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","non_earning_occupation"],["placeholder","Occupation"],["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!==uS._32(l,18)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,18)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,18)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(13,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,182,{options:1}),uS._38(603979776,183,{optionGroups:1}),uS._38(335544320,184,{customTrigger:0}),uS._37(2048,[[175,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(25,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!==uS._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(26,8437760,[[182,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,va)),uS._17(30,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,ya)),uS._17(34,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ca)),uS._17(38,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wa)),uS._17(41,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fa)),uS._17(44,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,15,0,"non_earning_occupation");l(n,18,0,"Occupation","");l(n,30,0,e.occupationData);l(n,34,0,null==n.parent.context.$implicit.controls.non_earning_occupation.errors?null:n.parent.context.$implicit.controls.non_earning_occupation.errors.required);l(n,38,0,1==n.parent.context.$implicit.get("non_earning_occupation").value);l(n,41,0,2==n.parent.context.$implicit.get("non_earning_occupation").value);l(n,44,0,3==n.parent.context.$implicit.get("non_earning_occupation").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,13).required?"":null,uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18).id,uS._32(n,18).tabIndex,uS._32(n,18)._ariaLabel,uS._32(n,18).ariaLabelledby,uS._32(n,18).required.toString(),uS._32(n,18).disabled.toString(),uS._32(n,18).errorState,uS._32(n,18).panelOpen?uS._32(n,18)._optionIds:null,uS._32(n,18).multiple,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18)._getAriaActiveDescendant(),uS._32(n,18).disabled,uS._32(n,18).errorState,uS._32(n,18).required]);l(n,25,0,uS._32(n,26)._getTabIndex(),uS._32(n,26).selected,uS._32(n,26).multiple,uS._32(n,26).active,uS._32(n,26).id,uS._32(n,26).selected.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).disabled)})}function ka(l){return uS._42(0,[(l()(),uS._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.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Sa(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,183,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,[" \n \n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-header",[["appearence","outline"],["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._40(7,2,["Family Details # "," Of ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,92,{_control:0}),uS._38(335544320,93,{_placeholderChild:0}),uS._38(335544320,94,{_labelChild:0}),uS._38(603979776,95,{_errorChildren:1}),uS._38(603979776,96,{_hintChildren:1}),uS._38(603979776,97,{_prefixChildren:1}),uS._38(603979776,98,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,17,"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!==uS._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,23)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,99,{options:1}),uS._38(603979776,100,{optionGroups:1}),uS._38(335544320,101,{customTrigger:0}),uS._37(2048,[[92,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(30,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!==uS._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,31)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(31,8437760,[[99,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ca)),uS._17(35,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,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,cT.b,cT.a)),uS._17(40,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,102,{_control:0}),uS._38(335544320,103,{_placeholderChild:0}),uS._38(335544320,104,{_labelChild:0}),uS._38(603979776,105,{_errorChildren:1}),uS._38(603979776,106,{_hintChildren:1}),uS._38(603979776,107,{_prefixChildren:1}),uS._38(603979776,108,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(49,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!==uS._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,55)._onInput()&&u}return u},null,null)),uS._17(50,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(52,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(54,16384,null,0,xS.s,[xS.r],null,null),uS._17(55,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[102,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(59,0,null,null,45,"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,cT.b,cT.a)),uS._17(60,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,109,{_control:0}),uS._38(335544320,110,{_placeholderChild:0}),uS._38(335544320,111,{_labelChild:0}),uS._38(603979776,112,{_errorChildren:1}),uS._38(603979776,113,{_hintChildren:1}),uS._38(603979776,114,{_prefixChildren:1}),uS._38(603979776,115,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(69,0,null,1,34,"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!==uS._32(l,73)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,73)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,73)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(70,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(72,16384,null,0,xS.s,[xS.r],null,null),uS._17(73,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,116,{options:1}),uS._38(603979776,117,{optionGroups:1}),uS._38(335544320,118,{customTrigger:0}),uS._37(2048,[[109,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(80,0,null,1,15,"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!==uS._32(l,81)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,81)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(81,8437760,[[116,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(83,0,null,0,11,"ngx-mat-select-search",[["formControlName","relationSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchRelation(l.context.$implicit)&&u}return u},jO.b,jO.a)),uS._17(84,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,119,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(87,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(89,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(91,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(92,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(93,16384,[[119,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(97,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!==uS._32(l,98)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,98)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(98,8437760,[[116,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ma)),uS._17(102,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(106,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,cT.b,cT.a)),uS._17(107,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,120,{_control:0}),uS._38(335544320,121,{_placeholderChild:0}),uS._38(335544320,122,{_labelChild:0}),uS._38(603979776,123,{_errorChildren:1}),uS._38(603979776,124,{_hintChildren:1}),uS._38(603979776,125,{_prefixChildren:1}),uS._38(603979776,126,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(116,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!==uS._32(l,117)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,117).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,117)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,117)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,118).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,118).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,118).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,123)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,123)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,123)._onInput()&&u}return u},null,null)),uS._17(117,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(118,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(120,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(122,16384,null,0,xS.s,[xS.r],null,null),uS._17(123,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[120,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(127,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,cT.b,cT.a)),uS._17(128,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,127,{_control:0}),uS._38(335544320,128,{_placeholderChild:0}),uS._38(335544320,129,{_labelChild:0}),uS._38(603979776,130,{_errorChildren:1}),uS._38(603979776,131,{_hintChildren:1}),uS._38(603979776,132,{_prefixChildren:1}),uS._38(603979776,133,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(137,0,null,1,17,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,141)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,141)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,141)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setValidation(l.context.$implicit)&&u}return u},LO.b,LO.a)),uS._17(138,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(140,16384,null,0,xS.s,[xS.r],null,null),uS._17(141,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,134,{options:1}),uS._38(603979776,135,{optionGroups:1}),uS._38(335544320,136,{customTrigger:0}),uS._37(2048,[[127,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,149)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,149)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(149,8437760,[[134,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,pa)),uS._17(153,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ba)),uS._17(158,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,xa)),uS._17(161,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(163,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(164,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,206,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(167,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(168,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(170,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.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(171,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(172,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(173,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(176,0,null,null,5,"ion-col",[["class","col"],["col-1",""],["offset-1",""]],null,null,null,null,null)),uS._17(177,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ka)),uS._17(180,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"family_member_salutation");l(n,23,0,"Title");l(n,35,0,e.titleList);l(n,52,0,"family_member_name");l(n,55,0,"Name","text");l(n,70,0,"family_member_relationship");l(n,73,0,"Relationship *");l(n,84,0,"Search Relation","No Records Found");l(n,87,0,"relationSearch");l(n,92,0,"md-close");l(n,102,0,e.relationDataValue);l(n,120,0,"family_member_age");l(n,123,0,"Age","number");l(n,138,0,"family_member_earning_status");l(n,141,0,"Earning Status *");l(n,153,0,e.earningStatus);l(n,158,0,1==n.context.$implicit.get("family_member_earning_status").value);l(n,161,0,2==n.context.$implicit.get("family_member_earning_status").value);l(n,171,0,"optblue","");l(n,173,0,"md-trash");l(n,180,0,n.context.last)},function(l,n){var e=n.component;l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1,e.FamilyMemberAsLabel[n.parent.parent.context.index]);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23).id,uS._32(n,23).tabIndex,uS._32(n,23)._ariaLabel,uS._32(n,23).ariaLabelledby,uS._32(n,23).required.toString(),uS._32(n,23).disabled.toString(),uS._32(n,23).errorState,uS._32(n,23).panelOpen?uS._32(n,23)._optionIds:null,uS._32(n,23).multiple,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23)._getAriaActiveDescendant(),uS._32(n,23).disabled,uS._32(n,23).errorState,uS._32(n,23).required]);l(n,30,0,uS._32(n,31)._getTabIndex(),uS._32(n,31).selected,uS._32(n,31).multiple,uS._32(n,31).active,uS._32(n,31).id,uS._32(n,31).selected.toString(),uS._32(n,31).disabled.toString(),uS._32(n,31).disabled);l(n,39,1,[uS._32(n,40)._control.errorState,uS._32(n,40)._control.errorState,uS._32(n,40)._canLabelFloat,uS._32(n,40)._shouldLabelFloat(),uS._32(n,40)._hideControlPlaceholder(),uS._32(n,40)._control.disabled,uS._32(n,40)._control.focused,"primary"==uS._32(n,40).color,"accent"==uS._32(n,40).color,"warn"==uS._32(n,40).color,uS._32(n,40)._shouldForward("untouched"),uS._32(n,40)._shouldForward("touched"),uS._32(n,40)._shouldForward("pristine"),uS._32(n,40)._shouldForward("dirty"),uS._32(n,40)._shouldForward("valid"),uS._32(n,40)._shouldForward("invalid"),uS._32(n,40)._shouldForward("pending")]);l(n,49,1,[uS._32(n,54).ngClassUntouched,uS._32(n,54).ngClassTouched,uS._32(n,54).ngClassPristine,uS._32(n,54).ngClassDirty,uS._32(n,54).ngClassValid,uS._32(n,54).ngClassInvalid,uS._32(n,54).ngClassPending,uS._32(n,55)._isServer,uS._32(n,55).id,uS._32(n,55).placeholder,uS._32(n,55).disabled,uS._32(n,55).required,uS._32(n,55).readonly,uS._32(n,55)._ariaDescribedby||null,uS._32(n,55).errorState,uS._32(n,55).required.toString()]);l(n,59,1,[uS._32(n,60)._control.errorState,uS._32(n,60)._control.errorState,uS._32(n,60)._canLabelFloat,uS._32(n,60)._shouldLabelFloat(),uS._32(n,60)._hideControlPlaceholder(),uS._32(n,60)._control.disabled,uS._32(n,60)._control.focused,"primary"==uS._32(n,60).color,"accent"==uS._32(n,60).color,"warn"==uS._32(n,60).color,uS._32(n,60)._shouldForward("untouched"),uS._32(n,60)._shouldForward("touched"),uS._32(n,60)._shouldForward("pristine"),uS._32(n,60)._shouldForward("dirty"),uS._32(n,60)._shouldForward("valid"),uS._32(n,60)._shouldForward("invalid"),uS._32(n,60)._shouldForward("pending")]);l(n,69,1,[uS._32(n,72).ngClassUntouched,uS._32(n,72).ngClassTouched,uS._32(n,72).ngClassPristine,uS._32(n,72).ngClassDirty,uS._32(n,72).ngClassValid,uS._32(n,72).ngClassInvalid,uS._32(n,72).ngClassPending,uS._32(n,73).id,uS._32(n,73).tabIndex,uS._32(n,73)._ariaLabel,uS._32(n,73).ariaLabelledby,uS._32(n,73).required.toString(),uS._32(n,73).disabled.toString(),uS._32(n,73).errorState,uS._32(n,73).panelOpen?uS._32(n,73)._optionIds:null,uS._32(n,73).multiple,uS._32(n,73)._ariaDescribedby||null,uS._32(n,73)._getAriaActiveDescendant(),uS._32(n,73).disabled,uS._32(n,73).errorState,uS._32(n,73).required]);l(n,80,0,uS._32(n,81)._getTabIndex(),uS._32(n,81).selected,uS._32(n,81).multiple,uS._32(n,81).active,uS._32(n,81).id,uS._32(n,81).selected.toString(),uS._32(n,81).disabled.toString(),uS._32(n,81).disabled);l(n,83,0,uS._32(n,84).isInsideMatOption,uS._32(n,89).ngClassUntouched,uS._32(n,89).ngClassTouched,uS._32(n,89).ngClassPristine,uS._32(n,89).ngClassDirty,uS._32(n,89).ngClassValid,uS._32(n,89).ngClassInvalid,uS._32(n,89).ngClassPending);l(n,91,0,uS._32(n,92)._hidden);l(n,97,0,uS._32(n,98)._getTabIndex(),uS._32(n,98).selected,uS._32(n,98).multiple,uS._32(n,98).active,uS._32(n,98).id,uS._32(n,98).selected.toString(),uS._32(n,98).disabled.toString(),uS._32(n,98).disabled);l(n,106,1,[uS._32(n,107)._control.errorState,uS._32(n,107)._control.errorState,uS._32(n,107)._canLabelFloat,uS._32(n,107)._shouldLabelFloat(),uS._32(n,107)._hideControlPlaceholder(),uS._32(n,107)._control.disabled,uS._32(n,107)._control.focused,"primary"==uS._32(n,107).color,"accent"==uS._32(n,107).color,"warn"==uS._32(n,107).color,uS._32(n,107)._shouldForward("untouched"),uS._32(n,107)._shouldForward("touched"),uS._32(n,107)._shouldForward("pristine"),uS._32(n,107)._shouldForward("dirty"),uS._32(n,107)._shouldForward("valid"),uS._32(n,107)._shouldForward("invalid"),uS._32(n,107)._shouldForward("pending")]);l(n,116,1,[uS._32(n,122).ngClassUntouched,uS._32(n,122).ngClassTouched,uS._32(n,122).ngClassPristine,uS._32(n,122).ngClassDirty,uS._32(n,122).ngClassValid,uS._32(n,122).ngClassInvalid,uS._32(n,122).ngClassPending,uS._32(n,123)._isServer,uS._32(n,123).id,uS._32(n,123).placeholder,uS._32(n,123).disabled,uS._32(n,123).required,uS._32(n,123).readonly,uS._32(n,123)._ariaDescribedby||null,uS._32(n,123).errorState,uS._32(n,123).required.toString()]);l(n,127,1,[uS._32(n,128)._control.errorState,uS._32(n,128)._control.errorState,uS._32(n,128)._canLabelFloat,uS._32(n,128)._shouldLabelFloat(),uS._32(n,128)._hideControlPlaceholder(),uS._32(n,128)._control.disabled,uS._32(n,128)._control.focused,"primary"==uS._32(n,128).color,"accent"==uS._32(n,128).color,"warn"==uS._32(n,128).color,uS._32(n,128)._shouldForward("untouched"),uS._32(n,128)._shouldForward("touched"),uS._32(n,128)._shouldForward("pristine"),uS._32(n,128)._shouldForward("dirty"),uS._32(n,128)._shouldForward("valid"),uS._32(n,128)._shouldForward("invalid"),uS._32(n,128)._shouldForward("pending")]);l(n,137,1,[uS._32(n,140).ngClassUntouched,uS._32(n,140).ngClassTouched,uS._32(n,140).ngClassPristine,uS._32(n,140).ngClassDirty,uS._32(n,140).ngClassValid,uS._32(n,140).ngClassInvalid,uS._32(n,140).ngClassPending,uS._32(n,141).id,uS._32(n,141).tabIndex,uS._32(n,141)._ariaLabel,uS._32(n,141).ariaLabelledby,uS._32(n,141).required.toString(),uS._32(n,141).disabled.toString(),uS._32(n,141).errorState,uS._32(n,141).panelOpen?uS._32(n,141)._optionIds:null,uS._32(n,141).multiple,uS._32(n,141)._ariaDescribedby||null,uS._32(n,141)._getAriaActiveDescendant(),uS._32(n,141).disabled,uS._32(n,141).errorState,uS._32(n,141).required]);l(n,148,0,uS._32(n,149)._getTabIndex(),uS._32(n,149).selected,uS._32(n,149).multiple,uS._32(n,149).active,uS._32(n,149).id,uS._32(n,149).selected.toString(),uS._32(n,149).disabled.toString(),uS._32(n,149).disabled);l(n,172,0,uS._32(n,173)._hidden)})}function Ia(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._18(3,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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Sa)),uS._17(9,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n \n \n"])),(l()(),uS._40(-1,0,["\n"]))],function(l,n){l(n,4,0,"family_members_details");l(n,9,0,n.parent.context.$implicit.controls.family_members_details.controls)},function(l,n){l(n,3,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending)})}function qa(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,304,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,45,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._18(8,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(9,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(11,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(12,null,["Family Details ",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,[" \n \n "])),(l()(),uS._18(16,0,null,0,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,cT.b,cT.a)),uS._17(17,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(26,0,null,1,19,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,32)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,32)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPerson(e.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(27,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(29,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(31,16384,null,0,xS.s,[xS.r],null,null),uS._17(32,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,10,{options:1}),uS._38(603979776,11,{optionGroups:1}),uS._38(335544320,12,{customTrigger:0}),uS._37(2048,[[3,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(39,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!==uS._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,40)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(40,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ea)),uS._17(44,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,ua)),uS._17(48,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(52,0,null,null,248,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(53,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(57,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(58,null,["Residence Details of ",""])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(60,0,null,0,45,"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,cT.b,cT.a)),uS._17(61,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,13,{_control:0}),uS._38(335544320,14,{_placeholderChild:0}),uS._38(335544320,15,{_labelChild:0}),uS._38(603979776,16,{_errorChildren:1}),uS._38(603979776,17,{_hintChildren:1}),uS._38(603979776,18,{_prefixChildren:1}),uS._38(603979776,19,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(70,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","residence_state"],["matInput",""],["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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,74)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,74)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,74)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getCity(e.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(71,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(73,16384,null,0,xS.s,[xS.r],null,null),uS._17(74,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,20,{options:1}),uS._38(603979776,21,{optionGroups:1}),uS._38(335544320,22,{customTrigger:0}),uS._37(2048,[[13,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(81,0,null,1,15,"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!==uS._32(l,82)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,82)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(82,8437760,[[20,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(84,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(85,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,23,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(88,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(90,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(92,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(93,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(94,16384,[[23,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(98,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!==uS._32(l,99)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,99)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(99,8437760,[[20,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ta)),uS._17(103,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(107,0,null,0,45,"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,cT.b,cT.a)),uS._17(108,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,24,{_control:0}),uS._38(335544320,25,{_placeholderChild:0}),uS._38(335544320,26,{_labelChild:0}),uS._38(603979776,27,{_errorChildren:1}),uS._38(603979776,28,{_hintChildren:1}),uS._38(603979776,29,{_prefixChildren:1}),uS._38(603979776,30,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(117,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","residence_city"],["matInput",""],["placeholder","City"],["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!==uS._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,121)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(118,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(120,16384,null,0,xS.s,[xS.r],null,null),uS._17(121,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,31,{options:1}),uS._38(603979776,32,{optionGroups:1}),uS._38(335544320,33,{customTrigger:0}),uS._37(2048,[[24,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(128,0,null,1,15,"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!==uS._32(l,129)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,129)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(129,8437760,[[31,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(131,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(132,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,34,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(135,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(137,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(139,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(140,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(141,16384,[[34,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(145,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!==uS._32(l,146)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,146)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(146,8437760,[[31,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,aa)),uS._17(150,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(154,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,cT.b,cT.a)),uS._17(155,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,35,{_control:0}),uS._38(335544320,36,{_placeholderChild:0}),uS._38(335544320,37,{_labelChild:0}),uS._38(603979776,38,{_errorChildren:1}),uS._38(603979776,39,{_hintChildren:1}),uS._38(603979776,40,{_prefixChildren:1}),uS._38(603979776,41,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(164,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_place"],["matInput",""],["placeholder","Place "]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,165)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,165).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,165)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,165)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,170)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,170)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,170)._onInput()&&u}return u},null,null)),uS._17(165,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(167,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(169,16384,null,0,xS.s,[xS.r],null,null),uS._17(170,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[35,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(174,0,null,0,45,"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,cT.b,cT.a)),uS._17(175,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,42,{_control:0}),uS._38(335544320,43,{_placeholderChild:0}),uS._38(335544320,44,{_labelChild:0}),uS._38(603979776,45,{_errorChildren:1}),uS._38(603979776,46,{_hintChildren:1}),uS._38(603979776,47,{_prefixChildren:1}),uS._38(603979776,48,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(184,0,null,1,34,"mat-select",[["class","mat-select"],["formControlName","residence_pin"],["matInput",""],["placeholder","Pin"],["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!==uS._32(l,188)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,188)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,188)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(185,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(187,16384,null,0,xS.s,[xS.r],null,null),uS._17(188,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,49,{options:1}),uS._38(603979776,50,{optionGroups:1}),uS._38(335544320,51,{customTrigger:0}),uS._37(2048,[[42,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(195,0,null,1,15,"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!==uS._32(l,196)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,196)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(196,8437760,[[49,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(198,0,null,0,11,"ngx-mat-select-search",[["formControlName","pinSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"pin")&&u}return u},jO.b,jO.a)),uS._17(199,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,52,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(202,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(204,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(206,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(207,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(208,16384,[[52,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(212,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!==uS._32(l,213)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,213)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(213,8437760,[[49,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ia)),uS._17(217,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,oa)),uS._17(222,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(224,0,null,0,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,cT.b,cT.a)),uS._17(225,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,60,{_control:0}),uS._38(335544320,61,{_placeholderChild:0}),uS._38(335544320,62,{_labelChild:0}),uS._38(603979776,63,{_errorChildren:1}),uS._38(603979776,64,{_hintChildren:1}),uS._38(603979776,65,{_prefixChildren:1}),uS._38(603979776,66,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(234,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_No_of_years"],["matInput",""],["placeholder","No of years in current residence"],["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!==uS._32(l,235)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,235).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,235)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,235)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,236).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,236).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,236).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,241)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,241)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,241)._onInput()&&u}return u},null,null)),uS._17(235,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(236,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(238,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(240,16384,null,0,xS.s,[xS.r],null,null),uS._17(241,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[60,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(245,0,null,0,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,cT.b,cT.a)),uS._17(246,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,67,{_control:0}),uS._38(335544320,68,{_placeholderChild:0}),uS._38(335544320,69,{_labelChild:0}),uS._38(603979776,70,{_errorChildren:1}),uS._38(603979776,71,{_hintChildren:1}),uS._38(603979776,72,{_prefixChildren:1}),uS._38(603979776,73,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(255,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","residence_ownership"],["placeholder","Ownership "],["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!==uS._32(l,259)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,259)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,259)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(256,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(258,16384,null,0,xS.s,[xS.r],null,null),uS._17(259,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,74,{options:1}),uS._38(603979776,75,{optionGroups:1}),uS._38(335544320,76,{customTrigger:0}),uS._37(2048,[[67,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(266,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!==uS._32(l,267)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,267)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(267,8437760,[[74,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ra)),uS._17(271,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,0,["\n"])),(l()(),uS._13(16777216,null,0,1,null,da)),uS._17(276,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n"])),(l()(),uS._13(16777216,null,0,1,null,sa)),uS._17(279,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(282,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._18(283,0,null,0,16,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(284,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,91,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(287,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(288,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(290,0,null,null,7,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(291,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(293,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.remove_family_details(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(294,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(295,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(296,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ia)),uS._17(303,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n"]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,27,0,"");l(n,29,0,"selected_person");l(n,32,0,"Applicants","");l(n,44,0,e.pdDetails.applicat_details);l(n,48,0,null==n.context.$implicit.controls.selected_person.errors?null:n.context.$implicit.controls.selected_person.errors.required);l(n,71,0,"residence_state");l(n,74,0,"State");l(n,85,0,"Find State","No Matching Result");l(n,88,0,"stateSearch");l(n,93,0,"md-close");l(n,103,0,e.stateDataValue);l(n,118,0,"residence_city");l(n,121,0,"City");l(n,132,0,"Find City","No Matching Result");l(n,135,0,"citySearch");l(n,140,0,"md-close");l(n,150,0,e.cityDataValue[n.context.index]);l(n,167,0,"residence_place");l(n,170,0,"Place ");l(n,185,0,"residence_pin");l(n,188,0,"Pin");l(n,199,0,"Search Pincode","No Matching Result");l(n,202,0,"pinSearch");l(n,207,0,"md-close");l(n,217,0,e.pincodeDataValue[n.context.index]);l(n,222,0,1==n.context.$implicit.get("residence_pin").value);l(n,238,0,"residence_No_of_years");l(n,241,0,"No of years in current residence","number");l(n,256,0,"residence_ownership");l(n,259,0,"Ownership ");l(n,271,0,e.ownerShip);l(n,276,0,3==n.context.$implicit.get("residence_ownership").value);l(n,279,0,1==n.context.$implicit.get("residence_ownership").value);l(n,294,0,"optblue","");l(n,296,0,"md-trash");l(n,303,0,""!=n.context.$implicit.get("selected_person").value)},function(l,n){var e=n.component;l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,16,1,[uS._32(n,17)._control.errorState,uS._32(n,17)._control.errorState,uS._32(n,17)._canLabelFloat,uS._32(n,17)._shouldLabelFloat(),uS._32(n,17)._hideControlPlaceholder(),uS._32(n,17)._control.disabled,uS._32(n,17)._control.focused,"primary"==uS._32(n,17).color,"accent"==uS._32(n,17).color,"warn"==uS._32(n,17).color,uS._32(n,17)._shouldForward("untouched"),uS._32(n,17)._shouldForward("touched"),uS._32(n,17)._shouldForward("pristine"),uS._32(n,17)._shouldForward("dirty"),uS._32(n,17)._shouldForward("valid"),uS._32(n,17)._shouldForward("invalid"),uS._32(n,17)._shouldForward("pending")]);l(n,26,1,[uS._32(n,27).required?"":null,uS._32(n,31).ngClassUntouched,uS._32(n,31).ngClassTouched,uS._32(n,31).ngClassPristine,uS._32(n,31).ngClassDirty,uS._32(n,31).ngClassValid,uS._32(n,31).ngClassInvalid,uS._32(n,31).ngClassPending,uS._32(n,32).id,uS._32(n,32).tabIndex,uS._32(n,32)._ariaLabel,uS._32(n,32).ariaLabelledby,uS._32(n,32).required.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).errorState,uS._32(n,32).panelOpen?uS._32(n,32)._optionIds:null,uS._32(n,32).multiple,uS._32(n,32)._ariaDescribedby||null,uS._32(n,32)._getAriaActiveDescendant(),uS._32(n,32).disabled,uS._32(n,32).errorState,uS._32(n,32).required]);l(n,39,0,uS._32(n,40)._getTabIndex(),uS._32(n,40).selected,uS._32(n,40).multiple,uS._32(n,40).active,uS._32(n,40).id,uS._32(n,40).selected.toString(),uS._32(n,40).disabled.toString(),uS._32(n,40).disabled);l(n,58,0,e.FamilyMemberAsLabel[n.context.index]);l(n,60,1,[uS._32(n,61)._control.errorState,uS._32(n,61)._control.errorState,uS._32(n,61)._canLabelFloat,uS._32(n,61)._shouldLabelFloat(),uS._32(n,61)._hideControlPlaceholder(),uS._32(n,61)._control.disabled,uS._32(n,61)._control.focused,"primary"==uS._32(n,61).color,"accent"==uS._32(n,61).color,"warn"==uS._32(n,61).color,uS._32(n,61)._shouldForward("untouched"),uS._32(n,61)._shouldForward("touched"),uS._32(n,61)._shouldForward("pristine"),uS._32(n,61)._shouldForward("dirty"),uS._32(n,61)._shouldForward("valid"),uS._32(n,61)._shouldForward("invalid"),uS._32(n,61)._shouldForward("pending")]);l(n,70,1,[uS._32(n,73).ngClassUntouched,uS._32(n,73).ngClassTouched,uS._32(n,73).ngClassPristine,uS._32(n,73).ngClassDirty,uS._32(n,73).ngClassValid,uS._32(n,73).ngClassInvalid,uS._32(n,73).ngClassPending,uS._32(n,74).id,uS._32(n,74).tabIndex,uS._32(n,74)._ariaLabel,uS._32(n,74).ariaLabelledby,uS._32(n,74).required.toString(),uS._32(n,74).disabled.toString(),uS._32(n,74).errorState,uS._32(n,74).panelOpen?uS._32(n,74)._optionIds:null,uS._32(n,74).multiple,uS._32(n,74)._ariaDescribedby||null,uS._32(n,74)._getAriaActiveDescendant(),uS._32(n,74).disabled,uS._32(n,74).errorState,uS._32(n,74).required]);l(n,81,0,uS._32(n,82)._getTabIndex(),uS._32(n,82).selected,uS._32(n,82).multiple,uS._32(n,82).active,uS._32(n,82).id,uS._32(n,82).selected.toString(),uS._32(n,82).disabled.toString(),uS._32(n,82).disabled);l(n,84,0,uS._32(n,85).isInsideMatOption,uS._32(n,90).ngClassUntouched,uS._32(n,90).ngClassTouched,uS._32(n,90).ngClassPristine,uS._32(n,90).ngClassDirty,uS._32(n,90).ngClassValid,uS._32(n,90).ngClassInvalid,uS._32(n,90).ngClassPending);l(n,92,0,uS._32(n,93)._hidden);l(n,98,0,uS._32(n,99)._getTabIndex(),uS._32(n,99).selected,uS._32(n,99).multiple,uS._32(n,99).active,uS._32(n,99).id,uS._32(n,99).selected.toString(),uS._32(n,99).disabled.toString(),uS._32(n,99).disabled);l(n,107,1,[uS._32(n,108)._control.errorState,uS._32(n,108)._control.errorState,uS._32(n,108)._canLabelFloat,uS._32(n,108)._shouldLabelFloat(),uS._32(n,108)._hideControlPlaceholder(),uS._32(n,108)._control.disabled,uS._32(n,108)._control.focused,"primary"==uS._32(n,108).color,"accent"==uS._32(n,108).color,"warn"==uS._32(n,108).color,uS._32(n,108)._shouldForward("untouched"),uS._32(n,108)._shouldForward("touched"),uS._32(n,108)._shouldForward("pristine"),uS._32(n,108)._shouldForward("dirty"),uS._32(n,108)._shouldForward("valid"),uS._32(n,108)._shouldForward("invalid"),uS._32(n,108)._shouldForward("pending")]);l(n,117,1,[uS._32(n,120).ngClassUntouched,uS._32(n,120).ngClassTouched,uS._32(n,120).ngClassPristine,uS._32(n,120).ngClassDirty,uS._32(n,120).ngClassValid,uS._32(n,120).ngClassInvalid,uS._32(n,120).ngClassPending,uS._32(n,121).id,uS._32(n,121).tabIndex,uS._32(n,121)._ariaLabel,uS._32(n,121).ariaLabelledby,uS._32(n,121).required.toString(),uS._32(n,121).disabled.toString(),uS._32(n,121).errorState,uS._32(n,121).panelOpen?uS._32(n,121)._optionIds:null,uS._32(n,121).multiple,uS._32(n,121)._ariaDescribedby||null,uS._32(n,121)._getAriaActiveDescendant(),uS._32(n,121).disabled,uS._32(n,121).errorState,uS._32(n,121).required]);l(n,128,0,uS._32(n,129)._getTabIndex(),uS._32(n,129).selected,uS._32(n,129).multiple,uS._32(n,129).active,uS._32(n,129).id,uS._32(n,129).selected.toString(),uS._32(n,129).disabled.toString(),uS._32(n,129).disabled);l(n,131,0,uS._32(n,132).isInsideMatOption,uS._32(n,137).ngClassUntouched,uS._32(n,137).ngClassTouched,uS._32(n,137).ngClassPristine,uS._32(n,137).ngClassDirty,uS._32(n,137).ngClassValid,uS._32(n,137).ngClassInvalid,uS._32(n,137).ngClassPending);l(n,139,0,uS._32(n,140)._hidden);l(n,145,0,uS._32(n,146)._getTabIndex(),uS._32(n,146).selected,uS._32(n,146).multiple,uS._32(n,146).active,uS._32(n,146).id,uS._32(n,146).selected.toString(),uS._32(n,146).disabled.toString(),uS._32(n,146).disabled);l(n,154,1,[uS._32(n,155)._control.errorState,uS._32(n,155)._control.errorState,uS._32(n,155)._canLabelFloat,uS._32(n,155)._shouldLabelFloat(),uS._32(n,155)._hideControlPlaceholder(),uS._32(n,155)._control.disabled,uS._32(n,155)._control.focused,"primary"==uS._32(n,155).color,"accent"==uS._32(n,155).color,"warn"==uS._32(n,155).color,uS._32(n,155)._shouldForward("untouched"),uS._32(n,155)._shouldForward("touched"),uS._32(n,155)._shouldForward("pristine"),uS._32(n,155)._shouldForward("dirty"),uS._32(n,155)._shouldForward("valid"),uS._32(n,155)._shouldForward("invalid"),uS._32(n,155)._shouldForward("pending")]);l(n,164,1,[uS._32(n,169).ngClassUntouched,uS._32(n,169).ngClassTouched,uS._32(n,169).ngClassPristine,uS._32(n,169).ngClassDirty,uS._32(n,169).ngClassValid,uS._32(n,169).ngClassInvalid,uS._32(n,169).ngClassPending,uS._32(n,170)._isServer,uS._32(n,170).id,uS._32(n,170).placeholder,uS._32(n,170).disabled,uS._32(n,170).required,uS._32(n,170).readonly,uS._32(n,170)._ariaDescribedby||null,uS._32(n,170).errorState,uS._32(n,170).required.toString()]);l(n,174,1,[uS._32(n,175)._control.errorState,uS._32(n,175)._control.errorState,uS._32(n,175)._canLabelFloat,uS._32(n,175)._shouldLabelFloat(),uS._32(n,175)._hideControlPlaceholder(),uS._32(n,175)._control.disabled,uS._32(n,175)._control.focused,"primary"==uS._32(n,175).color,"accent"==uS._32(n,175).color,"warn"==uS._32(n,175).color,uS._32(n,175)._shouldForward("untouched"),uS._32(n,175)._shouldForward("touched"),uS._32(n,175)._shouldForward("pristine"),uS._32(n,175)._shouldForward("dirty"),uS._32(n,175)._shouldForward("valid"),uS._32(n,175)._shouldForward("invalid"),uS._32(n,175)._shouldForward("pending")]);l(n,184,1,[uS._32(n,187).ngClassUntouched,uS._32(n,187).ngClassTouched,uS._32(n,187).ngClassPristine,uS._32(n,187).ngClassDirty,uS._32(n,187).ngClassValid,uS._32(n,187).ngClassInvalid,uS._32(n,187).ngClassPending,uS._32(n,188).id,uS._32(n,188).tabIndex,uS._32(n,188)._ariaLabel,uS._32(n,188).ariaLabelledby,uS._32(n,188).required.toString(),uS._32(n,188).disabled.toString(),uS._32(n,188).errorState,uS._32(n,188).panelOpen?uS._32(n,188)._optionIds:null,uS._32(n,188).multiple,uS._32(n,188)._ariaDescribedby||null,uS._32(n,188)._getAriaActiveDescendant(),uS._32(n,188).disabled,uS._32(n,188).errorState,uS._32(n,188).required]);l(n,195,0,uS._32(n,196)._getTabIndex(),uS._32(n,196).selected,uS._32(n,196).multiple,uS._32(n,196).active,uS._32(n,196).id,uS._32(n,196).selected.toString(),uS._32(n,196).disabled.toString(),uS._32(n,196).disabled);l(n,198,0,uS._32(n,199).isInsideMatOption,uS._32(n,204).ngClassUntouched,uS._32(n,204).ngClassTouched,uS._32(n,204).ngClassPristine,uS._32(n,204).ngClassDirty,uS._32(n,204).ngClassValid,uS._32(n,204).ngClassInvalid,uS._32(n,204).ngClassPending);l(n,206,0,uS._32(n,207)._hidden);l(n,212,0,uS._32(n,213)._getTabIndex(),uS._32(n,213).selected,uS._32(n,213).multiple,uS._32(n,213).active,uS._32(n,213).id,uS._32(n,213).selected.toString(),uS._32(n,213).disabled.toString(),uS._32(n,213).disabled);l(n,224,1,[uS._32(n,225)._control.errorState,uS._32(n,225)._control.errorState,uS._32(n,225)._canLabelFloat,uS._32(n,225)._shouldLabelFloat(),uS._32(n,225)._hideControlPlaceholder(),uS._32(n,225)._control.disabled,uS._32(n,225)._control.focused,"primary"==uS._32(n,225).color,"accent"==uS._32(n,225).color,"warn"==uS._32(n,225).color,uS._32(n,225)._shouldForward("untouched"),uS._32(n,225)._shouldForward("touched"),uS._32(n,225)._shouldForward("pristine"),uS._32(n,225)._shouldForward("dirty"),uS._32(n,225)._shouldForward("valid"),uS._32(n,225)._shouldForward("invalid"),uS._32(n,225)._shouldForward("pending")]);l(n,234,1,[uS._32(n,240).ngClassUntouched,uS._32(n,240).ngClassTouched,uS._32(n,240).ngClassPristine,uS._32(n,240).ngClassDirty,uS._32(n,240).ngClassValid,uS._32(n,240).ngClassInvalid,uS._32(n,240).ngClassPending,uS._32(n,241)._isServer,uS._32(n,241).id,uS._32(n,241).placeholder,uS._32(n,241).disabled,uS._32(n,241).required,uS._32(n,241).readonly,uS._32(n,241)._ariaDescribedby||null,uS._32(n,241).errorState,uS._32(n,241).required.toString()]);l(n,245,1,[uS._32(n,246)._control.errorState,uS._32(n,246)._control.errorState,uS._32(n,246)._canLabelFloat,uS._32(n,246)._shouldLabelFloat(),uS._32(n,246)._hideControlPlaceholder(),uS._32(n,246)._control.disabled,uS._32(n,246)._control.focused,"primary"==uS._32(n,246).color,"accent"==uS._32(n,246).color,"warn"==uS._32(n,246).color,uS._32(n,246)._shouldForward("untouched"),uS._32(n,246)._shouldForward("touched"),uS._32(n,246)._shouldForward("pristine"),uS._32(n,246)._shouldForward("dirty"),uS._32(n,246)._shouldForward("valid"),uS._32(n,246)._shouldForward("invalid"),uS._32(n,246)._shouldForward("pending")]);l(n,255,1,[uS._32(n,258).ngClassUntouched,uS._32(n,258).ngClassTouched,uS._32(n,258).ngClassPristine,uS._32(n,258).ngClassDirty,uS._32(n,258).ngClassValid,uS._32(n,258).ngClassInvalid,uS._32(n,258).ngClassPending,uS._32(n,259).id,uS._32(n,259).tabIndex,uS._32(n,259)._ariaLabel,uS._32(n,259).ariaLabelledby,uS._32(n,259).required.toString(),uS._32(n,259).disabled.toString(),uS._32(n,259).errorState,uS._32(n,259).panelOpen?uS._32(n,259)._optionIds:null,uS._32(n,259).multiple,uS._32(n,259)._ariaDescribedby||null,uS._32(n,259)._getAriaActiveDescendant(),uS._32(n,259).disabled,uS._32(n,259).errorState,uS._32(n,259).required]);l(n,266,0,uS._32(n,267)._getTabIndex(),uS._32(n,267).selected,uS._32(n,267).multiple,uS._32(n,267).active,uS._32(n,267).id,uS._32(n,267).selected.toString(),uS._32(n,267).disabled.toString(),uS._32(n,267).disabled);l(n,295,0,uS._32(n,296)._hidden)})}function Pa(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,58,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,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)),uS._17(7,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(9,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qa)),uS._17(12,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n \n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,4,"button",[["color","primary"],["full",""],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.add()&&u}return u},AT.b,AT.a)),uS._17(19,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"],full:[2,"full"]},null),(l()(),uS._18(20,0,null,0,1,"ion-icon",[["name","person-add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(21,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["   Other Applicant"])),(l()(),uS._18(23,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(25,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(26,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(28,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,cT.b,cT.a)),uS._17(29,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,207,{_control:0}),uS._38(335544320,208,{_placeholderChild:0}),uS._38(335544320,209,{_labelChild:0}),uS._38(603979776,210,{_errorChildren:1}),uS._38(603979776,211,{_hintChildren:1}),uS._38(603979776,212,{_prefixChildren:1}),uS._38(603979776,213,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,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!==uS._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,39)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,44)._onInput()&&u}return u},null,null)),uS._17(39,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(41,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(43,16384,null,0,xS.s,[xS.r],null,null),uS._17(44,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[207,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(49,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(50,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(52,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(53,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,2,0,e.familyForm);l(n,7,0,"family_details");l(n,12,0,e.familyForm.controls.family_details.controls);l(n,19,0,"primary","","");l(n,21,0,"person-add");l(n,41,0,"family_details_form_remark");l(n,44,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,6,0,uS._32(n,9).ngClassUntouched,uS._32(n,9).ngClassTouched,uS._32(n,9).ngClassPristine,uS._32(n,9).ngClassDirty,uS._32(n,9).ngClassValid,uS._32(n,9).ngClassInvalid,uS._32(n,9).ngClassPending);l(n,20,0,uS._32(n,21)._hidden);l(n,28,1,[uS._32(n,29)._control.errorState,uS._32(n,29)._control.errorState,uS._32(n,29)._canLabelFloat,uS._32(n,29)._shouldLabelFloat(),uS._32(n,29)._hideControlPlaceholder(),uS._32(n,29)._control.disabled,uS._32(n,29)._control.focused,"primary"==uS._32(n,29).color,"accent"==uS._32(n,29).color,"warn"==uS._32(n,29).color,uS._32(n,29)._shouldForward("untouched"),uS._32(n,29)._shouldForward("touched"),uS._32(n,29)._shouldForward("pristine"),uS._32(n,29)._shouldForward("dirty"),uS._32(n,29)._shouldForward("valid"),uS._32(n,29)._shouldForward("invalid"),uS._32(n,29)._shouldForward("pending")]);l(n,38,1,[uS._32(n,43).ngClassUntouched,uS._32(n,43).ngClassTouched,uS._32(n,43).ngClassPristine,uS._32(n,43).ngClassDirty,uS._32(n,43).ngClassValid,uS._32(n,43).ngClassInvalid,uS._32(n,43).ngClassPending,uS._32(n,44)._isServer,uS._32(n,44).id,uS._32(n,44).placeholder,uS._32(n,44).disabled,uS._32(n,44).required,uS._32(n,44).readonly,uS._32(n,44)._ariaDescribedby||null,uS._32(n,44).errorState,uS._32(n,44).required.toString()])})}function Da(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""],["strong",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdfamily(t.familyForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],block:[1,"block"],strong:[2,"strong"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","","")},null)}function Ta(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Ut)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(21,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,28).onClick()&&u}return u},jT.b,jT.a)),uS._17(28,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,32).onClick()&&u}return u},jT.b,jT.a)),uS._17(32,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(37,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(38,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(40,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(41,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,na)),uS._17(44,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Pa)),uS._17(47,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(50,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(51,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,214,{_mainButton:0}),uS._38(603979776,215,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(55,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(56,49152,[[214,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(57,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(58,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n \n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(62,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(63,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Da)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,21,0,e.tab);l(n,24,0,"optblue");l(n,28,0,"0");l(n,32,0,"1");l(n,41,0,e.tab);l(n,44,0,"1");l(n,47,0,"0");l(n,56,0,"optblue");l(n,58,0,"md-camera");l(n,66,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,20,0,uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._disabled);l(n,27,0,uS._32(n,28)._disabled,uS._32(n,28).isActive,uS._32(n,28).isActive);l(n,31,0,uS._32(n,32)._disabled,uS._32(n,32).isActive,uS._32(n,32).isActive);l(n,37,0,uS._32(n,38).statusbarPadding,uS._32(n,38)._hasRefresher);l(n,57,0,uS._32(n,58)._hidden)})}function Oa(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formdetails.form_name)})}function La(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Aa(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Va(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Na(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Wa(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Aa)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Va)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Na)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function Ea(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wa)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function ja(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function $a(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Ba(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ja)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,$a)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Ra(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ba)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Ua(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Ma(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,La)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Ea)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Ra)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Ua)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Ka(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[12,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.applicant_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function Ha(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,15,{_control:0}),uS._38(335544320,16,{_placeholderChild:0}),uS._38(335544320,17,{_labelChild:0}),uS._38(603979776,18,{_errorChildren:1}),uS._38(603979776,19,{_hintChildren:1}),uS._38(603979776,20,{_prefixChildren:1}),uS._38(603979776,21,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[15,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Ga(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,22,{_control:0}),uS._38(335544320,23,{_placeholderChild:0}),uS._38(335544320,24,{_labelChild:0}),uS._38(603979776,25,{_errorChildren:1}),uS._38(603979776,26,{_hintChildren:1}),uS._38(603979776,27,{_prefixChildren:1}),uS._38(603979776,28,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,[[1,0],["shareholding",1]],1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","shareholding"],["matInput",""],["placeholder","Share of Profit / Shareholding (%)"],["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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[22,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"shareholding");l(n,17,0,"Share of Profit / Shareholding (%)","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function Ya(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ga)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,!e.EntityTypeFlag&&"4"!=e.generalExistEntityType&&"9"!=e.generalExistEntityType&&""!=e.generalExistEntityType.value)},null)}function za(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,60,{_control:0}),uS._38(335544320,61,{_placeholderChild:0}),uS._38(335544320,62,{_labelChild:0}),uS._38(603979776,63,{_errorChildren:1}),uS._38(603979776,64,{_hintChildren:1}),uS._38(603979776,65,{_prefixChildren:1}),uS._38(603979776,66,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[60,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Qa(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{clear:[0,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"");l(n,4,0,"optblue","add-circle")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function Ja(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(1,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,67,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(5,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,5,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePartnerDetails(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(8,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{clear:[0,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(10,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(11,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(15,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(16,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Qa)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,8,0,"");l(n,11,0,"optblue","md-trash");l(n,19,0,n.parent.context.last)},function(l,n){l(n,10,0,uS._32(n,11)._hidden)})}function Za(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,183,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),uS._17(4,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,16777216,null,null,176,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(8,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],{expanded:[0,"expanded"]},null),uS._38(335544320,4,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,12)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(12,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(13,{collapsedHeight:0,expandedHeight:1}),uS._35(14,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(16,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(17,16384,null,0,ZO.f,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(20,null,[""," # "," "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(24,0,null,1,154,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(25,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,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,cT.b,cT.a)),uS._17(28,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,5,{_control:0}),uS._38(335544320,6,{_placeholderChild:0}),uS._38(335544320,7,{_labelChild:0}),uS._38(603979776,8,{_errorChildren:1}),uS._38(603979776,9,{_hintChildren:1}),uS._38(603979776,10,{_prefixChildren:1}),uS._38(603979776,11,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(37,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,42)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,42)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,42)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePartnerGroup(l.context.$implicit.value.partner_name,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(39,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(41,16384,null,0,xS.s,[xS.r],null,null),uS._17(42,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,12,{options:1}),uS._38(603979776,13,{optionGroups:1}),uS._38(335544320,14,{customTrigger:0}),uS._37(2048,[[5,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ka)),uS._17(49,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(51,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!==uS._32(l,52)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,52)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(52,8437760,[[12,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Others"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ha)),uS._17(58,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ya)),uS._17(61,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(63,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,cT.b,cT.a)),uS._17(64,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,29,{_control:0}),uS._38(335544320,30,{_placeholderChild:0}),uS._38(335544320,31,{_labelChild:0}),uS._38(603979776,32,{_errorChildren:1}),uS._38(603979776,33,{_hintChildren:1}),uS._38(603979776,34,{_prefixChildren:1}),uS._38(603979776,35,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(73,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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,77)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,77)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,77)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changeOfStartedBusiness(l.context.$implicit,l.context.index,e.value)&&u}return u},LO.b,LO.a)),uS._17(74,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(76,16384,null,0,xS.s,[xS.r],null,null),uS._17(77,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,36,{options:1}),uS._38(603979776,37,{optionGroups:1}),uS._38(335544320,38,{customTrigger:0}),uS._37(2048,[[29,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,85)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,85)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(85,8437760,[[36,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(88,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!==uS._32(l,89)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,89)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(89,8437760,[[36,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(92,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!==uS._32(l,93)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,93)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(93,8437760,[[36,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(98,0,null,null,1,"p",[["style","margin-left: 2% !important"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["No of Years in Current Business"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(101,0,null,null,23,"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,cT.b,cT.a)),uS._17(102,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,39,{_control:0}),uS._38(335544320,40,{_placeholderChild:0}),uS._38(335544320,41,{_labelChild:0}),uS._38(603979776,42,{_errorChildren:1}),uS._38(603979776,43,{_hintChildren:1}),uS._38(603979776,44,{_prefixChildren:1}),uS._38(603979776,45,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(111,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,t=l.component;if("input"===n){u=!1!==uS._32(l,112)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,112).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,112)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,112)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,113).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,113).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,113).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,118)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,118)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,118)._onInput()&&u}if("keyup"===n){u=!1!==t.getWorkExperience(l.context.$implicit.value,l.context.index)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.checkWithExistBusinessYear(e.target.value,l.context.index,l.context.$implicit)&&u}return u},null,null)),uS._17(112,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(113,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(115,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(117,16384,null,0,xS.s,[xS.r],null,null),uS._17(118,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[39,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(121,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),uS._17(122,16384,[[43,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(123,null,["",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["  \n "])),(l()(),uS._18(126,0,null,null,23,"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,cT.b,cT.a)),uS._17(127,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,46,{_control:0}),uS._38(335544320,47,{_placeholderChild:0}),uS._38(335544320,48,{_labelChild:0}),uS._38(603979776,49,{_errorChildren:1}),uS._38(603979776,50,{_hintChildren:1}),uS._38(603979776,51,{_prefixChildren:1}),uS._38(603979776,52,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(136,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,t=l.component;if("input"===n){u=!1!==uS._32(l,137)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,137).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,137)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,137)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,138).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,138).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,138).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,143)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,143)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,143)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value,l.context.index)&&u}return u},null,null)),uS._17(137,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(138,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(140,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(142,16384,null,0,xS.s,[xS.r],null,null),uS._17(143,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[46,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(146,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),uS._17(147,16384,[[50,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(148,null,["",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(151,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,cT.b,cT.a)),uS._17(152,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,53,{_control:0}),uS._38(335544320,54,{_placeholderChild:0}),uS._38(335544320,55,{_labelChild:0}),uS._38(603979776,56,{_errorChildren:1}),uS._38(603979776,57,{_hintChildren:1}),uS._38(603979776,58,{_prefixChildren:1}),uS._38(603979776,59,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(161,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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,162)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,162).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,162)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,162)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,163).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,163).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,163).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,168)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,168)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,168)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.getWorkExperience(l.context.$implicit.value,l.context.index)&&u}if("change"===n){u=!1!==t.checkWithExistTotalWorkExperience(e.target.value,l.context.index,l.context.$implicit)&&u}return u},null,null)),uS._17(162,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(163,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(165,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(167,16384,null,0,xS.s,[xS.r],null,null),uS._17(168,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[53,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(171,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),uS._17(172,16384,[[57,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(173,null,["",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,za)),uS._17(177,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ja)),uS._17(181,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-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,39,0,"partner_name");l(n,42,0,"Name");l(n,49,0,e.personsList);l(n,52,0,"Others");l(n,58,0,"Others"==n.context.$implicit.value.partner_name);l(n,61,0,""!=e.generalExistEntityType.value);l(n,74,0,"started_business");l(n,77,0,"Started Business");l(n,89,0,"yes");l(n,93,0,"no");l(n,115,0,"current_business_experiance_year");l(n,118,0,"Year","number",e.isreadonlyyear[n.context.index]);l(n,122,0,"start");l(n,140,0,"current_business_experiance_month");l(n,143,0,"Month","number",e.isreadonlymonth[n.context.index]);l(n,147,0,"start");l(n,165,0,"total_business_experiance");l(n,168,0,"Total Work Experience","number");l(n,172,0,"start");l(n,177,0,void 0!=n.context.$implicit.value.total_business_previous_experience);l(n,181,0,!e.EntityTypeFlag)},function(l,n){var e=n.component;l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,uS._32(n,8).expanded,uS._32(n,8)._hasSpacing());l(n,11,0,uS._32(n,12).panel._headerId,uS._32(n,12).panel.disabled?-1:0,uS._32(n,12)._getPanelId(),uS._32(n,12)._isExpanded(),uS._32(n,12).panel.disabled,uS._32(n,12)._isExpanded(),l(n,14,0,uS._32(n,12)._getExpandedState(),l(n,13,0,uS._32(n,12).collapsedHeight,uS._32(n,12).expandedHeight)));l(n,20,0,e.businessEntityTypeList.section_label,n.context.index+1);l(n,27,1,[uS._32(n,28)._control.errorState,uS._32(n,28)._control.errorState,uS._32(n,28)._canLabelFloat,uS._32(n,28)._shouldLabelFloat(),uS._32(n,28)._hideControlPlaceholder(),uS._32(n,28)._control.disabled,uS._32(n,28)._control.focused,"primary"==uS._32(n,28).color,"accent"==uS._32(n,28).color,"warn"==uS._32(n,28).color,uS._32(n,28)._shouldForward("untouched"),uS._32(n,28)._shouldForward("touched"),uS._32(n,28)._shouldForward("pristine"),uS._32(n,28)._shouldForward("dirty"),uS._32(n,28)._shouldForward("valid"),uS._32(n,28)._shouldForward("invalid"),uS._32(n,28)._shouldForward("pending")]);l(n,37,1,[uS._32(n,41).ngClassUntouched,uS._32(n,41).ngClassTouched,uS._32(n,41).ngClassPristine,uS._32(n,41).ngClassDirty,uS._32(n,41).ngClassValid,uS._32(n,41).ngClassInvalid,uS._32(n,41).ngClassPending,uS._32(n,42).id,uS._32(n,42).tabIndex,uS._32(n,42)._ariaLabel,uS._32(n,42).ariaLabelledby,uS._32(n,42).required.toString(),uS._32(n,42).disabled.toString(),uS._32(n,42).errorState,uS._32(n,42).panelOpen?uS._32(n,42)._optionIds:null,uS._32(n,42).multiple,uS._32(n,42)._ariaDescribedby||null,uS._32(n,42)._getAriaActiveDescendant(),uS._32(n,42).disabled,uS._32(n,42).errorState,uS._32(n,42).required]);l(n,51,0,uS._32(n,52)._getTabIndex(),uS._32(n,52).selected,uS._32(n,52).multiple,uS._32(n,52).active,uS._32(n,52).id,uS._32(n,52).selected.toString(),uS._32(n,52).disabled.toString(),uS._32(n,52).disabled);l(n,63,1,[uS._32(n,64)._control.errorState,uS._32(n,64)._control.errorState,uS._32(n,64)._canLabelFloat,uS._32(n,64)._shouldLabelFloat(),uS._32(n,64)._hideControlPlaceholder(),uS._32(n,64)._control.disabled,uS._32(n,64)._control.focused,"primary"==uS._32(n,64).color,"accent"==uS._32(n,64).color,"warn"==uS._32(n,64).color,uS._32(n,64)._shouldForward("untouched"),uS._32(n,64)._shouldForward("touched"),uS._32(n,64)._shouldForward("pristine"),uS._32(n,64)._shouldForward("dirty"),uS._32(n,64)._shouldForward("valid"),uS._32(n,64)._shouldForward("invalid"),uS._32(n,64)._shouldForward("pending")]);l(n,73,1,[uS._32(n,76).ngClassUntouched,uS._32(n,76).ngClassTouched,uS._32(n,76).ngClassPristine,uS._32(n,76).ngClassDirty,uS._32(n,76).ngClassValid,uS._32(n,76).ngClassInvalid,uS._32(n,76).ngClassPending,uS._32(n,77).id,uS._32(n,77).tabIndex,uS._32(n,77)._ariaLabel,uS._32(n,77).ariaLabelledby,uS._32(n,77).required.toString(),uS._32(n,77).disabled.toString(),uS._32(n,77).errorState,uS._32(n,77).panelOpen?uS._32(n,77)._optionIds:null,uS._32(n,77).multiple,uS._32(n,77)._ariaDescribedby||null,uS._32(n,77)._getAriaActiveDescendant(),uS._32(n,77).disabled,uS._32(n,77).errorState,uS._32(n,77).required]);l(n,84,0,uS._32(n,85)._getTabIndex(),uS._32(n,85).selected,uS._32(n,85).multiple,uS._32(n,85).active,uS._32(n,85).id,uS._32(n,85).selected.toString(),uS._32(n,85).disabled.toString(),uS._32(n,85).disabled);l(n,88,0,uS._32(n,89)._getTabIndex(),uS._32(n,89).selected,uS._32(n,89).multiple,uS._32(n,89).active,uS._32(n,89).id,uS._32(n,89).selected.toString(),uS._32(n,89).disabled.toString(),uS._32(n,89).disabled);l(n,92,0,uS._32(n,93)._getTabIndex(),uS._32(n,93).selected,uS._32(n,93).multiple,uS._32(n,93).active,uS._32(n,93).id,uS._32(n,93).selected.toString(),uS._32(n,93).disabled.toString(),uS._32(n,93).disabled);l(n,101,1,[uS._32(n,102)._control.errorState,uS._32(n,102)._control.errorState,uS._32(n,102)._canLabelFloat,uS._32(n,102)._shouldLabelFloat(),uS._32(n,102)._hideControlPlaceholder(),uS._32(n,102)._control.disabled,uS._32(n,102)._control.focused,"primary"==uS._32(n,102).color,"accent"==uS._32(n,102).color,"warn"==uS._32(n,102).color,uS._32(n,102)._shouldForward("untouched"),uS._32(n,102)._shouldForward("touched"),uS._32(n,102)._shouldForward("pristine"),uS._32(n,102)._shouldForward("dirty"),uS._32(n,102)._shouldForward("valid"),uS._32(n,102)._shouldForward("invalid"),uS._32(n,102)._shouldForward("pending")]);l(n,111,1,[uS._32(n,117).ngClassUntouched,uS._32(n,117).ngClassTouched,uS._32(n,117).ngClassPristine,uS._32(n,117).ngClassDirty,uS._32(n,117).ngClassValid,uS._32(n,117).ngClassInvalid,uS._32(n,117).ngClassPending,uS._32(n,118)._isServer,uS._32(n,118).id,uS._32(n,118).placeholder,uS._32(n,118).disabled,uS._32(n,118).required,uS._32(n,118).readonly,uS._32(n,118)._ariaDescribedby||null,uS._32(n,118).errorState,uS._32(n,118).required.toString()]);l(n,121,0,"end"==uS._32(n,122).align,uS._32(n,122).id,null);l(n,123,0,e.yearErrorMessage[n.context.index]);l(n,126,1,[uS._32(n,127)._control.errorState,uS._32(n,127)._control.errorState,uS._32(n,127)._canLabelFloat,uS._32(n,127)._shouldLabelFloat(),uS._32(n,127)._hideControlPlaceholder(),uS._32(n,127)._control.disabled,uS._32(n,127)._control.focused,"primary"==uS._32(n,127).color,"accent"==uS._32(n,127).color,"warn"==uS._32(n,127).color,uS._32(n,127)._shouldForward("untouched"),uS._32(n,127)._shouldForward("touched"),uS._32(n,127)._shouldForward("pristine"),uS._32(n,127)._shouldForward("dirty"),uS._32(n,127)._shouldForward("valid"),uS._32(n,127)._shouldForward("invalid"),uS._32(n,127)._shouldForward("pending")]);l(n,136,1,[uS._32(n,142).ngClassUntouched,uS._32(n,142).ngClassTouched,uS._32(n,142).ngClassPristine,uS._32(n,142).ngClassDirty,uS._32(n,142).ngClassValid,uS._32(n,142).ngClassInvalid,uS._32(n,142).ngClassPending,uS._32(n,143)._isServer,uS._32(n,143).id,uS._32(n,143).placeholder,uS._32(n,143).disabled,uS._32(n,143).required,uS._32(n,143).readonly,uS._32(n,143)._ariaDescribedby||null,uS._32(n,143).errorState,uS._32(n,143).required.toString()]);l(n,146,0,"end"==uS._32(n,147).align,uS._32(n,147).id,null);l(n,148,0,e.monthErrorMessage[n.context.index]);l(n,151,1,[uS._32(n,152)._control.errorState,uS._32(n,152)._control.errorState,uS._32(n,152)._canLabelFloat,uS._32(n,152)._shouldLabelFloat(),uS._32(n,152)._hideControlPlaceholder(),uS._32(n,152)._control.disabled,uS._32(n,152)._control.focused,"primary"==uS._32(n,152).color,"accent"==uS._32(n,152).color,"warn"==uS._32(n,152).color,uS._32(n,152)._shouldForward("untouched"),uS._32(n,152)._shouldForward("touched"),uS._32(n,152)._shouldForward("pristine"),uS._32(n,152)._shouldForward("dirty"),uS._32(n,152)._shouldForward("valid"),uS._32(n,152)._shouldForward("invalid"),uS._32(n,152)._shouldForward("pending")]);l(n,161,1,[uS._32(n,167).ngClassUntouched,uS._32(n,167).ngClassTouched,uS._32(n,167).ngClassPristine,uS._32(n,167).ngClassDirty,uS._32(n,167).ngClassValid,uS._32(n,167).ngClassInvalid,uS._32(n,167).ngClassPending,uS._32(n,168)._isServer,uS._32(n,168).id,uS._32(n,168).placeholder,uS._32(n,168).disabled,uS._32(n,168).required,uS._32(n,168).readonly,uS._32(n,168)._ariaDescribedby||null,uS._32(n,168).errorState,uS._32(n,168).required.toString()]);l(n,171,0,"end"==uS._32(n,172).align,uS._32(n,172).id,null);l(n,173,0,e.errorMessageForExistTotalWorkExperience[n.context.index])})}function Xa(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[76,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function li(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[93,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent,0),n.context.$implicit.name+" Of")))})}function ni(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[103,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function ei(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[113,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent,0),n.context.$implicit.name)))})}function ui(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,204,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),uS._17(4,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,16777216,null,null,197,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(8,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],{expanded:[0,"expanded"]},null),uS._38(335544320,68,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(11,0,null,0,12,"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!==uS._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,12)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(12,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(13,{collapsedHeight:0,expandedHeight:1}),uS._35(14,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(17,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(18,16384,null,0,ZO.f,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(21,null,["Family Member #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(25,0,null,1,161,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(26,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,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,cT.b,cT.a)),uS._17(29,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,69,{_control:0}),uS._38(335544320,70,{_placeholderChild:0}),uS._38(335544320,71,{_labelChild:0}),uS._38(603979776,72,{_errorChildren:1}),uS._38(603979776,73,{_hintChildren:1}),uS._38(603979776,74,{_prefixChildren:1}),uS._38(603979776,75,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,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!==uS._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,43)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(40,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(42,16384,null,0,xS.s,[xS.r],null,null),uS._17(43,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,76,{options:1}),uS._38(603979776,77,{optionGroups:1}),uS._38(335544320,78,{customTrigger:0}),uS._37(2048,[[69,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Xa)),uS._17(50,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(54,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,cT.b,cT.a)),uS._17(55,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,79,{_control:0}),uS._38(335544320,80,{_placeholderChild:0}),uS._38(335544320,81,{_labelChild:0}),uS._38(603979776,82,{_errorChildren:1}),uS._38(603979776,83,{_hintChildren:1}),uS._38(603979776,84,{_prefixChildren:1}),uS._38(603979776,85,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(64,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!==uS._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,65)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,70)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,70)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,70)._onInput()&&u}return u},null,null)),uS._17(65,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(67,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(69,16384,null,0,xS.s,[xS.r],null,null),uS._17(70,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[79,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(74,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,cT.b,cT.a)),uS._17(75,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,86,{_control:0}),uS._38(335544320,87,{_placeholderChild:0}),uS._38(335544320,88,{_labelChild:0}),uS._38(603979776,89,{_errorChildren:1}),uS._38(603979776,90,{_hintChildren:1}),uS._38(603979776,91,{_prefixChildren:1}),uS._38(603979776,92,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(84,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!==uS._32(l,89)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,89)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,89)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(86,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(88,16384,null,0,xS.s,[xS.r],null,null),uS._17(89,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,93,{options:1}),uS._38(603979776,94,{optionGroups:1}),uS._38(335544320,95,{customTrigger:0}),uS._37(2048,[[86,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,li)),uS._17(96,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(100,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,cT.b,cT.a)),uS._17(101,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,96,{_control:0}),uS._38(335544320,97,{_placeholderChild:0}),uS._38(335544320,98,{_labelChild:0}),uS._38(603979776,99,{_errorChildren:1}),uS._38(603979776,100,{_hintChildren:1}),uS._38(603979776,101,{_prefixChildren:1}),uS._38(603979776,102,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(110,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!==uS._32(l,115)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,115)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,115)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(112,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(114,16384,null,0,xS.s,[xS.r],null,null),uS._17(115,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,103,{options:1}),uS._38(603979776,104,{optionGroups:1}),uS._38(335544320,105,{customTrigger:0}),uS._37(2048,[[96,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ni)),uS._17(122,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(126,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,cT.b,cT.a)),uS._17(127,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,106,{_control:0}),uS._38(335544320,107,{_placeholderChild:0}),uS._38(335544320,108,{_labelChild:0}),uS._38(603979776,109,{_errorChildren:1}),uS._38(603979776,110,{_hintChildren:1}),uS._38(603979776,111,{_prefixChildren:1}),uS._38(603979776,112,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(136,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!==uS._32(l,141)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,141)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,141)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(138,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(140,16384,null,0,xS.s,[xS.r],null,null),uS._17(141,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,113,{options:1}),uS._38(603979776,114,{optionGroups:1}),uS._38(335544320,115,{customTrigger:0}),uS._37(2048,[[106,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ei)),uS._17(148,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(152,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,cT.b,cT.a)),uS._17(153,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,116,{_control:0}),uS._38(335544320,117,{_placeholderChild:0}),uS._38(335544320,118,{_labelChild:0}),uS._38(603979776,119,{_errorChildren:1}),uS._38(603979776,120,{_hintChildren:1}),uS._38(603979776,121,{_prefixChildren:1}),uS._38(603979776,122,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(162,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!==uS._32(l,166)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,166)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,166)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(163,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(165,16384,null,0,xS.s,[xS.r],null,null),uS._17(166,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,123,{options:1}),uS._38(603979776,124,{optionGroups:1}),uS._38(335544320,125,{customTrigger:0}),uS._37(2048,[[116,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(173,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!==uS._32(l,174)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,174)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(174,8437760,[[123,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(177,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!==uS._32(l,178)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,178)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(178,8437760,[[123,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(181,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!==uS._32(l,182)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,182)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(182,8437760,[[123,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(188,0,null,1,14,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(189,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,126,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(192,0,null,null,9,"ion-col",[["class","col"],["col-6",""],["offset-3",""]],null,null,null,null,null)),uS._17(193,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(195,0,null,null,5,"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},AT.b,AT.a)),uS._17(196,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{clear:[0,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(198,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(199,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,40,0,"family_member_salutation");l(n,43,0,"Title");l(n,50,0,e.titleData);l(n,67,0,"family_member_name");l(n,70,0,"Name");l(n,86,0,"other_family_relationship_id");l(n,89,0,"Relation");l(n,96,0,e.relationData);l(n,112,0,"relation_to_id");l(n,115,0,"Relation To");l(n,122,0,e.applicants);l(n,138,0,"relationship_with_company_id");l(n,141,0,"Relation With Company");l(n,148,0,e.companyRelationShipList);l(n,163,0,"started_business");l(n,166,0,"Started Business");l(n,174,0,"");l(n,178,0,"yes");l(n,182,0,"no");l(n,196,0,"");l(n,199,0,"optblue","md-trash")},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,uS._32(n,8).expanded,uS._32(n,8)._hasSpacing());l(n,11,0,uS._32(n,12).panel._headerId,uS._32(n,12).panel.disabled?-1:0,uS._32(n,12)._getPanelId(),uS._32(n,12)._isExpanded(),uS._32(n,12).panel.disabled,uS._32(n,12)._isExpanded(),l(n,14,0,uS._32(n,12)._getExpandedState(),l(n,13,0,uS._32(n,12).collapsedHeight,uS._32(n,12).expandedHeight)));l(n,21,0,n.context.index+1);l(n,28,1,[uS._32(n,29)._control.errorState,uS._32(n,29)._control.errorState,uS._32(n,29)._canLabelFloat,uS._32(n,29)._shouldLabelFloat(),uS._32(n,29)._hideControlPlaceholder(),uS._32(n,29)._control.disabled,uS._32(n,29)._control.focused,"primary"==uS._32(n,29).color,"accent"==uS._32(n,29).color,"warn"==uS._32(n,29).color,uS._32(n,29)._shouldForward("untouched"),uS._32(n,29)._shouldForward("touched"),uS._32(n,29)._shouldForward("pristine"),uS._32(n,29)._shouldForward("dirty"),uS._32(n,29)._shouldForward("valid"),uS._32(n,29)._shouldForward("invalid"),uS._32(n,29)._shouldForward("pending")]);l(n,38,1,[uS._32(n,42).ngClassUntouched,uS._32(n,42).ngClassTouched,uS._32(n,42).ngClassPristine,uS._32(n,42).ngClassDirty,uS._32(n,42).ngClassValid,uS._32(n,42).ngClassInvalid,uS._32(n,42).ngClassPending,uS._32(n,43).id,uS._32(n,43).tabIndex,uS._32(n,43)._ariaLabel,uS._32(n,43).ariaLabelledby,uS._32(n,43).required.toString(),uS._32(n,43).disabled.toString(),uS._32(n,43).errorState,uS._32(n,43).panelOpen?uS._32(n,43)._optionIds:null,uS._32(n,43).multiple,uS._32(n,43)._ariaDescribedby||null,uS._32(n,43)._getAriaActiveDescendant(),uS._32(n,43).disabled,uS._32(n,43).errorState,uS._32(n,43).required]);l(n,54,1,[uS._32(n,55)._control.errorState,uS._32(n,55)._control.errorState,uS._32(n,55)._canLabelFloat,uS._32(n,55)._shouldLabelFloat(),uS._32(n,55)._hideControlPlaceholder(),uS._32(n,55)._control.disabled,uS._32(n,55)._control.focused,"primary"==uS._32(n,55).color,"accent"==uS._32(n,55).color,"warn"==uS._32(n,55).color,uS._32(n,55)._shouldForward("untouched"),uS._32(n,55)._shouldForward("touched"),uS._32(n,55)._shouldForward("pristine"),uS._32(n,55)._shouldForward("dirty"),uS._32(n,55)._shouldForward("valid"),uS._32(n,55)._shouldForward("invalid"),uS._32(n,55)._shouldForward("pending")]);l(n,64,1,[uS._32(n,69).ngClassUntouched,uS._32(n,69).ngClassTouched,uS._32(n,69).ngClassPristine,uS._32(n,69).ngClassDirty,uS._32(n,69).ngClassValid,uS._32(n,69).ngClassInvalid,uS._32(n,69).ngClassPending,uS._32(n,70)._isServer,uS._32(n,70).id,uS._32(n,70).placeholder,uS._32(n,70).disabled,uS._32(n,70).required,uS._32(n,70).readonly,uS._32(n,70)._ariaDescribedby||null,uS._32(n,70).errorState,uS._32(n,70).required.toString()]);l(n,74,1,[uS._32(n,75)._control.errorState,uS._32(n,75)._control.errorState,uS._32(n,75)._canLabelFloat,uS._32(n,75)._shouldLabelFloat(),uS._32(n,75)._hideControlPlaceholder(),uS._32(n,75)._control.disabled,uS._32(n,75)._control.focused,"primary"==uS._32(n,75).color,"accent"==uS._32(n,75).color,"warn"==uS._32(n,75).color,uS._32(n,75)._shouldForward("untouched"),uS._32(n,75)._shouldForward("touched"),uS._32(n,75)._shouldForward("pristine"),uS._32(n,75)._shouldForward("dirty"),uS._32(n,75)._shouldForward("valid"),uS._32(n,75)._shouldForward("invalid"),uS._32(n,75)._shouldForward("pending")]);l(n,84,1,[uS._32(n,88).ngClassUntouched,uS._32(n,88).ngClassTouched,uS._32(n,88).ngClassPristine,uS._32(n,88).ngClassDirty,uS._32(n,88).ngClassValid,uS._32(n,88).ngClassInvalid,uS._32(n,88).ngClassPending,uS._32(n,89).id,uS._32(n,89).tabIndex,uS._32(n,89)._ariaLabel,uS._32(n,89).ariaLabelledby,uS._32(n,89).required.toString(),uS._32(n,89).disabled.toString(),uS._32(n,89).errorState,uS._32(n,89).panelOpen?uS._32(n,89)._optionIds:null,uS._32(n,89).multiple,uS._32(n,89)._ariaDescribedby||null,uS._32(n,89)._getAriaActiveDescendant(),uS._32(n,89).disabled,uS._32(n,89).errorState,uS._32(n,89).required]);l(n,100,1,[uS._32(n,101)._control.errorState,uS._32(n,101)._control.errorState,uS._32(n,101)._canLabelFloat,uS._32(n,101)._shouldLabelFloat(),uS._32(n,101)._hideControlPlaceholder(),uS._32(n,101)._control.disabled,uS._32(n,101)._control.focused,"primary"==uS._32(n,101).color,"accent"==uS._32(n,101).color,"warn"==uS._32(n,101).color,uS._32(n,101)._shouldForward("untouched"),uS._32(n,101)._shouldForward("touched"),uS._32(n,101)._shouldForward("pristine"),uS._32(n,101)._shouldForward("dirty"),uS._32(n,101)._shouldForward("valid"),uS._32(n,101)._shouldForward("invalid"),uS._32(n,101)._shouldForward("pending")]);l(n,110,1,[uS._32(n,114).ngClassUntouched,uS._32(n,114).ngClassTouched,uS._32(n,114).ngClassPristine,uS._32(n,114).ngClassDirty,uS._32(n,114).ngClassValid,uS._32(n,114).ngClassInvalid,uS._32(n,114).ngClassPending,uS._32(n,115).id,uS._32(n,115).tabIndex,uS._32(n,115)._ariaLabel,uS._32(n,115).ariaLabelledby,uS._32(n,115).required.toString(),uS._32(n,115).disabled.toString(),uS._32(n,115).errorState,uS._32(n,115).panelOpen?uS._32(n,115)._optionIds:null,uS._32(n,115).multiple,uS._32(n,115)._ariaDescribedby||null,uS._32(n,115)._getAriaActiveDescendant(),uS._32(n,115).disabled,uS._32(n,115).errorState,uS._32(n,115).required]);l(n,126,1,[uS._32(n,127)._control.errorState,uS._32(n,127)._control.errorState,uS._32(n,127)._canLabelFloat,uS._32(n,127)._shouldLabelFloat(),uS._32(n,127)._hideControlPlaceholder(),uS._32(n,127)._control.disabled,uS._32(n,127)._control.focused,"primary"==uS._32(n,127).color,"accent"==uS._32(n,127).color,"warn"==uS._32(n,127).color,uS._32(n,127)._shouldForward("untouched"),uS._32(n,127)._shouldForward("touched"),uS._32(n,127)._shouldForward("pristine"),uS._32(n,127)._shouldForward("dirty"),uS._32(n,127)._shouldForward("valid"),uS._32(n,127)._shouldForward("invalid"),uS._32(n,127)._shouldForward("pending")]);l(n,136,1,[uS._32(n,140).ngClassUntouched,uS._32(n,140).ngClassTouched,uS._32(n,140).ngClassPristine,uS._32(n,140).ngClassDirty,uS._32(n,140).ngClassValid,uS._32(n,140).ngClassInvalid,uS._32(n,140).ngClassPending,uS._32(n,141).id,uS._32(n,141).tabIndex,uS._32(n,141)._ariaLabel,uS._32(n,141).ariaLabelledby,uS._32(n,141).required.toString(),uS._32(n,141).disabled.toString(),uS._32(n,141).errorState,uS._32(n,141).panelOpen?uS._32(n,141)._optionIds:null,uS._32(n,141).multiple,uS._32(n,141)._ariaDescribedby||null,uS._32(n,141)._getAriaActiveDescendant(),uS._32(n,141).disabled,uS._32(n,141).errorState,uS._32(n,141).required]);l(n,152,1,[uS._32(n,153)._control.errorState,uS._32(n,153)._control.errorState,uS._32(n,153)._canLabelFloat,uS._32(n,153)._shouldLabelFloat(),uS._32(n,153)._hideControlPlaceholder(),uS._32(n,153)._control.disabled,uS._32(n,153)._control.focused,"primary"==uS._32(n,153).color,"accent"==uS._32(n,153).color,"warn"==uS._32(n,153).color,uS._32(n,153)._shouldForward("untouched"),uS._32(n,153)._shouldForward("touched"),uS._32(n,153)._shouldForward("pristine"),uS._32(n,153)._shouldForward("dirty"),uS._32(n,153)._shouldForward("valid"),uS._32(n,153)._shouldForward("invalid"),uS._32(n,153)._shouldForward("pending")]);l(n,162,1,[uS._32(n,165).ngClassUntouched,uS._32(n,165).ngClassTouched,uS._32(n,165).ngClassPristine,uS._32(n,165).ngClassDirty,uS._32(n,165).ngClassValid,uS._32(n,165).ngClassInvalid,uS._32(n,165).ngClassPending,uS._32(n,166).id,uS._32(n,166).tabIndex,uS._32(n,166)._ariaLabel,uS._32(n,166).ariaLabelledby,uS._32(n,166).required.toString(),uS._32(n,166).disabled.toString(),uS._32(n,166).errorState,uS._32(n,166).panelOpen?uS._32(n,166)._optionIds:null,uS._32(n,166).multiple,uS._32(n,166)._ariaDescribedby||null,uS._32(n,166)._getAriaActiveDescendant(),uS._32(n,166).disabled,uS._32(n,166).errorState,uS._32(n,166).required]);l(n,173,0,uS._32(n,174)._getTabIndex(),uS._32(n,174).selected,uS._32(n,174).multiple,uS._32(n,174).active,uS._32(n,174).id,uS._32(n,174).selected.toString(),uS._32(n,174).disabled.toString(),uS._32(n,174).disabled);l(n,177,0,uS._32(n,178)._getTabIndex(),uS._32(n,178).selected,uS._32(n,178).multiple,uS._32(n,178).active,uS._32(n,178).id,uS._32(n,178).selected.toString(),uS._32(n,178).disabled.toString(),uS._32(n,178).disabled);l(n,181,0,uS._32(n,182)._getTabIndex(),uS._32(n,182).selected,uS._32(n,182).multiple,uS._32(n,182).active,uS._32(n,182).id,uS._32(n,182).selected.toString(),uS._32(n,182).disabled.toString(),uS._32(n,182).disabled);l(n,198,0,uS._32(n,199)._hidden)})}function ti(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,13,"div",[["class","checkbo"]],[[2,"ng-untouched",null],[2,"ng-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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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},oO.b,oO.a)),uS._17(6,4374528,null,0,rO.b,[uS.p,uS.i,bT.j,[8,null],[2,rO.a]],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[rO.b]),uS._17(8,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(10,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(11,0,["",""])),uS._36(12,1),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6).id,uS._32(n,6).indeterminate,uS._32(n,6).checked,uS._32(n,6).disabled,"before"==uS._32(n,6).labelPosition,uS._32(n,10).ngClassUntouched,uS._32(n,10).ngClassTouched,uS._32(n,10).ngClassPristine,uS._32(n,10).ngClassDirty,uS._32(n,10).ngClassValid,uS._32(n,10).ngClassInvalid,uS._32(n,10).ngClassPending]);l(n,11,0,uS._41(n,11,0,l(n,12,0,uS._32(n.parent.parent,0),n.context.$implicit.controls.name.value)))})}function ai(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,144,{_control:0}),uS._38(335544320,145,{_placeholderChild:0}),uS._38(335544320,146,{_labelChild:0}),uS._38(603979776,147,{_errorChildren:1}),uS._38(603979776,148,{_hintChildren:1}),uS._38(603979776,149,{_prefixChildren:1}),uS._38(603979776,150,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(1,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,151,{options:1}),uS._38(603979776,152,{optionGroups:1}),uS._38(335544320,153,{customTrigger:0}),uS._37(2048,[[144,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[151,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(26,8437760,[[151,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,25,0,uS._32(n,26)._getTabIndex(),uS._32(n,26).selected,uS._32(n,26).multiple,uS._32(n,26).active,uS._32(n,26).id,uS._32(n,26).selected.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).disabled)})}function ii(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[161,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function oi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[172,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ri(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{clear:[0,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,7,0,"optblue","md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function _i(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.parent.parent.parent.context.index,1)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More State"]))],function(l,n){l(n,1,0,"optblue","")},null)}function di(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_i)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"No"==n.parent.parent.parent.parent.context.$implicit.value.pan_india_options)},null)}function si(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,103,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,42,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,154,{_control:0}),uS._38(335544320,155,{_placeholderChild:0}),uS._38(335544320,156,{_labelChild:0}),uS._38(603979776,157,{_errorChildren:1}),uS._38(603979776,158,{_hintChildren:1}),uS._38(603979776,159,{_prefixChildren:1}),uS._38(603979776,160,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,31,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.parent.context.$implicit.value.state_name,l.parent.context.index)&&u}return u},LO.b,LO.a)),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,161,{options:1}),uS._38(603979776,162,{optionGroups:1}),uS._38(335544320,163,{customTrigger:0}),uS._37(2048,[[154,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,0,null,1,15,"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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[161,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(26,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.parent.context.$implicit,l.parent.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(27,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,164,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(30,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(32,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(35,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(36,16384,[[164,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,ii)),uS._17(41,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(46,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(47,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,165,{_control:0}),uS._38(335544320,166,{_placeholderChild:0}),uS._38(335544320,167,{_labelChild:0}),uS._38(603979776,168,{_errorChildren:1}),uS._38(603979776,169,{_hintChildren:1}),uS._38(603979776,170,{_prefixChildren:1}),uS._38(603979776,171,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(56,0,null,1,33,"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!==uS._32(l,62)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,62)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,62)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(57,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(59,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(61,16384,null,0,xS.s,[xS.r],null,null),uS._17(62,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),uS._38(603979776,172,{options:1}),uS._38(603979776,173,{optionGroups:1}),uS._38(335544320,174,{customTrigger:0}),uS._37(2048,[[165,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(69,0,null,1,15,"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!==uS._32(l,70)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,70)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(70,8437760,[[172,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(72,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.parent.context.$implicit,l.parent.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(73,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,175,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(76,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(78,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(80,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(81,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(82,16384,[[175,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,oi)),uS._17(88,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(92,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(93,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,176,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ri)),uS._17(97,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(98,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,di)),uS._17(101,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"state_name");l(n,16,0,"State");l(n,27,0,"Find State","No Matching Result");l(n,30,0,"stateSearch");l(n,35,0,"md-close");l(n,41,0,uS._41(n,41,0,uS._32(n,42).transform(e.filteredState)));l(n,57,0,"");l(n,59,0,"city_name");l(n,62,0,"City","","");l(n,73,0,"Find City","No Matching Result");l(n,76,0,"citySearch");l(n,81,0,"md-close");l(n,88,0,e.cityDataValue[n.parent.context.index]);l(n,97,0,n.parent.context.index>0);l(n,101,0,n.parent.context.last)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,26,0,uS._32(n,27).isInsideMatOption,uS._32(n,32).ngClassUntouched,uS._32(n,32).ngClassTouched,uS._32(n,32).ngClassPristine,uS._32(n,32).ngClassDirty,uS._32(n,32).ngClassValid,uS._32(n,32).ngClassInvalid,uS._32(n,32).ngClassPending);l(n,34,0,uS._32(n,35)._hidden);l(n,46,1,[uS._32(n,47)._control.errorState,uS._32(n,47)._control.errorState,uS._32(n,47)._canLabelFloat,uS._32(n,47)._shouldLabelFloat(),uS._32(n,47)._hideControlPlaceholder(),uS._32(n,47)._control.disabled,uS._32(n,47)._control.focused,"primary"==uS._32(n,47).color,"accent"==uS._32(n,47).color,"warn"==uS._32(n,47).color,uS._32(n,47)._shouldForward("untouched"),uS._32(n,47)._shouldForward("touched"),uS._32(n,47)._shouldForward("pristine"),uS._32(n,47)._shouldForward("dirty"),uS._32(n,47)._shouldForward("valid"),uS._32(n,47)._shouldForward("invalid"),uS._32(n,47)._shouldForward("pending")]);l(n,56,1,[uS._32(n,57).required?"":null,uS._32(n,61).ngClassUntouched,uS._32(n,61).ngClassTouched,uS._32(n,61).ngClassPristine,uS._32(n,61).ngClassDirty,uS._32(n,61).ngClassValid,uS._32(n,61).ngClassInvalid,uS._32(n,61).ngClassPending,uS._32(n,62).id,uS._32(n,62).tabIndex,uS._32(n,62)._ariaLabel,uS._32(n,62).ariaLabelledby,uS._32(n,62).required.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).errorState,uS._32(n,62).panelOpen?uS._32(n,62)._optionIds:null,uS._32(n,62).multiple,uS._32(n,62)._ariaDescribedby||null,uS._32(n,62)._getAriaActiveDescendant(),uS._32(n,62).disabled,uS._32(n,62).errorState,uS._32(n,62).required]);l(n,69,0,uS._32(n,70)._getTabIndex(),uS._32(n,70).selected,uS._32(n,70).multiple,uS._32(n,70).active,uS._32(n,70).id,uS._32(n,70).selected.toString(),uS._32(n,70).disabled.toString(),uS._32(n,70).disabled);l(n,72,0,uS._32(n,73).isInsideMatOption,uS._32(n,78).ngClassUntouched,uS._32(n,78).ngClassTouched,uS._32(n,78).ngClassPristine,uS._32(n,78).ngClassDirty,uS._32(n,78).ngClassValid,uS._32(n,78).ngClassInvalid,uS._32(n,78).ngClassPending);l(n,80,0,uS._32(n,81)._hidden)})}function ci(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,si)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function mi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[184,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function pi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[194,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function fi(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,187,{_control:0}),uS._38(335544320,188,{_placeholderChild:0}),uS._38(335544320,189,{_labelChild:0}),uS._38(603979776,190,{_errorChildren:1}),uS._38(603979776,191,{_hintChildren:1}),uS._38(603979776,192,{_prefixChildren:1}),uS._38(603979776,193,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[189,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Cities Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,194,{options:1}),uS._38(603979776,195,{optionGroups:1}),uS._38(335544320,196,{customTrigger:0}),uS._37(2048,[[187,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,pi)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required])})}function hi(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,177,{_control:0}),uS._38(335544320,178,{_placeholderChild:0}),uS._38(335544320,179,{_labelChild:0}),uS._38(603979776,180,{_errorChildren:1}),uS._38(603979776,181,{_hintChildren:1}),uS._38(603979776,182,{_prefixChildren:1}),uS._38(603979776,183,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[179,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["States Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,184,{options:1}),uS._38(603979776,185,{optionGroups:1}),uS._38(335544320,186,{customTrigger:0}),uS._37(2048,[[177,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,mi)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fi)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function gi(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hi)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function bi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,13,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,7,"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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ci)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gi)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,12,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function vi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[204,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function yi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"button",[["clear",""],["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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{clear:[0,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"");l(n,4,0,"optblue","md-trash")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function Ci(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.parent.context.index,2)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More Countries"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function wi(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,197,{_control:0}),uS._38(335544320,198,{_placeholderChild:0}),uS._38(335544320,199,{_labelChild:0}),uS._38(603979776,200,{_errorChildren:1}),uS._38(603979776,201,{_hintChildren:1}),uS._38(603979776,202,{_prefixChildren:1}),uS._38(603979776,203,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),uS._17(16,16384,[[199,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,204,{options:1}),uS._38(603979776,205,{optionGroups:1}),uS._38(335544320,206,{customTrigger:0}),uS._37(2048,[[197,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,vi)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(35,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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,207,{_control:0}),uS._38(335544320,208,{_placeholderChild:0}),uS._38(335544320,209,{_labelChild:0}),uS._38(603979776,210,{_errorChildren:1}),uS._38(603979776,211,{_hintChildren:1}),uS._38(603979776,212,{_prefixChildren:1}),uS._38(603979776,213,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,46)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,47).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,47).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,47).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,54)._onInput()&&u}return u},null,null)),uS._17(46,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(47,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(48,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),uS._17(54,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[207,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,0,null,null,14,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(59,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,214,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(62,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(63,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yi)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(68,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ci)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,48,0,"");l(n,51,0,"approx_sale");l(n,54,0,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"","number");l(n,66,0,n.context.index>0);l(n,71,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,45,1,[uS._32(n,48).required?"":null,uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending,uS._32(n,54)._isServer,uS._32(n,54).id,uS._32(n,54).placeholder,uS._32(n,54).disabled,uS._32(n,54).required,uS._32(n,54).readonly,uS._32(n,54)._ariaDescribedby||null,uS._32(n,54).errorState,uS._32(n,54).required.toString()])})}function Fi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wi)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function xi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,215,{_control:0}),uS._38(335544320,216,{_placeholderChild:0}),uS._38(335544320,217,{_labelChild:0}),uS._38(603979776,218,{_errorChildren:1}),uS._38(603979776,219,{_hintChildren:1}),uS._38(603979776,220,{_prefixChildren:1}),uS._38(603979776,221,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(1,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},LO.b,LO.a)),uS._17(11,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,222,{options:1}),uS._38(603979776,223,{optionGroups:1}),uS._38(335544320,224,{customTrigger:0}),uS._37(2048,[[215,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[222,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[222,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,11).required?"":null,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled)})}function ki(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[232,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Si(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[243,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ii(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["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,"1")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{clear:[0,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,7,0,"optblue","md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function qi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.parent.parent.context.index,1)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More State"]))],function(l,n){l(n,1,0,"optblue","")},null)}function Pi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qi)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value.length>0)},null)}function Di(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,108,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,44,"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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,225,{_control:0}),uS._38(335544320,226,{_placeholderChild:0}),uS._38(335544320,227,{_labelChild:0}),uS._38(603979776,228,{_errorChildren:1}),uS._38(603979776,229,{_hintChildren:1}),uS._38(603979776,230,{_prefixChildren:1}),uS._38(603979776,231,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,33,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,232,{options:1}),uS._38(603979776,233,{optionGroups:1}),uS._38(335544320,234,{customTrigger:0}),uS._37(2048,[[225,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,15,"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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[232,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(31,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(32,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,235,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(40,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(41,16384,[[235,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,ki)),uS._17(46,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,44,"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,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,236,{_control:0}),uS._38(335544320,237,{_placeholderChild:0}),uS._38(335544320,238,{_labelChild:0}),uS._38(603979776,239,{_errorChildren:1}),uS._38(603979776,240,{_hintChildren:1}),uS._38(603979776,241,{_prefixChildren:1}),uS._38(603979776,242,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,1,33,"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!==uS._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,67)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(62,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(64,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(66,16384,null,0,xS.s,[xS.r],null,null),uS._17(67,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),uS._38(603979776,243,{options:1}),uS._38(603979776,244,{optionGroups:1}),uS._38(335544320,245,{customTrigger:0}),uS._37(2048,[[236,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,15,"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!==uS._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,75)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(75,8437760,[[243,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(78,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,246,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(81,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(83,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(86,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(87,16384,[[246,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Si)),uS._17(93,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(97,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(98,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,247,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ii)),uS._17(102,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(103,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pi)),uS._17(106,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,32,0,"Find State","No Matching Result");l(n,35,0,"stateSearch");l(n,40,0,"md-close");l(n,46,0,uS._41(n,46,0,uS._32(n,47).transform(e.filteredState)));l(n,62,0,"");l(n,64,0,"city_name");l(n,67,0,"City","","");l(n,78,0,"Find City","No Matching Result");l(n,81,0,"citySearch");l(n,86,0,"md-close");l(n,93,0,e.cityDataValue[n.context.index]);l(n,102,0,n.context.index>0);l(n,106,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,31,0,uS._32(n,32).isInsideMatOption,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending);l(n,39,0,uS._32(n,40)._hidden);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,61,1,[uS._32(n,62).required?"":null,uS._32(n,66).ngClassUntouched,uS._32(n,66).ngClassTouched,uS._32(n,66).ngClassPristine,uS._32(n,66).ngClassDirty,uS._32(n,66).ngClassValid,uS._32(n,66).ngClassInvalid,uS._32(n,66).ngClassPending,uS._32(n,67).id,uS._32(n,67).tabIndex,uS._32(n,67)._ariaLabel,uS._32(n,67).ariaLabelledby,uS._32(n,67).required.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).errorState,uS._32(n,67).panelOpen?uS._32(n,67)._optionIds:null,uS._32(n,67).multiple,uS._32(n,67)._ariaDescribedby||null,uS._32(n,67)._getAriaActiveDescendant(),uS._32(n,67).disabled,uS._32(n,67).errorState,uS._32(n,67).required]);l(n,74,0,uS._32(n,75)._getTabIndex(),uS._32(n,75).selected,uS._32(n,75).multiple,uS._32(n,75).active,uS._32(n,75).id,uS._32(n,75).selected.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).disabled);l(n,77,0,uS._32(n,78).isInsideMatOption,uS._32(n,83).ngClassUntouched,uS._32(n,83).ngClassTouched,uS._32(n,83).ngClassPristine,uS._32(n,83).ngClassDirty,uS._32(n,83).ngClassValid,uS._32(n,83).ngClassInvalid,uS._32(n,83).ngClassPending);l(n,85,0,uS._32(n,86)._hidden)})}function Ti(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[255,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Oi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[265,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Li(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,258,{_control:0}),uS._38(335544320,259,{_placeholderChild:0}),uS._38(335544320,260,{_labelChild:0}),uS._38(603979776,261,{_errorChildren:1}),uS._38(603979776,262,{_hintChildren:1}),uS._38(603979776,263,{_prefixChildren:1}),uS._38(603979776,264,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[260,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Cities Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,265,{options:1}),uS._38(603979776,266,{optionGroups:1}),uS._38(335544320,267,{customTrigger:0}),uS._37(2048,[[258,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Oi)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required])})}function Ai(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,248,{_control:0}),uS._38(335544320,249,{_placeholderChild:0}),uS._38(335544320,250,{_labelChild:0}),uS._38(603979776,251,{_errorChildren:1}),uS._38(603979776,252,{_hintChildren:1}),uS._38(603979776,253,{_prefixChildren:1}),uS._38(603979776,254,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[250,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["States Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,255,{options:1}),uS._38(603979776,256,{optionGroups:1}),uS._38(335544320,257,{customTrigger:0}),uS._37(2048,[[248,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ti)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Li)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function Vi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[275,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Ni(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.removeState(l.parent.parent.parent.context.index,t.mx,"2")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{clear:[0,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,7,0,"optblue","md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function Wi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.parent.context.index,2)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More Countries"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Ei(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,68,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,268,{_control:0}),uS._38(335544320,269,{_placeholderChild:0}),uS._38(335544320,270,{_labelChild:0}),uS._38(603979776,271,{_errorChildren:1}),uS._38(603979776,272,{_hintChildren:1}),uS._38(603979776,273,{_prefixChildren:1}),uS._38(603979776,274,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),uS._17(16,16384,[[270,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,275,{options:1}),uS._38(603979776,276,{optionGroups:1}),uS._38(335544320,277,{customTrigger:0}),uS._37(2048,[[268,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Vi)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,278,{_control:0}),uS._38(335544320,279,{_placeholderChild:0}),uS._38(335544320,280,{_labelChild:0}),uS._38(603979776,281,{_errorChildren:1}),uS._38(603979776,282,{_hintChildren:1}),uS._38(603979776,283,{_prefixChildren:1}),uS._38(603979776,284,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["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!==uS._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,53)._onInput()&&u}return u},null,null)),uS._17(46,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(47,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[278,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(57,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(58,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,285,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ni)),uS._17(62,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(63,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wi)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,62,0,n.context.index>0);l(n,66,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,45,1,[uS._32(n,47).required?"":null,uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53)._isServer,uS._32(n,53).id,uS._32(n,53).placeholder,uS._32(n,53).disabled,uS._32(n,53).required,uS._32(n,53).readonly,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53).errorState,uS._32(n,53).required.toString()])})}function ji(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,41,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Within India"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xi)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,7,"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)),uS._17(12,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(14,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Di)),uS._17(17,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._40(-1,null,["\n\n\n\n\n "])),(l()(),uS._18(20,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)),uS._17(21,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(23,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ai)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Export"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,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)),uS._17(33,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(35,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ei)),uS._17(38,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,21,0,"max_sale_state_name");l(n,26,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,33,0,"countries_where_export_done");l(n,38,0,n.parent.context.$implicit.get("countries_where_export_done").controls)},function(l,n){l(n,11,0,uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending);l(n,20,0,uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending);l(n,32,0,uS._32(n,35).ngClassUntouched,uS._32(n,35).ngClassTouched,uS._32(n,35).ngClassPristine,uS._32(n,35).ngClassDirty,uS._32(n,35).ngClassValid,uS._32(n,35).ngClassInvalid,uS._32(n,35).ngClassPending)})}function $i(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreManufacturing()&&u}return u},AT.b,AT.a)),uS._17(5,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"]},null),(l()(),uS._40(-1,0,["Add More Product"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"optblue","")},null)}function Bi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,118,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(6,null,["Manufacturing Details ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(9,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,127,{_control:0}),uS._38(335544320,128,{_placeholderChild:0}),uS._38(335544320,129,{_labelChild:0}),uS._38(603979776,130,{_errorChildren:1}),uS._38(603979776,131,{_hintChildren:1}),uS._38(603979776,132,{_prefixChildren:1}),uS._38(603979776,133,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,24)._onInput()&&u}return u},null,null)),uS._17(19,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[127,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,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,cT.b,cT.a)),uS._17(29,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,134,{_control:0}),uS._38(335544320,135,{_placeholderChild:0}),uS._38(335544320,136,{_labelChild:0}),uS._38(603979776,137,{_errorChildren:1}),uS._38(603979776,138,{_hintChildren:1}),uS._38(603979776,139,{_prefixChildren:1}),uS._38(603979776,140,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,42)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,42)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,42)._onBlur()&&u}if("selectionChange"===n){t.changeManufacturingAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"MActivity",l.context.index)&&u}return u},LO.b,LO.a)),uS._17(39,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(41,16384,null,0,xS.s,[xS.r],null,null),uS._17(42,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,141,{options:1}),uS._38(603979776,142,{optionGroups:1}),uS._38(335544320,143,{customTrigger:0}),uS._37(2048,[[134,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,50)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,50)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(50,8437760,[[141,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Within India"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,54)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(54,8437760,[[141,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Export"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,58)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(58,8437760,[[141,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Both"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ai)),uS._17(64,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,bi)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fi)),uS._17(70,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ji)),uS._17(73,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(75,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,cT.b,cT.a)),uS._17(76,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,286,{_control:0}),uS._38(335544320,287,{_placeholderChild:0}),uS._38(335544320,288,{_labelChild:0}),uS._38(603979776,289,{_errorChildren:1}),uS._38(603979776,290,{_hintChildren:1}),uS._38(603979776,291,{_prefixChildren:1}),uS._38(603979776,292,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(85,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(86,16384,[[288,4]],0,mT.f,[],null,null),(l()(),uS._40(87,null,["Description of "," Manufacturing Process"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,90)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,90).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,90)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,90)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,95)._onInput()&&u}return u},null,null)),uS._17(90,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(92,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(94,16384,null,0,xS.s,[xS.r],null,null),uS._17(95,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[286,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(99,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(100,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,293,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(103,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(104,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(106,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeManufacturing(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(107,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(109,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(110,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(113,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$i)),uS._17(116,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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");l(n,107,0,"optblue","");l(n,110,0,"md-trash");l(n,116,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[uS._32(n,9)._control.errorState,uS._32(n,9)._control.errorState,uS._32(n,9)._canLabelFloat,uS._32(n,9)._shouldLabelFloat(),uS._32(n,9)._hideControlPlaceholder(),uS._32(n,9)._control.disabled,uS._32(n,9)._control.focused,"primary"==uS._32(n,9).color,"accent"==uS._32(n,9).color,"warn"==uS._32(n,9).color,uS._32(n,9)._shouldForward("untouched"),uS._32(n,9)._shouldForward("touched"),uS._32(n,9)._shouldForward("pristine"),uS._32(n,9)._shouldForward("dirty"),uS._32(n,9)._shouldForward("valid"),uS._32(n,9)._shouldForward("invalid"),uS._32(n,9)._shouldForward("pending")]);l(n,18,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._isServer,uS._32(n,24).id,uS._32(n,24).placeholder,uS._32(n,24).disabled,uS._32(n,24).required,uS._32(n,24).readonly,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24).errorState,uS._32(n,24).required.toString()]);l(n,28,1,[uS._32(n,29)._control.errorState,uS._32(n,29)._control.errorState,uS._32(n,29)._canLabelFloat,uS._32(n,29)._shouldLabelFloat(),uS._32(n,29)._hideControlPlaceholder(),uS._32(n,29)._control.disabled,uS._32(n,29)._control.focused,"primary"==uS._32(n,29).color,"accent"==uS._32(n,29).color,"warn"==uS._32(n,29).color,uS._32(n,29)._shouldForward("untouched"),uS._32(n,29)._shouldForward("touched"),uS._32(n,29)._shouldForward("pristine"),uS._32(n,29)._shouldForward("dirty"),uS._32(n,29)._shouldForward("valid"),uS._32(n,29)._shouldForward("invalid"),uS._32(n,29)._shouldForward("pending")]);l(n,38,1,[uS._32(n,41).ngClassUntouched,uS._32(n,41).ngClassTouched,uS._32(n,41).ngClassPristine,uS._32(n,41).ngClassDirty,uS._32(n,41).ngClassValid,uS._32(n,41).ngClassInvalid,uS._32(n,41).ngClassPending,uS._32(n,42).id,uS._32(n,42).tabIndex,uS._32(n,42)._ariaLabel,uS._32(n,42).ariaLabelledby,uS._32(n,42).required.toString(),uS._32(n,42).disabled.toString(),uS._32(n,42).errorState,uS._32(n,42).panelOpen?uS._32(n,42)._optionIds:null,uS._32(n,42).multiple,uS._32(n,42)._ariaDescribedby||null,uS._32(n,42)._getAriaActiveDescendant(),uS._32(n,42).disabled,uS._32(n,42).errorState,uS._32(n,42).required]);l(n,49,0,uS._32(n,50)._getTabIndex(),uS._32(n,50).selected,uS._32(n,50).multiple,uS._32(n,50).active,uS._32(n,50).id,uS._32(n,50).selected.toString(),uS._32(n,50).disabled.toString(),uS._32(n,50).disabled);l(n,53,0,uS._32(n,54)._getTabIndex(),uS._32(n,54).selected,uS._32(n,54).multiple,uS._32(n,54).active,uS._32(n,54).id,uS._32(n,54).selected.toString(),uS._32(n,54).disabled.toString(),uS._32(n,54).disabled);l(n,57,0,uS._32(n,58)._getTabIndex(),uS._32(n,58).selected,uS._32(n,58).multiple,uS._32(n,58).active,uS._32(n,58).id,uS._32(n,58).selected.toString(),uS._32(n,58).disabled.toString(),uS._32(n,58).disabled);l(n,75,1,[uS._32(n,76)._control.errorState,uS._32(n,76)._control.errorState,uS._32(n,76)._canLabelFloat,uS._32(n,76)._shouldLabelFloat(),uS._32(n,76)._hideControlPlaceholder(),uS._32(n,76)._control.disabled,uS._32(n,76)._control.focused,"primary"==uS._32(n,76).color,"accent"==uS._32(n,76).color,"warn"==uS._32(n,76).color,uS._32(n,76)._shouldForward("untouched"),uS._32(n,76)._shouldForward("touched"),uS._32(n,76)._shouldForward("pristine"),uS._32(n,76)._shouldForward("dirty"),uS._32(n,76)._shouldForward("valid"),uS._32(n,76)._shouldForward("invalid"),uS._32(n,76)._shouldForward("pending")]);l(n,87,0,n.context.$implicit.value.main_products);l(n,89,1,[uS._32(n,94).ngClassUntouched,uS._32(n,94).ngClassTouched,uS._32(n,94).ngClassPristine,uS._32(n,94).ngClassDirty,uS._32(n,94).ngClassValid,uS._32(n,94).ngClassInvalid,uS._32(n,94).ngClassPending,uS._32(n,95)._isServer,uS._32(n,95).id,uS._32(n,95).placeholder,uS._32(n,95).disabled,uS._32(n,95).required,uS._32(n,95).readonly,uS._32(n,95)._ariaDescribedby||null,uS._32(n,95).errorState,uS._32(n,95).required.toString()]);l(n,109,0,uS._32(n,110)._hidden)})}function Ri(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),uS._17(7,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Bi)),uS._17(10,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n\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)},function(l,n){l(n,3,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending)})}function Ui(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,311,{_control:0}),uS._38(335544320,312,{_placeholderChild:0}),uS._38(335544320,313,{_labelChild:0}),uS._38(603979776,314,{_errorChildren:1}),uS._38(603979776,315,{_hintChildren:1}),uS._38(603979776,316,{_prefixChildren:1}),uS._38(603979776,317,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(2,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},LO.b,LO.a)),uS._17(11,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,318,{options:1}),uS._38(603979776,319,{optionGroups:1}),uS._38(335544320,320,{customTrigger:0}),uS._37(2048,[[311,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[318,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[318,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,11).required?"":null,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled)})}function Mi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[328,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ki(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[339,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Hi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function Gi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.parent.context.index,"1")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More State"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Yi(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,107,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,321,{_control:0}),uS._38(335544320,322,{_placeholderChild:0}),uS._38(335544320,323,{_labelChild:0}),uS._38(603979776,324,{_errorChildren:1}),uS._38(603979776,325,{_hintChildren:1}),uS._38(603979776,326,{_prefixChildren:1}),uS._38(603979776,327,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,33,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,328,{options:1}),uS._38(603979776,329,{optionGroups:1}),uS._38(335544320,330,{customTrigger:0}),uS._37(2048,[[321,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,15,"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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[328,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(31,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(32,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,331,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(40,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(41,16384,[[331,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._13(16777216,null,1,2,null,Mi)),uS._17(46,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,332,{_control:0}),uS._38(335544320,333,{_placeholderChild:0}),uS._38(335544320,334,{_labelChild:0}),uS._38(603979776,335,{_errorChildren:1}),uS._38(603979776,336,{_hintChildren:1}),uS._38(603979776,337,{_prefixChildren:1}),uS._38(603979776,338,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,1,32,"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!==uS._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,67)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(62,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(64,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(66,16384,null,0,xS.s,[xS.r],null,null),uS._17(67,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),uS._38(603979776,339,{options:1}),uS._38(603979776,340,{optionGroups:1}),uS._38(335544320,341,{customTrigger:0}),uS._37(2048,[[332,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,15,"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!==uS._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,75)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(75,8437760,[[339,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(78,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,342,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(81,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(83,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(86,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(87,16384,[[342,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ki)),uS._17(92,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(96,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(97,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,343,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hi)),uS._17(101,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(102,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Gi)),uS._17(105,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,32,0,"Find state","No Matching Result");l(n,35,0,"stateSearch");l(n,40,0,"md-close");l(n,46,0,uS._41(n,46,0,uS._32(n,47).transform(e.filteredState)));l(n,62,0,"");l(n,64,0,"city_name");l(n,67,0,"City","","");l(n,78,0,"Find City","No Matching Result");l(n,81,0,"citySearch");l(n,86,0,"md-close");l(n,92,0,e.cityDataValue[n.context.index]);l(n,101,0,n.context.index>0);l(n,105,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options&&n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,31,0,uS._32(n,32).isInsideMatOption,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending);l(n,39,0,uS._32(n,40)._hidden);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,61,1,[uS._32(n,62).required?"":null,uS._32(n,66).ngClassUntouched,uS._32(n,66).ngClassTouched,uS._32(n,66).ngClassPristine,uS._32(n,66).ngClassDirty,uS._32(n,66).ngClassValid,uS._32(n,66).ngClassInvalid,uS._32(n,66).ngClassPending,uS._32(n,67).id,uS._32(n,67).tabIndex,uS._32(n,67)._ariaLabel,uS._32(n,67).ariaLabelledby,uS._32(n,67).required.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).errorState,uS._32(n,67).panelOpen?uS._32(n,67)._optionIds:null,uS._32(n,67).multiple,uS._32(n,67)._ariaDescribedby||null,uS._32(n,67)._getAriaActiveDescendant(),uS._32(n,67).disabled,uS._32(n,67).errorState,uS._32(n,67).required]);l(n,74,0,uS._32(n,75)._getTabIndex(),uS._32(n,75).selected,uS._32(n,75).multiple,uS._32(n,75).active,uS._32(n,75).id,uS._32(n,75).selected.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).disabled);l(n,77,0,uS._32(n,78).isInsideMatOption,uS._32(n,83).ngClassUntouched,uS._32(n,83).ngClassTouched,uS._32(n,83).ngClassPristine,uS._32(n,83).ngClassDirty,uS._32(n,83).ngClassValid,uS._32(n,83).ngClassInvalid,uS._32(n,83).ngClassPending);l(n,85,0,uS._32(n,86)._hidden)})}function zi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[351,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Qi(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[361,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ji(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,354,{_control:0}),uS._38(335544320,355,{_placeholderChild:0}),uS._38(335544320,356,{_labelChild:0}),uS._38(603979776,357,{_errorChildren:1}),uS._38(603979776,358,{_hintChildren:1}),uS._38(603979776,359,{_prefixChildren:1}),uS._38(603979776,360,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[356,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Cities Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,361,{options:1}),uS._38(603979776,362,{optionGroups:1}),uS._38(335544320,363,{customTrigger:0}),uS._37(2048,[[354,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Qi)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required])})}function Zi(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,344,{_control:0}),uS._38(335544320,345,{_placeholderChild:0}),uS._38(335544320,346,{_labelChild:0}),uS._38(603979776,347,{_errorChildren:1}),uS._38(603979776,348,{_hintChildren:1}),uS._38(603979776,349,{_prefixChildren:1}),uS._38(603979776,350,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[346,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["States Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,351,{options:1}),uS._38(603979776,352,{optionGroups:1}),uS._38(335544320,353,{customTrigger:0}),uS._37(2048,[[344,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,zi)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ji)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function Xi(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zi)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function lo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,14,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,8,"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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Yi)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Xi)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function no(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[371,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function eo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function uo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More Countries"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function to(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,69,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,364,{_control:0}),uS._38(335544320,365,{_placeholderChild:0}),uS._38(335544320,366,{_labelChild:0}),uS._38(603979776,367,{_errorChildren:1}),uS._38(603979776,368,{_hintChildren:1}),uS._38(603979776,369,{_prefixChildren:1}),uS._38(603979776,370,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),uS._17(16,16384,[[366,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Countries Where Export Is Being Done for\n ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,25)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,371,{options:1}),uS._38(603979776,372,{optionGroups:1}),uS._38(335544320,373,{customTrigger:0}),uS._37(2048,[[364,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,no)),uS._17(32,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,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,cT.b,cT.a)),uS._17(37,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,374,{_control:0}),uS._38(335544320,375,{_placeholderChild:0}),uS._38(335544320,376,{_labelChild:0}),uS._38(603979776,377,{_errorChildren:1}),uS._38(603979776,378,{_hintChildren:1}),uS._38(603979776,379,{_prefixChildren:1}),uS._38(603979776,380,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(46,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["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!==uS._32(l,47)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,47).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,47)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,47)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,54)._onInput()&&u}return u},null,null)),uS._17(47,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(48,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),uS._17(54,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[374,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(59,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,381,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,eo)),uS._17(63,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(64,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,uo)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,63,0,n.context.index>0);l(n,67,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25).id,uS._32(n,25).tabIndex,uS._32(n,25)._ariaLabel,uS._32(n,25).ariaLabelledby,uS._32(n,25).required.toString(),uS._32(n,25).disabled.toString(),uS._32(n,25).errorState,uS._32(n,25).panelOpen?uS._32(n,25)._optionIds:null,uS._32(n,25).multiple,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25)._getAriaActiveDescendant(),uS._32(n,25).disabled,uS._32(n,25).errorState,uS._32(n,25).required]);l(n,36,1,[uS._32(n,37)._control.errorState,uS._32(n,37)._control.errorState,uS._32(n,37)._canLabelFloat,uS._32(n,37)._shouldLabelFloat(),uS._32(n,37)._hideControlPlaceholder(),uS._32(n,37)._control.disabled,uS._32(n,37)._control.focused,"primary"==uS._32(n,37).color,"accent"==uS._32(n,37).color,"warn"==uS._32(n,37).color,uS._32(n,37)._shouldForward("untouched"),uS._32(n,37)._shouldForward("touched"),uS._32(n,37)._shouldForward("pristine"),uS._32(n,37)._shouldForward("dirty"),uS._32(n,37)._shouldForward("valid"),uS._32(n,37)._shouldForward("invalid"),uS._32(n,37)._shouldForward("pending")]);l(n,46,1,[uS._32(n,48).required?"":null,uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending,uS._32(n,54)._isServer,uS._32(n,54).id,uS._32(n,54).placeholder,uS._32(n,54).disabled,uS._32(n,54).required,uS._32(n,54).readonly,uS._32(n,54)._ariaDescribedby||null,uS._32(n,54).errorState,uS._32(n,54).required.toString()])})}function ao(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,to)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function io(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,382,{_control:0}),uS._38(335544320,383,{_placeholderChild:0}),uS._38(335544320,384,{_labelChild:0}),uS._38(603979776,385,{_errorChildren:1}),uS._38(603979776,386,{_hintChildren:1}),uS._38(603979776,387,{_prefixChildren:1}),uS._38(603979776,388,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(2,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},LO.b,LO.a)),uS._17(11,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,389,{options:1}),uS._38(603979776,390,{optionGroups:1}),uS._38(335544320,391,{customTrigger:0}),uS._37(2048,[[382,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[389,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[389,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,11).required?"":null,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled)})}function oo(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[399,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function ro(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[410,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function _o(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function so(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.parent.context.index,"1")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More State"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function co(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,107,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,392,{_control:0}),uS._38(335544320,393,{_placeholderChild:0}),uS._38(335544320,394,{_labelChild:0}),uS._38(603979776,395,{_errorChildren:1}),uS._38(603979776,396,{_hintChildren:1}),uS._38(603979776,397,{_prefixChildren:1}),uS._38(603979776,398,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,33,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,399,{options:1}),uS._38(603979776,400,{optionGroups:1}),uS._38(335544320,401,{customTrigger:0}),uS._37(2048,[[392,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,15,"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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[399,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(31,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(32,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,402,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(40,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(41,16384,[[402,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,oo)),uS._17(46,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,403,{_control:0}),uS._38(335544320,404,{_placeholderChild:0}),uS._38(335544320,405,{_labelChild:0}),uS._38(603979776,406,{_errorChildren:1}),uS._38(603979776,407,{_hintChildren:1}),uS._38(603979776,408,{_prefixChildren:1}),uS._38(603979776,409,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,1,32,"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!==uS._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,67)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(62,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(64,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(66,16384,null,0,xS.s,[xS.r],null,null),uS._17(67,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),uS._38(603979776,410,{options:1}),uS._38(603979776,411,{optionGroups:1}),uS._38(335544320,412,{customTrigger:0}),uS._37(2048,[[403,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,15,"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!==uS._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,75)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(75,8437760,[[410,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(78,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,413,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(81,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(83,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(86,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(87,16384,[[413,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ro)),uS._17(92,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(96,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(97,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,414,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_o)),uS._17(101,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(102,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,so)),uS._17(105,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,32,0,"Find City","No Matching Result");l(n,35,0,"stateSearch");l(n,40,0,"md-close");l(n,46,0,uS._41(n,46,0,uS._32(n,47).transform(e.filteredState)));l(n,62,0,"");l(n,64,0,"city_name");l(n,67,0,"City","","");l(n,78,0,"Find City","No Matching Result");l(n,81,0,"citySearch");l(n,86,0,"md-close");l(n,92,0,e.cityDataValue[n.context.index]);l(n,101,0,n.context.index>0);l(n,105,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,31,0,uS._32(n,32).isInsideMatOption,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending);l(n,39,0,uS._32(n,40)._hidden);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,61,1,[uS._32(n,62).required?"":null,uS._32(n,66).ngClassUntouched,uS._32(n,66).ngClassTouched,uS._32(n,66).ngClassPristine,uS._32(n,66).ngClassDirty,uS._32(n,66).ngClassValid,uS._32(n,66).ngClassInvalid,uS._32(n,66).ngClassPending,uS._32(n,67).id,uS._32(n,67).tabIndex,uS._32(n,67)._ariaLabel,uS._32(n,67).ariaLabelledby,uS._32(n,67).required.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).errorState,uS._32(n,67).panelOpen?uS._32(n,67)._optionIds:null,uS._32(n,67).multiple,uS._32(n,67)._ariaDescribedby||null,uS._32(n,67)._getAriaActiveDescendant(),uS._32(n,67).disabled,uS._32(n,67).errorState,uS._32(n,67).required]);l(n,74,0,uS._32(n,75)._getTabIndex(),uS._32(n,75).selected,uS._32(n,75).multiple,uS._32(n,75).active,uS._32(n,75).id,uS._32(n,75).selected.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).disabled);l(n,77,0,uS._32(n,78).isInsideMatOption,uS._32(n,83).ngClassUntouched,uS._32(n,83).ngClassTouched,uS._32(n,83).ngClassPristine,uS._32(n,83).ngClassDirty,uS._32(n,83).ngClassValid,uS._32(n,83).ngClassInvalid,uS._32(n,83).ngClassPending);l(n,85,0,uS._32(n,86)._hidden)})}function mo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "]))],null,null)}function po(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[422,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function fo(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[432,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ho(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,425,{_control:0}),uS._38(335544320,426,{_placeholderChild:0}),uS._38(335544320,427,{_labelChild:0}),uS._38(603979776,428,{_errorChildren:1}),uS._38(603979776,429,{_hintChildren:1}),uS._38(603979776,430,{_prefixChildren:1}),uS._38(603979776,431,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[427,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Cities Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,432,{options:1}),uS._38(603979776,433,{optionGroups:1}),uS._38(335544320,434,{customTrigger:0}),uS._37(2048,[[425,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,fo)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required])})}function go(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,415,{_control:0}),uS._38(335544320,416,{_placeholderChild:0}),uS._38(335544320,417,{_labelChild:0}),uS._38(603979776,418,{_errorChildren:1}),uS._38(603979776,419,{_hintChildren:1}),uS._38(603979776,420,{_prefixChildren:1}),uS._38(603979776,421,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[417,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["States Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,422,{options:1}),uS._38(603979776,423,{optionGroups:1}),uS._38(335544320,424,{customTrigger:0}),uS._37(2048,[[415,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,po)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ho)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function bo(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[442,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function vo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function yo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More Countries"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Co(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,68,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,435,{_control:0}),uS._38(335544320,436,{_placeholderChild:0}),uS._38(335544320,437,{_labelChild:0}),uS._38(603979776,438,{_errorChildren:1}),uS._38(603979776,439,{_hintChildren:1}),uS._38(603979776,440,{_prefixChildren:1}),uS._38(603979776,441,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),uS._17(16,16384,[[437,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,442,{options:1}),uS._38(603979776,443,{optionGroups:1}),uS._38(335544320,444,{customTrigger:0}),uS._37(2048,[[435,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,bo)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,445,{_control:0}),uS._38(335544320,446,{_placeholderChild:0}),uS._38(335544320,447,{_labelChild:0}),uS._38(603979776,448,{_errorChildren:1}),uS._38(603979776,449,{_hintChildren:1}),uS._38(603979776,450,{_prefixChildren:1}),uS._38(603979776,451,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["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!==uS._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,53)._onInput()&&u}return u},null,null)),uS._17(46,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(47,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[445,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(57,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(58,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,452,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vo)),uS._17(62,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(63,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yo)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,62,0,n.context.index>0);l(n,66,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,45,1,[uS._32(n,47).required?"":null,uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53)._isServer,uS._32(n,53).id,uS._32(n,53).placeholder,uS._32(n,53).disabled,uS._32(n,53).required,uS._32(n,53).readonly,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53).errorState,uS._32(n,53).required.toString()])})}function wo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,43,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Within India"])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,0,null,null,4,"div",[["class","tab_class state-margin"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,io)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(12,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(14,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,co)),uS._17(17,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,mo)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(24,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(26,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,go)),uS._17(29,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Export"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(36,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(38,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Co)),uS._17(41,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\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)},function(l,n){l(n,11,0,uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending);l(n,23,0,uS._32(n,26).ngClassUntouched,uS._32(n,26).ngClassTouched,uS._32(n,26).ngClassPristine,uS._32(n,26).ngClassDirty,uS._32(n,26).ngClassValid,uS._32(n,26).ngClassInvalid,uS._32(n,26).ngClassPending);l(n,35,0,uS._32(n,38).ngClassUntouched,uS._32(n,38).ngClassTouched,uS._32(n,38).ngClassPristine,uS._32(n,38).ngClassDirty,uS._32(n,38).ngClassValid,uS._32(n,38).ngClassInvalid,uS._32(n,38).ngClassPending)})}function Fo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreRetail()&&u}return u},AT.b,AT.a)),uS._17(5,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"]},null),(l()(),uS._40(-1,0,["Add More Product"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"optblue","")},null)}function xo(l){return uS._42(0,[(l()(),uS._18(0,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,null,null,null)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(9,null,["Retail Trading Details ",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,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,cT.b,cT.a)),uS._17(13,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,294,{_control:0}),uS._38(335544320,295,{_placeholderChild:0}),uS._38(335544320,296,{_labelChild:0}),uS._38(603979776,297,{_errorChildren:1}),uS._38(603979776,298,{_hintChildren:1}),uS._38(603979776,299,{_prefixChildren:1}),uS._38(603979776,300,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,30)._onInput()&&u}return u},null,null)),uS._17(23,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(24,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(27,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(29,16384,null,0,xS.s,[xS.r],null,null),uS._17(30,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[294,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(35,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,301,{_control:0}),uS._38(335544320,302,{_placeholderChild:0}),uS._38(335544320,303,{_labelChild:0}),uS._38(603979776,304,{_errorChildren:1}),uS._38(603979776,305,{_hintChildren:1}),uS._38(603979776,306,{_prefixChildren:1}),uS._38(603979776,307,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,50)._onBlur()&&u}if("selectionChange"===n){t.changeRetailAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"RActivity",l.context.index)&&u}return u},LO.b,LO.a)),uS._17(45,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(47,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(49,16384,null,0,xS.s,[xS.r],null,null),uS._17(50,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,308,{options:1}),uS._38(603979776,309,{optionGroups:1}),uS._38(335544320,310,{customTrigger:0}),uS._37(2048,[[301,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,58)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(58,8437760,[[308,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Within India"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(62,8437760,[[308,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Export"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,66)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(66,8437760,[[308,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Both"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ui)),uS._17(72,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,lo)),uS._17(75,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ao)),uS._17(78,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,wo)),uS._17(81,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(83,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,cT.b,cT.a)),uS._17(84,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,453,{_control:0}),uS._38(335544320,454,{_placeholderChild:0}),uS._38(335544320,455,{_labelChild:0}),uS._38(603979776,456,{_errorChildren:1}),uS._38(603979776,457,{_hintChildren:1}),uS._38(603979776,458,{_prefixChildren:1}),uS._38(603979776,459,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(93,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(94,16384,[[455,4]],0,mT.f,[],null,null),(l()(),uS._40(95,null,["Description of "," Retailing\n process"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,98)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,98).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,98)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,98)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,103)._onInput()&&u}return u},null,null)),uS._17(98,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(100,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(102,16384,null,0,xS.s,[xS.r],null,null),uS._17(103,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[453,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(107,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(108,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,460,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(111,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(112,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(114,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetail(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(115,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(117,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(118,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(121,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fo)),uS._17(124,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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");l(n,115,0,"optblue","");l(n,118,0,"md-trash");l(n,124,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,12,1,[uS._32(n,13)._control.errorState,uS._32(n,13)._control.errorState,uS._32(n,13)._canLabelFloat,uS._32(n,13)._shouldLabelFloat(),uS._32(n,13)._hideControlPlaceholder(),uS._32(n,13)._control.disabled,uS._32(n,13)._control.focused,"primary"==uS._32(n,13).color,"accent"==uS._32(n,13).color,"warn"==uS._32(n,13).color,uS._32(n,13)._shouldForward("untouched"),uS._32(n,13)._shouldForward("touched"),uS._32(n,13)._shouldForward("pristine"),uS._32(n,13)._shouldForward("dirty"),uS._32(n,13)._shouldForward("valid"),uS._32(n,13)._shouldForward("invalid"),uS._32(n,13)._shouldForward("pending")]);l(n,22,1,[uS._32(n,24).required?"":null,uS._32(n,29).ngClassUntouched,uS._32(n,29).ngClassTouched,uS._32(n,29).ngClassPristine,uS._32(n,29).ngClassDirty,uS._32(n,29).ngClassValid,uS._32(n,29).ngClassInvalid,uS._32(n,29).ngClassPending,uS._32(n,30)._isServer,uS._32(n,30).id,uS._32(n,30).placeholder,uS._32(n,30).disabled,uS._32(n,30).required,uS._32(n,30).readonly,uS._32(n,30)._ariaDescribedby||null,uS._32(n,30).errorState,uS._32(n,30).required.toString()]);l(n,34,1,[uS._32(n,35)._control.errorState,uS._32(n,35)._control.errorState,uS._32(n,35)._canLabelFloat,uS._32(n,35)._shouldLabelFloat(),uS._32(n,35)._hideControlPlaceholder(),uS._32(n,35)._control.disabled,uS._32(n,35)._control.focused,"primary"==uS._32(n,35).color,"accent"==uS._32(n,35).color,"warn"==uS._32(n,35).color,uS._32(n,35)._shouldForward("untouched"),uS._32(n,35)._shouldForward("touched"),uS._32(n,35)._shouldForward("pristine"),uS._32(n,35)._shouldForward("dirty"),uS._32(n,35)._shouldForward("valid"),uS._32(n,35)._shouldForward("invalid"),uS._32(n,35)._shouldForward("pending")]);l(n,44,1,[uS._32(n,45).required?"":null,uS._32(n,49).ngClassUntouched,uS._32(n,49).ngClassTouched,uS._32(n,49).ngClassPristine,uS._32(n,49).ngClassDirty,uS._32(n,49).ngClassValid,uS._32(n,49).ngClassInvalid,uS._32(n,49).ngClassPending,uS._32(n,50).id,uS._32(n,50).tabIndex,uS._32(n,50)._ariaLabel,uS._32(n,50).ariaLabelledby,uS._32(n,50).required.toString(),uS._32(n,50).disabled.toString(),uS._32(n,50).errorState,uS._32(n,50).panelOpen?uS._32(n,50)._optionIds:null,uS._32(n,50).multiple,uS._32(n,50)._ariaDescribedby||null,uS._32(n,50)._getAriaActiveDescendant(),uS._32(n,50).disabled,uS._32(n,50).errorState,uS._32(n,50).required]);l(n,57,0,uS._32(n,58)._getTabIndex(),uS._32(n,58).selected,uS._32(n,58).multiple,uS._32(n,58).active,uS._32(n,58).id,uS._32(n,58).selected.toString(),uS._32(n,58).disabled.toString(),uS._32(n,58).disabled);l(n,61,0,uS._32(n,62)._getTabIndex(),uS._32(n,62).selected,uS._32(n,62).multiple,uS._32(n,62).active,uS._32(n,62).id,uS._32(n,62).selected.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).disabled);l(n,65,0,uS._32(n,66)._getTabIndex(),uS._32(n,66).selected,uS._32(n,66).multiple,uS._32(n,66).active,uS._32(n,66).id,uS._32(n,66).selected.toString(),uS._32(n,66).disabled.toString(),uS._32(n,66).disabled);l(n,83,1,[uS._32(n,84)._control.errorState,uS._32(n,84)._control.errorState,uS._32(n,84)._canLabelFloat,uS._32(n,84)._shouldLabelFloat(),uS._32(n,84)._hideControlPlaceholder(),uS._32(n,84)._control.disabled,uS._32(n,84)._control.focused,"primary"==uS._32(n,84).color,"accent"==uS._32(n,84).color,"warn"==uS._32(n,84).color,uS._32(n,84)._shouldForward("untouched"),uS._32(n,84)._shouldForward("touched"),uS._32(n,84)._shouldForward("pristine"),uS._32(n,84)._shouldForward("dirty"),uS._32(n,84)._shouldForward("valid"),uS._32(n,84)._shouldForward("invalid"),uS._32(n,84)._shouldForward("pending")]);l(n,95,0,n.context.$implicit.value.main_products);l(n,97,1,[uS._32(n,102).ngClassUntouched,uS._32(n,102).ngClassTouched,uS._32(n,102).ngClassPristine,uS._32(n,102).ngClassDirty,uS._32(n,102).ngClassValid,uS._32(n,102).ngClassInvalid,uS._32(n,102).ngClassPending,uS._32(n,103)._isServer,uS._32(n,103).id,uS._32(n,103).placeholder,uS._32(n,103).disabled,uS._32(n,103).required,uS._32(n,103).readonly,uS._32(n,103)._ariaDescribedby||null,uS._32(n,103).errorState,uS._32(n,103).required.toString()]);l(n,117,0,uS._32(n,118)._hidden)})}function ko(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),uS._17(7,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xo)),uS._17(10,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n\n\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)},function(l,n){l(n,3,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending)})}function So(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,478,{_control:0}),uS._38(335544320,479,{_placeholderChild:0}),uS._38(335544320,480,{_labelChild:0}),uS._38(603979776,481,{_errorChildren:1}),uS._38(603979776,482,{_hintChildren:1}),uS._38(603979776,483,{_prefixChildren:1}),uS._38(603979776,484,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(3,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},LO.b,LO.a)),uS._17(11,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,485,{options:1}),uS._38(603979776,486,{optionGroups:1}),uS._38(335544320,487,{customTrigger:0}),uS._37(2048,[[478,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[485,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[485,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,11).required?"":null,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled)})}function Io(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[495,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function qo(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[506,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Po(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function Do(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.parent.context.index,"1")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More State"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function To(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,107,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,488,{_control:0}),uS._38(335544320,489,{_placeholderChild:0}),uS._38(335544320,490,{_labelChild:0}),uS._38(603979776,491,{_errorChildren:1}),uS._38(603979776,492,{_hintChildren:1}),uS._38(603979776,493,{_prefixChildren:1}),uS._38(603979776,494,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,33,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,495,{options:1}),uS._38(603979776,496,{optionGroups:1}),uS._38(335544320,497,{customTrigger:0}),uS._37(2048,[[488,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,15,"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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[495,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(31,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(32,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,498,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(40,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(41,16384,[[498,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,Io)),uS._17(46,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,499,{_control:0}),uS._38(335544320,500,{_placeholderChild:0}),uS._38(335544320,501,{_labelChild:0}),uS._38(603979776,502,{_errorChildren:1}),uS._38(603979776,503,{_hintChildren:1}),uS._38(603979776,504,{_prefixChildren:1}),uS._38(603979776,505,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,1,32,"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!==uS._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,67)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(62,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(64,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(66,16384,null,0,xS.s,[xS.r],null,null),uS._17(67,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),uS._38(603979776,506,{options:1}),uS._38(603979776,507,{optionGroups:1}),uS._38(335544320,508,{customTrigger:0}),uS._37(2048,[[499,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,15,"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!==uS._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,75)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(75,8437760,[[506,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(78,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,509,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(81,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(83,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(86,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(87,16384,[[509,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,qo)),uS._17(92,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(96,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(97,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,510,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Po)),uS._17(101,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(102,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Do)),uS._17(105,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,32,0,"Find City","No Matching Result");l(n,35,0,"stateSearch");l(n,40,0,"md-close");l(n,46,0,uS._41(n,46,0,uS._32(n,47).transform(e.filteredState)));l(n,62,0,"");l(n,64,0,"city_name");l(n,67,0,"City","","");l(n,78,0,"Find City","No Matching Result");l(n,81,0,"citySearch");l(n,86,0,"md-close");l(n,92,0,e.cityDataValue[n.context.index]);l(n,101,0,n.context.index>0);l(n,105,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,31,0,uS._32(n,32).isInsideMatOption,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending);l(n,39,0,uS._32(n,40)._hidden);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,61,1,[uS._32(n,62).required?"":null,uS._32(n,66).ngClassUntouched,uS._32(n,66).ngClassTouched,uS._32(n,66).ngClassPristine,uS._32(n,66).ngClassDirty,uS._32(n,66).ngClassValid,uS._32(n,66).ngClassInvalid,uS._32(n,66).ngClassPending,uS._32(n,67).id,uS._32(n,67).tabIndex,uS._32(n,67)._ariaLabel,uS._32(n,67).ariaLabelledby,uS._32(n,67).required.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).errorState,uS._32(n,67).panelOpen?uS._32(n,67)._optionIds:null,uS._32(n,67).multiple,uS._32(n,67)._ariaDescribedby||null,uS._32(n,67)._getAriaActiveDescendant(),uS._32(n,67).disabled,uS._32(n,67).errorState,uS._32(n,67).required]);l(n,74,0,uS._32(n,75)._getTabIndex(),uS._32(n,75).selected,uS._32(n,75).multiple,uS._32(n,75).active,uS._32(n,75).id,uS._32(n,75).selected.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).disabled);l(n,77,0,uS._32(n,78).isInsideMatOption,uS._32(n,83).ngClassUntouched,uS._32(n,83).ngClassTouched,uS._32(n,83).ngClassPristine,uS._32(n,83).ngClassDirty,uS._32(n,83).ngClassValid,uS._32(n,83).ngClassInvalid,uS._32(n,83).ngClassPending);l(n,85,0,uS._32(n,86)._hidden)})}function Oo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "]))],null,null)}function Lo(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[518,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ao(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[528,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Vo(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,521,{_control:0}),uS._38(335544320,522,{_placeholderChild:0}),uS._38(335544320,523,{_labelChild:0}),uS._38(603979776,524,{_errorChildren:1}),uS._38(603979776,525,{_hintChildren:1}),uS._38(603979776,526,{_prefixChildren:1}),uS._38(603979776,527,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[523,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Cities Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,528,{options:1}),uS._38(603979776,529,{optionGroups:1}),uS._38(335544320,530,{customTrigger:0}),uS._37(2048,[[521,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ao)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required])})}function No(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,511,{_control:0}),uS._38(335544320,512,{_placeholderChild:0}),uS._38(335544320,513,{_labelChild:0}),uS._38(603979776,514,{_errorChildren:1}),uS._38(603979776,515,{_hintChildren:1}),uS._38(603979776,516,{_prefixChildren:1}),uS._38(603979776,517,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[513,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["States Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,518,{options:1}),uS._38(603979776,519,{optionGroups:1}),uS._38(335544320,520,{customTrigger:0}),uS._37(2048,[[511,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Lo)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Vo)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function Wo(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,No)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function Eo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,To)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Oo)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wo)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function jo(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[538,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function $o(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function Bo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More Countries"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Ro(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,68,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,531,{_control:0}),uS._38(335544320,532,{_placeholderChild:0}),uS._38(335544320,533,{_labelChild:0}),uS._38(603979776,534,{_errorChildren:1}),uS._38(603979776,535,{_hintChildren:1}),uS._38(603979776,536,{_prefixChildren:1}),uS._38(603979776,537,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),uS._17(16,16384,[[533,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,538,{options:1}),uS._38(603979776,539,{optionGroups:1}),uS._38(335544320,540,{customTrigger:0}),uS._37(2048,[[531,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,jo)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,541,{_control:0}),uS._38(335544320,542,{_placeholderChild:0}),uS._38(335544320,543,{_labelChild:0}),uS._38(603979776,544,{_errorChildren:1}),uS._38(603979776,545,{_hintChildren:1}),uS._38(603979776,546,{_prefixChildren:1}),uS._38(603979776,547,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["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!==uS._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,53)._onInput()&&u}return u},null,null)),uS._17(46,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(47,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[541,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(57,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(58,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,548,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$o)),uS._17(62,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(63,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Bo)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,62,0,n.context.index>0);l(n,66,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,45,1,[uS._32(n,47).required?"":null,uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53)._isServer,uS._32(n,53).id,uS._32(n,53).placeholder,uS._32(n,53).disabled,uS._32(n,53).required,uS._32(n,53).readonly,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53).errorState,uS._32(n,53).required.toString()])})}function Uo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ro)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._40(-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)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function Mo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,549,{_control:0}),uS._38(335544320,550,{_placeholderChild:0}),uS._38(335544320,551,{_labelChild:0}),uS._38(603979776,552,{_errorChildren:1}),uS._38(603979776,553,{_hintChildren:1}),uS._38(603979776,554,{_prefixChildren:1}),uS._38(603979776,555,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(3,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},LO.b,LO.a)),uS._17(11,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,556,{options:1}),uS._38(603979776,557,{optionGroups:1}),uS._38(335544320,558,{customTrigger:0}),uS._37(2048,[[549,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[556,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[556,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,11).required?"":null,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled)})}function Ko(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[566,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ho(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[577,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Go(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function Yo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,98,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,559,{_control:0}),uS._38(335544320,560,{_placeholderChild:0}),uS._38(335544320,561,{_labelChild:0}),uS._38(603979776,562,{_errorChildren:1}),uS._38(603979776,563,{_hintChildren:1}),uS._38(603979776,564,{_prefixChildren:1}),uS._38(603979776,565,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,33,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,566,{options:1}),uS._38(603979776,567,{optionGroups:1}),uS._38(335544320,568,{customTrigger:0}),uS._37(2048,[[559,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,15,"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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[566,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(31,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(32,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,569,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(40,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(41,16384,[[569,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,Ko)),uS._17(46,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,43,"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,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,570,{_control:0}),uS._38(335544320,571,{_placeholderChild:0}),uS._38(335544320,572,{_labelChild:0}),uS._38(603979776,573,{_errorChildren:1}),uS._38(603979776,574,{_hintChildren:1}),uS._38(603979776,575,{_prefixChildren:1}),uS._38(603979776,576,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,1,32,"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!==uS._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,67)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(62,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(64,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(66,16384,null,0,xS.s,[xS.r],null,null),uS._17(67,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),uS._38(603979776,577,{options:1}),uS._38(603979776,578,{optionGroups:1}),uS._38(335544320,579,{customTrigger:0}),uS._37(2048,[[570,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,15,"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!==uS._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,75)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(75,8437760,[[577,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(78,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,580,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(81,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(83,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(86,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(87,16384,[[580,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ho)),uS._17(92,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Go)),uS._17(97,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"State","");l(n,32,0,"Find State","No Matching Result");l(n,35,0,"stateSearch");l(n,40,0,"md-close");l(n,46,0,uS._41(n,46,0,uS._32(n,47).transform(e.filteredState)));l(n,62,0,"");l(n,64,0,"city_name");l(n,67,0,"City","","");l(n,78,0,"Find City","No Matching Result");l(n,81,0,"citySearch");l(n,86,0,"md-close");l(n,92,0,e.cityDataValue[n.context.index]);l(n,97,0,n.context.index>0)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,31,0,uS._32(n,32).isInsideMatOption,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending);l(n,39,0,uS._32(n,40)._hidden);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,61,1,[uS._32(n,62).required?"":null,uS._32(n,66).ngClassUntouched,uS._32(n,66).ngClassTouched,uS._32(n,66).ngClassPristine,uS._32(n,66).ngClassDirty,uS._32(n,66).ngClassValid,uS._32(n,66).ngClassInvalid,uS._32(n,66).ngClassPending,uS._32(n,67).id,uS._32(n,67).tabIndex,uS._32(n,67)._ariaLabel,uS._32(n,67).ariaLabelledby,uS._32(n,67).required.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).errorState,uS._32(n,67).panelOpen?uS._32(n,67)._optionIds:null,uS._32(n,67).multiple,uS._32(n,67)._ariaDescribedby||null,uS._32(n,67)._getAriaActiveDescendant(),uS._32(n,67).disabled,uS._32(n,67).errorState,uS._32(n,67).required]);l(n,74,0,uS._32(n,75)._getTabIndex(),uS._32(n,75).selected,uS._32(n,75).multiple,uS._32(n,75).active,uS._32(n,75).id,uS._32(n,75).selected.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).disabled);l(n,77,0,uS._32(n,78).isInsideMatOption,uS._32(n,83).ngClassUntouched,uS._32(n,83).ngClassTouched,uS._32(n,83).ngClassPristine,uS._32(n,83).ngClassDirty,uS._32(n,83).ngClassValid,uS._32(n,83).ngClassInvalid,uS._32(n,83).ngClassPending);l(n,85,0,uS._32(n,86)._hidden)})}function zo(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""],["small",""]],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},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More State"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Qo(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[588,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Jo(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[598,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Zo(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,591,{_control:0}),uS._38(335544320,592,{_placeholderChild:0}),uS._38(335544320,593,{_labelChild:0}),uS._38(603979776,594,{_errorChildren:1}),uS._38(603979776,595,{_hintChildren:1}),uS._38(603979776,596,{_prefixChildren:1}),uS._38(603979776,597,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[593,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Cities Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,598,{options:1}),uS._38(603979776,599,{optionGroups:1}),uS._38(335544320,600,{customTrigger:0}),uS._37(2048,[[591,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Jo)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required])})}function Xo(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,581,{_control:0}),uS._38(335544320,582,{_placeholderChild:0}),uS._38(335544320,583,{_labelChild:0}),uS._38(603979776,584,{_errorChildren:1}),uS._38(603979776,585,{_hintChildren:1}),uS._38(603979776,586,{_prefixChildren:1}),uS._38(603979776,587,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[583,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["States Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,588,{options:1}),uS._38(603979776,589,{optionGroups:1}),uS._38(335544320,590,{customTrigger:0}),uS._37(2048,[[581,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Qo)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zo)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function lr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[608,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function nr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function er(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,601,{_control:0}),uS._38(335544320,602,{_placeholderChild:0}),uS._38(335544320,603,{_labelChild:0}),uS._38(603979776,604,{_errorChildren:1}),uS._38(603979776,605,{_hintChildren:1}),uS._38(603979776,606,{_prefixChildren:1}),uS._38(603979776,607,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[603,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Cities Where Max Sales Done for ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(19,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),uS._17(20,16384,[[603,4]],0,mT.f,[],null,null),(l()(),uS._40(21,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,28)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,28)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,28)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,608,{options:1}),uS._38(603979776,609,{optionGroups:1}),uS._38(335544320,610,{customTrigger:0}),uS._37(2048,[[601,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,lr)),uS._17(35,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,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,cT.b,cT.a)),uS._17(40,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,611,{_control:0}),uS._38(335544320,612,{_placeholderChild:0}),uS._38(335544320,613,{_labelChild:0}),uS._38(603979776,614,{_errorChildren:1}),uS._38(603979776,615,{_hintChildren:1}),uS._38(603979776,616,{_prefixChildren:1}),uS._38(603979776,617,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(49,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["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!==uS._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,57)._onInput()&&u}return u},null,null)),uS._17(50,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(51,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(54,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(56,16384,null,0,xS.s,[xS.r],null,null),uS._17(57,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[611,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,nr)),uS._17(62,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._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,[uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28).id,uS._32(n,28).tabIndex,uS._32(n,28)._ariaLabel,uS._32(n,28).ariaLabelledby,uS._32(n,28).required.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).errorState,uS._32(n,28).panelOpen?uS._32(n,28)._optionIds:null,uS._32(n,28).multiple,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28)._getAriaActiveDescendant(),uS._32(n,28).disabled,uS._32(n,28).errorState,uS._32(n,28).required]);l(n,39,1,[uS._32(n,40)._control.errorState,uS._32(n,40)._control.errorState,uS._32(n,40)._canLabelFloat,uS._32(n,40)._shouldLabelFloat(),uS._32(n,40)._hideControlPlaceholder(),uS._32(n,40)._control.disabled,uS._32(n,40)._control.focused,"primary"==uS._32(n,40).color,"accent"==uS._32(n,40).color,"warn"==uS._32(n,40).color,uS._32(n,40)._shouldForward("untouched"),uS._32(n,40)._shouldForward("touched"),uS._32(n,40)._shouldForward("pristine"),uS._32(n,40)._shouldForward("dirty"),uS._32(n,40)._shouldForward("valid"),uS._32(n,40)._shouldForward("invalid"),uS._32(n,40)._shouldForward("pending")]);l(n,49,1,[uS._32(n,51).required?"":null,uS._32(n,56).ngClassUntouched,uS._32(n,56).ngClassTouched,uS._32(n,56).ngClassPristine,uS._32(n,56).ngClassDirty,uS._32(n,56).ngClassValid,uS._32(n,56).ngClassInvalid,uS._32(n,56).ngClassPending,uS._32(n,57)._isServer,uS._32(n,57).id,uS._32(n,57).placeholder,uS._32(n,57).disabled,uS._32(n,57).required,uS._32(n,57).readonly,uS._32(n,57)._ariaDescribedby||null,uS._32(n,57).errorState,uS._32(n,57).required.toString()])})}function ur(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,49,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Within India"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,4,"div",[["class","tab_class state-margin"],["fxLayout","row nowrap"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mo)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,11,"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)),uS._17(12,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(14,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Yo)),uS._17(17,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zo)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(24,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)),uS._17(25,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(27,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Xo)),uS._17(30,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Export"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,0,null,null,12,"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)),uS._17(37,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(39,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,er)),uS._17(42,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._18(43,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(45,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""],["small",""]],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},AT.b,AT.a)),uS._17(46,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More Countries"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,21,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,25,0,"max_sale_state_name");l(n,30,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,37,0,"countries_where_export_done");l(n,42,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,46,0,"optblue","")},function(l,n){l(n,11,0,uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending);l(n,24,0,uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending);l(n,36,0,uS._32(n,39).ngClassUntouched,uS._32(n,39).ngClassTouched,uS._32(n,39).ngClassPristine,uS._32(n,39).ngClassDirty,uS._32(n,39).ngClassValid,uS._32(n,39).ngClassInvalid,uS._32(n,39).ngClassPending)})}function tr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreWholesale()&&u}return u},AT.b,AT.a)),uS._17(5,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"]},null),(l()(),uS._40(-1,0,["Add More Product"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"optblue","")},null)}function ar(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,135,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(9,null,["Wholesale Trade Details ",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,74,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(13,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,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,cT.b,cT.a)),uS._17(16,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,461,{_control:0}),uS._38(335544320,462,{_placeholderChild:0}),uS._38(335544320,463,{_labelChild:0}),uS._38(603979776,464,{_errorChildren:1}),uS._38(603979776,465,{_hintChildren:1}),uS._38(603979776,466,{_prefixChildren:1}),uS._38(603979776,467,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,33)._onInput()&&u}return u},null,null)),uS._17(26,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(27,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(30,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(32,16384,null,0,xS.s,[xS.r],null,null),uS._17(33,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[461,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(38,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,468,{_control:0}),uS._38(335544320,469,{_placeholderChild:0}),uS._38(335544320,470,{_labelChild:0}),uS._38(603979776,471,{_errorChildren:1}),uS._38(603979776,472,{_hintChildren:1}),uS._38(603979776,473,{_prefixChildren:1}),uS._38(603979776,474,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,53)._onBlur()&&u}if("selectionChange"===n){t.changeWholesaleAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"WActivity",l.context.index)&&u}return u},LO.b,LO.a)),uS._17(48,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,475,{options:1}),uS._38(603979776,476,{optionGroups:1}),uS._38(335544320,477,{customTrigger:0}),uS._37(2048,[[468,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,61)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(61,8437760,[[475,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Within India"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,65)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(65,8437760,[[475,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Export"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,69)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(69,8437760,[[475,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Both"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,So)),uS._17(76,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Eo)),uS._17(79,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Uo)),uS._17(82,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ur)),uS._17(85,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(88,0,null,null,26,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(89,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(91,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,cT.b,cT.a)),uS._17(92,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,618,{_control:0}),uS._38(335544320,619,{_placeholderChild:0}),uS._38(335544320,620,{_labelChild:0}),uS._38(603979776,621,{_errorChildren:1}),uS._38(603979776,622,{_hintChildren:1}),uS._38(603979776,623,{_prefixChildren:1}),uS._38(603979776,624,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(101,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(102,16384,[[620,4]],0,mT.f,[],null,null),(l()(),uS._40(103,null,["Description of "," Wholesale\n process "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,106)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,111)._onInput()&&u}return u},null,null)),uS._17(106,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(108,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(110,16384,null,0,xS.s,[xS.r],null,null),uS._17(111,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[618,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(116,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(117,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,625,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(120,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(121,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(123,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesale(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(124,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(126,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(127,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(130,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,tr)),uS._17(133,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\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");l(n,124,0,"optblue","");l(n,127,0,"md-trash");l(n,133,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[uS._32(n,16)._control.errorState,uS._32(n,16)._control.errorState,uS._32(n,16)._canLabelFloat,uS._32(n,16)._shouldLabelFloat(),uS._32(n,16)._hideControlPlaceholder(),uS._32(n,16)._control.disabled,uS._32(n,16)._control.focused,"primary"==uS._32(n,16).color,"accent"==uS._32(n,16).color,"warn"==uS._32(n,16).color,uS._32(n,16)._shouldForward("untouched"),uS._32(n,16)._shouldForward("touched"),uS._32(n,16)._shouldForward("pristine"),uS._32(n,16)._shouldForward("dirty"),uS._32(n,16)._shouldForward("valid"),uS._32(n,16)._shouldForward("invalid"),uS._32(n,16)._shouldForward("pending")]);l(n,25,1,[uS._32(n,27).required?"":null,uS._32(n,32).ngClassUntouched,uS._32(n,32).ngClassTouched,uS._32(n,32).ngClassPristine,uS._32(n,32).ngClassDirty,uS._32(n,32).ngClassValid,uS._32(n,32).ngClassInvalid,uS._32(n,32).ngClassPending,uS._32(n,33)._isServer,uS._32(n,33).id,uS._32(n,33).placeholder,uS._32(n,33).disabled,uS._32(n,33).required,uS._32(n,33).readonly,uS._32(n,33)._ariaDescribedby||null,uS._32(n,33).errorState,uS._32(n,33).required.toString()]);l(n,37,1,[uS._32(n,38)._control.errorState,uS._32(n,38)._control.errorState,uS._32(n,38)._canLabelFloat,uS._32(n,38)._shouldLabelFloat(),uS._32(n,38)._hideControlPlaceholder(),uS._32(n,38)._control.disabled,uS._32(n,38)._control.focused,"primary"==uS._32(n,38).color,"accent"==uS._32(n,38).color,"warn"==uS._32(n,38).color,uS._32(n,38)._shouldForward("untouched"),uS._32(n,38)._shouldForward("touched"),uS._32(n,38)._shouldForward("pristine"),uS._32(n,38)._shouldForward("dirty"),uS._32(n,38)._shouldForward("valid"),uS._32(n,38)._shouldForward("invalid"),uS._32(n,38)._shouldForward("pending")]);l(n,47,1,[uS._32(n,48).required?"":null,uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53).id,uS._32(n,53).tabIndex,uS._32(n,53)._ariaLabel,uS._32(n,53).ariaLabelledby,uS._32(n,53).required.toString(),uS._32(n,53).disabled.toString(),uS._32(n,53).errorState,uS._32(n,53).panelOpen?uS._32(n,53)._optionIds:null,uS._32(n,53).multiple,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53)._getAriaActiveDescendant(),uS._32(n,53).disabled,uS._32(n,53).errorState,uS._32(n,53).required]);l(n,60,0,uS._32(n,61)._getTabIndex(),uS._32(n,61).selected,uS._32(n,61).multiple,uS._32(n,61).active,uS._32(n,61).id,uS._32(n,61).selected.toString(),uS._32(n,61).disabled.toString(),uS._32(n,61).disabled);l(n,64,0,uS._32(n,65)._getTabIndex(),uS._32(n,65).selected,uS._32(n,65).multiple,uS._32(n,65).active,uS._32(n,65).id,uS._32(n,65).selected.toString(),uS._32(n,65).disabled.toString(),uS._32(n,65).disabled);l(n,68,0,uS._32(n,69)._getTabIndex(),uS._32(n,69).selected,uS._32(n,69).multiple,uS._32(n,69).active,uS._32(n,69).id,uS._32(n,69).selected.toString(),uS._32(n,69).disabled.toString(),uS._32(n,69).disabled);l(n,88,0,"end"===uS._32(n,89).align);l(n,91,1,[uS._32(n,92)._control.errorState,uS._32(n,92)._control.errorState,uS._32(n,92)._canLabelFloat,uS._32(n,92)._shouldLabelFloat(),uS._32(n,92)._hideControlPlaceholder(),uS._32(n,92)._control.disabled,uS._32(n,92)._control.focused,"primary"==uS._32(n,92).color,"accent"==uS._32(n,92).color,"warn"==uS._32(n,92).color,uS._32(n,92)._shouldForward("untouched"),uS._32(n,92)._shouldForward("touched"),uS._32(n,92)._shouldForward("pristine"),uS._32(n,92)._shouldForward("dirty"),uS._32(n,92)._shouldForward("valid"),uS._32(n,92)._shouldForward("invalid"),uS._32(n,92)._shouldForward("pending")]);l(n,103,0,n.context.$implicit.value.main_products);l(n,105,1,[uS._32(n,110).ngClassUntouched,uS._32(n,110).ngClassTouched,uS._32(n,110).ngClassPristine,uS._32(n,110).ngClassDirty,uS._32(n,110).ngClassValid,uS._32(n,110).ngClassInvalid,uS._32(n,110).ngClassPending,uS._32(n,111)._isServer,uS._32(n,111).id,uS._32(n,111).placeholder,uS._32(n,111).disabled,uS._32(n,111).required,uS._32(n,111).readonly,uS._32(n,111)._ariaDescribedby||null,uS._32(n,111).errorState,uS._32(n,111).required.toString()]);l(n,126,0,uS._32(n,127)._hidden)})}function ir(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ar)),uS._17(9,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n\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)},function(l,n){l(n,3,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending)})}function or(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,643,{_control:0}),uS._38(335544320,644,{_placeholderChild:0}),uS._38(335544320,645,{_labelChild:0}),uS._38(603979776,646,{_errorChildren:1}),uS._38(603979776,647,{_hintChildren:1}),uS._38(603979776,648,{_prefixChildren:1}),uS._38(603979776,649,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(4,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},LO.b,LO.a)),uS._17(11,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,650,{options:1}),uS._38(603979776,651,{optionGroups:1}),uS._38(335544320,652,{customTrigger:0}),uS._37(2048,[[643,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[650,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[650,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,11).required?"":null,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled)})}function rr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[660,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function _r(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[671,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function dr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function sr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.parent.context.index,1)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More State"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function cr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,107,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,653,{_control:0}),uS._38(335544320,654,{_placeholderChild:0}),uS._38(335544320,655,{_labelChild:0}),uS._38(603979776,656,{_errorChildren:1}),uS._38(603979776,657,{_hintChildren:1}),uS._38(603979776,658,{_prefixChildren:1}),uS._38(603979776,659,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,33,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,660,{options:1}),uS._38(603979776,661,{optionGroups:1}),uS._38(335544320,662,{customTrigger:0}),uS._37(2048,[[653,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,15,"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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[660,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(31,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(32,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,663,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(40,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(41,16384,[[663,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,rr)),uS._17(46,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,664,{_control:0}),uS._38(335544320,665,{_placeholderChild:0}),uS._38(335544320,666,{_labelChild:0}),uS._38(603979776,667,{_errorChildren:1}),uS._38(603979776,668,{_hintChildren:1}),uS._38(603979776,669,{_prefixChildren:1}),uS._38(603979776,670,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,1,32,"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!==uS._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,67)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(62,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(64,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(66,16384,null,0,xS.s,[xS.r],null,null),uS._17(67,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),uS._38(603979776,671,{options:1}),uS._38(603979776,672,{optionGroups:1}),uS._38(335544320,673,{customTrigger:0}),uS._37(2048,[[664,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,15,"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!==uS._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,75)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(75,8437760,[[671,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(78,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,674,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(81,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(83,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(86,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(87,16384,[[674,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,_r)),uS._17(92,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(96,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(97,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,675,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dr)),uS._17(101,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(102,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,sr)),uS._17(105,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"Where, In India, Is The Service Provided","");l(n,32,0,"Find State","No Matching Result");l(n,35,0,"stateSearch");l(n,40,0,"md-close");l(n,46,0,uS._41(n,46,0,uS._32(n,47).transform(e.filteredState)));l(n,62,0,"");l(n,64,0,"city_name");l(n,67,0,"City","","");l(n,78,0,"Find City","No Matching Result");l(n,81,0,"citySearch");l(n,86,0,"md-close");l(n,92,0,e.cityDataValue[n.context.index]);l(n,101,0,n.context.index>0);l(n,105,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options&&n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,31,0,uS._32(n,32).isInsideMatOption,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending);l(n,39,0,uS._32(n,40)._hidden);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,61,1,[uS._32(n,62).required?"":null,uS._32(n,66).ngClassUntouched,uS._32(n,66).ngClassTouched,uS._32(n,66).ngClassPristine,uS._32(n,66).ngClassDirty,uS._32(n,66).ngClassValid,uS._32(n,66).ngClassInvalid,uS._32(n,66).ngClassPending,uS._32(n,67).id,uS._32(n,67).tabIndex,uS._32(n,67)._ariaLabel,uS._32(n,67).ariaLabelledby,uS._32(n,67).required.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).errorState,uS._32(n,67).panelOpen?uS._32(n,67)._optionIds:null,uS._32(n,67).multiple,uS._32(n,67)._ariaDescribedby||null,uS._32(n,67)._getAriaActiveDescendant(),uS._32(n,67).disabled,uS._32(n,67).errorState,uS._32(n,67).required]);l(n,74,0,uS._32(n,75)._getTabIndex(),uS._32(n,75).selected,uS._32(n,75).multiple,uS._32(n,75).active,uS._32(n,75).id,uS._32(n,75).selected.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).disabled);l(n,77,0,uS._32(n,78).isInsideMatOption,uS._32(n,83).ngClassUntouched,uS._32(n,83).ngClassTouched,uS._32(n,83).ngClassPristine,uS._32(n,83).ngClassDirty,uS._32(n,83).ngClassValid,uS._32(n,83).ngClassInvalid,uS._32(n,83).ngClassPending);l(n,85,0,uS._32(n,86)._hidden)})}function mr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[683,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function pr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[693,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function fr(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,686,{_control:0}),uS._38(335544320,687,{_placeholderChild:0}),uS._38(335544320,688,{_labelChild:0}),uS._38(603979776,689,{_errorChildren:1}),uS._38(603979776,690,{_hintChildren:1}),uS._38(603979776,691,{_prefixChildren:1}),uS._38(603979776,692,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[688,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Cities Where Max Revenue From Services for\n ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,693,{options:1}),uS._38(603979776,694,{optionGroups:1}),uS._38(335544320,695,{customTrigger:0}),uS._37(2048,[[686,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,pr)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required])})}function hr(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,676,{_control:0}),uS._38(335544320,677,{_placeholderChild:0}),uS._38(335544320,678,{_labelChild:0}),uS._38(603979776,679,{_errorChildren:1}),uS._38(603979776,680,{_hintChildren:1}),uS._38(603979776,681,{_prefixChildren:1}),uS._38(603979776,682,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[678,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["States Where Max Revenue From Services for\n ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,683,{options:1}),uS._38(603979776,684,{optionGroups:1}),uS._38(335544320,685,{customTrigger:0}),uS._37(2048,[[676,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,mr)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fr)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function gr(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hr)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function br(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,cr)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,1,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gr)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function vr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[703,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function yr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function Cr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More Countries"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function wr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,68,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,696,{_control:0}),uS._38(335544320,697,{_placeholderChild:0}),uS._38(335544320,698,{_labelChild:0}),uS._38(603979776,699,{_errorChildren:1}),uS._38(603979776,700,{_hintChildren:1}),uS._38(603979776,701,{_prefixChildren:1}),uS._38(603979776,702,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),uS._17(16,16384,[[698,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,703,{options:1}),uS._38(603979776,704,{optionGroups:1}),uS._38(335544320,705,{customTrigger:0}),uS._37(2048,[[696,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,vr)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,706,{_control:0}),uS._38(335544320,707,{_placeholderChild:0}),uS._38(335544320,708,{_labelChild:0}),uS._38(603979776,709,{_errorChildren:1}),uS._38(603979776,710,{_hintChildren:1}),uS._38(603979776,711,{_prefixChildren:1}),uS._38(603979776,712,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["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!==uS._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,53)._onInput()&&u}return u},null,null)),uS._17(46,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(47,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[706,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(57,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(58,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,713,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yr)),uS._17(62,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(63,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Cr)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,62,0,n.context.index>0);l(n,66,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,45,1,[uS._32(n,47).required?"":null,uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53)._isServer,uS._32(n,53).id,uS._32(n,53).placeholder,uS._32(n,53).disabled,uS._32(n,53).required,uS._32(n,53).readonly,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53).errorState,uS._32(n,53).required.toString()])})}function Fr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,13,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wr)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,1,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function xr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,714,{_control:0}),uS._38(335544320,715,{_placeholderChild:0}),uS._38(335544320,716,{_labelChild:0}),uS._38(603979776,717,{_errorChildren:1}),uS._38(603979776,718,{_hintChildren:1}),uS._38(603979776,719,{_prefixChildren:1}),uS._38(603979776,720,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(4,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},LO.b,LO.a)),uS._17(11,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,721,{options:1}),uS._38(603979776,722,{optionGroups:1}),uS._38(335544320,723,{customTrigger:0}),uS._37(2048,[[714,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[721,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[721,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,11).required?"":null,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled)})}function kr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[731,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Sr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[742,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ir(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function qr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.parent.context.index,"1")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More State"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Pr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,107,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,724,{_control:0}),uS._38(335544320,725,{_placeholderChild:0}),uS._38(335544320,726,{_labelChild:0}),uS._38(603979776,727,{_errorChildren:1}),uS._38(603979776,728,{_hintChildren:1}),uS._38(603979776,729,{_prefixChildren:1}),uS._38(603979776,730,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,33,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filterCityData(t.stateList,l.context.$implicit.value.state_name,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,731,{options:1}),uS._38(603979776,732,{optionGroups:1}),uS._38(335544320,733,{customTrigger:0}),uS._37(2048,[[724,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,15,"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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[731,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(31,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"state")&&u}return u},jO.b,jO.a)),uS._17(32,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,734,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(40,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(41,16384,[[734,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,kr)),uS._17(46,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,0,null,null,43,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,735,{_control:0}),uS._38(335544320,736,{_placeholderChild:0}),uS._38(335544320,737,{_labelChild:0}),uS._38(603979776,738,{_errorChildren:1}),uS._38(603979776,739,{_hintChildren:1}),uS._38(603979776,740,{_prefixChildren:1}),uS._38(603979776,741,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,1,32,"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!==uS._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,67)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(62,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(64,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(66,16384,null,0,xS.s,[xS.r],null,null),uS._17(67,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),uS._38(603979776,742,{options:1}),uS._38(603979776,743,{optionGroups:1}),uS._38(335544320,744,{customTrigger:0}),uS._37(2048,[[735,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,15,"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!==uS._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,75)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(75,8437760,[[742,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"city")&&u}return u},jO.b,jO.a)),uS._17(78,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,745,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(81,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(83,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(86,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(87,16384,[[745,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Sr)),uS._17(92,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(96,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(97,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,746,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ir)),uS._17(101,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(102,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qr)),uS._17(105,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"");l(n,18,0,"state_name");l(n,21,0,"Where, In India, Is The Service Provided","");l(n,32,0,"Find State","No Matching Result");l(n,35,0,"stateSearch");l(n,40,0,"md-close");l(n,46,0,uS._41(n,46,0,uS._32(n,47).transform(e.filteredState)));l(n,62,0,"");l(n,64,0,"city_name");l(n,67,0,"City","","");l(n,78,0,"Find City","No Matching Result");l(n,81,0,"citySearch");l(n,86,0,"md-close");l(n,92,0,e.cityDataValue[n.context.index]);l(n,101,0,n.context.index>0);l(n,105,0,n.parent.parent.context.$implicit.get("india_where_sale_done").value.length>0&&n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,31,0,uS._32(n,32).isInsideMatOption,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending);l(n,39,0,uS._32(n,40)._hidden);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,61,1,[uS._32(n,62).required?"":null,uS._32(n,66).ngClassUntouched,uS._32(n,66).ngClassTouched,uS._32(n,66).ngClassPristine,uS._32(n,66).ngClassDirty,uS._32(n,66).ngClassValid,uS._32(n,66).ngClassInvalid,uS._32(n,66).ngClassPending,uS._32(n,67).id,uS._32(n,67).tabIndex,uS._32(n,67)._ariaLabel,uS._32(n,67).ariaLabelledby,uS._32(n,67).required.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).errorState,uS._32(n,67).panelOpen?uS._32(n,67)._optionIds:null,uS._32(n,67).multiple,uS._32(n,67)._ariaDescribedby||null,uS._32(n,67)._getAriaActiveDescendant(),uS._32(n,67).disabled,uS._32(n,67).errorState,uS._32(n,67).required]);l(n,74,0,uS._32(n,75)._getTabIndex(),uS._32(n,75).selected,uS._32(n,75).multiple,uS._32(n,75).active,uS._32(n,75).id,uS._32(n,75).selected.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).disabled);l(n,77,0,uS._32(n,78).isInsideMatOption,uS._32(n,83).ngClassUntouched,uS._32(n,83).ngClassTouched,uS._32(n,83).ngClassPristine,uS._32(n,83).ngClassDirty,uS._32(n,83).ngClassValid,uS._32(n,83).ngClassInvalid,uS._32(n,83).ngClassPending);l(n,85,0,uS._32(n,86)._hidden)})}function Dr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[754,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Tr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[764,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Or(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,757,{_control:0}),uS._38(335544320,758,{_placeholderChild:0}),uS._38(335544320,759,{_labelChild:0}),uS._38(603979776,760,{_errorChildren:1}),uS._38(603979776,761,{_hintChildren:1}),uS._38(603979776,762,{_prefixChildren:1}),uS._38(603979776,763,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[759,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Cities Where Max Revenue From Services for\n ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,764,{options:1}),uS._38(603979776,765,{optionGroups:1}),uS._38(335544320,766,{customTrigger:0}),uS._37(2048,[[757,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Tr)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required])})}function Lr(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,747,{_control:0}),uS._38(335544320,748,{_placeholderChild:0}),uS._38(335544320,749,{_labelChild:0}),uS._38(603979776,750,{_errorChildren:1}),uS._38(603979776,751,{_hintChildren:1}),uS._38(603979776,752,{_prefixChildren:1}),uS._38(603979776,753,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[749,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["States Where Max Revenue From Services for\n ",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,754,{options:1}),uS._38(603979776,755,{optionGroups:1}),uS._38(335544320,756,{customTrigger:0}),uS._37(2048,[[747,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Dr)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Or)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function Ar(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[774,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Vr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["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},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function Nr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.parent.context.index,"2")&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Add More Countries"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","")},null)}function Wr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,69,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,767,{_control:0}),uS._38(335544320,768,{_placeholderChild:0}),uS._38(335544320,769,{_labelChild:0}),uS._38(603979776,770,{_errorChildren:1}),uS._38(603979776,771,{_hintChildren:1}),uS._38(603979776,772,{_prefixChildren:1}),uS._38(603979776,773,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[["class","labelcss"]],null,null,null,null,null)),uS._17(16,16384,[[769,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Countries Where The Export Is Being Done for\n ",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,774,{options:1}),uS._38(603979776,775,{optionGroups:1}),uS._38(335544320,776,{customTrigger:0}),uS._37(2048,[[767,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ar)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,777,{_control:0}),uS._38(335544320,778,{_placeholderChild:0}),uS._38(335544320,779,{_labelChild:0}),uS._38(603979776,780,{_errorChildren:1}),uS._38(603979776,781,{_hintChildren:1}),uS._38(603979776,782,{_prefixChildren:1}),uS._38(603979776,783,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["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!==uS._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,53)._onInput()&&u}return u},null,null)),uS._17(46,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(47,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[777,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(57,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(58,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,784,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Vr)),uS._17(62,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(63,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Nr)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,""==n.context.$implicit.get("country_name").value?"Out of Total Export Sales what % of Sales is done in":e.getPlaceHolderName(n.context.$implicit.get("country_name").value),"");l(n,62,0,n.context.index>0);l(n,66,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,45,1,[uS._32(n,47).required?"":null,uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53)._isServer,uS._32(n,53).id,uS._32(n,53).placeholder,uS._32(n,53).disabled,uS._32(n,53).required,uS._32(n,53).readonly,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53).errorState,uS._32(n,53).required.toString()])})}function Er(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,43,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Within India"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,4,"div",[["class","tab_class state-margin"],["fxLayout","row nowrap"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xr)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(12,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(14,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pr)),uS._17(17,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,1,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(24,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(26,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Lr)),uS._17(29,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Export"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(36,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(38,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wr)),uS._17(41,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,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)},function(l,n){l(n,11,0,uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending);l(n,23,0,uS._32(n,26).ngClassUntouched,uS._32(n,26).ngClassTouched,uS._32(n,26).ngClassPristine,uS._32(n,26).ngClassDirty,uS._32(n,26).ngClassValid,uS._32(n,26).ngClassInvalid,uS._32(n,26).ngClassPending);l(n,35,0,uS._32(n,38).ngClassUntouched,uS._32(n,38).ngClassTouched,uS._32(n,38).ngClassPristine,uS._32(n,38).ngClassDirty,uS._32(n,38).ngClassValid,uS._32(n,38).ngClassInvalid,uS._32(n,38).ngClassPending)})}function jr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,2,"button",[["color","optblue"],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreServiceprovider()&&u}return u},AT.b,AT.a)),uS._17(5,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"]},null),(l()(),uS._40(-1,0,["Add More\n Services"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,5,0,"optblue","")},null)}function $r(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,135,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(9,null,["Service Provider Details ",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,65,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(13,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,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,cT.b,cT.a)),uS._17(16,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,626,{_control:0}),uS._38(335544320,627,{_placeholderChild:0}),uS._38(335544320,628,{_labelChild:0}),uS._38(603979776,629,{_errorChildren:1}),uS._38(603979776,630,{_hintChildren:1}),uS._38(603979776,631,{_prefixChildren:1}),uS._38(603979776,632,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,33)._onInput()&&u}return u},null,null)),uS._17(26,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(27,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(30,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(32,16384,null,0,xS.s,[xS.r],null,null),uS._17(33,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[626,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(38,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,633,{_control:0}),uS._38(335544320,634,{_placeholderChild:0}),uS._38(335544320,635,{_labelChild:0}),uS._38(603979776,636,{_errorChildren:1}),uS._38(603979776,637,{_hintChildren:1}),uS._38(603979776,638,{_prefixChildren:1}),uS._38(603979776,639,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,53)._onBlur()&&u}if("selectionChange"===n){t.changeServiceArea(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"SPActivity",l.context.index)&&u}return u},LO.b,LO.a)),uS._17(48,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,640,{options:1}),uS._38(603979776,641,{optionGroups:1}),uS._38(335544320,642,{customTrigger:0}),uS._37(2048,[[633,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,61)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(61,8437760,[[640,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Within India"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,65)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(65,8437760,[[640,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Export"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,69)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(69,8437760,[[640,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Both"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,or)),uS._17(76,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,br)),uS._17(80,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Fr)),uS._17(83,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Er)),uS._17(86,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._18(88,0,null,null,26,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(89,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(91,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,cT.b,cT.a)),uS._17(92,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,785,{_control:0}),uS._38(335544320,786,{_placeholderChild:0}),uS._38(335544320,787,{_labelChild:0}),uS._38(603979776,788,{_errorChildren:1}),uS._38(603979776,789,{_hintChildren:1}),uS._38(603979776,790,{_prefixChildren:1}),uS._38(603979776,791,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(101,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(102,16384,[[787,4]],0,mT.f,[],null,null),(l()(),uS._40(103,null,["Description of "," Service Process"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,106)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,111)._onInput()&&u}return u},null,null)),uS._17(106,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(108,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(110,16384,null,0,xS.s,[xS.r],null,null),uS._17(111,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[785,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(116,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(117,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,792,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(120,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(121,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(123,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceProvider(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(124,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(126,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(127,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(130,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jr)),uS._17(133,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\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");l(n,124,0,"optblue","");l(n,127,0,"md-trash");l(n,133,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[uS._32(n,16)._control.errorState,uS._32(n,16)._control.errorState,uS._32(n,16)._canLabelFloat,uS._32(n,16)._shouldLabelFloat(),uS._32(n,16)._hideControlPlaceholder(),uS._32(n,16)._control.disabled,uS._32(n,16)._control.focused,"primary"==uS._32(n,16).color,"accent"==uS._32(n,16).color,"warn"==uS._32(n,16).color,uS._32(n,16)._shouldForward("untouched"),uS._32(n,16)._shouldForward("touched"),uS._32(n,16)._shouldForward("pristine"),uS._32(n,16)._shouldForward("dirty"),uS._32(n,16)._shouldForward("valid"),uS._32(n,16)._shouldForward("invalid"),uS._32(n,16)._shouldForward("pending")]);l(n,25,1,[uS._32(n,27).required?"":null,uS._32(n,32).ngClassUntouched,uS._32(n,32).ngClassTouched,uS._32(n,32).ngClassPristine,uS._32(n,32).ngClassDirty,uS._32(n,32).ngClassValid,uS._32(n,32).ngClassInvalid,uS._32(n,32).ngClassPending,uS._32(n,33)._isServer,uS._32(n,33).id,uS._32(n,33).placeholder,uS._32(n,33).disabled,uS._32(n,33).required,uS._32(n,33).readonly,uS._32(n,33)._ariaDescribedby||null,uS._32(n,33).errorState,uS._32(n,33).required.toString()]);l(n,37,1,[uS._32(n,38)._control.errorState,uS._32(n,38)._control.errorState,uS._32(n,38)._canLabelFloat,uS._32(n,38)._shouldLabelFloat(),uS._32(n,38)._hideControlPlaceholder(),uS._32(n,38)._control.disabled,uS._32(n,38)._control.focused,"primary"==uS._32(n,38).color,"accent"==uS._32(n,38).color,"warn"==uS._32(n,38).color,uS._32(n,38)._shouldForward("untouched"),uS._32(n,38)._shouldForward("touched"),uS._32(n,38)._shouldForward("pristine"),uS._32(n,38)._shouldForward("dirty"),uS._32(n,38)._shouldForward("valid"),uS._32(n,38)._shouldForward("invalid"),uS._32(n,38)._shouldForward("pending")]);l(n,47,1,[uS._32(n,48).required?"":null,uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53).id,uS._32(n,53).tabIndex,uS._32(n,53)._ariaLabel,uS._32(n,53).ariaLabelledby,uS._32(n,53).required.toString(),uS._32(n,53).disabled.toString(),uS._32(n,53).errorState,uS._32(n,53).panelOpen?uS._32(n,53)._optionIds:null,uS._32(n,53).multiple,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53)._getAriaActiveDescendant(),uS._32(n,53).disabled,uS._32(n,53).errorState,uS._32(n,53).required]);l(n,60,0,uS._32(n,61)._getTabIndex(),uS._32(n,61).selected,uS._32(n,61).multiple,uS._32(n,61).active,uS._32(n,61).id,uS._32(n,61).selected.toString(),uS._32(n,61).disabled.toString(),uS._32(n,61).disabled);l(n,64,0,uS._32(n,65)._getTabIndex(),uS._32(n,65).selected,uS._32(n,65).multiple,uS._32(n,65).active,uS._32(n,65).id,uS._32(n,65).selected.toString(),uS._32(n,65).disabled.toString(),uS._32(n,65).disabled);l(n,68,0,uS._32(n,69)._getTabIndex(),uS._32(n,69).selected,uS._32(n,69).multiple,uS._32(n,69).active,uS._32(n,69).id,uS._32(n,69).selected.toString(),uS._32(n,69).disabled.toString(),uS._32(n,69).disabled);l(n,88,0,"end"===uS._32(n,89).align);l(n,91,1,[uS._32(n,92)._control.errorState,uS._32(n,92)._control.errorState,uS._32(n,92)._canLabelFloat,uS._32(n,92)._shouldLabelFloat(),uS._32(n,92)._hideControlPlaceholder(),uS._32(n,92)._control.disabled,uS._32(n,92)._control.focused,"primary"==uS._32(n,92).color,"accent"==uS._32(n,92).color,"warn"==uS._32(n,92).color,uS._32(n,92)._shouldForward("untouched"),uS._32(n,92)._shouldForward("touched"),uS._32(n,92)._shouldForward("pristine"),uS._32(n,92)._shouldForward("dirty"),uS._32(n,92)._shouldForward("valid"),uS._32(n,92)._shouldForward("invalid"),uS._32(n,92)._shouldForward("pending")]);l(n,103,0,n.context.$implicit.value.main_products);l(n,105,1,[uS._32(n,110).ngClassUntouched,uS._32(n,110).ngClassTouched,uS._32(n,110).ngClassPristine,uS._32(n,110).ngClassDirty,uS._32(n,110).ngClassValid,uS._32(n,110).ngClassInvalid,uS._32(n,110).ngClassPending,uS._32(n,111)._isServer,uS._32(n,111).id,uS._32(n,111).placeholder,uS._32(n,111).disabled,uS._32(n,111).required,uS._32(n,111).readonly,uS._32(n,111)._ariaDescribedby||null,uS._32(n,111).errorState,uS._32(n,111).required.toString()]);l(n,126,0,uS._32(n,127)._hidden)})}function Br(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$r)),uS._17(9,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n\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)},function(l,n){l(n,3,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending)})}function Rr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(7,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Export Sale As a % Total Sales"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(11,0,null,0,23,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(12,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,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,cT.b,cT.a)),uS._17(15,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,793,{_control:0}),uS._38(335544320,794,{_placeholderChild:0}),uS._38(335544320,795,{_labelChild:0}),uS._38(603979776,796,{_errorChildren:1}),uS._38(603979776,797,{_hintChildren:1}),uS._38(603979776,798,{_prefixChildren:1}),uS._38(603979776,799,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(24,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","export_sale_of_total_sales"],["matInput",""],["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!==uS._32(l,25)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,25)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,25)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,26).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,26).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,26).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,31)._onInput()&&u}return u},null,null)),uS._17(25,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(26,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(28,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(30,16384,null,0,xS.s,[xS.r],null,null),uS._17(31,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{type:[0,"type"]},null),uS._37(2048,[[793,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,28,0,"export_sale_of_total_sales");l(n,31,0,"number")},function(l,n){l(n,14,1,[uS._32(n,15)._control.errorState,uS._32(n,15)._control.errorState,uS._32(n,15)._canLabelFloat,uS._32(n,15)._shouldLabelFloat(),uS._32(n,15)._hideControlPlaceholder(),uS._32(n,15)._control.disabled,uS._32(n,15)._control.focused,"primary"==uS._32(n,15).color,"accent"==uS._32(n,15).color,"warn"==uS._32(n,15).color,uS._32(n,15)._shouldForward("untouched"),uS._32(n,15)._shouldForward("touched"),uS._32(n,15)._shouldForward("pristine"),uS._32(n,15)._shouldForward("dirty"),uS._32(n,15)._shouldForward("valid"),uS._32(n,15)._shouldForward("invalid"),uS._32(n,15)._shouldForward("pending")]);l(n,24,1,[uS._32(n,30).ngClassUntouched,uS._32(n,30).ngClassTouched,uS._32(n,30).ngClassPristine,uS._32(n,30).ngClassDirty,uS._32(n,30).ngClassValid,uS._32(n,30).ngClassInvalid,uS._32(n,30).ngClassPending,uS._32(n,31)._isServer,uS._32(n,31).id,uS._32(n,31).placeholder,uS._32(n,31).disabled,uS._32(n,31).required,uS._32(n,31).readonly,uS._32(n,31)._ariaDescribedby||null,uS._32(n,31).errorState,uS._32(n,31).required.toString()])})}function Ur(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,800,{_control:0}),uS._38(335544320,801,{_placeholderChild:0}),uS._38(335544320,802,{_labelChild:0}),uS._38(603979776,803,{_errorChildren:1}),uS._38(603979776,804,{_hintChildren:1}),uS._38(603979776,805,{_prefixChildren:1}),uS._38(603979776,806,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,807,{options:1}),uS._38(603979776,808,{optionGroups:1}),uS._38(335544320,809,{customTrigger:0}),uS._37(2048,[[800,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[807,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(26,8437760,[[807,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,25,0,uS._32(n,26)._getTabIndex(),uS._32(n,26).selected,uS._32(n,26).multiple,uS._32(n,26).active,uS._32(n,26).id,uS._32(n,26).selected.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).disabled)})}function Mr(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,810,{_control:0}),uS._38(335544320,811,{_placeholderChild:0}),uS._38(335544320,812,{_labelChild:0}),uS._38(603979776,813,{_errorChildren:1}),uS._38(603979776,814,{_hintChildren:1}),uS._38(603979776,815,{_prefixChildren:1}),uS._38(603979776,816,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePOSMachinesAvailablity(e.value,1)&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,817,{options:1}),uS._38(603979776,818,{optionGroups:1}),uS._38(335544320,819,{customTrigger:0}),uS._37(2048,[[810,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[817,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(26,8437760,[[817,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,25,0,uS._32(n,26)._getTabIndex(),uS._32(n,26).selected,uS._32(n,26).multiple,uS._32(n,26).active,uS._32(n,26).id,uS._32(n,26).selected.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).disabled)})}function Kr(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[834,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function Hr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,74,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"],["style","font-weight: bold"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["\n Machine Details ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,827,{_control:0}),uS._38(335544320,828,{_placeholderChild:0}),uS._38(335544320,829,{_labelChild:0}),uS._38(603979776,830,{_errorChildren:1}),uS._38(603979776,831,{_hintChildren:1}),uS._38(603979776,832,{_prefixChildren:1}),uS._38(603979776,833,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,33,"mat-select",[["class","mat-select"],["formControlName","pos_machines_financial_institution_name"],["placeholder","Name of the Financial Institution whose POS machines are installed"],["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!==uS._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,23)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,834,{options:1}),uS._38(603979776,835,{optionGroups:1}),uS._38(335544320,836,{customTrigger:0}),uS._37(2048,[[827,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(30,0,null,1,14,"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!==uS._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,31)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(31,8437760,[[834,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(33,0,null,0,10,"ngx-mat-select-search",[["formControlName","bankSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit,l.context.index,"bank")&&u}return u},jO.b,jO.a)),uS._17(34,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,837,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(37,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(39,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(41,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(42,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(43,16384,[[837,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(46,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!==uS._32(l,47)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,47)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(47,8437760,[[834,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Kr)),uS._17(51,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(55,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,cT.b,cT.a)),uS._17(56,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,838,{_control:0}),uS._38(335544320,839,{_placeholderChild:0}),uS._38(335544320,840,{_labelChild:0}),uS._38(603979776,841,{_errorChildren:1}),uS._38(603979776,842,{_hintChildren:1}),uS._38(603979776,843,{_prefixChildren:1}),uS._38(603979776,844,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(65,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tid_no_of_pos_machine"],["matInput",""],["placeholder","TID No Of the POS Machine?"],["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!==uS._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,66)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,71)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,71)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,71)._onInput()&&u}return u},null,null)),uS._17(66,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(68,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(70,16384,null,0,xS.s,[xS.r],null,null),uS._17(71,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[838,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"pos_machines_financial_institution_name");l(n,23,0,"Name of the Financial Institution whose POS machines are installed");l(n,34,0,"search Lender","No Records Found");l(n,37,0,"bankSearch");l(n,42,0,"md-close");l(n,51,0,e.bankListValue);l(n,68,0,"tid_no_of_pos_machine");l(n,71,0,"TID No Of the POS Machine?","text")},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23).id,uS._32(n,23).tabIndex,uS._32(n,23)._ariaLabel,uS._32(n,23).ariaLabelledby,uS._32(n,23).required.toString(),uS._32(n,23).disabled.toString(),uS._32(n,23).errorState,uS._32(n,23).panelOpen?uS._32(n,23)._optionIds:null,uS._32(n,23).multiple,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23)._getAriaActiveDescendant(),uS._32(n,23).disabled,uS._32(n,23).errorState,uS._32(n,23).required]);l(n,30,0,uS._32(n,31)._getTabIndex(),uS._32(n,31).selected,uS._32(n,31).multiple,uS._32(n,31).active,uS._32(n,31).id,uS._32(n,31).selected.toString(),uS._32(n,31).disabled.toString(),uS._32(n,31).disabled);l(n,33,0,uS._32(n,34).isInsideMatOption,uS._32(n,39).ngClassUntouched,uS._32(n,39).ngClassTouched,uS._32(n,39).ngClassPristine,uS._32(n,39).ngClassDirty,uS._32(n,39).ngClassValid,uS._32(n,39).ngClassInvalid,uS._32(n,39).ngClassPending);l(n,41,0,uS._32(n,42)._hidden);l(n,46,0,uS._32(n,47)._getTabIndex(),uS._32(n,47).selected,uS._32(n,47).multiple,uS._32(n,47).active,uS._32(n,47).id,uS._32(n,47).selected.toString(),uS._32(n,47).disabled.toString(),uS._32(n,47).disabled);l(n,55,1,[uS._32(n,56)._control.errorState,uS._32(n,56)._control.errorState,uS._32(n,56)._canLabelFloat,uS._32(n,56)._shouldLabelFloat(),uS._32(n,56)._hideControlPlaceholder(),uS._32(n,56)._control.disabled,uS._32(n,56)._control.focused,"primary"==uS._32(n,56).color,"accent"==uS._32(n,56).color,"warn"==uS._32(n,56).color,uS._32(n,56)._shouldForward("untouched"),uS._32(n,56)._shouldForward("touched"),uS._32(n,56)._shouldForward("pristine"),uS._32(n,56)._shouldForward("dirty"),uS._32(n,56)._shouldForward("valid"),uS._32(n,56)._shouldForward("invalid"),uS._32(n,56)._shouldForward("pending")]);l(n,65,1,[uS._32(n,70).ngClassUntouched,uS._32(n,70).ngClassTouched,uS._32(n,70).ngClassPristine,uS._32(n,70).ngClassDirty,uS._32(n,70).ngClassValid,uS._32(n,70).ngClassInvalid,uS._32(n,70).ngClassPending,uS._32(n,71)._isServer,uS._32(n,71).id,uS._32(n,71).placeholder,uS._32(n,71).disabled,uS._32(n,71).required,uS._32(n,71).readonly,uS._32(n,71)._ariaDescribedby||null,uS._32(n,71).errorState,uS._32(n,71).required.toString()])})}function Gr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,7,"div",[["formArrayName","pos_machines_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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hr)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"pos_machines_details");l(n,8,0,e.businessForm.controls.pos_machines_details.controls)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function Yr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,820,{_control:0}),uS._38(335544320,821,{_placeholderChild:0}),uS._38(335544320,822,{_labelChild:0}),uS._38(603979776,823,{_errorChildren:1}),uS._38(603979776,824,{_hintChildren:1}),uS._38(603979776,825,{_prefixChildren:1}),uS._38(603979776,826,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_of_pos_machines"],["matInput",""],["placeholder","Number of POS machines?"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.toGetPOSMachinesDetails(e.target.value,1)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[820,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Gr)),uS._17(24,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"no_of_pos_machines");l(n,19,0,"Number of POS machines?","number");l(n,24,0,e.businessForm.controls.pos_machines_details)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()])})}function zr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,23,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(7,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Digital Payments"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(11,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(12,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ur)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mr)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Yr)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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);l(n,21,0,"yes"==e.businessForm.controls.applicant_use_pos_machines.value)},null)}function Qr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,75,"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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,846,{_control:0}),uS._38(335544320,847,{_placeholderChild:0}),uS._38(335544320,848,{_labelChild:0}),uS._38(603979776,849,{_errorChildren:1}),uS._38(603979776,850,{_hintChildren:1}),uS._38(603979776,851,{_prefixChildren:1}),uS._38(603979776,852,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),uS._17(11,16384,[[847,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["In Which Period Is Maximum Sale / Service Done"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,60,"mat-select",[["class","mat-select"],["formControlName","peak_period_of_business"],["multiple",""],["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!==uS._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,20)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(15,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{required:[0,"required"],multiple:[1,"multiple"]},null),uS._38(603979776,853,{options:1}),uS._38(603979776,854,{optionGroups:1}),uS._38(335544320,855,{customTrigger:0}),uS._37(2048,[[846,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(27,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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["January"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,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!==uS._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(32,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["February"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(35,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!==uS._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,36)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(36,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["March"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(39,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!==uS._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,40)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(40,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["April"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,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!==uS._32(l,44)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,44)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(44,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["May"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(47,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!==uS._32(l,48)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,48)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(48,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["June"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(51,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!==uS._32(l,52)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,52)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(52,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["July"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(55,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!==uS._32(l,56)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,56)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(56,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["August"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(59,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!==uS._32(l,60)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,60)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(60,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["September"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(63,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!==uS._32(l,64)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,64)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(64,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["October"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(67,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!==uS._32(l,68)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,68)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(68,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["November"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(71,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!==uS._32(l,72)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,72)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(72,8437760,[[853,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["December"])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,15,0,"");l(n,17,0,"peak_period_of_business");l(n,20,0,"","");l(n,28,0,"1");l(n,32,0,"2");l(n,36,0,"3");l(n,40,0,"4");l(n,44,0,"5");l(n,48,0,"6");l(n,52,0,"7");l(n,56,0,"8");l(n,60,0,"9");l(n,64,0,"10");l(n,68,0,"11");l(n,72,0,"12")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,15).required?"":null,uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20).id,uS._32(n,20).tabIndex,uS._32(n,20)._ariaLabel,uS._32(n,20).ariaLabelledby,uS._32(n,20).required.toString(),uS._32(n,20).disabled.toString(),uS._32(n,20).errorState,uS._32(n,20).panelOpen?uS._32(n,20)._optionIds:null,uS._32(n,20).multiple,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20)._getAriaActiveDescendant(),uS._32(n,20).disabled,uS._32(n,20).errorState,uS._32(n,20).required]);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled);l(n,31,0,uS._32(n,32)._getTabIndex(),uS._32(n,32).selected,uS._32(n,32).multiple,uS._32(n,32).active,uS._32(n,32).id,uS._32(n,32).selected.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).disabled);l(n,35,0,uS._32(n,36)._getTabIndex(),uS._32(n,36).selected,uS._32(n,36).multiple,uS._32(n,36).active,uS._32(n,36).id,uS._32(n,36).selected.toString(),uS._32(n,36).disabled.toString(),uS._32(n,36).disabled);l(n,39,0,uS._32(n,40)._getTabIndex(),uS._32(n,40).selected,uS._32(n,40).multiple,uS._32(n,40).active,uS._32(n,40).id,uS._32(n,40).selected.toString(),uS._32(n,40).disabled.toString(),uS._32(n,40).disabled);l(n,43,0,uS._32(n,44)._getTabIndex(),uS._32(n,44).selected,uS._32(n,44).multiple,uS._32(n,44).active,uS._32(n,44).id,uS._32(n,44).selected.toString(),uS._32(n,44).disabled.toString(),uS._32(n,44).disabled);l(n,47,0,uS._32(n,48)._getTabIndex(),uS._32(n,48).selected,uS._32(n,48).multiple,uS._32(n,48).active,uS._32(n,48).id,uS._32(n,48).selected.toString(),uS._32(n,48).disabled.toString(),uS._32(n,48).disabled);l(n,51,0,uS._32(n,52)._getTabIndex(),uS._32(n,52).selected,uS._32(n,52).multiple,uS._32(n,52).active,uS._32(n,52).id,uS._32(n,52).selected.toString(),uS._32(n,52).disabled.toString(),uS._32(n,52).disabled);l(n,55,0,uS._32(n,56)._getTabIndex(),uS._32(n,56).selected,uS._32(n,56).multiple,uS._32(n,56).active,uS._32(n,56).id,uS._32(n,56).selected.toString(),uS._32(n,56).disabled.toString(),uS._32(n,56).disabled);l(n,59,0,uS._32(n,60)._getTabIndex(),uS._32(n,60).selected,uS._32(n,60).multiple,uS._32(n,60).active,uS._32(n,60).id,uS._32(n,60).selected.toString(),uS._32(n,60).disabled.toString(),uS._32(n,60).disabled);l(n,63,0,uS._32(n,64)._getTabIndex(),uS._32(n,64).selected,uS._32(n,64).multiple,uS._32(n,64).active,uS._32(n,64).id,uS._32(n,64).selected.toString(),uS._32(n,64).disabled.toString(),uS._32(n,64).disabled);l(n,67,0,uS._32(n,68)._getTabIndex(),uS._32(n,68).selected,uS._32(n,68).multiple,uS._32(n,68).active,uS._32(n,68).id,uS._32(n,68).selected.toString(),uS._32(n,68).disabled.toString(),uS._32(n,68).disabled);l(n,71,0,uS._32(n,72)._getTabIndex(),uS._32(n,72).selected,uS._32(n,72).multiple,uS._32(n,72).active,uS._32(n,72).id,uS._32(n,72).selected.toString(),uS._32(n,72).disabled.toString(),uS._32(n,72).disabled)})}function Jr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,856,{_control:0}),uS._38(335544320,857,{_placeholderChild:0}),uS._38(335544320,858,{_labelChild:0}),uS._38(603979776,859,{_errorChildren:1}),uS._38(603979776,860,{_hintChildren:1}),uS._38(603979776,861,{_prefixChildren:1}),uS._38(603979776,862,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,20)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[856,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,14).required?"":null,uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20)._isServer,uS._32(n,20).id,uS._32(n,20).placeholder,uS._32(n,20).disabled,uS._32(n,20).required,uS._32(n,20).readonly,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20).errorState,uS._32(n,20).required.toString()])})}function Zr(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[888,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.appxSalaryAmtInwords)})}function Xr(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Export / Import cert"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,19,"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)),uS._17(6,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,910,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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!==uS._32(l,14)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(14,4440064,[[910,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(18,4440064,[[910,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[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!==uS._32(l,22)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(22,4440064,[[910,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,9,0,"export_import_cert");l(n,14,0,"yes");l(n,18,0,"no");l(n,22,0,"not applicable")},function(l,n){l(n,5,0,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,13,0,uS._32(n,14).checked,uS._32(n,14).disabled,uS._32(n,14).id);l(n,17,0,uS._32(n,18).checked,uS._32(n,18).disabled,uS._32(n,18).id);l(n,21,0,uS._32(n,22).checked,uS._32(n,22).disabled,uS._32(n,22).id)})}function l_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Factory Cert"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,19,"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)),uS._17(6,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,911,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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!==uS._32(l,14)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(14,4440064,[[911,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(18,4440064,[[911,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[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!==uS._32(l,22)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(22,4440064,[[911,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,9,0,"factory_cert");l(n,14,0,"yes");l(n,18,0,"no");l(n,22,0,"not applicable")},function(l,n){l(n,5,0,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,13,0,uS._32(n,14).checked,uS._32(n,14).disabled,uS._32(n,14).id);l(n,17,0,uS._32(n,18).checked,uS._32(n,18).disabled,uS._32(n,18).id);l(n,21,0,uS._32(n,22).checked,uS._32(n,22).disabled,uS._32(n,22).id)})}function n_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Cert of Practice"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,19,"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)),uS._17(6,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,912,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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!==uS._32(l,14)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(14,4440064,[[912,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(18,4440064,[[912,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[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!==uS._32(l,22)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(22,4440064,[[912,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,9,0,"practice_cert");l(n,14,0,"yes");l(n,18,0,"no");l(n,22,0,"not applicable")},function(l,n){l(n,5,0,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,13,0,uS._32(n,14).checked,uS._32(n,14).disabled,uS._32(n,14).id);l(n,17,0,uS._32(n,18).checked,uS._32(n,18).disabled,uS._32(n,18).id);l(n,21,0,uS._32(n,22).checked,uS._32(n,22).disabled,uS._32(n,22).id)})}function e_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function u_(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,916,{_control:0}),uS._38(335544320,917,{_placeholderChild:0}),uS._38(335544320,918,{_labelChild:0}),uS._38(603979776,919,{_errorChildren:1}),uS._38(603979776,920,{_hintChildren:1}),uS._38(603979776,921,{_prefixChildren:1}),uS._38(603979776,922,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}return u},null,null)),uS._17(16,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[916,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,e_)),uS._17(26,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()])})}function t_(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,u_)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,6,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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},AT.b,AT.a)),uS._17(11,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["Add Documents"])),(l()(),uS._18(13,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function a_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,476,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,8,"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)),uS._17(7,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(9,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Za)),uS._17(12,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._18(13,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._18(16,0,null,null,17,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(18,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)),uS._17(19,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(21,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Add Other Family Members Involved in Business"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ui)),uS._17(27,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(30,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},AT.b,AT.a)),uS._17(31,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"],block:[2,"block"]},null),(l()(),uS._40(-1,0,["Add\n More Relationship"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(37,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(39,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(40,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["Type of Business Activity"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(43,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)),uS._17(44,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(46,16384,null,0,xS.t,[xS.c],null,null),uS._17(47,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ti)),uS._17(50,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Ri)),uS._17(55,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,ko)),uS._17(58,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,ir)),uS._17(61,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Br)),uS._17(64,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Rr)),uS._17(68,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,zr)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(73,0,null,null,43,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(74,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(76,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(77,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(79,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(80,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Seasonality"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(84,0,null,0,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(85,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(87,0,null,null,24,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(89,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Is The Business Seasonal"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(92,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)),uS._17(93,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,845,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(96,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(98,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(100,0,null,null,2,"mat-radio-button",[["class","ses 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!==uS._32(l,101)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(101,4440064,[[845,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(104,0,null,null,2,"mat-radio-button",[["class","ses mat-radio-button"],["value","no major changes in sales"]],[[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!==uS._32(l,105)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(105,4440064,[[845,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No Major Changes In Sales"])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Qr)),uS._17(110,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jr)),uS._17(114,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(118,0,null,null,106,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(119,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(121,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(122,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(124,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(125,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Employees As Per Applicant "])),(l()(),uS._40(-1,2,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(129,0,null,0,94,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(130,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(132,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,cT.b,cT.a)),uS._17(133,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,863,{_control:0}),uS._38(335544320,864,{_placeholderChild:0}),uS._38(335544320,865,{_labelChild:0}),uS._38(603979776,866,{_errorChildren:1}),uS._38(603979776,867,{_hintChildren:1}),uS._38(603979776,868,{_prefixChildren:1}),uS._38(603979776,869,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(142,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_permanent"],["matInput",""],["placeholder","Permanent"],["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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,143)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,143).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,143)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,143)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,144).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,144).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,144).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,151)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,151)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,151)._onInput()&&u}if("change"===n){u=!1!==t.checkTotalEmployee(t.businessForm)&&u}return u},null,null)),uS._17(143,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(144,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(145,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(148,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(150,16384,null,0,xS.s,[xS.r],null,null),uS._17(151,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[863,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(155,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,cT.b,cT.a)),uS._17(156,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,870,{_control:0}),uS._38(335544320,871,{_placeholderChild:0}),uS._38(335544320,872,{_labelChild:0}),uS._38(603979776,873,{_errorChildren:1}),uS._38(603979776,874,{_hintChildren:1}),uS._38(603979776,875,{_prefixChildren:1}),uS._38(603979776,876,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(165,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_temporary"],["matInput",""],["placeholder","Temporary"],["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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,166)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,166).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,166)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,166)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,167).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,167).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,167).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,174)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,174)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,174)._onInput()&&u}if("change"===n){u=!1!==t.checkTotalEmployee(t.businessForm)&&u}return u},null,null)),uS._17(166,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(167,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(168,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(171,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(173,16384,null,0,xS.s,[xS.r],null,null),uS._17(174,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[870,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(178,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,cT.b,cT.a)),uS._17(179,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,877,{_control:0}),uS._38(335544320,878,{_placeholderChild:0}),uS._38(335544320,879,{_labelChild:0}),uS._38(603979776,880,{_errorChildren:1}),uS._38(603979776,881,{_hintChildren:1}),uS._38(603979776,882,{_prefixChildren:1}),uS._38(603979776,883,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(188,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!==uS._32(l,189)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,189).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,189)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,189)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,194)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,194)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,194)._onInput()&&u}return u},null,null)),uS._17(189,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(191,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(193,16384,null,0,xS.s,[xS.r],null,null),uS._17(194,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[877,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(198,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,cT.b,cT.a)),uS._17(199,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,884,{_control:0}),uS._38(335544320,885,{_placeholderChild:0}),uS._38(335544320,886,{_labelChild:0}),uS._38(603979776,887,{_errorChildren:1}),uS._38(603979776,888,{_hintChildren:1}),uS._38(603979776,889,{_prefixChildren:1}),uS._38(603979776,890,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(208,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,t=l.component;if("input"===n){u=!1!==uS._32(l,209)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,209).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,209)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,209)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,210).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,210).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,210).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,217)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,217)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,217)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,1)&&u}return u},null,null)),uS._17(209,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(210,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(211,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(214,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(216,16384,null,0,xS.s,[xS.r],null,null),uS._17(217,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[884,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Zr)),uS._17(221,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(226,0,null,null,73,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(227,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(229,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(230,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(232,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(233,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["No of Employees Sighted By PD Officer During His Visit "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(237,0,null,0,61,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(238,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(240,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,cT.b,cT.a)),uS._17(241,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,891,{_control:0}),uS._38(335544320,892,{_placeholderChild:0}),uS._38(335544320,893,{_labelChild:0}),uS._38(603979776,894,{_errorChildren:1}),uS._38(603979776,895,{_hintChildren:1}),uS._38(603979776,896,{_prefixChildren:1}),uS._38(603979776,897,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(250,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","officer_total"],["matInput",""],["placeholder","Total"],["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!==uS._32(l,251)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,251).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,251)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,251)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,252).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,252).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,252).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,259)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,259)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,259)._onInput()&&u}return u},null,null)),uS._17(251,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(252,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(253,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(256,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(258,16384,null,0,xS.s,[xS.r],null,null),uS._17(259,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[891,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(265,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,cT.b,cT.a)),uS._17(266,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,898,{_control:0}),uS._38(335544320,899,{_placeholderChild:0}),uS._38(335544320,900,{_labelChild:0}),uS._38(603979776,901,{_errorChildren:1}),uS._38(603979776,902,{_hintChildren:1}),uS._38(603979776,903,{_prefixChildren:1}),uS._38(603979776,904,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(275,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!==uS._32(l,281)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,281)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,281)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(276,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(278,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(280,16384,null,0,xS.s,[xS.r],null,null),uS._17(281,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,905,{options:1}),uS._38(603979776,906,{optionGroups:1}),uS._38(335544320,907,{customTrigger:0}),uS._37(2048,[[898,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(288,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!==uS._32(l,289)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,289)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(289,8437760,[[905,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(292,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!==uS._32(l,293)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,293)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(293,8437760,[[905,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(301,0,null,null,142,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(302,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(304,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(305,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(307,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(308,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Documents Sighted "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(312,0,null,0,130,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(313,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._18(315,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Shop and Est Act Cert"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(318,0,null,null,19,"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)),uS._17(319,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,908,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(322,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(324,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(326,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!==uS._32(l,327)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(327,4440064,[[908,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(330,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!==uS._32(l,331)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(331,4440064,[[908,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(334,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[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!==uS._32(l,335)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(335,4440064,[[908,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._18(339,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["GST Regn Cert"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(342,0,null,null,19,"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)),uS._17(343,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,909,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(346,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(348,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(350,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!==uS._32(l,351)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(351,4440064,[[909,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(354,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!==uS._32(l,355)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(355,4440064,[[909,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(358,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[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!==uS._32(l,359)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(359,4440064,[[909,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Xr)),uS._17(364,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,l_)),uS._17(367,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,n_)),uS._17(370,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._18(372,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["PF Regn"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(375,0,null,null,19,"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)),uS._17(376,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,913,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(379,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(381,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(383,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!==uS._32(l,384)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(384,4440064,[[913,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(387,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!==uS._32(l,388)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(388,4440064,[[913,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(391,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[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!==uS._32(l,392)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(392,4440064,[[913,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(396,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["ESIC Regn"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(399,0,null,null,19,"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)),uS._17(400,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,914,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(403,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(405,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(407,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!==uS._32(l,408)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(408,4440064,[[914,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(411,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!==uS._32(l,412)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(412,4440064,[[914,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(415,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[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!==uS._32(l,416)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(416,4440064,[[914,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._18(420,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Do You Want to Add Other Documents?"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(423,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)),uS._17(424,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,915,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(427,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(429,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(431,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!==uS._32(l,432)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(432,4440064,[[915,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(435,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!==uS._32(l,436)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(436,4440064,[[915,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,t_)),uS._17(441,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(445,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(446,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(448,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,cT.b,cT.a)),uS._17(449,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,923,{_control:0}),uS._38(335544320,924,{_placeholderChild:0}),uS._38(335544320,925,{_labelChild:0}),uS._38(603979776,926,{_errorChildren:1}),uS._38(603979776,927,{_hintChildren:1}),uS._38(603979776,928,{_prefixChildren:1}),uS._38(603979776,929,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(458,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(459,16384,[[925,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(462,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!==uS._32(l,463)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,463).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,463)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,463)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,468)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,468)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,468)._onInput()&&u}return u},null,null)),uS._17(463,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(465,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(467,16384,null,0,xS.s,[xS.r],null,null),uS._17(468,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],null,null),uS._37(2048,[[923,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(473,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(474,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,2,0,e.businessForm);l(n,7,0,"partners");l(n,12,0,e.businessForm.controls.partners.controls);l(n,19,0,"persons_with_relationships");l(n,27,0,e.businessForm.controls.persons_with_relationships.controls);l(n,31,0,"optblue","","");l(n,44,0,"select_business_activity_type");l(n,50,0,e.businessForm.controls.select_business_activity_type.controls);l(n,55,0,e.businessForm.controls.manufacturing_activity_details.controls.length>0);l(n,58,0,e.businessForm.controls.retail_trading_activity_details.controls.length>0);l(n,61,0,e.businessForm.controls.wholesale_trading_activity_details.controls.length>0);l(n,64,0,e.businessForm.controls.service_provider_activity_details.controls.length>0);l(n,68,0,e.ExportFlag);l(n,71,0,e.businessForm.controls.applicant_use_mobile_wallets||e.businessForm.controls.applicant_use_pos_machines);l(n,96,0,"seasonality");l(n,101,0,"yes");l(n,105,0,"no major changes in sales");l(n,110,0,"yes"==e.businessForm.controls.seasonality.value);l(n,114,0,"yes"==e.businessForm.controls.seasonality.value);l(n,145,0,"");l(n,148,0,"employees_permanent");l(n,151,0,"Permanent","","number");l(n,168,0,"");l(n,171,0,"employees_temporary");l(n,174,0,"Temporary","","number");l(n,191,0,"employees_total");l(n,194,0,"Total","");l(n,211,0,"");l(n,214,0,"employees_appx_salary");l(n,217,0,"Approximate total monthly salary paid to employees","","number");l(n,221,0,""!=e.businessForm.controls.employees_appx_salary.value);l(n,253,0,"");l(n,256,0,"officer_total");l(n,259,0,"Total","","number");l(n,276,0,"");l(n,278,0,"was_the_company_name_board_sighted");l(n,281,0,"Was the Company name board sighted ?","");l(n,289,0,"yes");l(n,293,0,"no");l(n,322,0,"shop_eat_act_cert");l(n,327,0,"yes");l(n,331,0,"no");l(n,335,0,"not applicable");l(n,346,0,"gst_Regn_cert");l(n,351,0,"yes");l(n,355,0,"no");l(n,359,0,"not applicable");l(n,364,0,e.businessForm.controls.export_import_cert);l(n,367,0,e.businessForm.controls.factory_cert);l(n,370,0,e.businessForm.controls.practice_cert);l(n,379,0,"pf_regn");l(n,384,0,"yes");l(n,388,0,"no");l(n,392,0,"not applicable");l(n,403,0,"esic_regn");l(n,408,0,"yes");l(n,412,0,"no");l(n,416,0,"not applicable");l(n,427,0,"other_documents");l(n,432,0,"yes");l(n,436,0,"no");l(n,441,0,"yes"==e.businessForm.controls.other_documents.value);l(n,465,0,"business_remarks"),l(n,468,0)},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,6,0,uS._32(n,9).ngClassUntouched,uS._32(n,9).ngClassTouched,uS._32(n,9).ngClassPristine,uS._32(n,9).ngClassDirty,uS._32(n,9).ngClassValid,uS._32(n,9).ngClassInvalid,uS._32(n,9).ngClassPending);l(n,18,0,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending);l(n,43,0,uS._32(n,46).ngClassUntouched,uS._32(n,46).ngClassTouched,uS._32(n,46).ngClassPristine,uS._32(n,46).ngClassDirty,uS._32(n,46).ngClassValid,uS._32(n,46).ngClassInvalid,uS._32(n,46).ngClassPending);l(n,92,0,uS._32(n,98).ngClassUntouched,uS._32(n,98).ngClassTouched,uS._32(n,98).ngClassPristine,uS._32(n,98).ngClassDirty,uS._32(n,98).ngClassValid,uS._32(n,98).ngClassInvalid,uS._32(n,98).ngClassPending);l(n,100,0,uS._32(n,101).checked,uS._32(n,101).disabled,uS._32(n,101).id);l(n,104,0,uS._32(n,105).checked,uS._32(n,105).disabled,uS._32(n,105).id);l(n,132,1,[uS._32(n,133)._control.errorState,uS._32(n,133)._control.errorState,uS._32(n,133)._canLabelFloat,uS._32(n,133)._shouldLabelFloat(),uS._32(n,133)._hideControlPlaceholder(),uS._32(n,133)._control.disabled,uS._32(n,133)._control.focused,"primary"==uS._32(n,133).color,"accent"==uS._32(n,133).color,"warn"==uS._32(n,133).color,uS._32(n,133)._shouldForward("untouched"),uS._32(n,133)._shouldForward("touched"),uS._32(n,133)._shouldForward("pristine"),uS._32(n,133)._shouldForward("dirty"),uS._32(n,133)._shouldForward("valid"),uS._32(n,133)._shouldForward("invalid"),uS._32(n,133)._shouldForward("pending")]);l(n,142,1,[uS._32(n,145).required?"":null,uS._32(n,150).ngClassUntouched,uS._32(n,150).ngClassTouched,uS._32(n,150).ngClassPristine,uS._32(n,150).ngClassDirty,uS._32(n,150).ngClassValid,uS._32(n,150).ngClassInvalid,uS._32(n,150).ngClassPending,uS._32(n,151)._isServer,uS._32(n,151).id,uS._32(n,151).placeholder,uS._32(n,151).disabled,uS._32(n,151).required,uS._32(n,151).readonly,uS._32(n,151)._ariaDescribedby||null,uS._32(n,151).errorState,uS._32(n,151).required.toString()]);l(n,155,1,[uS._32(n,156)._control.errorState,uS._32(n,156)._control.errorState,uS._32(n,156)._canLabelFloat,uS._32(n,156)._shouldLabelFloat(),uS._32(n,156)._hideControlPlaceholder(),uS._32(n,156)._control.disabled,uS._32(n,156)._control.focused,"primary"==uS._32(n,156).color,"accent"==uS._32(n,156).color,"warn"==uS._32(n,156).color,uS._32(n,156)._shouldForward("untouched"),uS._32(n,156)._shouldForward("touched"),uS._32(n,156)._shouldForward("pristine"),uS._32(n,156)._shouldForward("dirty"),uS._32(n,156)._shouldForward("valid"),uS._32(n,156)._shouldForward("invalid"),uS._32(n,156)._shouldForward("pending")]);l(n,165,1,[uS._32(n,168).required?"":null,uS._32(n,173).ngClassUntouched,uS._32(n,173).ngClassTouched,uS._32(n,173).ngClassPristine,uS._32(n,173).ngClassDirty,uS._32(n,173).ngClassValid,uS._32(n,173).ngClassInvalid,uS._32(n,173).ngClassPending,uS._32(n,174)._isServer,uS._32(n,174).id,uS._32(n,174).placeholder,uS._32(n,174).disabled,uS._32(n,174).required,uS._32(n,174).readonly,uS._32(n,174)._ariaDescribedby||null,uS._32(n,174).errorState,uS._32(n,174).required.toString()]);l(n,178,1,[uS._32(n,179)._control.errorState,uS._32(n,179)._control.errorState,uS._32(n,179)._canLabelFloat,uS._32(n,179)._shouldLabelFloat(),uS._32(n,179)._hideControlPlaceholder(),uS._32(n,179)._control.disabled,uS._32(n,179)._control.focused,"primary"==uS._32(n,179).color,"accent"==uS._32(n,179).color,"warn"==uS._32(n,179).color,uS._32(n,179)._shouldForward("untouched"),uS._32(n,179)._shouldForward("touched"),uS._32(n,179)._shouldForward("pristine"),uS._32(n,179)._shouldForward("dirty"),uS._32(n,179)._shouldForward("valid"),uS._32(n,179)._shouldForward("invalid"),uS._32(n,179)._shouldForward("pending")]);l(n,188,1,[uS._32(n,193).ngClassUntouched,uS._32(n,193).ngClassTouched,uS._32(n,193).ngClassPristine,uS._32(n,193).ngClassDirty,uS._32(n,193).ngClassValid,uS._32(n,193).ngClassInvalid,uS._32(n,193).ngClassPending,uS._32(n,194)._isServer,uS._32(n,194).id,uS._32(n,194).placeholder,uS._32(n,194).disabled,uS._32(n,194).required,uS._32(n,194).readonly,uS._32(n,194)._ariaDescribedby||null,uS._32(n,194).errorState,uS._32(n,194).required.toString()]);l(n,198,1,[uS._32(n,199)._control.errorState,uS._32(n,199)._control.errorState,uS._32(n,199)._canLabelFloat,uS._32(n,199)._shouldLabelFloat(),uS._32(n,199)._hideControlPlaceholder(),uS._32(n,199)._control.disabled,uS._32(n,199)._control.focused,"primary"==uS._32(n,199).color,"accent"==uS._32(n,199).color,"warn"==uS._32(n,199).color,uS._32(n,199)._shouldForward("untouched"),uS._32(n,199)._shouldForward("touched"),uS._32(n,199)._shouldForward("pristine"),uS._32(n,199)._shouldForward("dirty"),uS._32(n,199)._shouldForward("valid"),uS._32(n,199)._shouldForward("invalid"),uS._32(n,199)._shouldForward("pending")]);l(n,208,1,[uS._32(n,211).required?"":null,uS._32(n,216).ngClassUntouched,uS._32(n,216).ngClassTouched,uS._32(n,216).ngClassPristine,uS._32(n,216).ngClassDirty,uS._32(n,216).ngClassValid,uS._32(n,216).ngClassInvalid,uS._32(n,216).ngClassPending,uS._32(n,217)._isServer,uS._32(n,217).id,uS._32(n,217).placeholder,uS._32(n,217).disabled,uS._32(n,217).required,uS._32(n,217).readonly,uS._32(n,217)._ariaDescribedby||null,uS._32(n,217).errorState,uS._32(n,217).required.toString()]);l(n,240,1,[uS._32(n,241)._control.errorState,uS._32(n,241)._control.errorState,uS._32(n,241)._canLabelFloat,uS._32(n,241)._shouldLabelFloat(),uS._32(n,241)._hideControlPlaceholder(),uS._32(n,241)._control.disabled,uS._32(n,241)._control.focused,"primary"==uS._32(n,241).color,"accent"==uS._32(n,241).color,"warn"==uS._32(n,241).color,uS._32(n,241)._shouldForward("untouched"),uS._32(n,241)._shouldForward("touched"),uS._32(n,241)._shouldForward("pristine"),uS._32(n,241)._shouldForward("dirty"),uS._32(n,241)._shouldForward("valid"),uS._32(n,241)._shouldForward("invalid"),uS._32(n,241)._shouldForward("pending")]);l(n,250,1,[uS._32(n,253).required?"":null,uS._32(n,258).ngClassUntouched,uS._32(n,258).ngClassTouched,uS._32(n,258).ngClassPristine,uS._32(n,258).ngClassDirty,uS._32(n,258).ngClassValid,uS._32(n,258).ngClassInvalid,uS._32(n,258).ngClassPending,uS._32(n,259)._isServer,uS._32(n,259).id,uS._32(n,259).placeholder,uS._32(n,259).disabled,uS._32(n,259).required,uS._32(n,259).readonly,uS._32(n,259)._ariaDescribedby||null,uS._32(n,259).errorState,uS._32(n,259).required.toString()]);l(n,265,1,[uS._32(n,266)._control.errorState,uS._32(n,266)._control.errorState,uS._32(n,266)._canLabelFloat,uS._32(n,266)._shouldLabelFloat(),uS._32(n,266)._hideControlPlaceholder(),uS._32(n,266)._control.disabled,uS._32(n,266)._control.focused,"primary"==uS._32(n,266).color,"accent"==uS._32(n,266).color,"warn"==uS._32(n,266).color,uS._32(n,266)._shouldForward("untouched"),uS._32(n,266)._shouldForward("touched"),uS._32(n,266)._shouldForward("pristine"),uS._32(n,266)._shouldForward("dirty"),uS._32(n,266)._shouldForward("valid"),uS._32(n,266)._shouldForward("invalid"),uS._32(n,266)._shouldForward("pending")]);l(n,275,1,[uS._32(n,276).required?"":null,uS._32(n,280).ngClassUntouched,uS._32(n,280).ngClassTouched,uS._32(n,280).ngClassPristine,uS._32(n,280).ngClassDirty,uS._32(n,280).ngClassValid,uS._32(n,280).ngClassInvalid,uS._32(n,280).ngClassPending,uS._32(n,281).id,uS._32(n,281).tabIndex,uS._32(n,281)._ariaLabel,uS._32(n,281).ariaLabelledby,uS._32(n,281).required.toString(),uS._32(n,281).disabled.toString(),uS._32(n,281).errorState,uS._32(n,281).panelOpen?uS._32(n,281)._optionIds:null,uS._32(n,281).multiple,uS._32(n,281)._ariaDescribedby||null,uS._32(n,281)._getAriaActiveDescendant(),uS._32(n,281).disabled,uS._32(n,281).errorState,uS._32(n,281).required]);l(n,288,0,uS._32(n,289)._getTabIndex(),uS._32(n,289).selected,uS._32(n,289).multiple,uS._32(n,289).active,uS._32(n,289).id,uS._32(n,289).selected.toString(),uS._32(n,289).disabled.toString(),uS._32(n,289).disabled);l(n,292,0,uS._32(n,293)._getTabIndex(),uS._32(n,293).selected,uS._32(n,293).multiple,uS._32(n,293).active,uS._32(n,293).id,uS._32(n,293).selected.toString(),uS._32(n,293).disabled.toString(),uS._32(n,293).disabled);l(n,318,0,uS._32(n,324).ngClassUntouched,uS._32(n,324).ngClassTouched,uS._32(n,324).ngClassPristine,uS._32(n,324).ngClassDirty,uS._32(n,324).ngClassValid,uS._32(n,324).ngClassInvalid,uS._32(n,324).ngClassPending);l(n,326,0,uS._32(n,327).checked,uS._32(n,327).disabled,uS._32(n,327).id);l(n,330,0,uS._32(n,331).checked,uS._32(n,331).disabled,uS._32(n,331).id);l(n,334,0,uS._32(n,335).checked,uS._32(n,335).disabled,uS._32(n,335).id);l(n,342,0,uS._32(n,348).ngClassUntouched,uS._32(n,348).ngClassTouched,uS._32(n,348).ngClassPristine,uS._32(n,348).ngClassDirty,uS._32(n,348).ngClassValid,uS._32(n,348).ngClassInvalid,uS._32(n,348).ngClassPending);l(n,350,0,uS._32(n,351).checked,uS._32(n,351).disabled,uS._32(n,351).id);l(n,354,0,uS._32(n,355).checked,uS._32(n,355).disabled,uS._32(n,355).id);l(n,358,0,uS._32(n,359).checked,uS._32(n,359).disabled,uS._32(n,359).id);l(n,375,0,uS._32(n,381).ngClassUntouched,uS._32(n,381).ngClassTouched,uS._32(n,381).ngClassPristine,uS._32(n,381).ngClassDirty,uS._32(n,381).ngClassValid,uS._32(n,381).ngClassInvalid,uS._32(n,381).ngClassPending);l(n,383,0,uS._32(n,384).checked,uS._32(n,384).disabled,uS._32(n,384).id);l(n,387,0,uS._32(n,388).checked,uS._32(n,388).disabled,uS._32(n,388).id);l(n,391,0,uS._32(n,392).checked,uS._32(n,392).disabled,uS._32(n,392).id);l(n,399,0,uS._32(n,405).ngClassUntouched,uS._32(n,405).ngClassTouched,uS._32(n,405).ngClassPristine,uS._32(n,405).ngClassDirty,uS._32(n,405).ngClassValid,uS._32(n,405).ngClassInvalid,uS._32(n,405).ngClassPending);l(n,407,0,uS._32(n,408).checked,uS._32(n,408).disabled,uS._32(n,408).id);l(n,411,0,uS._32(n,412).checked,uS._32(n,412).disabled,uS._32(n,412).id);l(n,415,0,uS._32(n,416).checked,uS._32(n,416).disabled,uS._32(n,416).id);l(n,423,0,uS._32(n,429).ngClassUntouched,uS._32(n,429).ngClassTouched,uS._32(n,429).ngClassPristine,uS._32(n,429).ngClassDirty,uS._32(n,429).ngClassValid,uS._32(n,429).ngClassInvalid,uS._32(n,429).ngClassPending);l(n,431,0,uS._32(n,432).checked,uS._32(n,432).disabled,uS._32(n,432).id);l(n,435,0,uS._32(n,436).checked,uS._32(n,436).disabled,uS._32(n,436).id);l(n,448,1,[uS._32(n,449)._control.errorState,uS._32(n,449)._control.errorState,uS._32(n,449)._canLabelFloat,uS._32(n,449)._shouldLabelFloat(),uS._32(n,449)._hideControlPlaceholder(),uS._32(n,449)._control.disabled,uS._32(n,449)._control.focused,"primary"==uS._32(n,449).color,"accent"==uS._32(n,449).color,"warn"==uS._32(n,449).color,uS._32(n,449)._shouldForward("untouched"),uS._32(n,449)._shouldForward("touched"),uS._32(n,449)._shouldForward("pristine"),uS._32(n,449)._shouldForward("dirty"),uS._32(n,449)._shouldForward("valid"),uS._32(n,449)._shouldForward("invalid"),uS._32(n,449)._shouldForward("pending")]);l(n,462,1,[uS._32(n,467).ngClassUntouched,uS._32(n,467).ngClassTouched,uS._32(n,467).ngClassPristine,uS._32(n,467).ngClassDirty,uS._32(n,467).ngClassValid,uS._32(n,467).ngClassInvalid,uS._32(n,467).ngClassPending,uS._32(n,468)._isServer,uS._32(n,468).id,uS._32(n,468).placeholder,uS._32(n,468).disabled,uS._32(n,468).required,uS._32(n,468).readonly,uS._32(n,468)._ariaDescribedby||null,uS._32(n,468).errorState,uS._32(n,468).required.toString()])})}function i_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function o_(l){return uS._42(0,[uS._34(0,wI.u,[]),uS._38(671088640,1,{share_focus:0}),(l()(),uS._18(2,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(3,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(6,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,10).toggle()&&u}return u},AT.b,AT.a)),uS._17(9,1097728,[[2,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(10,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(11,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(15,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Oa)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(23,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(25,16384,null,0,xS.s,[xS.r],null,null),uS._17(26,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,30).onClick()&&u}return u},jT.b,jT.a)),uS._17(30,114688,[[3,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,34).onClick()&&u}return u},jT.b,jT.a)),uS._17(34,114688,[[3,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(39,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(40,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(43,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ma)),uS._17(46,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,a_)),uS._17(49,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(53,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(54,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,930,{_mainButton:0}),uS._38(603979776,931,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(58,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(59,49152,[[930,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(60,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(61,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(64,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(65,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,i_)),uS._17(68,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,23,0,e.tab);l(n,26,0,"optblue");l(n,30,0,"0");l(n,34,0,"1");l(n,43,0,e.tab);l(n,46,0,"1");l(n,49,0,"0");l(n,59,0,"optblue");l(n,61,0,"md-camera");l(n,68,0,!e.complete_status)},function(l,n){l(n,5,0,uS._32(n,6)._hidden,uS._32(n,6)._sbPadding);l(n,8,0,uS._32(n,10).isHidden);l(n,14,0,uS._32(n,15)._hidden);l(n,22,0,uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending,uS._32(n,26)._disabled);l(n,29,0,uS._32(n,30)._disabled,uS._32(n,30).isActive,uS._32(n,30).isActive);l(n,33,0,uS._32(n,34)._disabled,uS._32(n,34).isActive,uS._32(n,34).isActive);l(n,39,0,uS._32(n,40).statusbarPadding,uS._32(n,40)._hasRefresher);l(n,60,0,uS._32(n,61)._hidden)})}function r_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function __(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function d_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function s_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function c_(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function m_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,d_)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,s_)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,c_)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function p_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,m_)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function f_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function h_(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function g_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,f_)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,h_)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function b_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,g_)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function v_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function y_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,__)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,p_)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,b_)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,v_)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function C_(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[7,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.loanAmtInWords)})}function w_(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[24,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,[""," ( "," )"]))],function(l,n){l(n,1,0,n.context.$implicit.subproduct_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name,n.context.$implicit.abbr)})}function F_(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[34,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.enduse_of_loan_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.enduse_of_loan)})}function x_(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,37,{_control:0}),uS._38(335544320,38,{_placeholderChild:0}),uS._38(335544320,39,{_labelChild:0}),uS._38(603979776,40,{_errorChildren:1}),uS._38(603979776,41,{_hintChildren:1}),uS._38(603979776,42,{_prefixChildren:1}),uS._38(603979776,43,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[37,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function k_(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[58,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.balTxrfAmtInWords)})}function S_(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,54,{_control:0}),uS._38(335544320,55,{_placeholderChild:0}),uS._38(335544320,56,{_labelChild:0}),uS._38(603979776,57,{_errorChildren:1}),uS._38(603979776,58,{_hintChildren:1}),uS._38(603979776,59,{_prefixChildren:1}),uS._38(603979776,60,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}if("blur"===n){u=!1!==t.loanCalc()&&u}if("keyup"===n){u=!1!==t.inWords(e,2)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[54,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,k_)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function I_(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[68,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function q_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,42,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,61,{_control:0}),uS._38(335544320,62,{_placeholderChild:0}),uS._38(335544320,63,{_labelChild:0}),uS._38(603979776,64,{_errorChildren:1}),uS._38(603979776,65,{_hintChildren:1}),uS._38(603979776,66,{_prefixChildren:1}),uS._38(603979776,67,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,31,"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!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,68,{options:1}),uS._38(603979776,69,{optionGroups:1}),uS._38(335544320,70,{customTrigger:0}),uS._37(2048,[[61,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,0,null,1,15,"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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[68,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(24,0,null,0,11,"ngx-mat-select-search",[["formControlName","filterCtrl"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,jO.b,jO.a)),uS._17(25,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,71,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(28,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(30,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(33,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(34,16384,[[71,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,2,null,I_)),uS._17(39,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),uS._34(131072,wI.b,[uS.i]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"lender");l(n,14,0,"Lender from where balance transfer done");l(n,25,0,"Find Lender by Name...","No Matching Result");l(n,28,0,"filterCtrl");l(n,33,0,"md-close");l(n,39,0,uS._41(n,39,0,uS._32(n,40).transform(e.filteredBanks)))},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,24,0,uS._32(n,25).isInsideMatOption,uS._32(n,30).ngClassUntouched,uS._32(n,30).ngClassTouched,uS._32(n,30).ngClassPristine,uS._32(n,30).ngClassDirty,uS._32(n,30).ngClassValid,uS._32(n,30).ngClassInvalid,uS._32(n,30).ngClassPending);l(n,32,0,uS._32(n,33)._hidden)})}function P_(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,72,{_control:0}),uS._38(335544320,73,{_placeholderChild:0}),uS._38(335544320,74,{_labelChild:0}),uS._38(603979776,75,{_errorChildren:1}),uS._38(603979776,76,{_hintChildren:1}),uS._38(603979776,77,{_prefixChildren:1}),uS._38(603979776,78,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[72,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function D_(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[83,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.topUpAmtInWords)})}function T_(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,79,{_control:0}),uS._38(335544320,80,{_placeholderChild:0}),uS._38(335544320,81,{_labelChild:0}),uS._38(603979776,82,{_errorChildren:1}),uS._38(603979776,83,{_hintChildren:1}),uS._38(603979776,84,{_prefixChildren:1}),uS._38(603979776,85,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","topup_amount"],["matInput",""],["placeholder","Top Up Amt"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,5)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[79,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,D_)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"topup_amount");l(n,17,0,"Top Up Amt","number");l(n,21,0,""!=e.loanDetailsForm.controls.topup_amount.value)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function O_(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[93,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.end_use_of_topup_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.end_use_of_topup)})}function L_(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,86,{_control:0}),uS._38(335544320,87,{_placeholderChild:0}),uS._38(335544320,88,{_labelChild:0}),uS._38(603979776,89,{_errorChildren:1}),uS._38(603979776,90,{_hintChildren:1}),uS._38(603979776,91,{_prefixChildren:1}),uS._38(603979776,92,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,15)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(12,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(14,16384,null,0,xS.s,[xS.r],null,null),uS._17(15,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,93,{options:1}),uS._38(603979776,94,{optionGroups:1}),uS._38(335544320,95,{customTrigger:0}),uS._37(2048,[[86,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._13(16777216,null,1,1,null,O_)),uS._17(22,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending,uS._32(n,15).id,uS._32(n,15).tabIndex,uS._32(n,15)._ariaLabel,uS._32(n,15).ariaLabelledby,uS._32(n,15).required.toString(),uS._32(n,15).disabled.toString(),uS._32(n,15).errorState,uS._32(n,15).panelOpen?uS._32(n,15)._optionIds:null,uS._32(n,15).multiple,uS._32(n,15)._ariaDescribedby||null,uS._32(n,15)._getAriaActiveDescendant(),uS._32(n,15).disabled,uS._32(n,15).errorState,uS._32(n,15).required])})}function A_(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,96,{_control:0}),uS._38(335544320,97,{_placeholderChild:0}),uS._38(335544320,98,{_labelChild:0}),uS._38(603979776,99,{_errorChildren:1}),uS._38(603979776,100,{_hintChildren:1}),uS._38(603979776,101,{_prefixChildren:1}),uS._38(603979776,102,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[96,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function V_(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[107,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.ownContributionInWords)})}function N_(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[117,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function W_(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,120,{_control:0}),uS._38(335544320,121,{_placeholderChild:0}),uS._38(335544320,122,{_labelChild:0}),uS._38(603979776,123,{_errorChildren:1}),uS._38(603979776,124,{_hintChildren:1}),uS._38(603979776,125,{_prefixChildren:1}),uS._38(603979776,126,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[120,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function E_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,60,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,103,{_control:0}),uS._38(335544320,104,{_placeholderChild:0}),uS._38(335544320,105,{_labelChild:0}),uS._38(603979776,106,{_errorChildren:1}),uS._38(603979776,107,{_hintChildren:1}),uS._38(603979776,108,{_prefixChildren:1}),uS._38(603979776,109,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,4)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(15,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[103,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,V_)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(28,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,cT.b,cT.a)),uS._17(29,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,110,{_control:0}),uS._38(335544320,111,{_placeholderChild:0}),uS._38(335544320,112,{_labelChild:0}),uS._38(603979776,113,{_errorChildren:1}),uS._38(603979776,114,{_hintChildren:1}),uS._38(603979776,115,{_prefixChildren:1}),uS._38(603979776,116,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,43)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.sourceChange(e.value)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(40,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(42,16384,null,0,xS.s,[xS.r],null,null),uS._17(43,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},{selectionChange:"selectionChange"}),uS._38(603979776,117,{options:1}),uS._38(603979776,118,{optionGroups:1}),uS._38(335544320,119,{customTrigger:0}),uS._37(2048,[[110,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._13(16777216,null,1,1,null,N_)),uS._17(50,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,W_)),uS._17(59,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,15,0,"");l(n,18,0,"own_contribution");l(n,21,0,"Amount of Own Contribution","","number");l(n,25,0,""!=e.loanDetailsForm.controls.own_contribution.value);l(n,40,0,"source");l(n,43,0,"Source of Own Contribution","");l(n,50,0,e.m_sourceofamount);l(n,59,0,e.isOtherSource)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()]);l(n,28,1,[uS._32(n,29)._control.errorState,uS._32(n,29)._control.errorState,uS._32(n,29)._canLabelFloat,uS._32(n,29)._shouldLabelFloat(),uS._32(n,29)._hideControlPlaceholder(),uS._32(n,29)._control.disabled,uS._32(n,29)._control.focused,"primary"==uS._32(n,29).color,"accent"==uS._32(n,29).color,"warn"==uS._32(n,29).color,uS._32(n,29)._shouldForward("untouched"),uS._32(n,29)._shouldForward("touched"),uS._32(n,29)._shouldForward("pristine"),uS._32(n,29)._shouldForward("dirty"),uS._32(n,29)._shouldForward("valid"),uS._32(n,29)._shouldForward("invalid"),uS._32(n,29)._shouldForward("pending")]);l(n,38,1,[uS._32(n,42).ngClassUntouched,uS._32(n,42).ngClassTouched,uS._32(n,42).ngClassPristine,uS._32(n,42).ngClassDirty,uS._32(n,42).ngClassValid,uS._32(n,42).ngClassInvalid,uS._32(n,42).ngClassPending,uS._32(n,43).id,uS._32(n,43).tabIndex,uS._32(n,43)._ariaLabel,uS._32(n,43).ariaLabelledby,uS._32(n,43).required.toString(),uS._32(n,43).disabled.toString(),uS._32(n,43).errorState,uS._32(n,43).panelOpen?uS._32(n,43)._optionIds:null,uS._32(n,43).multiple,uS._32(n,43)._ariaDescribedby||null,uS._32(n,43)._getAriaActiveDescendant(),uS._32(n,43).disabled,uS._32(n,43).errorState,uS._32(n,43).required])})}function j_(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[131,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.emiAmtInWords)})}function $_(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[141,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.mortage_property_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.property_name)})}function B_(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,144,{_control:0}),uS._38(335544320,145,{_placeholderChild:0}),uS._38(335544320,146,{_labelChild:0}),uS._38(603979776,147,{_errorChildren:1}),uS._38(603979776,148,{_hintChildren:1}),uS._38(603979776,149,{_prefixChildren:1}),uS._38(603979776,150,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[144,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function R_(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[158,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function U_(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[159,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,R_)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function M_(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[168,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function K_(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[175,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.emvAmtInWords)})}function H_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,139,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,136,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(3,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,2,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Details of Property being Mortgaged\n "])),(l()(),uS._18(10,0,null,2,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,124,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(14,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,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,cT.b,cT.a)),uS._17(17,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,134,{_control:0}),uS._38(335544320,135,{_placeholderChild:0}),uS._38(335544320,136,{_labelChild:0}),uS._38(603979776,137,{_errorChildren:1}),uS._38(603979776,138,{_hintChildren:1}),uS._38(603979776,139,{_prefixChildren:1}),uS._38(603979776,140,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(26,0,null,1,19,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,32)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,32)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.mortage_type(e.value)&&u}return u},LO.b,LO.a)),uS._17(27,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(29,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(31,16384,null,0,xS.s,[xS.r],null,null),uS._17(32,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,141,{options:1}),uS._38(603979776,142,{optionGroups:1}),uS._38(335544320,143,{customTrigger:0}),uS._37(2048,[[134,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(39,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!==uS._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,40)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(40,8437760,[[141,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,$_)),uS._17(44,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,B_)),uS._17(49,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(51,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,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,151,{_control:0}),uS._38(335544320,152,{_placeholderChild:0}),uS._38(335544320,153,{_labelChild:0}),uS._38(603979776,154,{_errorChildren:1}),uS._38(603979776,155,{_hintChildren:1}),uS._38(603979776,156,{_prefixChildren:1}),uS._38(603979776,157,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,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!==uS._32(l,66)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,66)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,66)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(63,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(65,16384,null,0,xS.s,[xS.r],null,null),uS._17(66,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},null),uS._38(603979776,158,{options:1}),uS._38(603979776,159,{optionGroups:1}),uS._38(335544320,160,{customTrigger:0}),uS._37(2048,[[151,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,U_)),uS._17(73,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(77,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,cT.b,cT.a)),uS._17(78,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,161,{_control:0}),uS._38(335544320,162,{_placeholderChild:0}),uS._38(335544320,163,{_labelChild:0}),uS._38(603979776,164,{_errorChildren:1}),uS._38(603979776,165,{_hintChildren:1}),uS._38(603979776,166,{_prefixChildren:1}),uS._38(603979776,167,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(87,0,null,1,19,"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!==uS._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,93)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(88,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(90,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(92,16384,null,0,xS.s,[xS.r],null,null),uS._17(93,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,168,{options:1}),uS._38(603979776,169,{optionGroups:1}),uS._38(335544320,170,{customTrigger:0}),uS._37(2048,[[161,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(100,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!==uS._32(l,101)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,101)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(101,8437760,[[168,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,M_)),uS._17(105,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(111,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,cT.b,cT.a)),uS._17(112,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,171,{_control:0}),uS._38(335544320,172,{_placeholderChild:0}),uS._38(335544320,173,{_labelChild:0}),uS._38(603979776,174,{_errorChildren:1}),uS._38(603979776,175,{_hintChildren:1}),uS._38(603979776,176,{_prefixChildren:1}),uS._38(603979776,177,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(121,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,t=l.component;if("input"===n){u=!1!==uS._32(l,122)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,122).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,122)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,122)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,123).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,123).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,123).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,130)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,130)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,130)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,7)&&u}return u},null,null)),uS._17(122,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(123,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(124,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(127,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(129,16384,null,0,xS.s,[xS.r],null,null),uS._17(130,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[171,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,K_)),uS._17(134,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,27,0,"");l(n,29,0,"property_type");l(n,32,0,"Type of Property","");l(n,44,0,e.m_mortageTypeProperty);l(n,49,0,e.mortageAccess);l(n,63,0,"owner_name");l(n,66,0,"Name of Owner","",e.compareObjects);l(n,73,0,e.mergeCompanyApplicant);l(n,88,0,"");l(n,90,0,"construction_status");l(n,93,0,"Status of Construction","");l(n,105,0,e.m_statusofCunstruction);l(n,124,0,"");l(n,127,0,"emv_per_customer");l(n,130,0,"Estimate Market Value as Per Customer","","number");l(n,134,0,""!=e.loanDetailsForm.controls.emv_per_customer.value)},function(l,n){l(n,16,1,[uS._32(n,17)._control.errorState,uS._32(n,17)._control.errorState,uS._32(n,17)._canLabelFloat,uS._32(n,17)._shouldLabelFloat(),uS._32(n,17)._hideControlPlaceholder(),uS._32(n,17)._control.disabled,uS._32(n,17)._control.focused,"primary"==uS._32(n,17).color,"accent"==uS._32(n,17).color,"warn"==uS._32(n,17).color,uS._32(n,17)._shouldForward("untouched"),uS._32(n,17)._shouldForward("touched"),uS._32(n,17)._shouldForward("pristine"),uS._32(n,17)._shouldForward("dirty"),uS._32(n,17)._shouldForward("valid"),uS._32(n,17)._shouldForward("invalid"),uS._32(n,17)._shouldForward("pending")]);l(n,26,1,[uS._32(n,27).required?"":null,uS._32(n,31).ngClassUntouched,uS._32(n,31).ngClassTouched,uS._32(n,31).ngClassPristine,uS._32(n,31).ngClassDirty,uS._32(n,31).ngClassValid,uS._32(n,31).ngClassInvalid,uS._32(n,31).ngClassPending,uS._32(n,32).id,uS._32(n,32).tabIndex,uS._32(n,32)._ariaLabel,uS._32(n,32).ariaLabelledby,uS._32(n,32).required.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).errorState,uS._32(n,32).panelOpen?uS._32(n,32)._optionIds:null,uS._32(n,32).multiple,uS._32(n,32)._ariaDescribedby||null,uS._32(n,32)._getAriaActiveDescendant(),uS._32(n,32).disabled,uS._32(n,32).errorState,uS._32(n,32).required]);l(n,39,0,uS._32(n,40)._getTabIndex(),uS._32(n,40).selected,uS._32(n,40).multiple,uS._32(n,40).active,uS._32(n,40).id,uS._32(n,40).selected.toString(),uS._32(n,40).disabled.toString(),uS._32(n,40).disabled);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,61,1,[uS._32(n,65).ngClassUntouched,uS._32(n,65).ngClassTouched,uS._32(n,65).ngClassPristine,uS._32(n,65).ngClassDirty,uS._32(n,65).ngClassValid,uS._32(n,65).ngClassInvalid,uS._32(n,65).ngClassPending,uS._32(n,66).id,uS._32(n,66).tabIndex,uS._32(n,66)._ariaLabel,uS._32(n,66).ariaLabelledby,uS._32(n,66).required.toString(),uS._32(n,66).disabled.toString(),uS._32(n,66).errorState,uS._32(n,66).panelOpen?uS._32(n,66)._optionIds:null,uS._32(n,66).multiple,uS._32(n,66)._ariaDescribedby||null,uS._32(n,66)._getAriaActiveDescendant(),uS._32(n,66).disabled,uS._32(n,66).errorState,uS._32(n,66).required]);l(n,77,1,[uS._32(n,78)._control.errorState,uS._32(n,78)._control.errorState,uS._32(n,78)._canLabelFloat,uS._32(n,78)._shouldLabelFloat(),uS._32(n,78)._hideControlPlaceholder(),uS._32(n,78)._control.disabled,uS._32(n,78)._control.focused,"primary"==uS._32(n,78).color,"accent"==uS._32(n,78).color,"warn"==uS._32(n,78).color,uS._32(n,78)._shouldForward("untouched"),uS._32(n,78)._shouldForward("touched"),uS._32(n,78)._shouldForward("pristine"),uS._32(n,78)._shouldForward("dirty"),uS._32(n,78)._shouldForward("valid"),uS._32(n,78)._shouldForward("invalid"),uS._32(n,78)._shouldForward("pending")]);l(n,87,1,[uS._32(n,88).required?"":null,uS._32(n,92).ngClassUntouched,uS._32(n,92).ngClassTouched,uS._32(n,92).ngClassPristine,uS._32(n,92).ngClassDirty,uS._32(n,92).ngClassValid,uS._32(n,92).ngClassInvalid,uS._32(n,92).ngClassPending,uS._32(n,93).id,uS._32(n,93).tabIndex,uS._32(n,93)._ariaLabel,uS._32(n,93).ariaLabelledby,uS._32(n,93).required.toString(),uS._32(n,93).disabled.toString(),uS._32(n,93).errorState,uS._32(n,93).panelOpen?uS._32(n,93)._optionIds:null,uS._32(n,93).multiple,uS._32(n,93)._ariaDescribedby||null,uS._32(n,93)._getAriaActiveDescendant(),uS._32(n,93).disabled,uS._32(n,93).errorState,uS._32(n,93).required]);l(n,100,0,uS._32(n,101)._getTabIndex(),uS._32(n,101).selected,uS._32(n,101).multiple,uS._32(n,101).active,uS._32(n,101).id,uS._32(n,101).selected.toString(),uS._32(n,101).disabled.toString(),uS._32(n,101).disabled);l(n,111,1,[uS._32(n,112)._control.errorState,uS._32(n,112)._control.errorState,uS._32(n,112)._canLabelFloat,uS._32(n,112)._shouldLabelFloat(),uS._32(n,112)._hideControlPlaceholder(),uS._32(n,112)._control.disabled,uS._32(n,112)._control.focused,"primary"==uS._32(n,112).color,"accent"==uS._32(n,112).color,"warn"==uS._32(n,112).color,uS._32(n,112)._shouldForward("untouched"),uS._32(n,112)._shouldForward("touched"),uS._32(n,112)._shouldForward("pristine"),uS._32(n,112)._shouldForward("dirty"),uS._32(n,112)._shouldForward("valid"),uS._32(n,112)._shouldForward("invalid"),uS._32(n,112)._shouldForward("pending")]);l(n,121,1,[uS._32(n,124).required?"":null,uS._32(n,129).ngClassUntouched,uS._32(n,129).ngClassTouched,uS._32(n,129).ngClassPristine,uS._32(n,129).ngClassDirty,uS._32(n,129).ngClassValid,uS._32(n,129).ngClassInvalid,uS._32(n,129).ngClassPending,uS._32(n,130)._isServer,uS._32(n,130).id,uS._32(n,130).placeholder,uS._32(n,130).disabled,uS._32(n,130).required,uS._32(n,130).readonly,uS._32(n,130)._ariaDescribedby||null,uS._32(n,130).errorState,uS._32(n,130).required.toString()])})}function G_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,252,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,200,"mat-card",[["class","mat-card"],["style","padding: 12px;"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(9,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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_amount"],["matInput",""],["placeholder","Loan Amount Applied for ? "],["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,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,21).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,21).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,1)&&u}if("blur"===n){u=!1!==t.loanCalc()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(21,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(22,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[3,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,C_)),uS._17(32,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(35,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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,10,{_control:0}),uS._38(335544320,11,{_placeholderChild:0}),uS._38(335544320,12,{_labelChild:0}),uS._38(603979776,13,{_errorChildren:1}),uS._38(603979776,14,{_hintChildren:1}),uS._38(603979776,15,{_prefixChildren:1}),uS._38(603979776,16,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(46,16384,[[12,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Loan Tenure applied for?"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(49,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_tenure"],["matInput",""],["placeholder","No of 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!==uS._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,50)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,51).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,51).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,56)._onInput()&&u}return u},null,null)),uS._17(50,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(51,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(53,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(55,16384,null,0,xS.s,[xS.r],null,null),uS._17(56,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[10,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(60,0,null,0,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,cT.b,cT.a)),uS._17(61,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,17,{_control:0}),uS._38(335544320,18,{_placeholderChild:0}),uS._38(335544320,19,{_labelChild:0}),uS._38(603979776,20,{_errorChildren:1}),uS._38(603979776,21,{_hintChildren:1}),uS._38(603979776,22,{_prefixChildren:1}),uS._38(603979776,23,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(70,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","sub_product"],["placeholder","Sub Product"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,74)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,74)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,74)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.onChangeSubProduct(e.value)&&u}return u},LO.b,LO.a)),uS._17(71,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(73,16384,null,0,xS.s,[xS.r],null,null),uS._17(74,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,24,{options:1}),uS._38(603979776,25,{optionGroups:1}),uS._38(335544320,26,{customTrigger:0}),uS._37(2048,[[17,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,82)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,82)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(82,8437760,[[24,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,w_)),uS._17(86,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(90,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,cT.b,cT.a)),uS._17(91,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(100,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,107)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,107)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,107)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.endUserChange(e.value)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(102,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(104,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(106,16384,null,0,xS.s,[xS.r],null,null),uS._17(107,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},{selectionChange:"selectionChange"}),uS._38(603979776,34,{options:1}),uS._38(603979776,35,{optionGroups:1}),uS._38(335544320,36,{customTrigger:0}),uS._37(2048,[[27,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._13(16777216,null,1,1,null,F_)),uS._17(114,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,x_)),uS._17(120,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(122,0,null,0,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(123,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,44,{_control:0}),uS._38(335544320,45,{_placeholderChild:0}),uS._38(335544320,46,{_labelChild:0}),uS._38(603979776,47,{_errorChildren:1}),uS._38(603979776,48,{_hintChildren:1}),uS._38(603979776,49,{_prefixChildren:1}),uS._38(603979776,50,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(132,0,null,1,24,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,138)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,138)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,138)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedBalancesTransferChanges(e)&&u}return u},LO.b,LO.a)),uS._17(133,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(135,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(137,16384,null,0,xS.s,[xS.r],null,null),uS._17(138,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,51,{options:1}),uS._38(603979776,52,{optionGroups:1}),uS._38(335544320,53,{customTrigger:0}),uS._37(2048,[[44,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(145,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!==uS._32(l,146)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,146)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(146,8437760,[[51,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(149,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!==uS._32(l,150)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,150)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(150,8437760,[[51,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(153,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!==uS._32(l,154)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,154)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(154,8437760,[[51,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,S_)),uS._17(160,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,q_)),uS._17(164,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,P_)),uS._17(167,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,T_)),uS._17(170,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,L_)),uS._17(173,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,A_)),uS._17(176,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,E_)),uS._17(179,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(181,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,cT.b,cT.a)),uS._17(182,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,127,{_control:0}),uS._38(335544320,128,{_placeholderChild:0}),uS._38(335544320,129,{_labelChild:0}),uS._38(603979776,130,{_errorChildren:1}),uS._38(603979776,131,{_hintChildren:1}),uS._38(603979776,132,{_prefixChildren:1}),uS._38(603979776,133,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(191,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emi_level"],["matInput",""],["placeholder","EMI Amount Comfortable Paying"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,192)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,192).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,192)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,192)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,193).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,193).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,193).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,200)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,200)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,200)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,6)&&u}return u},null,null)),uS._17(192,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(193,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(194,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(197,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(199,16384,null,0,xS.s,[xS.r],null,null),uS._17(200,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[127,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,j_)),uS._17(204,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,H_)),uS._17(209,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(211,0,null,null,34,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(212,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(214,0,null,0,30,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(216,0,null,null,27,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(218,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,cT.b,cT.a)),uS._17(219,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,178,{_control:0}),uS._38(335544320,179,{_placeholderChild:0}),uS._38(335544320,180,{_labelChild:0}),uS._38(603979776,181,{_errorChildren:1}),uS._38(603979776,182,{_hintChildren:1}),uS._38(603979776,183,{_prefixChildren:1}),uS._38(603979776,184,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(228,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(229,16384,[[180,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(232,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!==uS._32(l,233)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,233).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,233)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,233)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,240)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,240)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,240)._onInput()&&u}return u},null,null)),uS._17(233,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(234,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(237,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(239,16384,null,0,xS.s,[xS.r],null,null),uS._17(240,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[178,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(247,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(248,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.loanDetailsForm);l(n,22,0,"");l(n,25,0,"loan_amount");l(n,28,0,"Loan Amount Applied for ? ","","number");l(n,32,0,""!=e.loanDetailsForm.controls.loan_amount.value&&""!=e.loanAmtInWords);l(n,53,0,"loan_tenure");l(n,56,0,"No of Months","number");l(n,71,0,"sub_product");l(n,74,0,"Sub Product");l(n,86,0,e.m_endUseofLoad);l(n,102,0,"");l(n,104,0,"end_use");l(n,107,0,"What is the end use","","");l(n,114,0,e.m_endUseForLoan);l(n,120,0,e.isOtherPurpose);l(n,133,0,"");l(n,135,0,"is_transfer");l(n,138,0,"Is there a balance transfer ? ","");l(n,150,0,"yes");l(n,154,0,"no");l(n,160,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,164,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,167,0,3==e.loanDetailsForm.controls.lender.value);l(n,170,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,173,0,e.loanDetailsForm.controls.topup_amount.value>0);l(n,176,0,1==e.loanDetailsForm.controls.end_use_topup.value);l(n,179,0,"yes"!=e.loanDetailsForm.controls.is_transfer.value&&""!=e.loanDetailsForm.controls.is_transfer.value&&!e.isContribution);l(n,194,0,"");l(n,197,0,"emi_level");l(n,200,0,"EMI Amount Comfortable Paying","","number");l(n,204,0,""!=e.loanDetailsForm.controls.emi_level.value);l(n,209,0,e.mortageCardAccess);l(n,234,0,"");l(n,237,0,"loandetails_remarks");l(n,240,0,"Remarks","")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,22).required?"":null,uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,49,1,[uS._32(n,55).ngClassUntouched,uS._32(n,55).ngClassTouched,uS._32(n,55).ngClassPristine,uS._32(n,55).ngClassDirty,uS._32(n,55).ngClassValid,uS._32(n,55).ngClassInvalid,uS._32(n,55).ngClassPending,uS._32(n,56)._isServer,uS._32(n,56).id,uS._32(n,56).placeholder,uS._32(n,56).disabled,uS._32(n,56).required,uS._32(n,56).readonly,uS._32(n,56)._ariaDescribedby||null,uS._32(n,56).errorState,uS._32(n,56).required.toString()]);l(n,60,1,[uS._32(n,61)._control.errorState,uS._32(n,61)._control.errorState,uS._32(n,61)._canLabelFloat,uS._32(n,61)._shouldLabelFloat(),uS._32(n,61)._hideControlPlaceholder(),uS._32(n,61)._control.disabled,uS._32(n,61)._control.focused,"primary"==uS._32(n,61).color,"accent"==uS._32(n,61).color,"warn"==uS._32(n,61).color,uS._32(n,61)._shouldForward("untouched"),uS._32(n,61)._shouldForward("touched"),uS._32(n,61)._shouldForward("pristine"),uS._32(n,61)._shouldForward("dirty"),uS._32(n,61)._shouldForward("valid"),uS._32(n,61)._shouldForward("invalid"),uS._32(n,61)._shouldForward("pending")]);l(n,70,1,[uS._32(n,73).ngClassUntouched,uS._32(n,73).ngClassTouched,uS._32(n,73).ngClassPristine,uS._32(n,73).ngClassDirty,uS._32(n,73).ngClassValid,uS._32(n,73).ngClassInvalid,uS._32(n,73).ngClassPending,uS._32(n,74).id,uS._32(n,74).tabIndex,uS._32(n,74)._ariaLabel,uS._32(n,74).ariaLabelledby,uS._32(n,74).required.toString(),uS._32(n,74).disabled.toString(),uS._32(n,74).errorState,uS._32(n,74).panelOpen?uS._32(n,74)._optionIds:null,uS._32(n,74).multiple,uS._32(n,74)._ariaDescribedby||null,uS._32(n,74)._getAriaActiveDescendant(),uS._32(n,74).disabled,uS._32(n,74).errorState,uS._32(n,74).required]);l(n,81,0,uS._32(n,82)._getTabIndex(),uS._32(n,82).selected,uS._32(n,82).multiple,uS._32(n,82).active,uS._32(n,82).id,uS._32(n,82).selected.toString(),uS._32(n,82).disabled.toString(),uS._32(n,82).disabled);l(n,90,1,[uS._32(n,91)._control.errorState,uS._32(n,91)._control.errorState,uS._32(n,91)._canLabelFloat,uS._32(n,91)._shouldLabelFloat(),uS._32(n,91)._hideControlPlaceholder(),uS._32(n,91)._control.disabled,uS._32(n,91)._control.focused,"primary"==uS._32(n,91).color,"accent"==uS._32(n,91).color,"warn"==uS._32(n,91).color,uS._32(n,91)._shouldForward("untouched"),uS._32(n,91)._shouldForward("touched"),uS._32(n,91)._shouldForward("pristine"),uS._32(n,91)._shouldForward("dirty"),uS._32(n,91)._shouldForward("valid"),uS._32(n,91)._shouldForward("invalid"),uS._32(n,91)._shouldForward("pending")]);l(n,100,1,[uS._32(n,102).required?"":null,uS._32(n,106).ngClassUntouched,uS._32(n,106).ngClassTouched,uS._32(n,106).ngClassPristine,uS._32(n,106).ngClassDirty,uS._32(n,106).ngClassValid,uS._32(n,106).ngClassInvalid,uS._32(n,106).ngClassPending,uS._32(n,107).id,uS._32(n,107).tabIndex,uS._32(n,107)._ariaLabel,uS._32(n,107).ariaLabelledby,uS._32(n,107).required.toString(),uS._32(n,107).disabled.toString(),uS._32(n,107).errorState,uS._32(n,107).panelOpen?uS._32(n,107)._optionIds:null,uS._32(n,107).multiple,uS._32(n,107)._ariaDescribedby||null,uS._32(n,107)._getAriaActiveDescendant(),uS._32(n,107).disabled,uS._32(n,107).errorState,uS._32(n,107).required]);l(n,122,1,[uS._32(n,123)._control.errorState,uS._32(n,123)._control.errorState,uS._32(n,123)._canLabelFloat,uS._32(n,123)._shouldLabelFloat(),uS._32(n,123)._hideControlPlaceholder(),uS._32(n,123)._control.disabled,uS._32(n,123)._control.focused,"primary"==uS._32(n,123).color,"accent"==uS._32(n,123).color,"warn"==uS._32(n,123).color,uS._32(n,123)._shouldForward("untouched"),uS._32(n,123)._shouldForward("touched"),uS._32(n,123)._shouldForward("pristine"),uS._32(n,123)._shouldForward("dirty"),uS._32(n,123)._shouldForward("valid"),uS._32(n,123)._shouldForward("invalid"),uS._32(n,123)._shouldForward("pending")]);l(n,132,1,[uS._32(n,133).required?"":null,uS._32(n,137).ngClassUntouched,uS._32(n,137).ngClassTouched,uS._32(n,137).ngClassPristine,uS._32(n,137).ngClassDirty,uS._32(n,137).ngClassValid,uS._32(n,137).ngClassInvalid,uS._32(n,137).ngClassPending,uS._32(n,138).id,uS._32(n,138).tabIndex,uS._32(n,138)._ariaLabel,uS._32(n,138).ariaLabelledby,uS._32(n,138).required.toString(),uS._32(n,138).disabled.toString(),uS._32(n,138).errorState,uS._32(n,138).panelOpen?uS._32(n,138)._optionIds:null,uS._32(n,138).multiple,uS._32(n,138)._ariaDescribedby||null,uS._32(n,138)._getAriaActiveDescendant(),uS._32(n,138).disabled,uS._32(n,138).errorState,uS._32(n,138).required]);l(n,145,0,uS._32(n,146)._getTabIndex(),uS._32(n,146).selected,uS._32(n,146).multiple,uS._32(n,146).active,uS._32(n,146).id,uS._32(n,146).selected.toString(),uS._32(n,146).disabled.toString(),uS._32(n,146).disabled);l(n,149,0,uS._32(n,150)._getTabIndex(),uS._32(n,150).selected,uS._32(n,150).multiple,uS._32(n,150).active,uS._32(n,150).id,uS._32(n,150).selected.toString(),uS._32(n,150).disabled.toString(),uS._32(n,150).disabled);l(n,153,0,uS._32(n,154)._getTabIndex(),uS._32(n,154).selected,uS._32(n,154).multiple,uS._32(n,154).active,uS._32(n,154).id,uS._32(n,154).selected.toString(),uS._32(n,154).disabled.toString(),uS._32(n,154).disabled);l(n,181,1,[uS._32(n,182)._control.errorState,uS._32(n,182)._control.errorState,uS._32(n,182)._canLabelFloat,uS._32(n,182)._shouldLabelFloat(),uS._32(n,182)._hideControlPlaceholder(),uS._32(n,182)._control.disabled,uS._32(n,182)._control.focused,"primary"==uS._32(n,182).color,"accent"==uS._32(n,182).color,"warn"==uS._32(n,182).color,uS._32(n,182)._shouldForward("untouched"),uS._32(n,182)._shouldForward("touched"),uS._32(n,182)._shouldForward("pristine"),uS._32(n,182)._shouldForward("dirty"),uS._32(n,182)._shouldForward("valid"),uS._32(n,182)._shouldForward("invalid"),uS._32(n,182)._shouldForward("pending")]);l(n,191,1,[uS._32(n,194).required?"":null,uS._32(n,199).ngClassUntouched,uS._32(n,199).ngClassTouched,uS._32(n,199).ngClassPristine,uS._32(n,199).ngClassDirty,uS._32(n,199).ngClassValid,uS._32(n,199).ngClassInvalid,uS._32(n,199).ngClassPending,uS._32(n,200)._isServer,uS._32(n,200).id,uS._32(n,200).placeholder,uS._32(n,200).disabled,uS._32(n,200).required,uS._32(n,200).readonly,uS._32(n,200)._ariaDescribedby||null,uS._32(n,200).errorState,uS._32(n,200).required.toString()]);l(n,218,1,[uS._32(n,219)._control.errorState,uS._32(n,219)._control.errorState,uS._32(n,219)._canLabelFloat,uS._32(n,219)._shouldLabelFloat(),uS._32(n,219)._hideControlPlaceholder(),uS._32(n,219)._control.disabled,uS._32(n,219)._control.focused,"primary"==uS._32(n,219).color,"accent"==uS._32(n,219).color,"warn"==uS._32(n,219).color,uS._32(n,219)._shouldForward("untouched"),uS._32(n,219)._shouldForward("touched"),uS._32(n,219)._shouldForward("pristine"),uS._32(n,219)._shouldForward("dirty"),uS._32(n,219)._shouldForward("valid"),uS._32(n,219)._shouldForward("invalid"),uS._32(n,219)._shouldForward("pending")]);l(n,232,1,[uS._32(n,234).required?"":null,uS._32(n,239).ngClassUntouched,uS._32(n,239).ngClassTouched,uS._32(n,239).ngClassPristine,uS._32(n,239).ngClassDirty,uS._32(n,239).ngClassValid,uS._32(n,239).ngClassInvalid,uS._32(n,239).ngClassPending,uS._32(n,240)._isServer,uS._32(n,240).id,uS._32(n,240).placeholder,uS._32(n,240).disabled,uS._32(n,240).required,uS._32(n,240).readonly,uS._32(n,240)._ariaDescribedby||null,uS._32(n,240).errorState,uS._32(n,240).required.toString()])})}function Y_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function z_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,r_)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(21,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,28).onClick()&&u}return u},jT.b,jT.a)),uS._17(28,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,32).onClick()&&u}return u},jT.b,jT.a)),uS._17(32,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(37,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(38,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(40,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(41,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,y_)),uS._17(44,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,G_)),uS._17(47,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(50,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(51,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,185,{_mainButton:0}),uS._38(603979776,186,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(55,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(56,49152,[[185,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(57,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(58,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(61,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(62,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Y_)),uS._17(65,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-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,21,0,e.tab);l(n,24,0,"optblue");l(n,28,0,"0");l(n,32,0,"1");l(n,41,0,e.tab);l(n,44,0,"1");l(n,47,0,"0");l(n,56,0,"optblue");l(n,58,0,"md-camera");l(n,65,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,20,0,uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._disabled);l(n,27,0,uS._32(n,28)._disabled,uS._32(n,28).isActive,uS._32(n,28).isActive);l(n,31,0,uS._32(n,32)._disabled,uS._32(n,32).isActive,uS._32(n,32).isActive);l(n,37,0,uS._32(n,38).statusbarPadding,uS._32(n,38)._hasRefresher);l(n,57,0,uS._32(n,58)._hidden)})}function Q_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function J_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Z_(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function X_(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function ld(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,J_)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Z_)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,X_)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function nd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ld)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function ed(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ud(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function td(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ed)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ud)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function ad(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,td)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function id(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function od(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Q_)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,nd)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,ad)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,id)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function rd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,53,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,12,{_control:0}),uS._38(335544320,13,{_placeholderChild:0}),uS._38(335544320,14,{_labelChild:0}),uS._38(603979776,15,{_errorChildren:1}),uS._38(603979776,16,{_hintChildren:1}),uS._38(603979776,17,{_prefixChildren:1}),uS._38(603979776,18,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,3,2,"mat-label",[["style","font-size: 16px"]],null,null,null,null,null)),uS._17(13,16384,[[14,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Enter year from Which Financials Provided"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(16,0,null,1,10,"input",[["autocomplete","off"],["class","medium mat-input-element mat-form-field-autofill-control"],["formControlName","financial_starting_year"],["matInput",""],["maxlength","4"],["minlength","4"],["placeholder","YYYY eg.2018"],["type","tel"]],[[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,"change"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,17)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}if("change"===n){u=!1!==t.dynamicalFinYear(e)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(17,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(18,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(19,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[12,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,5,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(29,16384,[[15,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,[" Invalid year format"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,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,cT.b,cT.a)),uS._17(34,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,19,{_control:0}),uS._38(335544320,20,{_placeholderChild:0}),uS._38(335544320,21,{_labelChild:0}),uS._38(603979776,22,{_errorChildren:1}),uS._38(603979776,23,{_hintChildren:1}),uS._38(603979776,24,{_prefixChildren:1}),uS._38(603979776,25,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_no_of_year"],["matInput",""],["placeholder","Number of Financial Years"],["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,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,44)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,44).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,44)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,44)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,45).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,45).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,45).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,50)._onInput()&&u}if("change"===n){u=!1!==t.dynamicalFinYear(e)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(44,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(45,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(47,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(49,16384,null,0,xS.s,[xS.r],null,null),uS._17(50,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[19,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,18,0,"4");l(n,19,0,"4");l(n,22,0,"financial_starting_year");l(n,25,0,"YYYY eg.2018","tel");l(n,47,0,"financial_no_of_year");l(n,50,0,"Number of Financial Years","number")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,16,1,[uS._32(n,18).minlength?uS._32(n,18).minlength:null,uS._32(n,19).maxlength?uS._32(n,19).maxlength:null,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()]);l(n,28,0,uS._32(n,29).id);l(n,33,1,[uS._32(n,34)._control.errorState,uS._32(n,34)._control.errorState,uS._32(n,34)._canLabelFloat,uS._32(n,34)._shouldLabelFloat(),uS._32(n,34)._hideControlPlaceholder(),uS._32(n,34)._control.disabled,uS._32(n,34)._control.focused,"primary"==uS._32(n,34).color,"accent"==uS._32(n,34).color,"warn"==uS._32(n,34).color,uS._32(n,34)._shouldForward("untouched"),uS._32(n,34)._shouldForward("touched"),uS._32(n,34)._shouldForward("pristine"),uS._32(n,34)._shouldForward("dirty"),uS._32(n,34)._shouldForward("valid"),uS._32(n,34)._shouldForward("invalid"),uS._32(n,34)._shouldForward("pending")]);l(n,43,1,[uS._32(n,49).ngClassUntouched,uS._32(n,49).ngClassTouched,uS._32(n,49).ngClassPristine,uS._32(n,49).ngClassDirty,uS._32(n,49).ngClassValid,uS._32(n,49).ngClassInvalid,uS._32(n,49).ngClassPending,uS._32(n,50)._isServer,uS._32(n,50).id,uS._32(n,50).placeholder,uS._32(n,50).disabled,uS._32(n,50).required,uS._32(n,50).readonly,uS._32(n,50)._ariaDescribedby||null,uS._32(n,50).errorState,uS._32(n,50).required.toString()])})}function _d(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[30,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.FY_annualSalesInwords[n.parent.context.index])})}function dd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n No difference in Sales in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Sales in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[" "," "])),(l()(),uS._40(-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 sd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n Increase in Sales in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Sales in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[" "," "])),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),uS._40(9,null,[" "," % "])),(l()(),uS._40(-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 cd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n Decrease in Sales in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Sales in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[""," "])),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),uS._40(9,null,[" "," % "])),(l()(),uS._40(-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 md(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"p",[["class","info"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dd)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,sd)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,cd)),uS._17(9,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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 pd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,26,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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,cT.b,cT.a)),uS._17(4,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,33,{_control:0}),uS._38(335544320,34,{_placeholderChild:0}),uS._38(335544320,35,{_labelChild:0}),uS._38(603979776,36,{_errorChildren:1}),uS._38(603979776,37,{_hintChildren:1}),uS._38(603979776,38,{_prefixChildren:1}),uS._38(603979776,39,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(13,0,null,1,8,"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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,20)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(14,278528,null,0,wI.i,[uS.B,uS.C,uS.p,uS.P],{ngClass:[0,"ngClass"]},null),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[33,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,md)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,14,0,n.parent.context.$implicit.get("financial_annualsales_variation").value>0?"greenhighlight":"highlight");l(n,17,0,"financial_annualsales_variation");l(n,20,0,"Sale Variation from Previous Year in %","");l(n,25,0,""!=n.parent.context.$implicit.get("financial_annualsales_variation").value)},function(l,n){l(n,3,1,[uS._32(n,4)._control.errorState,uS._32(n,4)._control.errorState,uS._32(n,4)._canLabelFloat,uS._32(n,4)._shouldLabelFloat(),uS._32(n,4)._hideControlPlaceholder(),uS._32(n,4)._control.disabled,uS._32(n,4)._control.focused,"primary"==uS._32(n,4).color,"accent"==uS._32(n,4).color,"warn"==uS._32(n,4).color,uS._32(n,4)._shouldForward("untouched"),uS._32(n,4)._shouldForward("touched"),uS._32(n,4)._shouldForward("pristine"),uS._32(n,4)._shouldForward("dirty"),uS._32(n,4)._shouldForward("valid"),uS._32(n,4)._shouldForward("invalid"),uS._32(n,4)._shouldForward("pending")]);l(n,13,1,[uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20)._isServer,uS._32(n,20).id,uS._32(n,20).placeholder,uS._32(n,20).disabled,uS._32(n,20).required,uS._32(n,20).readonly,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20).errorState,uS._32(n,20).required.toString()])})}function fd(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[54,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.FY_netProfitAmtInwords[n.parent.parent.context.index])})}function hd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,50,{_control:0}),uS._38(335544320,51,{_placeholderChild:0}),uS._38(335544320,52,{_labelChild:0}),uS._38(603979776,53,{_errorChildren:1}),uS._38(603979776,54,{_hintChildren:1}),uS._38(603979776,55,{_prefixChildren:1}),uS._38(603979776,56,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_net_profit"],["matInput",""],["placeholder","Net Profit 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,"change"],[null,"keyup"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,2)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[50,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,fd)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,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,cT.b,cT.a)),uS._17(27,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,57,{_control:0}),uS._38(335544320,58,{_placeholderChild:0}),uS._38(335544320,59,{_labelChild:0}),uS._38(603979776,60,{_errorChildren:1}),uS._38(603979776,61,{_hintChildren:1}),uS._38(603979776,62,{_prefixChildren:1}),uS._38(603979776,63,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(36,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!==uS._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,42)._onInput()&&u}return u},null,null)),uS._17(37,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(39,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(41,16384,null,0,xS.s,[xS.r],null,null),uS._17(42,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[57,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"financial_net_profit");l(n,19,0,"Net Profit Amount","number");l(n,23,0,""!=n.parent.context.$implicit.get("financial_net_profit").value);l(n,39,0,"financial_margin_of_profit");l(n,42,0,"Net Profit to Sales in %","")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,26,1,[uS._32(n,27)._control.errorState,uS._32(n,27)._control.errorState,uS._32(n,27)._canLabelFloat,uS._32(n,27)._shouldLabelFloat(),uS._32(n,27)._hideControlPlaceholder(),uS._32(n,27)._control.disabled,uS._32(n,27)._control.focused,"primary"==uS._32(n,27).color,"accent"==uS._32(n,27).color,"warn"==uS._32(n,27).color,uS._32(n,27)._shouldForward("untouched"),uS._32(n,27)._shouldForward("touched"),uS._32(n,27)._shouldForward("pristine"),uS._32(n,27)._shouldForward("dirty"),uS._32(n,27)._shouldForward("valid"),uS._32(n,27)._shouldForward("invalid"),uS._32(n,27)._shouldForward("pending")]);l(n,36,1,[uS._32(n,41).ngClassUntouched,uS._32(n,41).ngClassTouched,uS._32(n,41).ngClassPristine,uS._32(n,41).ngClassDirty,uS._32(n,41).ngClassValid,uS._32(n,41).ngClassInvalid,uS._32(n,41).ngClassPending,uS._32(n,42)._isServer,uS._32(n,42).id,uS._32(n,42).placeholder,uS._32(n,42).disabled,uS._32(n,42).required,uS._32(n,42).readonly,uS._32(n,42)._ariaDescribedby||null,uS._32(n,42).errorState,uS._32(n,42).required.toString()])})}function gd(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[68,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["",""," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.FY_netLossAmtInwords[n.parent.parent.context.index])})}function bd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,64,{_control:0}),uS._38(335544320,65,{_placeholderChild:0}),uS._38(335544320,66,{_labelChild:0}),uS._38(603979776,67,{_errorChildren:1}),uS._38(603979776,68,{_hintChildren:1}),uS._38(603979776,69,{_prefixChildren:1}),uS._38(603979776,70,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_net_loss"],["matInput",""],["placeholder","Net Loss 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,"change"],[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,3)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[64,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,gd)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,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,cT.b,cT.a)),uS._17(27,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,71,{_control:0}),uS._38(335544320,72,{_placeholderChild:0}),uS._38(335544320,73,{_labelChild:0}),uS._38(603979776,74,{_errorChildren:1}),uS._38(603979776,75,{_hintChildren:1}),uS._38(603979776,76,{_prefixChildren:1}),uS._38(603979776,77,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(36,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,t=l.component;if("input"===n){u=!1!==uS._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,42)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(37,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(39,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(41,16384,null,0,xS.s,[xS.r],null,null),uS._17(42,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[71,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"financial_net_loss");l(n,19,0,"Net Loss Amount","number");l(n,23,0,""!=n.parent.context.$implicit.get("financial_net_loss").value);l(n,39,0,"financial_margin_of_loss");l(n,42,0,"Net Loss to Sale in %","")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,26,1,[uS._32(n,27)._control.errorState,uS._32(n,27)._control.errorState,uS._32(n,27)._canLabelFloat,uS._32(n,27)._shouldLabelFloat(),uS._32(n,27)._hideControlPlaceholder(),uS._32(n,27)._control.disabled,uS._32(n,27)._control.focused,"primary"==uS._32(n,27).color,"accent"==uS._32(n,27).color,"warn"==uS._32(n,27).color,uS._32(n,27)._shouldForward("untouched"),uS._32(n,27)._shouldForward("touched"),uS._32(n,27)._shouldForward("pristine"),uS._32(n,27)._shouldForward("dirty"),uS._32(n,27)._shouldForward("valid"),uS._32(n,27)._shouldForward("invalid"),uS._32(n,27)._shouldForward("pending")]);l(n,36,1,[uS._32(n,41).ngClassUntouched,uS._32(n,41).ngClassTouched,uS._32(n,41).ngClassPristine,uS._32(n,41).ngClassDirty,uS._32(n,41).ngClassValid,uS._32(n,41).ngClassInvalid,uS._32(n,41).ngClassPending,uS._32(n,42)._isServer,uS._32(n,42).id,uS._32(n,42).placeholder,uS._32(n,42).disabled,uS._32(n,42).required,uS._32(n,42).readonly,uS._32(n,42)._ariaDescribedby||null,uS._32(n,42).errorState,uS._32(n,42).required.toString()])})}function vd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n No difference in Profit in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Profit in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[" "," "])),(l()(),uS._40(-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 yd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n Increase in Profit in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Profit in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[" "," "])),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),uS._40(9,null,[" "," % "])),(l()(),uS._40(-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 Cd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n Decrease in Profit in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Profit in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[" "," "])),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),uS._40(9,null,[" "," % "])),(l()(),uS._40(-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 wd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,12,"p",[["class","info"]],null,null,null,null,null)),uS._17(1,278528,null,0,wI.i,[uS.B,uS.C,uS.p,uS.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),uS._35(2,{highlight:0}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vd)),uS._17(5,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yd)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Cd)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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 Fd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n No difference in Profit/Loss to sales % in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Profit/Loss to sales % in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[" "," "])),(l()(),uS._40(-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 xd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n Increase in Profit/Loss to sales % in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Profit/Loss to sales % in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[" "," "])),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),uS._40(9,null,[" "," % "])),(l()(),uS._40(-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 kd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n Decrease in Profit/Loss to sales % in FY "])),(l()(),uS._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,[" over Profit/Loss to sales % in FY "])),(l()(),uS._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(6,null,[" "," "])),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),uS._40(9,null,[" "," % "])),(l()(),uS._40(-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 Sd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,12,"p",[["class","info"]],null,null,null,null,null)),uS._17(1,278528,null,0,wI.i,[uS.B,uS.C,uS.p,uS.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),uS._35(2,{highlight:0}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fd)),uS._17(5,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xd)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,kd)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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 Id(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,52,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,78,{_control:0}),uS._38(335544320,79,{_placeholderChild:0}),uS._38(335544320,80,{_labelChild:0}),uS._38(603979776,81,{_errorChildren:1}),uS._38(603979776,82,{_hintChildren:1}),uS._38(603979776,83,{_prefixChildren:1}),uS._38(603979776,84,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,20)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(13,278528,null,0,wI.i,[uS.B,uS.C,uS.p,uS.P],{ngClass:[0,"ngClass"]},null),uS._35(14,{highlight:0}),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[78,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wd)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,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,cT.b,cT.a)),uS._17(29,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,85,{_control:0}),uS._38(335544320,86,{_placeholderChild:0}),uS._38(335544320,87,{_labelChild:0}),uS._38(603979776,88,{_errorChildren:1}),uS._38(603979776,89,{_hintChildren:1}),uS._38(603979776,90,{_prefixChildren:1}),uS._38(603979776,91,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_profit_to_sale_variation"],["matInput",""],["placeholder","Variation of Profit/Loss to Sales % from Previous Year"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,41)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,46)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(39,278528,null,0,wI.i,[uS.B,uS.C,uS.p,uS.P],{ngClass:[0,"ngClass"]},null),uS._35(40,{highlight:0}),uS._17(41,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(43,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(45,16384,null,0,xS.s,[xS.r],null,null),uS._17(46,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[85,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Sd)),uS._17(51,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){l(n,13,0,l(n,14,0,n.parent.context.$implicit.controls.financial_variation.value>40||n.parent.context.$implicit.controls.financial_variation.value<-40));l(n,17,0,"financial_variation");l(n,20,0,"Profit Variation from Previous Year in %","");l(n,25,0,0!=n.parent.context.index&&""!=n.parent.context.$implicit.get("financial_variation").value);l(n,39,0,l(n,40,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,43,0,"financial_profit_to_sale_variation");l(n,46,0,"Variation of Profit/Loss to Sales % from Previous Year","");l(n,51,0,0!=n.parent.context.index&&""!=n.parent.context.$implicit.get("financial_profit_to_sale_variation").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20)._isServer,uS._32(n,20).id,uS._32(n,20).placeholder,uS._32(n,20).disabled,uS._32(n,20).required,uS._32(n,20).readonly,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20).errorState,uS._32(n,20).required.toString()]);l(n,28,1,[uS._32(n,29)._control.errorState,uS._32(n,29)._control.errorState,uS._32(n,29)._canLabelFloat,uS._32(n,29)._shouldLabelFloat(),uS._32(n,29)._hideControlPlaceholder(),uS._32(n,29)._control.disabled,uS._32(n,29)._control.focused,"primary"==uS._32(n,29).color,"accent"==uS._32(n,29).color,"warn"==uS._32(n,29).color,uS._32(n,29)._shouldForward("untouched"),uS._32(n,29)._shouldForward("touched"),uS._32(n,29)._shouldForward("pristine"),uS._32(n,29)._shouldForward("dirty"),uS._32(n,29)._shouldForward("valid"),uS._32(n,29)._shouldForward("invalid"),uS._32(n,29)._shouldForward("pending")]);l(n,38,1,[uS._32(n,45).ngClassUntouched,uS._32(n,45).ngClassTouched,uS._32(n,45).ngClassPristine,uS._32(n,45).ngClassDirty,uS._32(n,45).ngClassValid,uS._32(n,45).ngClassInvalid,uS._32(n,45).ngClassPending,uS._32(n,46)._isServer,uS._32(n,46).id,uS._32(n,46).placeholder,uS._32(n,46).disabled,uS._32(n,46).required,uS._32(n,46).readonly,uS._32(n,46)._ariaDescribedby||null,uS._32(n,46).errorState,uS._32(n,46).required.toString()])})}function qd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,80,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,74,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,2,"mat-label",[["style","color:blue"]],null,null,null,null,null)),uS._17(9,16384,null,0,mT.f,[],null,null),(l()(),uS._40(10,null,["Financial Year : ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._18(13,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,cT.b,cT.a)),uS._17(14,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,26,{_control:0}),uS._38(335544320,27,{_placeholderChild:0}),uS._38(335544320,28,{_labelChild:0}),uS._38(603979776,29,{_errorChildren:1}),uS._38(603979776,30,{_hintChildren:1}),uS._38(603979776,31,{_prefixChildren:1}),uS._38(603979776,32,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_annual_sale"],["matInput",""],["placeholder","Annual 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,"change"],[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,24)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,24).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,24)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,24)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,25).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,25).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,30)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,1)&&u}return u},null,null)),uS._17(24,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(25,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(27,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(29,16384,null,0,xS.s,[xS.r],null,null),uS._17(30,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[26,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,_d)),uS._17(34,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,pd)),uS._17(38,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(40,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,cT.b,cT.a)),uS._17(41,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,40,{_control:0}),uS._38(335544320,41,{_placeholderChild:0}),uS._38(335544320,42,{_labelChild:0}),uS._38(603979776,43,{_errorChildren:1}),uS._38(603979776,44,{_hintChildren:1}),uS._38(603979776,45,{_prefixChildren:1}),uS._38(603979776,46,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(50,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,54)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedProfitOrLossType(e,l.context.$implicit)&&u}return u},LO.b,LO.a)),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),uS._17(54,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,47,{options:1}),uS._38(603979776,48,{optionGroups:1}),uS._38(335544320,49,{customTrigger:0}),uS._37(2048,[[40,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,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!==uS._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(62,8437760,[[47,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Net Profit"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(65,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!==uS._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,66)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(66,8437760,[[47,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Net Loss"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hd)),uS._17(72,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,bd)),uS._17(75,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Id)),uS._17(78,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"financial_annual_sale");l(n,30,0,"Annual Sale","number");l(n,34,0,""!=n.context.$implicit.get("financial_annual_sale").value);l(n,38,0,n.context.index>0);l(n,51,0,"finanical_profit_or_loss");l(n,54,0,"Is there Net Profit or Net Loss?");l(n,62,0,"1");l(n,66,0,"2");l(n,72,0,1==n.context.$implicit.get("finanical_profit_or_loss").value);l(n,75,0,2==n.context.$implicit.get("finanical_profit_or_loss").value);l(n,78,0,n.context.index>0)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,10,0,n.context.$implicit.get("financial_year").value);l(n,13,1,[uS._32(n,14)._control.errorState,uS._32(n,14)._control.errorState,uS._32(n,14)._canLabelFloat,uS._32(n,14)._shouldLabelFloat(),uS._32(n,14)._hideControlPlaceholder(),uS._32(n,14)._control.disabled,uS._32(n,14)._control.focused,"primary"==uS._32(n,14).color,"accent"==uS._32(n,14).color,"warn"==uS._32(n,14).color,uS._32(n,14)._shouldForward("untouched"),uS._32(n,14)._shouldForward("touched"),uS._32(n,14)._shouldForward("pristine"),uS._32(n,14)._shouldForward("dirty"),uS._32(n,14)._shouldForward("valid"),uS._32(n,14)._shouldForward("invalid"),uS._32(n,14)._shouldForward("pending")]);l(n,23,1,[uS._32(n,29).ngClassUntouched,uS._32(n,29).ngClassTouched,uS._32(n,29).ngClassPristine,uS._32(n,29).ngClassDirty,uS._32(n,29).ngClassValid,uS._32(n,29).ngClassInvalid,uS._32(n,29).ngClassPending,uS._32(n,30)._isServer,uS._32(n,30).id,uS._32(n,30).placeholder,uS._32(n,30).disabled,uS._32(n,30).required,uS._32(n,30).readonly,uS._32(n,30)._ariaDescribedby||null,uS._32(n,30).errorState,uS._32(n,30).required.toString()]);l(n,40,1,[uS._32(n,41)._control.errorState,uS._32(n,41)._control.errorState,uS._32(n,41)._canLabelFloat,uS._32(n,41)._shouldLabelFloat(),uS._32(n,41)._hideControlPlaceholder(),uS._32(n,41)._control.disabled,uS._32(n,41)._control.focused,"primary"==uS._32(n,41).color,"accent"==uS._32(n,41).color,"warn"==uS._32(n,41).color,uS._32(n,41)._shouldForward("untouched"),uS._32(n,41)._shouldForward("touched"),uS._32(n,41)._shouldForward("pristine"),uS._32(n,41)._shouldForward("dirty"),uS._32(n,41)._shouldForward("valid"),uS._32(n,41)._shouldForward("invalid"),uS._32(n,41)._shouldForward("pending")]);l(n,50,1,[uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending,uS._32(n,54).id,uS._32(n,54).tabIndex,uS._32(n,54)._ariaLabel,uS._32(n,54).ariaLabelledby,uS._32(n,54).required.toString(),uS._32(n,54).disabled.toString(),uS._32(n,54).errorState,uS._32(n,54).panelOpen?uS._32(n,54)._optionIds:null,uS._32(n,54).multiple,uS._32(n,54)._ariaDescribedby||null,uS._32(n,54)._getAriaActiveDescendant(),uS._32(n,54).disabled,uS._32(n,54).errorState,uS._32(n,54).required]);l(n,61,0,uS._32(n,62)._getTabIndex(),uS._32(n,62).selected,uS._32(n,62).multiple,uS._32(n,62).active,uS._32(n,62).id,uS._32(n,62).selected.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).disabled);l(n,65,0,uS._32(n,66)._getTabIndex(),uS._32(n,66).selected,uS._32(n,66).multiple,uS._32(n,66).active,uS._32(n,66).id,uS._32(n,66).selected.toString(),uS._32(n,66).disabled.toString(),uS._32(n,66).disabled)})}function Pd(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qd)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function Dd(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,92,{_control:0}),uS._38(335544320,93,{_placeholderChild:0}),uS._38(335544320,94,{_labelChild:0}),uS._38(603979776,95,{_errorChildren:1}),uS._38(603979776,96,{_hintChildren:1}),uS._38(603979776,97,{_prefixChildren:1}),uS._38(603979776,98,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[92,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Td(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Dd)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!=e.financial_no_of_year&&e.customerCommentsFlag)},null)}function Od(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[113,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesFrmInwords[n.parent.context.index])})}function Ld(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[120,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesToInwords[n.parent.context.index])})}function Ad(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[127,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesInwords[n.parent.context.index])})}function Vd(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[175,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[" "," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_marginProfitAmtInwords[n.parent.parent.context.index])})}function Nd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,88,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,150,{_control:0}),uS._38(335544320,151,{_placeholderChild:0}),uS._38(335544320,152,{_labelChild:0}),uS._38(603979776,153,{_errorChildren:1}),uS._38(603979776,154,{_hintChildren:1}),uS._38(603979776,155,{_prefixChildren:1}),uS._38(603979776,156,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginProfit(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[150,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,157,{_control:0}),uS._38(335544320,158,{_placeholderChild:0}),uS._38(335544320,159,{_labelChild:0}),uS._38(603979776,160,{_errorChildren:1}),uS._38(603979776,161,{_hintChildren:1}),uS._38(603979776,162,{_prefixChildren:1}),uS._38(603979776,163,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,40)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginProfit(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),uS._17(34,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(35,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(37,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(39,16384,null,0,xS.s,[xS.r],null,null),uS._17(40,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[157,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(45,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,164,{_control:0}),uS._38(335544320,165,{_placeholderChild:0}),uS._38(335544320,166,{_labelChild:0}),uS._38(603979776,167,{_errorChildren:1}),uS._38(603979776,168,{_hintChildren:1}),uS._38(603979776,169,{_prefixChildren:1}),uS._38(603979776,170,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,61)._onInput()&&u}return u},null,null)),uS._17(55,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(56,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(58,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(60,16384,null,0,xS.s,[xS.r],null,null),uS._17(61,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[164,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(67,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,171,{_control:0}),uS._38(335544320,172,{_placeholderChild:0}),uS._38(335544320,173,{_labelChild:0}),uS._38(603979776,174,{_errorChildren:1}),uS._38(603979776,175,{_hintChildren:1}),uS._38(603979776,176,{_prefixChildren:1}),uS._38(603979776,177,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,77)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,77).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,77)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,77)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,82)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,82)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,82)._onInput()&&u}return u},null,null)),uS._17(77,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(79,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(81,16384,null,0,xS.s,[xS.r],null,null),uS._17(82,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[171,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Vd)),uS._17(86,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,39).ngClassUntouched,uS._32(n,39).ngClassTouched,uS._32(n,39).ngClassPristine,uS._32(n,39).ngClassDirty,uS._32(n,39).ngClassValid,uS._32(n,39).ngClassInvalid,uS._32(n,39).ngClassPending,uS._32(n,40)._isServer,uS._32(n,40).id,uS._32(n,40).placeholder,uS._32(n,40).disabled,uS._32(n,40).required,uS._32(n,40).readonly,uS._32(n,40)._ariaDescribedby||null,uS._32(n,40).errorState,uS._32(n,40).required.toString()]);l(n,44,1,[uS._32(n,45)._control.errorState,uS._32(n,45)._control.errorState,uS._32(n,45)._canLabelFloat,uS._32(n,45)._shouldLabelFloat(),uS._32(n,45)._hideControlPlaceholder(),uS._32(n,45)._control.disabled,uS._32(n,45)._control.focused,"primary"==uS._32(n,45).color,"accent"==uS._32(n,45).color,"warn"==uS._32(n,45).color,uS._32(n,45)._shouldForward("untouched"),uS._32(n,45)._shouldForward("touched"),uS._32(n,45)._shouldForward("pristine"),uS._32(n,45)._shouldForward("dirty"),uS._32(n,45)._shouldForward("valid"),uS._32(n,45)._shouldForward("invalid"),uS._32(n,45)._shouldForward("pending")]);l(n,54,1,[uS._32(n,60).ngClassUntouched,uS._32(n,60).ngClassTouched,uS._32(n,60).ngClassPristine,uS._32(n,60).ngClassDirty,uS._32(n,60).ngClassValid,uS._32(n,60).ngClassInvalid,uS._32(n,60).ngClassPending,uS._32(n,61)._isServer,uS._32(n,61).id,uS._32(n,61).placeholder,uS._32(n,61).disabled,uS._32(n,61).required,uS._32(n,61).readonly,uS._32(n,61)._ariaDescribedby||null,uS._32(n,61).errorState,uS._32(n,61).required.toString()]);l(n,66,1,[uS._32(n,67)._control.errorState,uS._32(n,67)._control.errorState,uS._32(n,67)._canLabelFloat,uS._32(n,67)._shouldLabelFloat(),uS._32(n,67)._hideControlPlaceholder(),uS._32(n,67)._control.disabled,uS._32(n,67)._control.focused,"primary"==uS._32(n,67).color,"accent"==uS._32(n,67).color,"warn"==uS._32(n,67).color,uS._32(n,67)._shouldForward("untouched"),uS._32(n,67)._shouldForward("touched"),uS._32(n,67)._shouldForward("pristine"),uS._32(n,67)._shouldForward("dirty"),uS._32(n,67)._shouldForward("valid"),uS._32(n,67)._shouldForward("invalid"),uS._32(n,67)._shouldForward("pending")]);l(n,76,1,[uS._32(n,81).ngClassUntouched,uS._32(n,81).ngClassTouched,uS._32(n,81).ngClassPristine,uS._32(n,81).ngClassDirty,uS._32(n,81).ngClassValid,uS._32(n,81).ngClassInvalid,uS._32(n,81).ngClassPending,uS._32(n,82)._isServer,uS._32(n,82).id,uS._32(n,82).placeholder,uS._32(n,82).disabled,uS._32(n,82).required,uS._32(n,82).readonly,uS._32(n,82)._ariaDescribedby||null,uS._32(n,82).errorState,uS._32(n,82).required.toString()])})}function Wd(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[182,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtFrmInwords[n.parent.parent.context.index])})}function Ed(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[189,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtToInwords[n.parent.parent.context.index])})}function jd(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[203,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtInwords[n.parent.parent.context.index])})}function $d(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,94,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,178,{_control:0}),uS._38(335544320,179,{_placeholderChild:0}),uS._38(335544320,180,{_labelChild:0}),uS._38(603979776,181,{_errorChildren:1}),uS._38(603979776,182,{_hintChildren:1}),uS._38(603979776,183,{_prefixChildren:1}),uS._38(603979776,184,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateProfitAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,7)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[178,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Wd)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(27,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,185,{_control:0}),uS._38(335544320,186,{_placeholderChild:0}),uS._38(335544320,187,{_labelChild:0}),uS._38(603979776,188,{_errorChildren:1}),uS._38(603979776,189,{_hintChildren:1}),uS._38(603979776,190,{_prefixChildren:1}),uS._38(603979776,191,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,43)._onInput()&&u}if("change"===n){u=!1!==t.calculateProfitAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,8)&&u}return u},null,null)),uS._17(37,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(38,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(40,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(42,16384,null,0,xS.s,[xS.r],null,null),uS._17(43,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[185,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Ed)),uS._17(47,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(51,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,192,{_control:0}),uS._38(335544320,193,{_placeholderChild:0}),uS._38(335544320,194,{_labelChild:0}),uS._38(603979776,195,{_errorChildren:1}),uS._38(603979776,196,{_hintChildren:1}),uS._38(603979776,197,{_prefixChildren:1}),uS._38(603979776,198,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,66)._onInput()&&u}return u},null,null)),uS._17(61,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(63,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(65,16384,null,0,xS.s,[xS.r],null,null),uS._17(66,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[192,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(71,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,199,{_control:0}),uS._38(335544320,200,{_placeholderChild:0}),uS._38(335544320,201,{_labelChild:0}),uS._38(603979776,202,{_errorChildren:1}),uS._38(603979776,203,{_hintChildren:1}),uS._38(603979776,204,{_prefixChildren:1}),uS._38(603979776,205,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,87)._onInput()&&u}return u},null,null)),uS._17(81,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(82,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(84,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(86,16384,null,0,xS.s,[xS.r],null,null),uS._17(87,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[199,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,jd)),uS._17(91,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,26,1,[uS._32(n,27)._control.errorState,uS._32(n,27)._control.errorState,uS._32(n,27)._canLabelFloat,uS._32(n,27)._shouldLabelFloat(),uS._32(n,27)._hideControlPlaceholder(),uS._32(n,27)._control.disabled,uS._32(n,27)._control.focused,"primary"==uS._32(n,27).color,"accent"==uS._32(n,27).color,"warn"==uS._32(n,27).color,uS._32(n,27)._shouldForward("untouched"),uS._32(n,27)._shouldForward("touched"),uS._32(n,27)._shouldForward("pristine"),uS._32(n,27)._shouldForward("dirty"),uS._32(n,27)._shouldForward("valid"),uS._32(n,27)._shouldForward("invalid"),uS._32(n,27)._shouldForward("pending")]);l(n,36,1,[uS._32(n,42).ngClassUntouched,uS._32(n,42).ngClassTouched,uS._32(n,42).ngClassPristine,uS._32(n,42).ngClassDirty,uS._32(n,42).ngClassValid,uS._32(n,42).ngClassInvalid,uS._32(n,42).ngClassPending,uS._32(n,43)._isServer,uS._32(n,43).id,uS._32(n,43).placeholder,uS._32(n,43).disabled,uS._32(n,43).required,uS._32(n,43).readonly,uS._32(n,43)._ariaDescribedby||null,uS._32(n,43).errorState,uS._32(n,43).required.toString()]);l(n,50,1,[uS._32(n,51)._control.errorState,uS._32(n,51)._control.errorState,uS._32(n,51)._canLabelFloat,uS._32(n,51)._shouldLabelFloat(),uS._32(n,51)._hideControlPlaceholder(),uS._32(n,51)._control.disabled,uS._32(n,51)._control.focused,"primary"==uS._32(n,51).color,"accent"==uS._32(n,51).color,"warn"==uS._32(n,51).color,uS._32(n,51)._shouldForward("untouched"),uS._32(n,51)._shouldForward("touched"),uS._32(n,51)._shouldForward("pristine"),uS._32(n,51)._shouldForward("dirty"),uS._32(n,51)._shouldForward("valid"),uS._32(n,51)._shouldForward("invalid"),uS._32(n,51)._shouldForward("pending")]);l(n,60,1,[uS._32(n,65).ngClassUntouched,uS._32(n,65).ngClassTouched,uS._32(n,65).ngClassPristine,uS._32(n,65).ngClassDirty,uS._32(n,65).ngClassValid,uS._32(n,65).ngClassInvalid,uS._32(n,65).ngClassPending,uS._32(n,66)._isServer,uS._32(n,66).id,uS._32(n,66).placeholder,uS._32(n,66).disabled,uS._32(n,66).required,uS._32(n,66).readonly,uS._32(n,66)._ariaDescribedby||null,uS._32(n,66).errorState,uS._32(n,66).required.toString()]);l(n,70,1,[uS._32(n,71)._control.errorState,uS._32(n,71)._control.errorState,uS._32(n,71)._canLabelFloat,uS._32(n,71)._shouldLabelFloat(),uS._32(n,71)._hideControlPlaceholder(),uS._32(n,71)._control.disabled,uS._32(n,71)._control.focused,"primary"==uS._32(n,71).color,"accent"==uS._32(n,71).color,"warn"==uS._32(n,71).color,uS._32(n,71)._shouldForward("untouched"),uS._32(n,71)._shouldForward("touched"),uS._32(n,71)._shouldForward("pristine"),uS._32(n,71)._shouldForward("dirty"),uS._32(n,71)._shouldForward("valid"),uS._32(n,71)._shouldForward("invalid"),uS._32(n,71)._shouldForward("pending")]);l(n,80,1,[uS._32(n,86).ngClassUntouched,uS._32(n,86).ngClassTouched,uS._32(n,86).ngClassPristine,uS._32(n,86).ngClassDirty,uS._32(n,86).ngClassValid,uS._32(n,86).ngClassInvalid,uS._32(n,86).ngClassPending,uS._32(n,87)._isServer,uS._32(n,87).id,uS._32(n,87).placeholder,uS._32(n,87).disabled,uS._32(n,87).required,uS._32(n,87).readonly,uS._32(n,87)._ariaDescribedby||null,uS._32(n,87).errorState,uS._32(n,87).required.toString()])})}function Bd(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[231,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_marginLossAmtInwords[n.parent.parent.context.index])})}function Rd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,89,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,206,{_control:0}),uS._38(335544320,207,{_placeholderChild:0}),uS._38(335544320,208,{_labelChild:0}),uS._38(603979776,209,{_errorChildren:1}),uS._38(603979776,210,{_hintChildren:1}),uS._38(603979776,211,{_prefixChildren:1}),uS._38(603979776,212,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginLoss(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[206,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,213,{_control:0}),uS._38(335544320,214,{_placeholderChild:0}),uS._38(335544320,215,{_labelChild:0}),uS._38(603979776,216,{_errorChildren:1}),uS._38(603979776,217,{_hintChildren:1}),uS._38(603979776,218,{_prefixChildren:1}),uS._38(603979776,219,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,40)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginLoss(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),uS._17(34,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(35,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(37,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(39,16384,null,0,xS.s,[xS.r],null,null),uS._17(40,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[213,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(45,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,220,{_control:0}),uS._38(335544320,221,{_placeholderChild:0}),uS._38(335544320,222,{_labelChild:0}),uS._38(603979776,223,{_errorChildren:1}),uS._38(603979776,224,{_hintChildren:1}),uS._38(603979776,225,{_prefixChildren:1}),uS._38(603979776,226,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,61)._onInput()&&u}return u},null,null)),uS._17(55,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(56,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(58,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(60,16384,null,0,xS.s,[xS.r],null,null),uS._17(61,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[220,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(68,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,227,{_control:0}),uS._38(335544320,228,{_placeholderChild:0}),uS._38(335544320,229,{_labelChild:0}),uS._38(603979776,230,{_errorChildren:1}),uS._38(603979776,231,{_hintChildren:1}),uS._38(603979776,232,{_prefixChildren:1}),uS._38(603979776,233,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,78)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,78).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,78)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,78)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,83)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,83)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,83)._onInput()&&u}return u},null,null)),uS._17(78,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(80,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(82,16384,null,0,xS.s,[xS.r],null,null),uS._17(83,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[227,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Bd)),uS._17(87,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,39).ngClassUntouched,uS._32(n,39).ngClassTouched,uS._32(n,39).ngClassPristine,uS._32(n,39).ngClassDirty,uS._32(n,39).ngClassValid,uS._32(n,39).ngClassInvalid,uS._32(n,39).ngClassPending,uS._32(n,40)._isServer,uS._32(n,40).id,uS._32(n,40).placeholder,uS._32(n,40).disabled,uS._32(n,40).required,uS._32(n,40).readonly,uS._32(n,40)._ariaDescribedby||null,uS._32(n,40).errorState,uS._32(n,40).required.toString()]);l(n,44,1,[uS._32(n,45)._control.errorState,uS._32(n,45)._control.errorState,uS._32(n,45)._canLabelFloat,uS._32(n,45)._shouldLabelFloat(),uS._32(n,45)._hideControlPlaceholder(),uS._32(n,45)._control.disabled,uS._32(n,45)._control.focused,"primary"==uS._32(n,45).color,"accent"==uS._32(n,45).color,"warn"==uS._32(n,45).color,uS._32(n,45)._shouldForward("untouched"),uS._32(n,45)._shouldForward("touched"),uS._32(n,45)._shouldForward("pristine"),uS._32(n,45)._shouldForward("dirty"),uS._32(n,45)._shouldForward("valid"),uS._32(n,45)._shouldForward("invalid"),uS._32(n,45)._shouldForward("pending")]);l(n,54,1,[uS._32(n,60).ngClassUntouched,uS._32(n,60).ngClassTouched,uS._32(n,60).ngClassPristine,uS._32(n,60).ngClassDirty,uS._32(n,60).ngClassValid,uS._32(n,60).ngClassInvalid,uS._32(n,60).ngClassPending,uS._32(n,61)._isServer,uS._32(n,61).id,uS._32(n,61).placeholder,uS._32(n,61).disabled,uS._32(n,61).required,uS._32(n,61).readonly,uS._32(n,61)._ariaDescribedby||null,uS._32(n,61).errorState,uS._32(n,61).required.toString()]);l(n,67,1,[uS._32(n,68)._control.errorState,uS._32(n,68)._control.errorState,uS._32(n,68)._canLabelFloat,uS._32(n,68)._shouldLabelFloat(),uS._32(n,68)._hideControlPlaceholder(),uS._32(n,68)._control.disabled,uS._32(n,68)._control.focused,"primary"==uS._32(n,68).color,"accent"==uS._32(n,68).color,"warn"==uS._32(n,68).color,uS._32(n,68)._shouldForward("untouched"),uS._32(n,68)._shouldForward("touched"),uS._32(n,68)._shouldForward("pristine"),uS._32(n,68)._shouldForward("dirty"),uS._32(n,68)._shouldForward("valid"),uS._32(n,68)._shouldForward("invalid"),uS._32(n,68)._shouldForward("pending")]);l(n,77,1,[uS._32(n,82).ngClassUntouched,uS._32(n,82).ngClassTouched,uS._32(n,82).ngClassPristine,uS._32(n,82).ngClassDirty,uS._32(n,82).ngClassValid,uS._32(n,82).ngClassInvalid,uS._32(n,82).ngClassPending,uS._32(n,83)._isServer,uS._32(n,83).id,uS._32(n,83).placeholder,uS._32(n,83).disabled,uS._32(n,83).required,uS._32(n,83).readonly,uS._32(n,83)._ariaDescribedby||null,uS._32(n,83).errorState,uS._32(n,83).required.toString()])})}function Ud(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[238,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtFrmInwords[n.parent.parent.context.index])})}function Md(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[245,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtToInwords[n.parent.parent.context.index])})}function Kd(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[259,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtInwords[n.parent.parent.context.index])})}function Hd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,94,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,234,{_control:0}),uS._38(335544320,235,{_placeholderChild:0}),uS._38(335544320,236,{_labelChild:0}),uS._38(603979776,237,{_errorChildren:1}),uS._38(603979776,238,{_hintChildren:1}),uS._38(603979776,239,{_prefixChildren:1}),uS._38(603979776,240,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateLossAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,9)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[234,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Ud)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(27,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,241,{_control:0}),uS._38(335544320,242,{_placeholderChild:0}),uS._38(335544320,243,{_labelChild:0}),uS._38(603979776,244,{_errorChildren:1}),uS._38(603979776,245,{_hintChildren:1}),uS._38(603979776,246,{_prefixChildren:1}),uS._38(603979776,247,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,43)._onInput()&&u}if("change"===n){u=!1!==t.calculateLossAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,10)&&u}return u},null,null)),uS._17(37,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(38,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(40,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(42,16384,null,0,xS.s,[xS.r],null,null),uS._17(43,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[241,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Md)),uS._17(47,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(51,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,248,{_control:0}),uS._38(335544320,249,{_placeholderChild:0}),uS._38(335544320,250,{_labelChild:0}),uS._38(603979776,251,{_errorChildren:1}),uS._38(603979776,252,{_hintChildren:1}),uS._38(603979776,253,{_prefixChildren:1}),uS._38(603979776,254,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,66)._onInput()&&u}return u},null,null)),uS._17(61,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(63,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(65,16384,null,0,xS.s,[xS.r],null,null),uS._17(66,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[248,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(71,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,255,{_control:0}),uS._38(335544320,256,{_placeholderChild:0}),uS._38(335544320,257,{_labelChild:0}),uS._38(603979776,258,{_errorChildren:1}),uS._38(603979776,259,{_hintChildren:1}),uS._38(603979776,260,{_prefixChildren:1}),uS._38(603979776,261,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,87)._onInput()&&u}return u},null,null)),uS._17(81,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(82,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(84,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(86,16384,null,0,xS.s,[xS.r],null,null),uS._17(87,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[255,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Kd)),uS._17(91,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,26,1,[uS._32(n,27)._control.errorState,uS._32(n,27)._control.errorState,uS._32(n,27)._canLabelFloat,uS._32(n,27)._shouldLabelFloat(),uS._32(n,27)._hideControlPlaceholder(),uS._32(n,27)._control.disabled,uS._32(n,27)._control.focused,"primary"==uS._32(n,27).color,"accent"==uS._32(n,27).color,"warn"==uS._32(n,27).color,uS._32(n,27)._shouldForward("untouched"),uS._32(n,27)._shouldForward("touched"),uS._32(n,27)._shouldForward("pristine"),uS._32(n,27)._shouldForward("dirty"),uS._32(n,27)._shouldForward("valid"),uS._32(n,27)._shouldForward("invalid"),uS._32(n,27)._shouldForward("pending")]);l(n,36,1,[uS._32(n,42).ngClassUntouched,uS._32(n,42).ngClassTouched,uS._32(n,42).ngClassPristine,uS._32(n,42).ngClassDirty,uS._32(n,42).ngClassValid,uS._32(n,42).ngClassInvalid,uS._32(n,42).ngClassPending,uS._32(n,43)._isServer,uS._32(n,43).id,uS._32(n,43).placeholder,uS._32(n,43).disabled,uS._32(n,43).required,uS._32(n,43).readonly,uS._32(n,43)._ariaDescribedby||null,uS._32(n,43).errorState,uS._32(n,43).required.toString()]);l(n,50,1,[uS._32(n,51)._control.errorState,uS._32(n,51)._control.errorState,uS._32(n,51)._canLabelFloat,uS._32(n,51)._shouldLabelFloat(),uS._32(n,51)._hideControlPlaceholder(),uS._32(n,51)._control.disabled,uS._32(n,51)._control.focused,"primary"==uS._32(n,51).color,"accent"==uS._32(n,51).color,"warn"==uS._32(n,51).color,uS._32(n,51)._shouldForward("untouched"),uS._32(n,51)._shouldForward("touched"),uS._32(n,51)._shouldForward("pristine"),uS._32(n,51)._shouldForward("dirty"),uS._32(n,51)._shouldForward("valid"),uS._32(n,51)._shouldForward("invalid"),uS._32(n,51)._shouldForward("pending")]);l(n,60,1,[uS._32(n,65).ngClassUntouched,uS._32(n,65).ngClassTouched,uS._32(n,65).ngClassPristine,uS._32(n,65).ngClassDirty,uS._32(n,65).ngClassValid,uS._32(n,65).ngClassInvalid,uS._32(n,65).ngClassPending,uS._32(n,66)._isServer,uS._32(n,66).id,uS._32(n,66).placeholder,uS._32(n,66).disabled,uS._32(n,66).required,uS._32(n,66).readonly,uS._32(n,66)._ariaDescribedby||null,uS._32(n,66).errorState,uS._32(n,66).required.toString()]);l(n,70,1,[uS._32(n,71)._control.errorState,uS._32(n,71)._control.errorState,uS._32(n,71)._canLabelFloat,uS._32(n,71)._shouldLabelFloat(),uS._32(n,71)._hideControlPlaceholder(),uS._32(n,71)._control.disabled,uS._32(n,71)._control.focused,"primary"==uS._32(n,71).color,"accent"==uS._32(n,71).color,"warn"==uS._32(n,71).color,uS._32(n,71)._shouldForward("untouched"),uS._32(n,71)._shouldForward("touched"),uS._32(n,71)._shouldForward("pristine"),uS._32(n,71)._shouldForward("dirty"),uS._32(n,71)._shouldForward("valid"),uS._32(n,71)._shouldForward("invalid"),uS._32(n,71)._shouldForward("pending")]);l(n,80,1,[uS._32(n,86).ngClassUntouched,uS._32(n,86).ngClassTouched,uS._32(n,86).ngClassPristine,uS._32(n,86).ngClassDirty,uS._32(n,86).ngClassValid,uS._32(n,86).ngClassInvalid,uS._32(n,86).ngClassPending,uS._32(n,87)._isServer,uS._32(n,87).id,uS._32(n,87).placeholder,uS._32(n,87).disabled,uS._32(n,87).required,uS._32(n,87).readonly,uS._32(n,87)._ariaDescribedby||null,uS._32(n,87).errorState,uS._32(n,87).required.toString()])})}function Gd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,262,{_control:0}),uS._38(335544320,263,{_placeholderChild:0}),uS._38(335544320,264,{_labelChild:0}),uS._38(603979776,265,{_errorChildren:1}),uS._38(603979776,266,{_hintChildren:1}),uS._38(603979776,267,{_prefixChildren:1}),uS._38(603979776,268,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[262,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function Yd(l){return uS._42(0,[(l()(),uS._18(0,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,null,null,null)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,154,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(9,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,109,{_control:0}),uS._38(335544320,110,{_placeholderChild:0}),uS._38(335544320,111,{_labelChild:0}),uS._38(603979776,112,{_errorChildren:1}),uS._38(603979776,113,{_hintChildren:1}),uS._38(603979776,114,{_prefixChildren:1}),uS._38(603979776,115,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,19)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,20).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,20).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}if("change"===n){t.calculateSalesAverage(l.context.index,l.context.$implicit);u=!1!==t.AllCalculation(l.context.$implicit,l.context.index)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,11)&&u}return u},null,null)),uS._17(19,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(20,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[109,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Od)),uS._17(29,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,116,{_control:0}),uS._38(335544320,117,{_placeholderChild:0}),uS._38(335544320,118,{_labelChild:0}),uS._38(603979776,119,{_errorChildren:1}),uS._38(603979776,120,{_hintChildren:1}),uS._38(603979776,121,{_prefixChildren:1}),uS._38(603979776,122,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,49)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,49)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,49)._onInput()&&u}if("change"===n){t.confirmAlert(l.context.index,l.context.$implicit);u=!1!==t.AllCalculation(l.context.$implicit,l.context.index)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,12)&&u}return u},null,null)),uS._17(43,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(44,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(46,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(48,16384,null,0,xS.s,[xS.r],null,null),uS._17(49,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[116,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Ld)),uS._17(53,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(57,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,123,{_control:0}),uS._38(335544320,124,{_placeholderChild:0}),uS._38(335544320,125,{_labelChild:0}),uS._38(603979776,126,{_errorChildren:1}),uS._38(603979776,127,{_hintChildren:1}),uS._38(603979776,128,{_prefixChildren:1}),uS._38(603979776,129,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,67)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,67).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,67)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,67)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,68).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,68).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,68).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,73)._onInput()&&u}return u},null,null)),uS._17(67,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(68,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(70,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(72,16384,null,0,xS.s,[xS.r],null,null),uS._17(73,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[123,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Ad)),uS._17(77,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(81,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,130,{_control:0}),uS._38(335544320,131,{_placeholderChild:0}),uS._38(335544320,132,{_labelChild:0}),uS._38(603979776,133,{_errorChildren:1}),uS._38(603979776,134,{_hintChildren:1}),uS._38(603979776,135,{_prefixChildren:1}),uS._38(603979776,136,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,94)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,94)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,94)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(91,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(93,16384,null,0,xS.s,[xS.r],null,null),uS._17(94,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,137,{options:1}),uS._38(603979776,138,{optionGroups:1}),uS._38(335544320,139,{customTrigger:0}),uS._37(2048,[[130,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,102)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(102,8437760,[[137,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Net Profit"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,106)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,106)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(106,8437760,[[137,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Net Loss"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(112,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,140,{_control:0}),uS._38(335544320,141,{_placeholderChild:0}),uS._38(335544320,142,{_labelChild:0}),uS._38(603979776,143,{_errorChildren:1}),uS._38(603979776,144,{_hintChildren:1}),uS._38(603979776,145,{_prefixChildren:1}),uS._38(603979776,146,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,125)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,125)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,125)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(122,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(124,16384,null,0,xS.s,[xS.r],null,null),uS._17(125,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,147,{options:1}),uS._38(603979776,148,{optionGroups:1}),uS._38(335544320,149,{customTrigger:0}),uS._37(2048,[[140,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,133)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,133)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(133,8437760,[[147,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,137)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,137)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(137,8437760,[[147,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Nd)),uS._17(143,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,$d)),uS._17(146,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Rd)),uS._17(152,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hd)),uS._17(155,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Gd)),uS._17(158,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-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_average").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,152,0,2==n.context.$implicit.get("estimate_profit_or_loss").value&&"yes"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,155,0,2==n.context.$implicit.get("estimate_profit_or_loss").value&&"no"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,158,0,2==n.context.$implicit.get("estimate_profit_or_loss").value)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,8,1,[uS._32(n,9)._control.errorState,uS._32(n,9)._control.errorState,uS._32(n,9)._canLabelFloat,uS._32(n,9)._shouldLabelFloat(),uS._32(n,9)._hideControlPlaceholder(),uS._32(n,9)._control.disabled,uS._32(n,9)._control.focused,"primary"==uS._32(n,9).color,"accent"==uS._32(n,9).color,"warn"==uS._32(n,9).color,uS._32(n,9)._shouldForward("untouched"),uS._32(n,9)._shouldForward("touched"),uS._32(n,9)._shouldForward("pristine"),uS._32(n,9)._shouldForward("dirty"),uS._32(n,9)._shouldForward("valid"),uS._32(n,9)._shouldForward("invalid"),uS._32(n,9)._shouldForward("pending")]);l(n,18,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()]);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,42,1,[uS._32(n,48).ngClassUntouched,uS._32(n,48).ngClassTouched,uS._32(n,48).ngClassPristine,uS._32(n,48).ngClassDirty,uS._32(n,48).ngClassValid,uS._32(n,48).ngClassInvalid,uS._32(n,48).ngClassPending,uS._32(n,49)._isServer,uS._32(n,49).id,uS._32(n,49).placeholder,uS._32(n,49).disabled,uS._32(n,49).required,uS._32(n,49).readonly,uS._32(n,49)._ariaDescribedby||null,uS._32(n,49).errorState,uS._32(n,49).required.toString()]);l(n,56,1,[uS._32(n,57)._control.errorState,uS._32(n,57)._control.errorState,uS._32(n,57)._canLabelFloat,uS._32(n,57)._shouldLabelFloat(),uS._32(n,57)._hideControlPlaceholder(),uS._32(n,57)._control.disabled,uS._32(n,57)._control.focused,"primary"==uS._32(n,57).color,"accent"==uS._32(n,57).color,"warn"==uS._32(n,57).color,uS._32(n,57)._shouldForward("untouched"),uS._32(n,57)._shouldForward("touched"),uS._32(n,57)._shouldForward("pristine"),uS._32(n,57)._shouldForward("dirty"),uS._32(n,57)._shouldForward("valid"),uS._32(n,57)._shouldForward("invalid"),uS._32(n,57)._shouldForward("pending")]);l(n,66,1,[uS._32(n,72).ngClassUntouched,uS._32(n,72).ngClassTouched,uS._32(n,72).ngClassPristine,uS._32(n,72).ngClassDirty,uS._32(n,72).ngClassValid,uS._32(n,72).ngClassInvalid,uS._32(n,72).ngClassPending,uS._32(n,73)._isServer,uS._32(n,73).id,uS._32(n,73).placeholder,uS._32(n,73).disabled,uS._32(n,73).required,uS._32(n,73).readonly,uS._32(n,73)._ariaDescribedby||null,uS._32(n,73).errorState,uS._32(n,73).required.toString()]);l(n,80,1,[uS._32(n,81)._control.errorState,uS._32(n,81)._control.errorState,uS._32(n,81)._canLabelFloat,uS._32(n,81)._shouldLabelFloat(),uS._32(n,81)._hideControlPlaceholder(),uS._32(n,81)._control.disabled,uS._32(n,81)._control.focused,"primary"==uS._32(n,81).color,"accent"==uS._32(n,81).color,"warn"==uS._32(n,81).color,uS._32(n,81)._shouldForward("untouched"),uS._32(n,81)._shouldForward("touched"),uS._32(n,81)._shouldForward("pristine"),uS._32(n,81)._shouldForward("dirty"),uS._32(n,81)._shouldForward("valid"),uS._32(n,81)._shouldForward("invalid"),uS._32(n,81)._shouldForward("pending")]);l(n,90,1,[uS._32(n,93).ngClassUntouched,uS._32(n,93).ngClassTouched,uS._32(n,93).ngClassPristine,uS._32(n,93).ngClassDirty,uS._32(n,93).ngClassValid,uS._32(n,93).ngClassInvalid,uS._32(n,93).ngClassPending,uS._32(n,94).id,uS._32(n,94).tabIndex,uS._32(n,94)._ariaLabel,uS._32(n,94).ariaLabelledby,uS._32(n,94).required.toString(),uS._32(n,94).disabled.toString(),uS._32(n,94).errorState,uS._32(n,94).panelOpen?uS._32(n,94)._optionIds:null,uS._32(n,94).multiple,uS._32(n,94)._ariaDescribedby||null,uS._32(n,94)._getAriaActiveDescendant(),uS._32(n,94).disabled,uS._32(n,94).errorState,uS._32(n,94).required]);l(n,101,0,uS._32(n,102)._getTabIndex(),uS._32(n,102).selected,uS._32(n,102).multiple,uS._32(n,102).active,uS._32(n,102).id,uS._32(n,102).selected.toString(),uS._32(n,102).disabled.toString(),uS._32(n,102).disabled);l(n,105,0,uS._32(n,106)._getTabIndex(),uS._32(n,106).selected,uS._32(n,106).multiple,uS._32(n,106).active,uS._32(n,106).id,uS._32(n,106).selected.toString(),uS._32(n,106).disabled.toString(),uS._32(n,106).disabled);l(n,111,1,[uS._32(n,112)._control.errorState,uS._32(n,112)._control.errorState,uS._32(n,112)._canLabelFloat,uS._32(n,112)._shouldLabelFloat(),uS._32(n,112)._hideControlPlaceholder(),uS._32(n,112)._control.disabled,uS._32(n,112)._control.focused,"primary"==uS._32(n,112).color,"accent"==uS._32(n,112).color,"warn"==uS._32(n,112).color,uS._32(n,112)._shouldForward("untouched"),uS._32(n,112)._shouldForward("touched"),uS._32(n,112)._shouldForward("pristine"),uS._32(n,112)._shouldForward("dirty"),uS._32(n,112)._shouldForward("valid"),uS._32(n,112)._shouldForward("invalid"),uS._32(n,112)._shouldForward("pending")]);l(n,121,1,[uS._32(n,124).ngClassUntouched,uS._32(n,124).ngClassTouched,uS._32(n,124).ngClassPristine,uS._32(n,124).ngClassDirty,uS._32(n,124).ngClassValid,uS._32(n,124).ngClassInvalid,uS._32(n,124).ngClassPending,uS._32(n,125).id,uS._32(n,125).tabIndex,uS._32(n,125)._ariaLabel,uS._32(n,125).ariaLabelledby,uS._32(n,125).required.toString(),uS._32(n,125).disabled.toString(),uS._32(n,125).errorState,uS._32(n,125).panelOpen?uS._32(n,125)._optionIds:null,uS._32(n,125).multiple,uS._32(n,125)._ariaDescribedby||null,uS._32(n,125)._getAriaActiveDescendant(),uS._32(n,125).disabled,uS._32(n,125).errorState,uS._32(n,125).required]);l(n,132,0,uS._32(n,133)._getTabIndex(),uS._32(n,133).selected,uS._32(n,133).multiple,uS._32(n,133).active,uS._32(n,133).id,uS._32(n,133).selected.toString(),uS._32(n,133).disabled.toString(),uS._32(n,133).disabled);l(n,136,0,uS._32(n,137)._getTabIndex(),uS._32(n,137).selected,uS._32(n,137).multiple,uS._32(n,137).active,uS._32(n,137).id,uS._32(n,137).selected.toString(),uS._32(n,137).disabled.toString(),uS._32(n,137).disabled)})}function zd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,57,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(6,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(7,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Financial As Per Customers"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(14,0,null,0,33,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(15,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,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,cT.b,cT.a)),uS._17(18,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,99,{_control:0}),uS._38(335544320,100,{_placeholderChild:0}),uS._38(335544320,101,{_labelChild:0}),uS._38(603979776,102,{_errorChildren:1}),uS._38(603979776,103,{_hintChildren:1}),uS._38(603979776,104,{_prefixChildren:1}),uS._38(603979776,105,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(27,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,31)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,31)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,31)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedFinancialCustomer(e.value)&&u}return u},LO.b,LO.a)),uS._17(28,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(30,16384,null,0,xS.s,[xS.r],null,null),uS._17(31,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,106,{options:1}),uS._38(603979776,107,{optionGroups:1}),uS._38(335544320,108,{customTrigger:0}),uS._37(2048,[[99,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(38,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!==uS._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,39)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(39,8437760,[[106,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,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!==uS._32(l,43)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,43)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(43,8437760,[[106,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(49,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)),uS._17(50,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(52,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Yd)),uS._17(55,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n \n "]))],function(l,n){var e=n.component;l(n,28,0,"is_financial_customer");l(n,31,0,"Same as Financial Statements ?");l(n,39,0,"yes");l(n,43,0,"no");l(n,50,0,"estimated_value");l(n,55,0,e.financialForm.controls.estimated_value.controls)},function(l,n){l(n,17,1,[uS._32(n,18)._control.errorState,uS._32(n,18)._control.errorState,uS._32(n,18)._canLabelFloat,uS._32(n,18)._shouldLabelFloat(),uS._32(n,18)._hideControlPlaceholder(),uS._32(n,18)._control.disabled,uS._32(n,18)._control.focused,"primary"==uS._32(n,18).color,"accent"==uS._32(n,18).color,"warn"==uS._32(n,18).color,uS._32(n,18)._shouldForward("untouched"),uS._32(n,18)._shouldForward("touched"),uS._32(n,18)._shouldForward("pristine"),uS._32(n,18)._shouldForward("dirty"),uS._32(n,18)._shouldForward("valid"),uS._32(n,18)._shouldForward("invalid"),uS._32(n,18)._shouldForward("pending")]);l(n,27,1,[uS._32(n,30).ngClassUntouched,uS._32(n,30).ngClassTouched,uS._32(n,30).ngClassPristine,uS._32(n,30).ngClassDirty,uS._32(n,30).ngClassValid,uS._32(n,30).ngClassInvalid,uS._32(n,30).ngClassPending,uS._32(n,31).id,uS._32(n,31).tabIndex,uS._32(n,31)._ariaLabel,uS._32(n,31).ariaLabelledby,uS._32(n,31).required.toString(),uS._32(n,31).disabled.toString(),uS._32(n,31).errorState,uS._32(n,31).panelOpen?uS._32(n,31)._optionIds:null,uS._32(n,31).multiple,uS._32(n,31)._ariaDescribedby||null,uS._32(n,31)._getAriaActiveDescendant(),uS._32(n,31).disabled,uS._32(n,31).errorState,uS._32(n,31).required]);l(n,38,0,uS._32(n,39)._getTabIndex(),uS._32(n,39).selected,uS._32(n,39).multiple,uS._32(n,39).active,uS._32(n,39).id,uS._32(n,39).selected.toString(),uS._32(n,39).disabled.toString(),uS._32(n,39).disabled);l(n,42,0,uS._32(n,43)._getTabIndex(),uS._32(n,43).selected,uS._32(n,43).multiple,uS._32(n,43).active,uS._32(n,43).id,uS._32(n,43).selected.toString(),uS._32(n,43).disabled.toString(),uS._32(n,43).disabled);l(n,49,0,uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending)})}function Qd(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[307,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Jd(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,300,{_control:0}),uS._38(335544320,301,{_placeholderChild:0}),uS._38(335544320,302,{_labelChild:0}),uS._38(603979776,303,{_errorChildren:1}),uS._38(603979776,304,{_hintChildren:1}),uS._38(603979776,305,{_prefixChildren:1}),uS._38(603979776,306,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,14,"mat-select",[["class","mat-select"],["formControlName","working_capital_facilities_availed"],["multiple",""],["placeholder","Working Capital Facilities availed"],["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!==uS._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,15)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(12,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(14,16384,null,0,xS.s,[xS.r],null,null),uS._17(15,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),uS._38(603979776,307,{options:1}),uS._38(603979776,308,{optionGroups:1}),uS._38(335544320,309,{customTrigger:0}),uS._37(2048,[[300,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Qd)),uS._17(23,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"working_capital_facilities_availed");l(n,15,0,"Working Capital Facilities availed","");l(n,23,0,e.av)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending,uS._32(n,15).id,uS._32(n,15).tabIndex,uS._32(n,15)._ariaLabel,uS._32(n,15).ariaLabelledby,uS._32(n,15).required.toString(),uS._32(n,15).disabled.toString(),uS._32(n,15).errorState,uS._32(n,15).panelOpen?uS._32(n,15)._optionIds:null,uS._32(n,15).multiple,uS._32(n,15)._ariaDescribedby||null,uS._32(n,15)._getAriaActiveDescendant(),uS._32(n,15).disabled,uS._32(n,15).errorState,uS._32(n,15).required])})}function Zd(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,310,{_control:0}),uS._38(335544320,311,{_placeholderChild:0}),uS._38(335544320,312,{_labelChild:0}),uS._38(603979776,313,{_errorChildren:1}),uS._38(603979776,314,{_hintChildren:1}),uS._38(603979776,315,{_prefixChildren:1}),uS._38(603979776,316,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_working_capital_facilities_availed"],["matInput",""],["placeholder","Details of Facility"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[310,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"reason_for_working_capital_facilities_availed");l(n,16,0,"Details of Facility")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Xd(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,218,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,53,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(9,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(10,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(12,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(13,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Data As Per Financial Statements"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(20,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,cT.b,cT.a)),uS._17(21,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(30,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,34)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,34)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,34)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedStatement(e.value)&&u}return u},LO.b,LO.a)),uS._17(31,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(33,16384,null,0,xS.s,[xS.r],null,null),uS._17(34,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,9,{options:1}),uS._38(603979776,10,{optionGroups:1}),uS._38(335544320,11,{customTrigger:0}),uS._37(2048,[[2,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,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!==uS._32(l,42)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,42)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(42,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,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!==uS._32(l,46)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,46)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(46,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,rd)),uS._17(52,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Pd)),uS._17(55,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Td)),uS._17(58,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zd)),uS._17(62,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(64,0,null,null,121,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(65,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(67,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(68,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(70,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(71,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(73,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Working Capital Details"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(78,0,null,0,106,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(79,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(81,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,cT.b,cT.a)),uS._17(82,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,269,{_control:0}),uS._38(335544320,270,{_placeholderChild:0}),uS._38(335544320,271,{_labelChild:0}),uS._38(603979776,272,{_errorChildren:1}),uS._38(603979776,273,{_hintChildren:1}),uS._38(603979776,274,{_prefixChildren:1}),uS._38(603979776,275,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(91,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),uS._17(92,16384,[[270,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["\n In case of Credit Sales, what is the average no of days taken to receive the money?\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(95,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","receive_the_money_in_days"],["matInput",""],["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!==uS._32(l,96)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,96).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,96)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,96)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,97).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,97).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,97).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,102)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,102)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,102)._onInput()&&u}return u},null,null)),uS._17(96,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(97,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(99,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(101,16384,null,0,xS.s,[xS.r],null,null),uS._17(102,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{type:[0,"type"]},null),uS._37(2048,[[269,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(106,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,cT.b,cT.a)),uS._17(107,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,276,{_control:0}),uS._38(335544320,277,{_placeholderChild:0}),uS._38(335544320,278,{_labelChild:0}),uS._38(603979776,279,{_errorChildren:1}),uS._38(603979776,280,{_hintChildren:1}),uS._38(603979776,281,{_prefixChildren:1}),uS._38(603979776,282,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(116,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","pay_the_money_in_days"],["matInput",""],["placeholder","In case of Credit Purchase, what is the average no of days taken to pay the money?"],["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!==uS._32(l,117)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,117).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,117)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,117)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,118).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,118).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,118).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,123)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,123)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,123)._onInput()&&u}return u},null,null)),uS._17(117,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(118,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(120,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(122,16384,null,0,xS.s,[xS.r],null,null),uS._17(123,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[276,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(127,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,cT.b,cT.a)),uS._17(128,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,283,{_control:0}),uS._38(335544320,284,{_placeholderChild:0}),uS._38(335544320,285,{_labelChild:0}),uS._38(603979776,286,{_errorChildren:1}),uS._38(603979776,287,{_hintChildren:1}),uS._38(603979776,288,{_prefixChildren:1}),uS._38(603979776,289,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(137,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","unsold_stock_lies_in_days"],["matInput",""],["placeholder","What is the average no of days for which stock lies unsold during the 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!==uS._32(l,138)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,138).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,138)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,138)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,139).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,139).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,139).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,144)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,144)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,144)._onInput()&&u}return u},null,null)),uS._17(138,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(139,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(141,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(143,16384,null,0,xS.s,[xS.r],null,null),uS._17(144,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[283,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(148,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,cT.b,cT.a)),uS._17(149,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,290,{_control:0}),uS._38(335544320,291,{_placeholderChild:0}),uS._38(335544320,292,{_labelChild:0}),uS._38(603979776,293,{_errorChildren:1}),uS._38(603979776,294,{_hintChildren:1}),uS._38(603979776,295,{_prefixChildren:1}),uS._38(603979776,296,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(158,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_there_working_capital_available"],["placeholder","Is there Working Capital Facilities?"],["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!==uS._32(l,162)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,162)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,162)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(159,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(161,16384,null,0,xS.s,[xS.r],null,null),uS._17(162,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,297,{options:1}),uS._38(603979776,298,{optionGroups:1}),uS._38(335544320,299,{customTrigger:0}),uS._37(2048,[[290,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(169,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!==uS._32(l,170)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,170)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(170,8437760,[[297,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(173,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!==uS._32(l,174)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,174)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(174,8437760,[[297,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jd)),uS._17(180,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zd)),uS._17(183,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(187,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(188,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(190,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,cT.b,cT.a)),uS._17(191,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,317,{_control:0}),uS._38(335544320,318,{_placeholderChild:0}),uS._38(335544320,319,{_labelChild:0}),uS._38(603979776,320,{_errorChildren:1}),uS._38(603979776,321,{_hintChildren:1}),uS._38(603979776,322,{_prefixChildren:1}),uS._38(603979776,323,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(200,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(201,16384,[[319,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(204,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!==uS._32(l,205)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,205).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,205)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,205)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,210)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,210)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,210)._onInput()&&u}return u},null,null)),uS._17(205,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(207,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(209,16384,null,0,xS.s,[xS.r],null,null),uS._17(210,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[317,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(215,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(216,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,2,0,e.financialForm);l(n,31,0,"is_financial_statements");l(n,34,0,"Financial Statements Available ?");l(n,42,0,"yes");l(n,46,0,"no");l(n,52,0,e.isDisplay);l(n,55,0,""!=e.financial_no_of_year);l(n,58,0,e.isDisplay);l(n,62,0,"AI"!=e.CustSegAbbr);l(n,99,0,"receive_the_money_in_days");l(n,102,0,"number");l(n,120,0,"pay_the_money_in_days");l(n,123,0,"In case of Credit Purchase, what is the average no of days taken to pay the money?","number");l(n,141,0,"unsold_stock_lies_in_days");l(n,144,0,"What is the average no of days for which stock lies unsold during the year?","number");l(n,159,0,"is_there_working_capital_available");l(n,162,0,"Is there Working Capital Facilities?");l(n,170,0,"yes");l(n,174,0,"no");l(n,180,0,"yes"==e.financialForm.controls.is_there_working_capital_available.value);l(n,183,0,"yes"==e.financialForm.controls.is_there_working_capital_available.value&&""!=e.financialForm.controls.working_capital_facilities_availed.value);l(n,207,0,"financial_remarks");l(n,210,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,20,1,[uS._32(n,21)._control.errorState,uS._32(n,21)._control.errorState,uS._32(n,21)._canLabelFloat,uS._32(n,21)._shouldLabelFloat(),uS._32(n,21)._hideControlPlaceholder(),uS._32(n,21)._control.disabled,uS._32(n,21)._control.focused,"primary"==uS._32(n,21).color,"accent"==uS._32(n,21).color,"warn"==uS._32(n,21).color,uS._32(n,21)._shouldForward("untouched"),uS._32(n,21)._shouldForward("touched"),uS._32(n,21)._shouldForward("pristine"),uS._32(n,21)._shouldForward("dirty"),uS._32(n,21)._shouldForward("valid"),uS._32(n,21)._shouldForward("invalid"),uS._32(n,21)._shouldForward("pending")]);l(n,30,1,[uS._32(n,33).ngClassUntouched,uS._32(n,33).ngClassTouched,uS._32(n,33).ngClassPristine,uS._32(n,33).ngClassDirty,uS._32(n,33).ngClassValid,uS._32(n,33).ngClassInvalid,uS._32(n,33).ngClassPending,uS._32(n,34).id,uS._32(n,34).tabIndex,uS._32(n,34)._ariaLabel,uS._32(n,34).ariaLabelledby,uS._32(n,34).required.toString(),uS._32(n,34).disabled.toString(),uS._32(n,34).errorState,uS._32(n,34).panelOpen?uS._32(n,34)._optionIds:null,uS._32(n,34).multiple,uS._32(n,34)._ariaDescribedby||null,uS._32(n,34)._getAriaActiveDescendant(),uS._32(n,34).disabled,uS._32(n,34).errorState,uS._32(n,34).required]);l(n,41,0,uS._32(n,42)._getTabIndex(),uS._32(n,42).selected,uS._32(n,42).multiple,uS._32(n,42).active,uS._32(n,42).id,uS._32(n,42).selected.toString(),uS._32(n,42).disabled.toString(),uS._32(n,42).disabled);l(n,45,0,uS._32(n,46)._getTabIndex(),uS._32(n,46).selected,uS._32(n,46).multiple,uS._32(n,46).active,uS._32(n,46).id,uS._32(n,46).selected.toString(),uS._32(n,46).disabled.toString(),uS._32(n,46).disabled);l(n,81,1,[uS._32(n,82)._control.errorState,uS._32(n,82)._control.errorState,uS._32(n,82)._canLabelFloat,uS._32(n,82)._shouldLabelFloat(),uS._32(n,82)._hideControlPlaceholder(),uS._32(n,82)._control.disabled,uS._32(n,82)._control.focused,"primary"==uS._32(n,82).color,"accent"==uS._32(n,82).color,"warn"==uS._32(n,82).color,uS._32(n,82)._shouldForward("untouched"),uS._32(n,82)._shouldForward("touched"),uS._32(n,82)._shouldForward("pristine"),uS._32(n,82)._shouldForward("dirty"),uS._32(n,82)._shouldForward("valid"),uS._32(n,82)._shouldForward("invalid"),uS._32(n,82)._shouldForward("pending")]);l(n,95,1,[uS._32(n,101).ngClassUntouched,uS._32(n,101).ngClassTouched,uS._32(n,101).ngClassPristine,uS._32(n,101).ngClassDirty,uS._32(n,101).ngClassValid,uS._32(n,101).ngClassInvalid,uS._32(n,101).ngClassPending,uS._32(n,102)._isServer,uS._32(n,102).id,uS._32(n,102).placeholder,uS._32(n,102).disabled,uS._32(n,102).required,uS._32(n,102).readonly,uS._32(n,102)._ariaDescribedby||null,uS._32(n,102).errorState,uS._32(n,102).required.toString()]);l(n,106,1,[uS._32(n,107)._control.errorState,uS._32(n,107)._control.errorState,uS._32(n,107)._canLabelFloat,uS._32(n,107)._shouldLabelFloat(),uS._32(n,107)._hideControlPlaceholder(),uS._32(n,107)._control.disabled,uS._32(n,107)._control.focused,"primary"==uS._32(n,107).color,"accent"==uS._32(n,107).color,"warn"==uS._32(n,107).color,uS._32(n,107)._shouldForward("untouched"),uS._32(n,107)._shouldForward("touched"),uS._32(n,107)._shouldForward("pristine"),uS._32(n,107)._shouldForward("dirty"),uS._32(n,107)._shouldForward("valid"),uS._32(n,107)._shouldForward("invalid"),uS._32(n,107)._shouldForward("pending")]);l(n,116,1,[uS._32(n,122).ngClassUntouched,uS._32(n,122).ngClassTouched,uS._32(n,122).ngClassPristine,uS._32(n,122).ngClassDirty,uS._32(n,122).ngClassValid,uS._32(n,122).ngClassInvalid,uS._32(n,122).ngClassPending,uS._32(n,123)._isServer,uS._32(n,123).id,uS._32(n,123).placeholder,uS._32(n,123).disabled,uS._32(n,123).required,uS._32(n,123).readonly,uS._32(n,123)._ariaDescribedby||null,uS._32(n,123).errorState,uS._32(n,123).required.toString()]);l(n,127,1,[uS._32(n,128)._control.errorState,uS._32(n,128)._control.errorState,uS._32(n,128)._canLabelFloat,uS._32(n,128)._shouldLabelFloat(),uS._32(n,128)._hideControlPlaceholder(),uS._32(n,128)._control.disabled,uS._32(n,128)._control.focused,"primary"==uS._32(n,128).color,"accent"==uS._32(n,128).color,"warn"==uS._32(n,128).color,uS._32(n,128)._shouldForward("untouched"),uS._32(n,128)._shouldForward("touched"),uS._32(n,128)._shouldForward("pristine"),uS._32(n,128)._shouldForward("dirty"),uS._32(n,128)._shouldForward("valid"),uS._32(n,128)._shouldForward("invalid"),uS._32(n,128)._shouldForward("pending")]);l(n,137,1,[uS._32(n,143).ngClassUntouched,uS._32(n,143).ngClassTouched,uS._32(n,143).ngClassPristine,uS._32(n,143).ngClassDirty,uS._32(n,143).ngClassValid,uS._32(n,143).ngClassInvalid,uS._32(n,143).ngClassPending,uS._32(n,144)._isServer,uS._32(n,144).id,uS._32(n,144).placeholder,uS._32(n,144).disabled,uS._32(n,144).required,uS._32(n,144).readonly,uS._32(n,144)._ariaDescribedby||null,uS._32(n,144).errorState,uS._32(n,144).required.toString()]);l(n,148,1,[uS._32(n,149)._control.errorState,uS._32(n,149)._control.errorState,uS._32(n,149)._canLabelFloat,uS._32(n,149)._shouldLabelFloat(),uS._32(n,149)._hideControlPlaceholder(),uS._32(n,149)._control.disabled,uS._32(n,149)._control.focused,"primary"==uS._32(n,149).color,"accent"==uS._32(n,149).color,"warn"==uS._32(n,149).color,uS._32(n,149)._shouldForward("untouched"),uS._32(n,149)._shouldForward("touched"),uS._32(n,149)._shouldForward("pristine"),uS._32(n,149)._shouldForward("dirty"),uS._32(n,149)._shouldForward("valid"),uS._32(n,149)._shouldForward("invalid"),uS._32(n,149)._shouldForward("pending")]);l(n,158,1,[uS._32(n,161).ngClassUntouched,uS._32(n,161).ngClassTouched,uS._32(n,161).ngClassPristine,uS._32(n,161).ngClassDirty,uS._32(n,161).ngClassValid,uS._32(n,161).ngClassInvalid,uS._32(n,161).ngClassPending,uS._32(n,162).id,uS._32(n,162).tabIndex,uS._32(n,162)._ariaLabel,uS._32(n,162).ariaLabelledby,uS._32(n,162).required.toString(),uS._32(n,162).disabled.toString(),uS._32(n,162).errorState,uS._32(n,162).panelOpen?uS._32(n,162)._optionIds:null,uS._32(n,162).multiple,uS._32(n,162)._ariaDescribedby||null,uS._32(n,162)._getAriaActiveDescendant(),uS._32(n,162).disabled,uS._32(n,162).errorState,uS._32(n,162).required]);l(n,169,0,uS._32(n,170)._getTabIndex(),uS._32(n,170).selected,uS._32(n,170).multiple,uS._32(n,170).active,uS._32(n,170).id,uS._32(n,170).selected.toString(),uS._32(n,170).disabled.toString(),uS._32(n,170).disabled);l(n,173,0,uS._32(n,174)._getTabIndex(),uS._32(n,174).selected,uS._32(n,174).multiple,uS._32(n,174).active,uS._32(n,174).id,uS._32(n,174).selected.toString(),uS._32(n,174).disabled.toString(),uS._32(n,174).disabled);l(n,190,1,[uS._32(n,191)._control.errorState,uS._32(n,191)._control.errorState,uS._32(n,191)._canLabelFloat,uS._32(n,191)._shouldLabelFloat(),uS._32(n,191)._hideControlPlaceholder(),uS._32(n,191)._control.disabled,uS._32(n,191)._control.focused,"primary"==uS._32(n,191).color,"accent"==uS._32(n,191).color,"warn"==uS._32(n,191).color,uS._32(n,191)._shouldForward("untouched"),uS._32(n,191)._shouldForward("touched"),uS._32(n,191)._shouldForward("pristine"),uS._32(n,191)._shouldForward("dirty"),uS._32(n,191)._shouldForward("valid"),uS._32(n,191)._shouldForward("invalid"),uS._32(n,191)._shouldForward("pending")]);l(n,204,1,[uS._32(n,209).ngClassUntouched,uS._32(n,209).ngClassTouched,uS._32(n,209).ngClassPristine,uS._32(n,209).ngClassDirty,uS._32(n,209).ngClassValid,uS._32(n,209).ngClassInvalid,uS._32(n,209).ngClassPending,uS._32(n,210)._isServer,uS._32(n,210).id,uS._32(n,210).placeholder,uS._32(n,210).disabled,uS._32(n,210).required,uS._32(n,210).readonly,uS._32(n,210)._ariaDescribedby||null,uS._32(n,210).errorState,uS._32(n,210).required.toString()])})}function ls(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function ns(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(1,0,null,null,27,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,7,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(8,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(9,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(10,0,["",""])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(14,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,21).onClick()&&u}return u},jT.b,jT.a)),uS._17(21,114688,[[1,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(24,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,25).onClick()&&u}return u},jT.b,jT.a)),uS._17(25,114688,[[1,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(30,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(31,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(34,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,od)),uS._17(37,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Xd)),uS._17(40,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(44,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(45,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,324,{_mainButton:0}),uS._38(603979776,325,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(49,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(50,49152,[[324,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(51,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(52,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(55,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(56,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ls)),uS._17(59,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,14,0,e.tab);l(n,17,0,"optblue");l(n,21,0,"0");l(n,25,0,"1");l(n,34,0,e.tab);l(n,37,0,"1");l(n,40,0,"0");l(n,50,0,"optblue");l(n,52,0,"md-camera");l(n,59,0,!e.complete_status)},function(l,n){var e=n.component;l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,10,0,e.formDetails.form_name);l(n,13,0,uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._disabled);l(n,20,0,uS._32(n,21)._disabled,uS._32(n,21).isActive,uS._32(n,21).isActive);l(n,24,0,uS._32(n,25)._disabled,uS._32(n,25).isActive,uS._32(n,25).isActive);l(n,30,0,uS._32(n,31).statusbarPadding,uS._32(n,31)._hasRefresher);l(n,51,0,uS._32(n,52)._hidden)})}function es(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function us(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function ts(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function as(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function is(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function os(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ts)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,as)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,is)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function rs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,os)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function _s(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ds(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function ss(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_s)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ds)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function cs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ss)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function ms(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function ps(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,us)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,rs)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,cs)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,ms)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function fs(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[11,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function hs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,31,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,14,{_control:0}),uS._38(335544320,15,{_placeholderChild:0}),uS._38(335544320,16,{_labelChild:0}),uS._38(603979776,17,{_errorChildren:1}),uS._38(603979776,18,{_hintChildren:1}),uS._38(603979776,19,{_prefixChildren:1}),uS._38(603979776,20,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(13,16384,[[16,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Address"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(16,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address"],["matInput",""],["placeholder","Rental Info 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!==uS._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,17)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(17,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[14,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.Toview()&&u}return u},AT.b,AT.a)),uS._17(29,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"]},null),(l()(),uS._40(-1,0,["Rental Info Details"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,19,0,"address");l(n,22,0,"Rental Info Details");l(n,29,0,"optblue","")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,16,1,[uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function gs(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,21,{_control:0}),uS._38(335544320,22,{_placeholderChild:0}),uS._38(335544320,23,{_labelChild:0}),uS._38(603979776,24,{_errorChildren:1}),uS._38(603979776,25,{_hintChildren:1}),uS._38(603979776,26,{_prefixChildren:1}),uS._38(603979776,27,{_suffixChildren:1}),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[21,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function bs(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[35,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function vs(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[36,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,bs)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function ys(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,38,{_control:0}),uS._38(335544320,39,{_placeholderChild:0}),uS._38(335544320,40,{_labelChild:0}),uS._38(603979776,41,{_errorChildren:1}),uS._38(603979776,42,{_hintChildren:1}),uS._38(603979776,43,{_prefixChildren:1}),uS._38(603979776,44,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[38,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Cs(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[49,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," ",""]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amtInWords[n.parent.context.index])})}function ws(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[59,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.frequency_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Fs(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,62,{_control:0}),uS._38(335544320,63,{_placeholderChild:0}),uS._38(335544320,64,{_labelChild:0}),uS._38(603979776,65,{_errorChildren:1}),uS._38(603979776,66,{_hintChildren:1}),uS._38(603979776,67,{_prefixChildren:1}),uS._38(603979776,68,{_suffixChildren:1}),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[62,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function xs(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function ks(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,154,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(6,null,["Income Details ",""])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(8,0,null,null,145,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(9,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,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,cT.b,cT.a)),uS._17(12,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,4,{_control:0}),uS._38(335544320,5,{_placeholderChild:0}),uS._38(335544320,6,{_labelChild:0}),uS._38(603979776,7,{_errorChildren:1}),uS._38(603979776,8,{_hintChildren:1}),uS._38(603979776,9,{_prefixChildren:1}),uS._38(603979776,10,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,0,null,1,17,"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!==uS._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,25)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,11,{options:1}),uS._38(603979776,12,{optionGroups:1}),uS._38(335544320,13,{customTrigger:0}),uS._37(2048,[[4,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,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!==uS._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,33)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(33,8437760,[[11,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,fs)),uS._17(37,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hs)),uS._17(42,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gs)),uS._17(45,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(47,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,cT.b,cT.a)),uS._17(48,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,28,{_control:0}),uS._38(335544320,29,{_placeholderChild:0}),uS._38(335544320,30,{_labelChild:0}),uS._38(603979776,31,{_errorChildren:1}),uS._38(603979776,32,{_hintChildren:1}),uS._38(603979776,33,{_prefixChildren:1}),uS._38(603979776,34,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(57,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","income_earned_by"],["multiple",""],["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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,62)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,62)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getOtherOrganisationOwner(e.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(59,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(61,16384,null,0,xS.s,[xS.r],null,null),uS._17(62,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,35,{options:1}),uS._38(603979776,36,{optionGroups:1}),uS._38(335544320,37,{customTrigger:0}),uS._37(2048,[[28,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,vs)),uS._17(69,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ys)),uS._17(74,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(76,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,cT.b,cT.a)),uS._17(77,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,45,{_control:0}),uS._38(335544320,46,{_placeholderChild:0}),uS._38(335544320,47,{_labelChild:0}),uS._38(603979776,48,{_errorChildren:1}),uS._38(603979776,49,{_hintChildren:1}),uS._38(603979776,50,{_prefixChildren:1}),uS._38(603979776,51,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(86,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,t=l.component;if("input"===n){u=!1!==uS._32(l,87)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,87).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,87)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,87)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,88).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,88).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,88).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,93)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,93)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,93)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index)&&u}return u},null,null)),uS._17(87,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(88,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(90,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(92,16384,null,0,xS.s,[xS.r],null,null),uS._17(93,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[45,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Cs)),uS._17(97,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(100,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,cT.b,cT.a)),uS._17(101,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,52,{_control:0}),uS._38(335544320,53,{_placeholderChild:0}),uS._38(335544320,54,{_labelChild:0}),uS._38(603979776,55,{_errorChildren:1}),uS._38(603979776,56,{_hintChildren:1}),uS._38(603979776,57,{_prefixChildren:1}),uS._38(603979776,58,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(110,0,null,1,17,"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!==uS._32(l,114)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,114)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,114)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(111,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(113,16384,null,0,xS.s,[xS.r],null,null),uS._17(114,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,59,{options:1}),uS._38(603979776,60,{optionGroups:1}),uS._38(335544320,61,{customTrigger:0}),uS._37(2048,[[52,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,122)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,122)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(122,8437760,[[59,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ws)),uS._17(126,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fs)),uS._17(131,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(133,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(134,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,69,{_buttons:1}),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(137,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(138,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(142,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(143,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(146,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(147,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xs)),uS._17(150,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"source");l(n,25,0,"Source");l(n,37,0,e.sourceIncome);l(n,42,0,"5"==n.context.$implicit.get("source").value);l(n,45,0,"1"==n.context.$implicit.get("source").value);l(n,59,0,"income_earned_by");l(n,62,0,"Income Earned By","",e.compareObjects);l(n,69,0,e.mergeCompanyApplicant);l(n,74,0,e.isOrganisationOwner[n.context.index]);l(n,90,0,"amount");l(n,93,0,"Amount","number");l(n,97,0,""!=n.context.$implicit.get("amount").value);l(n,111,0,"frequency");l(n,114,0,"Frequency");l(n,126,0,e.frequencyData);l(n,131,0,1==n.context.$implicit.get("frequency").value);l(n,143,0,"optblue","md-trash");l(n,150,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,11,1,[uS._32(n,12)._control.errorState,uS._32(n,12)._control.errorState,uS._32(n,12)._canLabelFloat,uS._32(n,12)._shouldLabelFloat(),uS._32(n,12)._hideControlPlaceholder(),uS._32(n,12)._control.disabled,uS._32(n,12)._control.focused,"primary"==uS._32(n,12).color,"accent"==uS._32(n,12).color,"warn"==uS._32(n,12).color,uS._32(n,12)._shouldForward("untouched"),uS._32(n,12)._shouldForward("touched"),uS._32(n,12)._shouldForward("pristine"),uS._32(n,12)._shouldForward("dirty"),uS._32(n,12)._shouldForward("valid"),uS._32(n,12)._shouldForward("invalid"),uS._32(n,12)._shouldForward("pending")]);l(n,21,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25).id,uS._32(n,25).tabIndex,uS._32(n,25)._ariaLabel,uS._32(n,25).ariaLabelledby,uS._32(n,25).required.toString(),uS._32(n,25).disabled.toString(),uS._32(n,25).errorState,uS._32(n,25).panelOpen?uS._32(n,25)._optionIds:null,uS._32(n,25).multiple,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25)._getAriaActiveDescendant(),uS._32(n,25).disabled,uS._32(n,25).errorState,uS._32(n,25).required]);l(n,32,0,uS._32(n,33)._getTabIndex(),uS._32(n,33).selected,uS._32(n,33).multiple,uS._32(n,33).active,uS._32(n,33).id,uS._32(n,33).selected.toString(),uS._32(n,33).disabled.toString(),uS._32(n,33).disabled);l(n,47,1,[uS._32(n,48)._control.errorState,uS._32(n,48)._control.errorState,uS._32(n,48)._canLabelFloat,uS._32(n,48)._shouldLabelFloat(),uS._32(n,48)._hideControlPlaceholder(),uS._32(n,48)._control.disabled,uS._32(n,48)._control.focused,"primary"==uS._32(n,48).color,"accent"==uS._32(n,48).color,"warn"==uS._32(n,48).color,uS._32(n,48)._shouldForward("untouched"),uS._32(n,48)._shouldForward("touched"),uS._32(n,48)._shouldForward("pristine"),uS._32(n,48)._shouldForward("dirty"),uS._32(n,48)._shouldForward("valid"),uS._32(n,48)._shouldForward("invalid"),uS._32(n,48)._shouldForward("pending")]);l(n,57,1,[uS._32(n,61).ngClassUntouched,uS._32(n,61).ngClassTouched,uS._32(n,61).ngClassPristine,uS._32(n,61).ngClassDirty,uS._32(n,61).ngClassValid,uS._32(n,61).ngClassInvalid,uS._32(n,61).ngClassPending,uS._32(n,62).id,uS._32(n,62).tabIndex,uS._32(n,62)._ariaLabel,uS._32(n,62).ariaLabelledby,uS._32(n,62).required.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).errorState,uS._32(n,62).panelOpen?uS._32(n,62)._optionIds:null,uS._32(n,62).multiple,uS._32(n,62)._ariaDescribedby||null,uS._32(n,62)._getAriaActiveDescendant(),uS._32(n,62).disabled,uS._32(n,62).errorState,uS._32(n,62).required]);l(n,76,1,[uS._32(n,77)._control.errorState,uS._32(n,77)._control.errorState,uS._32(n,77)._canLabelFloat,uS._32(n,77)._shouldLabelFloat(),uS._32(n,77)._hideControlPlaceholder(),uS._32(n,77)._control.disabled,uS._32(n,77)._control.focused,"primary"==uS._32(n,77).color,"accent"==uS._32(n,77).color,"warn"==uS._32(n,77).color,uS._32(n,77)._shouldForward("untouched"),uS._32(n,77)._shouldForward("touched"),uS._32(n,77)._shouldForward("pristine"),uS._32(n,77)._shouldForward("dirty"),uS._32(n,77)._shouldForward("valid"),uS._32(n,77)._shouldForward("invalid"),uS._32(n,77)._shouldForward("pending")]);l(n,86,1,[uS._32(n,92).ngClassUntouched,uS._32(n,92).ngClassTouched,uS._32(n,92).ngClassPristine,uS._32(n,92).ngClassDirty,uS._32(n,92).ngClassValid,uS._32(n,92).ngClassInvalid,uS._32(n,92).ngClassPending,uS._32(n,93)._isServer,uS._32(n,93).id,uS._32(n,93).placeholder,uS._32(n,93).disabled,uS._32(n,93).required,uS._32(n,93).readonly,uS._32(n,93)._ariaDescribedby||null,uS._32(n,93).errorState,uS._32(n,93).required.toString()]);l(n,100,1,[uS._32(n,101)._control.errorState,uS._32(n,101)._control.errorState,uS._32(n,101)._canLabelFloat,uS._32(n,101)._shouldLabelFloat(),uS._32(n,101)._hideControlPlaceholder(),uS._32(n,101)._control.disabled,uS._32(n,101)._control.focused,"primary"==uS._32(n,101).color,"accent"==uS._32(n,101).color,"warn"==uS._32(n,101).color,uS._32(n,101)._shouldForward("untouched"),uS._32(n,101)._shouldForward("touched"),uS._32(n,101)._shouldForward("pristine"),uS._32(n,101)._shouldForward("dirty"),uS._32(n,101)._shouldForward("valid"),uS._32(n,101)._shouldForward("invalid"),uS._32(n,101)._shouldForward("pending")]);l(n,110,1,[uS._32(n,113).ngClassUntouched,uS._32(n,113).ngClassTouched,uS._32(n,113).ngClassPristine,uS._32(n,113).ngClassDirty,uS._32(n,113).ngClassValid,uS._32(n,113).ngClassInvalid,uS._32(n,113).ngClassPending,uS._32(n,114).id,uS._32(n,114).tabIndex,uS._32(n,114)._ariaLabel,uS._32(n,114).ariaLabelledby,uS._32(n,114).required.toString(),uS._32(n,114).disabled.toString(),uS._32(n,114).errorState,uS._32(n,114).panelOpen?uS._32(n,114)._optionIds:null,uS._32(n,114).multiple,uS._32(n,114)._ariaDescribedby||null,uS._32(n,114)._getAriaActiveDescendant(),uS._32(n,114).disabled,uS._32(n,114).errorState,uS._32(n,114).required]);l(n,121,0,uS._32(n,122)._getTabIndex(),uS._32(n,122).selected,uS._32(n,122).multiple,uS._32(n,122).active,uS._32(n,122).id,uS._32(n,122).selected.toString(),uS._32(n,122).disabled.toString(),uS._32(n,122).disabled);l(n,142,0,uS._32(n,143)._hidden)})}function Ss(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ks)),uS._17(9,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending)})}function Is(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,63,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,22,"mat-card",[["class","mat-card"],["style","width: 100%"]],null,null,null,rT.d,rT.a)),uS._17(8,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(10,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Other Income of Loan Applicants"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,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)),uS._17(14,1064960,null,1,uO.b,[uS.i],null,{change:"change"}),uS._38(603979776,3,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,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!==uS._32(l,22)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(22,4440064,[[3,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n      \n "])),(l()(),uS._18(25,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!==uS._32(l,26)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(26,4440064,[[3,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ss)),uS._17(32,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(34,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(35,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(38,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,70,{_control:0}),uS._38(335544320,71,{_placeholderChild:0}),uS._38(335544320,72,{_labelChild:0}),uS._38(603979776,73,{_errorChildren:1}),uS._38(603979776,74,{_hintChildren:1}),uS._38(603979776,75,{_prefixChildren:1}),uS._38(603979776,76,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(47,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!==uS._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,53)._onInput()&&u}return u},null,null)),uS._17(48,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(50,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(52,16384,null,0,xS.s,[xS.r],null,null),uS._17(53,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[70,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(59,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,2,0,e.otherIncomeForm);l(n,17,0,"other_income");l(n,22,0,"Yes");l(n,26,0,"No");l(n,32,0,"Yes"==e.otherIncomeForm.controls.other_income.value);l(n,50,0,"otherincome_remarks");l(n,53,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,13,0,uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending);l(n,21,0,uS._32(n,22).checked,uS._32(n,22).disabled,uS._32(n,22).id);l(n,25,0,uS._32(n,26).checked,uS._32(n,26).disabled,uS._32(n,26).id);l(n,37,1,[uS._32(n,38)._control.errorState,uS._32(n,38)._control.errorState,uS._32(n,38)._canLabelFloat,uS._32(n,38)._shouldLabelFloat(),uS._32(n,38)._hideControlPlaceholder(),uS._32(n,38)._control.disabled,uS._32(n,38)._control.focused,"primary"==uS._32(n,38).color,"accent"==uS._32(n,38).color,"warn"==uS._32(n,38).color,uS._32(n,38)._shouldForward("untouched"),uS._32(n,38)._shouldForward("touched"),uS._32(n,38)._shouldForward("pristine"),uS._32(n,38)._shouldForward("dirty"),uS._32(n,38)._shouldForward("valid"),uS._32(n,38)._shouldForward("invalid"),uS._32(n,38)._shouldForward("pending")]);l(n,47,1,[uS._32(n,52).ngClassUntouched,uS._32(n,52).ngClassTouched,uS._32(n,52).ngClassPristine,uS._32(n,52).ngClassDirty,uS._32(n,52).ngClassValid,uS._32(n,52).ngClassInvalid,uS._32(n,52).ngClassPending,uS._32(n,53)._isServer,uS._32(n,53).id,uS._32(n,53).placeholder,uS._32(n,53).disabled,uS._32(n,53).required,uS._32(n,53).readonly,uS._32(n,53)._ariaDescribedby||null,uS._32(n,53).errorState,uS._32(n,53).required.toString()])})}function qs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitOtherIncome(t.otherIncomeForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Ps(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,es)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(21,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,28).onClick()&&u}return u},jT.b,jT.a)),uS._17(28,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,32).onClick()&&u}return u},jT.b,jT.a)),uS._17(32,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(37,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(38,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(40,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(41,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ps)),uS._17(44,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Is)),uS._17(47,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(50,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(51,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,77,{_mainButton:0}),uS._38(603979776,78,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(55,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(56,49152,[[77,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(57,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(58,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(61,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(62,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qs)),uS._17(65,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-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,21,0,e.tab);l(n,24,0,"optblue");l(n,28,0,"0");l(n,32,0,"1");l(n,41,0,e.tab);l(n,44,0,"1");l(n,47,0,"0");l(n,56,0,"optblue");l(n,58,0,"md-camera");l(n,65,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,20,0,uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._disabled);l(n,27,0,uS._32(n,28)._disabled,uS._32(n,28).isActive,uS._32(n,28).isActive);l(n,31,0,uS._32(n,32)._disabled,uS._32(n,32).isActive,uS._32(n,32).isActive);l(n,37,0,uS._32(n,38).statusbarPadding,uS._32(n,38)._hasRefresher);l(n,57,0,uS._32(n,58)._hidden)})}function Ds(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Ts(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Os(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Ls(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function As(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ts)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Os)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ls)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function Vs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,As)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Ns(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Ws(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Es(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ns)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Ws)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function js(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Es)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function $s(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Bs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ds)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Vs)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,js)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,$s)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Rs(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[24,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Us(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[41,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ms(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,44,{_control:0}),uS._38(335544320,45,{_placeholderChild:0}),uS._38(335544320,46,{_labelChild:0}),uS._38(603979776,47,{_errorChildren:1}),uS._38(603979776,48,{_hintChildren:1}),uS._38(603979776,49,{_prefixChildren:1}),uS._38(603979776,50,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[44,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Ks(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[79,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Hs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(3,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(7,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,92,{_control:0}),uS._38(335544320,93,{_placeholderChild:0}),uS._38(335544320,94,{_labelChild:0}),uS._38(603979776,95,{_errorChildren:1}),uS._38(603979776,96,{_hintChildren:1}),uS._38(603979776,97,{_prefixChildren:1}),uS._38(603979776,98,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(17,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(18,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[92,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(28,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,99,{_control:0}),uS._38(335544320,100,{_placeholderChild:0}),uS._38(335544320,101,{_labelChild:0}),uS._38(603979776,102,{_errorChildren:1}),uS._38(603979776,103,{_hintChildren:1}),uS._38(603979776,104,{_prefixChildren:1}),uS._38(603979776,105,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,44)._onInput()&&u}return u},null,null)),uS._17(38,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(39,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(41,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(43,16384,null,0,xS.s,[xS.r],null,null),uS._17(44,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[99,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,7)._control.errorState,uS._32(n,7)._control.errorState,uS._32(n,7)._canLabelFloat,uS._32(n,7)._shouldLabelFloat(),uS._32(n,7)._hideControlPlaceholder(),uS._32(n,7)._control.disabled,uS._32(n,7)._control.focused,"primary"==uS._32(n,7).color,"accent"==uS._32(n,7).color,"warn"==uS._32(n,7).color,uS._32(n,7)._shouldForward("untouched"),uS._32(n,7)._shouldForward("touched"),uS._32(n,7)._shouldForward("pristine"),uS._32(n,7)._shouldForward("dirty"),uS._32(n,7)._shouldForward("valid"),uS._32(n,7)._shouldForward("invalid"),uS._32(n,7)._shouldForward("pending")]);l(n,16,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()]);l(n,27,1,[uS._32(n,28)._control.errorState,uS._32(n,28)._control.errorState,uS._32(n,28)._canLabelFloat,uS._32(n,28)._shouldLabelFloat(),uS._32(n,28)._hideControlPlaceholder(),uS._32(n,28)._control.disabled,uS._32(n,28)._control.focused,"primary"==uS._32(n,28).color,"accent"==uS._32(n,28).color,"warn"==uS._32(n,28).color,uS._32(n,28)._shouldForward("untouched"),uS._32(n,28)._shouldForward("touched"),uS._32(n,28)._shouldForward("pristine"),uS._32(n,28)._shouldForward("dirty"),uS._32(n,28)._shouldForward("valid"),uS._32(n,28)._shouldForward("invalid"),uS._32(n,28)._shouldForward("pending")]);l(n,37,1,[uS._32(n,43).ngClassUntouched,uS._32(n,43).ngClassTouched,uS._32(n,43).ngClassPristine,uS._32(n,43).ngClassDirty,uS._32(n,43).ngClassValid,uS._32(n,43).ngClassInvalid,uS._32(n,43).ngClassPending,uS._32(n,44)._isServer,uS._32(n,44).id,uS._32(n,44).placeholder,uS._32(n,44).disabled,uS._32(n,44).required,uS._32(n,44).readonly,uS._32(n,44)._ariaDescribedby||null,uS._32(n,44).errorState,uS._32(n,44).required.toString()])})}function Gs(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Ys(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function zs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,296,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Raw Material #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,267,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,263,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(15,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,25)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,25)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,25)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,30)._onInput()&&u}return u},null,null)),uS._17(25,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(27,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(29,16384,null,0,xS.s,[xS.r],null,null),uS._17(30,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[3,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(35,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,10,{_control:0}),uS._38(335544320,11,{_placeholderChild:0}),uS._38(335544320,12,{_labelChild:0}),uS._38(603979776,13,{_errorChildren:1}),uS._38(603979776,14,{_hintChildren:1}),uS._38(603979776,15,{_prefixChildren:1}),uS._38(603979776,16,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,45)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,50)._onInput()&&u}return u},null,null)),uS._17(45,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(47,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(49,16384,null,0,xS.s,[xS.r],null,null),uS._17(50,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[10,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(55,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,17,{_control:0}),uS._38(335544320,18,{_placeholderChild:0}),uS._38(335544320,19,{_labelChild:0}),uS._38(603979776,20,{_errorChildren:1}),uS._38(603979776,21,{_hintChildren:1}),uS._38(603979776,22,{_prefixChildren:1}),uS._38(603979776,23,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,69)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,69)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,69)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(66,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(68,16384,null,0,xS.s,[xS.r],null,null),uS._17(69,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,24,{options:1}),uS._38(603979776,25,{optionGroups:1}),uS._38(335544320,26,{customTrigger:0}),uS._37(2048,[[17,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Rs)),uS._17(76,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(81,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,91)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,91).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,91)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,91)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,96)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,96)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,96)._onInput()&&u}return u},null,null)),uS._17(91,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(93,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(95,16384,null,0,xS.s,[xS.r],null,null),uS._17(96,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[27,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(101,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,34,{_control:0}),uS._38(335544320,35,{_placeholderChild:0}),uS._38(335544320,36,{_labelChild:0}),uS._38(603979776,37,{_errorChildren:1}),uS._38(603979776,38,{_hintChildren:1}),uS._38(603979776,39,{_prefixChildren:1}),uS._38(603979776,40,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,114)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,114)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,114)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,1)&&u}return u},LO.b,LO.a)),uS._17(111,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(113,16384,null,0,xS.s,[xS.r],null,null),uS._17(114,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,41,{options:1}),uS._38(603979776,42,{optionGroups:1}),uS._38(335544320,43,{customTrigger:0}),uS._37(2048,[[34,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,122)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,122)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(122,8437760,[[41,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Us)),uS._17(126,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ms)),uS._17(132,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(135,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,51,{_control:0}),uS._38(335544320,52,{_placeholderChild:0}),uS._38(335544320,53,{_labelChild:0}),uS._38(603979776,54,{_errorChildren:1}),uS._38(603979776,55,{_hintChildren:1}),uS._38(603979776,56,{_prefixChildren:1}),uS._38(603979776,57,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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"],["minlength","10"],["placeholder","Contact Person Mobile Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,145)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,145).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,145)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,145)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,153)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,153)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,153)._onInput()&&u}return u},null,null)),uS._17(145,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(146,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(147,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(150,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(152,16384,null,0,xS.s,[xS.r],null,null),uS._17(153,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[51,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(156,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(157,16384,[[54,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid Mobile Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(161,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,cT.b,cT.a)),uS._17(162,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,58,{_control:0}),uS._38(335544320,59,{_placeholderChild:0}),uS._38(335544320,60,{_labelChild:0}),uS._38(603979776,61,{_errorChildren:1}),uS._38(603979776,62,{_hintChildren:1}),uS._38(603979776,63,{_prefixChildren:1}),uS._38(603979776,64,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(171,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,172)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,172).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,172)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,172)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,180)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,180)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,180)._onInput()&&u}return u},null,null)),uS._17(172,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(173,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(174,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(177,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(179,16384,null,0,xS.s,[xS.r],null,null),uS._17(180,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[58,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(183,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(184,16384,[[61,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid STD Code Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(189,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,cT.b,cT.a)),uS._17(190,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,65,{_control:0}),uS._38(335544320,66,{_placeholderChild:0}),uS._38(335544320,67,{_labelChild:0}),uS._38(603979776,68,{_errorChildren:1}),uS._38(603979776,69,{_hintChildren:1}),uS._38(603979776,70,{_prefixChildren:1}),uS._38(603979776,71,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(199,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Contact Person Landline Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,200)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,200).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,200)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,200)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,208)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,208)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,208)._onInput()&&u}return u},null,null)),uS._17(200,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(201,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(202,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(205,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(207,16384,null,0,xS.s,[xS.r],null,null),uS._17(208,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[65,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(211,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(212,16384,[[68,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid LandLine Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(216,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,cT.b,cT.a)),uS._17(217,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,72,{_control:0}),uS._38(335544320,73,{_placeholderChild:0}),uS._38(335544320,74,{_labelChild:0}),uS._38(603979776,75,{_errorChildren:1}),uS._38(603979776,76,{_hintChildren:1}),uS._38(603979776,77,{_prefixChildren:1}),uS._38(603979776,78,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(226,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,231)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,231)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,231)._onBlur()&&u}if("selectionChange"===n){t.selectedPaymentTerms(l.context.$implicit,e.value,1);u=!1!==t.checkCard(e.value,1,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(228,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(230,16384,null,0,xS.s,[xS.r],null,null),uS._17(231,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,79,{options:1}),uS._38(603979776,80,{optionGroups:1}),uS._38(335544320,81,{customTrigger:0}),uS._37(2048,[[72,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ks)),uS._17(238,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(242,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,cT.b,cT.a)),uS._17(243,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,82,{_control:0}),uS._38(335544320,83,{_placeholderChild:0}),uS._38(335544320,84,{_labelChild:0}),uS._38(603979776,85,{_errorChildren:1}),uS._38(603979776,86,{_hintChildren:1}),uS._38(603979776,87,{_prefixChildren:1}),uS._38(603979776,88,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(252,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!==uS._32(l,256)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,256)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,256)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(253,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(255,16384,null,0,xS.s,[xS.r],null,null),uS._17(256,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,89,{options:1}),uS._38(603979776,90,{optionGroups:1}),uS._38(335544320,91,{customTrigger:0}),uS._37(2048,[[82,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(263,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!==uS._32(l,264)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,264)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(264,8437760,[[89,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment made in Cash."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(267,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!==uS._32(l,268)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,268)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(268,8437760,[[89,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment made through Banking\n channels."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hs)),uS._17(274,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(278,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(279,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,106,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(282,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(283,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Gs)),uS._17(286,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(289,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(290,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ys)),uS._17(293,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,146,0,"10");l(n,147,0,"10");l(n,150,0,"manufacturing_contact_person_mobile_number");l(n,153,0,"Contact Person Mobile Number","tel");l(n,173,0,"3");l(n,174,0,"5");l(n,177,0,"person_stdcode");l(n,180,0,"STD Code","tel");l(n,201,0,"6");l(n,202,0,"8");l(n,205,0,"person_landline");l(n,208,0,"Contact Person Landline Number","tel");l(n,228,0,"manufacturing_payment_type");l(n,231,0,"Payment Terms");l(n,238,0,e.m_paymentList);l(n,253,0,"manufacturing_payment_mode");l(n,256,0,"Payment Mode");l(n,264,0,"Payment made in Cash.");l(n,268,0,"Payment made through Banking channels.");l(n,274,0,3==n.context.$implicit.get("manufacturing_payment_type").value);l(n,286,0,n.parent.context.$implicit.controls.main_raw_materials.controls.length>1);l(n,293,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[uS._32(n,15)._control.errorState,uS._32(n,15)._control.errorState,uS._32(n,15)._canLabelFloat,uS._32(n,15)._shouldLabelFloat(),uS._32(n,15)._hideControlPlaceholder(),uS._32(n,15)._control.disabled,uS._32(n,15)._control.focused,"primary"==uS._32(n,15).color,"accent"==uS._32(n,15).color,"warn"==uS._32(n,15).color,uS._32(n,15)._shouldForward("untouched"),uS._32(n,15)._shouldForward("touched"),uS._32(n,15)._shouldForward("pristine"),uS._32(n,15)._shouldForward("dirty"),uS._32(n,15)._shouldForward("valid"),uS._32(n,15)._shouldForward("invalid"),uS._32(n,15)._shouldForward("pending")]);l(n,24,1,[uS._32(n,29).ngClassUntouched,uS._32(n,29).ngClassTouched,uS._32(n,29).ngClassPristine,uS._32(n,29).ngClassDirty,uS._32(n,29).ngClassValid,uS._32(n,29).ngClassInvalid,uS._32(n,29).ngClassPending,uS._32(n,30)._isServer,uS._32(n,30).id,uS._32(n,30).placeholder,uS._32(n,30).disabled,uS._32(n,30).required,uS._32(n,30).readonly,uS._32(n,30)._ariaDescribedby||null,uS._32(n,30).errorState,uS._32(n,30).required.toString()]);l(n,34,1,[uS._32(n,35)._control.errorState,uS._32(n,35)._control.errorState,uS._32(n,35)._canLabelFloat,uS._32(n,35)._shouldLabelFloat(),uS._32(n,35)._hideControlPlaceholder(),uS._32(n,35)._control.disabled,uS._32(n,35)._control.focused,"primary"==uS._32(n,35).color,"accent"==uS._32(n,35).color,"warn"==uS._32(n,35).color,uS._32(n,35)._shouldForward("untouched"),uS._32(n,35)._shouldForward("touched"),uS._32(n,35)._shouldForward("pristine"),uS._32(n,35)._shouldForward("dirty"),uS._32(n,35)._shouldForward("valid"),uS._32(n,35)._shouldForward("invalid"),uS._32(n,35)._shouldForward("pending")]);l(n,44,1,[uS._32(n,49).ngClassUntouched,uS._32(n,49).ngClassTouched,uS._32(n,49).ngClassPristine,uS._32(n,49).ngClassDirty,uS._32(n,49).ngClassValid,uS._32(n,49).ngClassInvalid,uS._32(n,49).ngClassPending,uS._32(n,50)._isServer,uS._32(n,50).id,uS._32(n,50).placeholder,uS._32(n,50).disabled,uS._32(n,50).required,uS._32(n,50).readonly,uS._32(n,50)._ariaDescribedby||null,uS._32(n,50).errorState,uS._32(n,50).required.toString()]);l(n,54,1,[uS._32(n,55)._control.errorState,uS._32(n,55)._control.errorState,uS._32(n,55)._canLabelFloat,uS._32(n,55)._shouldLabelFloat(),uS._32(n,55)._hideControlPlaceholder(),uS._32(n,55)._control.disabled,uS._32(n,55)._control.focused,"primary"==uS._32(n,55).color,"accent"==uS._32(n,55).color,"warn"==uS._32(n,55).color,uS._32(n,55)._shouldForward("untouched"),uS._32(n,55)._shouldForward("touched"),uS._32(n,55)._shouldForward("pristine"),uS._32(n,55)._shouldForward("dirty"),uS._32(n,55)._shouldForward("valid"),uS._32(n,55)._shouldForward("invalid"),uS._32(n,55)._shouldForward("pending")]);l(n,64,1,[uS._32(n,68).ngClassUntouched,uS._32(n,68).ngClassTouched,uS._32(n,68).ngClassPristine,uS._32(n,68).ngClassDirty,uS._32(n,68).ngClassValid,uS._32(n,68).ngClassInvalid,uS._32(n,68).ngClassPending,uS._32(n,69).id,uS._32(n,69).tabIndex,uS._32(n,69)._ariaLabel,uS._32(n,69).ariaLabelledby,uS._32(n,69).required.toString(),uS._32(n,69).disabled.toString(),uS._32(n,69).errorState,uS._32(n,69).panelOpen?uS._32(n,69)._optionIds:null,uS._32(n,69).multiple,uS._32(n,69)._ariaDescribedby||null,uS._32(n,69)._getAriaActiveDescendant(),uS._32(n,69).disabled,uS._32(n,69).errorState,uS._32(n,69).required]);l(n,80,1,[uS._32(n,81)._control.errorState,uS._32(n,81)._control.errorState,uS._32(n,81)._canLabelFloat,uS._32(n,81)._shouldLabelFloat(),uS._32(n,81)._hideControlPlaceholder(),uS._32(n,81)._control.disabled,uS._32(n,81)._control.focused,"primary"==uS._32(n,81).color,"accent"==uS._32(n,81).color,"warn"==uS._32(n,81).color,uS._32(n,81)._shouldForward("untouched"),uS._32(n,81)._shouldForward("touched"),uS._32(n,81)._shouldForward("pristine"),uS._32(n,81)._shouldForward("dirty"),uS._32(n,81)._shouldForward("valid"),uS._32(n,81)._shouldForward("invalid"),uS._32(n,81)._shouldForward("pending")]);l(n,90,1,[uS._32(n,95).ngClassUntouched,uS._32(n,95).ngClassTouched,uS._32(n,95).ngClassPristine,uS._32(n,95).ngClassDirty,uS._32(n,95).ngClassValid,uS._32(n,95).ngClassInvalid,uS._32(n,95).ngClassPending,uS._32(n,96)._isServer,uS._32(n,96).id,uS._32(n,96).placeholder,uS._32(n,96).disabled,uS._32(n,96).required,uS._32(n,96).readonly,uS._32(n,96)._ariaDescribedby||null,uS._32(n,96).errorState,uS._32(n,96).required.toString()]);l(n,100,1,[uS._32(n,101)._control.errorState,uS._32(n,101)._control.errorState,uS._32(n,101)._canLabelFloat,uS._32(n,101)._shouldLabelFloat(),uS._32(n,101)._hideControlPlaceholder(),uS._32(n,101)._control.disabled,uS._32(n,101)._control.focused,"primary"==uS._32(n,101).color,"accent"==uS._32(n,101).color,"warn"==uS._32(n,101).color,uS._32(n,101)._shouldForward("untouched"),uS._32(n,101)._shouldForward("touched"),uS._32(n,101)._shouldForward("pristine"),uS._32(n,101)._shouldForward("dirty"),uS._32(n,101)._shouldForward("valid"),uS._32(n,101)._shouldForward("invalid"),uS._32(n,101)._shouldForward("pending")]);l(n,110,1,[uS._32(n,113).ngClassUntouched,uS._32(n,113).ngClassTouched,uS._32(n,113).ngClassPristine,uS._32(n,113).ngClassDirty,uS._32(n,113).ngClassValid,uS._32(n,113).ngClassInvalid,uS._32(n,113).ngClassPending,uS._32(n,114).id,uS._32(n,114).tabIndex,uS._32(n,114)._ariaLabel,uS._32(n,114).ariaLabelledby,uS._32(n,114).required.toString(),uS._32(n,114).disabled.toString(),uS._32(n,114).errorState,uS._32(n,114).panelOpen?uS._32(n,114)._optionIds:null,uS._32(n,114).multiple,uS._32(n,114)._ariaDescribedby||null,uS._32(n,114)._getAriaActiveDescendant(),uS._32(n,114).disabled,uS._32(n,114).errorState,uS._32(n,114).required]);l(n,121,0,uS._32(n,122)._getTabIndex(),uS._32(n,122).selected,uS._32(n,122).multiple,uS._32(n,122).active,uS._32(n,122).id,uS._32(n,122).selected.toString(),uS._32(n,122).disabled.toString(),uS._32(n,122).disabled);l(n,134,1,[uS._32(n,135)._control.errorState,uS._32(n,135)._control.errorState,uS._32(n,135)._canLabelFloat,uS._32(n,135)._shouldLabelFloat(),uS._32(n,135)._hideControlPlaceholder(),uS._32(n,135)._control.disabled,uS._32(n,135)._control.focused,"primary"==uS._32(n,135).color,"accent"==uS._32(n,135).color,"warn"==uS._32(n,135).color,uS._32(n,135)._shouldForward("untouched"),uS._32(n,135)._shouldForward("touched"),uS._32(n,135)._shouldForward("pristine"),uS._32(n,135)._shouldForward("dirty"),uS._32(n,135)._shouldForward("valid"),uS._32(n,135)._shouldForward("invalid"),uS._32(n,135)._shouldForward("pending")]);l(n,144,1,[uS._32(n,146).minlength?uS._32(n,146).minlength:null,uS._32(n,147).maxlength?uS._32(n,147).maxlength:null,uS._32(n,152).ngClassUntouched,uS._32(n,152).ngClassTouched,uS._32(n,152).ngClassPristine,uS._32(n,152).ngClassDirty,uS._32(n,152).ngClassValid,uS._32(n,152).ngClassInvalid,uS._32(n,152).ngClassPending,uS._32(n,153)._isServer,uS._32(n,153).id,uS._32(n,153).placeholder,uS._32(n,153).disabled,uS._32(n,153).required,uS._32(n,153).readonly,uS._32(n,153)._ariaDescribedby||null,uS._32(n,153).errorState,uS._32(n,153).required.toString()]);l(n,156,0,uS._32(n,157).id);l(n,161,1,[uS._32(n,162)._control.errorState,uS._32(n,162)._control.errorState,uS._32(n,162)._canLabelFloat,uS._32(n,162)._shouldLabelFloat(),uS._32(n,162)._hideControlPlaceholder(),uS._32(n,162)._control.disabled,uS._32(n,162)._control.focused,"primary"==uS._32(n,162).color,"accent"==uS._32(n,162).color,"warn"==uS._32(n,162).color,uS._32(n,162)._shouldForward("untouched"),uS._32(n,162)._shouldForward("touched"),uS._32(n,162)._shouldForward("pristine"),uS._32(n,162)._shouldForward("dirty"),uS._32(n,162)._shouldForward("valid"),uS._32(n,162)._shouldForward("invalid"),uS._32(n,162)._shouldForward("pending")]);l(n,171,1,[uS._32(n,173).minlength?uS._32(n,173).minlength:null,uS._32(n,174).maxlength?uS._32(n,174).maxlength:null,uS._32(n,179).ngClassUntouched,uS._32(n,179).ngClassTouched,uS._32(n,179).ngClassPristine,uS._32(n,179).ngClassDirty,uS._32(n,179).ngClassValid,uS._32(n,179).ngClassInvalid,uS._32(n,179).ngClassPending,uS._32(n,180)._isServer,uS._32(n,180).id,uS._32(n,180).placeholder,uS._32(n,180).disabled,uS._32(n,180).required,uS._32(n,180).readonly,uS._32(n,180)._ariaDescribedby||null,uS._32(n,180).errorState,uS._32(n,180).required.toString()]);l(n,183,0,uS._32(n,184).id);l(n,189,1,[uS._32(n,190)._control.errorState,uS._32(n,190)._control.errorState,uS._32(n,190)._canLabelFloat,uS._32(n,190)._shouldLabelFloat(),uS._32(n,190)._hideControlPlaceholder(),uS._32(n,190)._control.disabled,uS._32(n,190)._control.focused,"primary"==uS._32(n,190).color,"accent"==uS._32(n,190).color,"warn"==uS._32(n,190).color,uS._32(n,190)._shouldForward("untouched"),uS._32(n,190)._shouldForward("touched"),uS._32(n,190)._shouldForward("pristine"),uS._32(n,190)._shouldForward("dirty"),uS._32(n,190)._shouldForward("valid"),uS._32(n,190)._shouldForward("invalid"),uS._32(n,190)._shouldForward("pending")]);l(n,199,1,[uS._32(n,201).minlength?uS._32(n,201).minlength:null,uS._32(n,202).maxlength?uS._32(n,202).maxlength:null,uS._32(n,207).ngClassUntouched,uS._32(n,207).ngClassTouched,uS._32(n,207).ngClassPristine,uS._32(n,207).ngClassDirty,uS._32(n,207).ngClassValid,uS._32(n,207).ngClassInvalid,uS._32(n,207).ngClassPending,uS._32(n,208)._isServer,uS._32(n,208).id,uS._32(n,208).placeholder,uS._32(n,208).disabled,uS._32(n,208).required,uS._32(n,208).readonly,uS._32(n,208)._ariaDescribedby||null,uS._32(n,208).errorState,uS._32(n,208).required.toString()]);l(n,211,0,uS._32(n,212).id);l(n,216,1,[uS._32(n,217)._control.errorState,uS._32(n,217)._control.errorState,uS._32(n,217)._canLabelFloat,uS._32(n,217)._shouldLabelFloat(),uS._32(n,217)._hideControlPlaceholder(),uS._32(n,217)._control.disabled,uS._32(n,217)._control.focused,"primary"==uS._32(n,217).color,"accent"==uS._32(n,217).color,"warn"==uS._32(n,217).color,uS._32(n,217)._shouldForward("untouched"),uS._32(n,217)._shouldForward("touched"),uS._32(n,217)._shouldForward("pristine"),uS._32(n,217)._shouldForward("dirty"),uS._32(n,217)._shouldForward("valid"),uS._32(n,217)._shouldForward("invalid"),uS._32(n,217)._shouldForward("pending")]);l(n,226,1,[uS._32(n,230).ngClassUntouched,uS._32(n,230).ngClassTouched,uS._32(n,230).ngClassPristine,uS._32(n,230).ngClassDirty,uS._32(n,230).ngClassValid,uS._32(n,230).ngClassInvalid,uS._32(n,230).ngClassPending,uS._32(n,231).id,uS._32(n,231).tabIndex,uS._32(n,231)._ariaLabel,uS._32(n,231).ariaLabelledby,uS._32(n,231).required.toString(),uS._32(n,231).disabled.toString(),uS._32(n,231).errorState,uS._32(n,231).panelOpen?uS._32(n,231)._optionIds:null,uS._32(n,231).multiple,uS._32(n,231)._ariaDescribedby||null,uS._32(n,231)._getAriaActiveDescendant(),uS._32(n,231).disabled,uS._32(n,231).errorState,uS._32(n,231).required]);l(n,242,1,[uS._32(n,243)._control.errorState,uS._32(n,243)._control.errorState,uS._32(n,243)._canLabelFloat,uS._32(n,243)._shouldLabelFloat(),uS._32(n,243)._hideControlPlaceholder(),uS._32(n,243)._control.disabled,uS._32(n,243)._control.focused,"primary"==uS._32(n,243).color,"accent"==uS._32(n,243).color,"warn"==uS._32(n,243).color,uS._32(n,243)._shouldForward("untouched"),uS._32(n,243)._shouldForward("touched"),uS._32(n,243)._shouldForward("pristine"),uS._32(n,243)._shouldForward("dirty"),uS._32(n,243)._shouldForward("valid"),uS._32(n,243)._shouldForward("invalid"),uS._32(n,243)._shouldForward("pending")]);l(n,252,1,[uS._32(n,255).ngClassUntouched,uS._32(n,255).ngClassTouched,uS._32(n,255).ngClassPristine,uS._32(n,255).ngClassDirty,uS._32(n,255).ngClassValid,uS._32(n,255).ngClassInvalid,uS._32(n,255).ngClassPending,uS._32(n,256).id,uS._32(n,256).tabIndex,uS._32(n,256)._ariaLabel,uS._32(n,256).ariaLabelledby,uS._32(n,256).required.toString(),uS._32(n,256).disabled.toString(),uS._32(n,256).errorState,uS._32(n,256).panelOpen?uS._32(n,256)._optionIds:null,uS._32(n,256).multiple,uS._32(n,256)._ariaDescribedby||null,uS._32(n,256)._getAriaActiveDescendant(),uS._32(n,256).disabled,uS._32(n,256).errorState,uS._32(n,256).required]);l(n,263,0,uS._32(n,264)._getTabIndex(),uS._32(n,264).selected,uS._32(n,264).multiple,uS._32(n,264).active,uS._32(n,264).id,uS._32(n,264).selected.toString(),uS._32(n,264).disabled.toString(),uS._32(n,264).disabled);l(n,267,0,uS._32(n,268)._getTabIndex(),uS._32(n,268).selected,uS._32(n,268).multiple,uS._32(n,268).active,uS._32(n,268).id,uS._32(n,268).selected.toString(),uS._32(n,268).disabled.toString(),uS._32(n,268).disabled)})}function Qs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,107,{_control:0}),uS._38(335544320,108,{_placeholderChild:0}),uS._38(335544320,109,{_labelChild:0}),uS._38(603979776,110,{_errorChildren:1}),uS._38(603979776,111,{_hintChildren:1}),uS._38(603979776,112,{_prefixChildren:1}),uS._38(603979776,113,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(15,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.n]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[107,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).maxlength?uS._32(n,15).maxlength:null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()])})}function Js(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zs)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Qs)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending)})}function Zs(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Manufacturing Product Details"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(11,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(13,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Js)),uS._17(16,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending)})}function Xs(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[121,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function lc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[138,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function nc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[155,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ec(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,158,{_control:0}),uS._38(335544320,159,{_placeholderChild:0}),uS._38(335544320,160,{_labelChild:0}),uS._38(603979776,161,{_errorChildren:1}),uS._38(603979776,162,{_hintChildren:1}),uS._38(603979776,163,{_prefixChildren:1}),uS._38(603979776,164,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[158,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function uc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[193,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function tc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(3,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(7,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,206,{_control:0}),uS._38(335544320,207,{_placeholderChild:0}),uS._38(335544320,208,{_labelChild:0}),uS._38(603979776,209,{_errorChildren:1}),uS._38(603979776,210,{_hintChildren:1}),uS._38(603979776,211,{_prefixChildren:1}),uS._38(603979776,212,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(17,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(18,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[206,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(28,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,213,{_control:0}),uS._38(335544320,214,{_placeholderChild:0}),uS._38(335544320,215,{_labelChild:0}),uS._38(603979776,216,{_errorChildren:1}),uS._38(603979776,217,{_hintChildren:1}),uS._38(603979776,218,{_prefixChildren:1}),uS._38(603979776,219,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,44)._onInput()&&u}return u},null,null)),uS._17(38,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(39,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(41,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(43,16384,null,0,xS.s,[xS.r],null,null),uS._17(44,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[213,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,7)._control.errorState,uS._32(n,7)._control.errorState,uS._32(n,7)._canLabelFloat,uS._32(n,7)._shouldLabelFloat(),uS._32(n,7)._hideControlPlaceholder(),uS._32(n,7)._control.disabled,uS._32(n,7)._control.focused,"primary"==uS._32(n,7).color,"accent"==uS._32(n,7).color,"warn"==uS._32(n,7).color,uS._32(n,7)._shouldForward("untouched"),uS._32(n,7)._shouldForward("touched"),uS._32(n,7)._shouldForward("pristine"),uS._32(n,7)._shouldForward("dirty"),uS._32(n,7)._shouldForward("valid"),uS._32(n,7)._shouldForward("invalid"),uS._32(n,7)._shouldForward("pending")]);l(n,16,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()]);l(n,27,1,[uS._32(n,28)._control.errorState,uS._32(n,28)._control.errorState,uS._32(n,28)._canLabelFloat,uS._32(n,28)._shouldLabelFloat(),uS._32(n,28)._hideControlPlaceholder(),uS._32(n,28)._control.disabled,uS._32(n,28)._control.focused,"primary"==uS._32(n,28).color,"accent"==uS._32(n,28).color,"warn"==uS._32(n,28).color,uS._32(n,28)._shouldForward("untouched"),uS._32(n,28)._shouldForward("touched"),uS._32(n,28)._shouldForward("pristine"),uS._32(n,28)._shouldForward("dirty"),uS._32(n,28)._shouldForward("valid"),uS._32(n,28)._shouldForward("invalid"),uS._32(n,28)._shouldForward("pending")]);l(n,37,1,[uS._32(n,43).ngClassUntouched,uS._32(n,43).ngClassTouched,uS._32(n,43).ngClassPristine,uS._32(n,43).ngClassDirty,uS._32(n,43).ngClassValid,uS._32(n,43).ngClassInvalid,uS._32(n,43).ngClassPending,uS._32(n,44)._isServer,uS._32(n,44).id,uS._32(n,44).placeholder,uS._32(n,44).disabled,uS._32(n,44).required,uS._32(n,44).readonly,uS._32(n,44)._ariaDescribedby||null,uS._32(n,44).errorState,uS._32(n,44).required.toString()])})}function ac(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function ic(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function oc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,304,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Trading Product #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,275,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,271,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(15,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,114,{_control:0}),uS._38(335544320,115,{_placeholderChild:0}),uS._38(335544320,116,{_labelChild:0}),uS._38(603979776,117,{_errorChildren:1}),uS._38(603979776,118,{_hintChildren:1}),uS._38(603979776,119,{_prefixChildren:1}),uS._38(603979776,120,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,29)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(26,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(28,16384,null,0,xS.s,[xS.r],null,null),uS._17(29,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,121,{options:1}),uS._38(603979776,122,{optionGroups:1}),uS._38(335544320,123,{customTrigger:0}),uS._37(2048,[[114,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Xs)),uS._17(36,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(41,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,124,{_control:0}),uS._38(335544320,125,{_placeholderChild:0}),uS._38(335544320,126,{_labelChild:0}),uS._38(603979776,127,{_errorChildren:1}),uS._38(603979776,128,{_hintChildren:1}),uS._38(603979776,129,{_prefixChildren:1}),uS._38(603979776,130,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,56)._onInput()&&u}return u},null,null)),uS._17(51,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(53,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(55,16384,null,0,xS.s,[xS.r],null,null),uS._17(56,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[124,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(61,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,131,{_control:0}),uS._38(335544320,132,{_placeholderChild:0}),uS._38(335544320,133,{_labelChild:0}),uS._38(603979776,134,{_errorChildren:1}),uS._38(603979776,135,{_hintChildren:1}),uS._38(603979776,136,{_prefixChildren:1}),uS._38(603979776,137,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,75)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(72,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(74,16384,null,0,xS.s,[xS.r],null,null),uS._17(75,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,138,{options:1}),uS._38(603979776,139,{optionGroups:1}),uS._38(335544320,140,{customTrigger:0}),uS._37(2048,[[131,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,lc)),uS._17(82,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(87,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,141,{_control:0}),uS._38(335544320,142,{_placeholderChild:0}),uS._38(335544320,143,{_labelChild:0}),uS._38(603979776,144,{_errorChildren:1}),uS._38(603979776,145,{_hintChildren:1}),uS._38(603979776,146,{_prefixChildren:1}),uS._38(603979776,147,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,104)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,104)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,104)._onInput()&&u}return u},null,null)),uS._17(97,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(98,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(101,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(103,16384,null,0,xS.s,[xS.r],null,null),uS._17(104,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[141,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(109,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,148,{_control:0}),uS._38(335544320,149,{_placeholderChild:0}),uS._38(335544320,150,{_labelChild:0}),uS._38(603979776,151,{_errorChildren:1}),uS._38(603979776,152,{_hintChildren:1}),uS._38(603979776,153,{_prefixChildren:1}),uS._38(603979776,154,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,122)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,122)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,122)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,2)&&u}return u},LO.b,LO.a)),uS._17(119,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(121,16384,null,0,xS.s,[xS.r],null,null),uS._17(122,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,155,{options:1}),uS._38(603979776,156,{optionGroups:1}),uS._38(335544320,157,{customTrigger:0}),uS._37(2048,[[148,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,130)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,130)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(130,8437760,[[155,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,nc)),uS._17(134,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ec)),uS._17(140,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(143,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,165,{_control:0}),uS._38(335544320,166,{_placeholderChild:0}),uS._38(335544320,167,{_labelChild:0}),uS._38(603979776,168,{_errorChildren:1}),uS._38(603979776,169,{_hintChildren:1}),uS._38(603979776,170,{_prefixChildren:1}),uS._38(603979776,171,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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"],["minlength","10"],["placeholder","Contact Person Mobile Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,153)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,153).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,153)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,153)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,161)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,161)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,161)._onInput()&&u}return u},null,null)),uS._17(153,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(154,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(155,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(158,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(160,16384,null,0,xS.s,[xS.r],null,null),uS._17(161,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[165,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(164,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(165,16384,[[168,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid Mobile Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(169,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,cT.b,cT.a)),uS._17(170,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,172,{_control:0}),uS._38(335544320,173,{_placeholderChild:0}),uS._38(335544320,174,{_labelChild:0}),uS._38(603979776,175,{_errorChildren:1}),uS._38(603979776,176,{_hintChildren:1}),uS._38(603979776,177,{_prefixChildren:1}),uS._38(603979776,178,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(179,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,180)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,180).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,180)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,180)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,188)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,188)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,188)._onInput()&&u}return u},null,null)),uS._17(180,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(181,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(182,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(185,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(187,16384,null,0,xS.s,[xS.r],null,null),uS._17(188,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[172,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(191,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(192,16384,[[175,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid STD Code Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(197,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,cT.b,cT.a)),uS._17(198,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,179,{_control:0}),uS._38(335544320,180,{_placeholderChild:0}),uS._38(335544320,181,{_labelChild:0}),uS._38(603979776,182,{_errorChildren:1}),uS._38(603979776,183,{_hintChildren:1}),uS._38(603979776,184,{_prefixChildren:1}),uS._38(603979776,185,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(207,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Contact Person Landline Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,208)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,208).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,208)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,208)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,216)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,216)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,216)._onInput()&&u}return u},null,null)),uS._17(208,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(209,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(210,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(213,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(215,16384,null,0,xS.s,[xS.r],null,null),uS._17(216,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[179,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(219,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(220,16384,[[182,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid LandLine Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(224,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,cT.b,cT.a)),uS._17(225,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,186,{_control:0}),uS._38(335544320,187,{_placeholderChild:0}),uS._38(335544320,188,{_labelChild:0}),uS._38(603979776,189,{_errorChildren:1}),uS._38(603979776,190,{_hintChildren:1}),uS._38(603979776,191,{_prefixChildren:1}),uS._38(603979776,192,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(234,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,239)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,239)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,239)._onBlur()&&u}if("selectionChange"===n){t.selectedPaymentTerms(l.context.$implicit,e.value,2);u=!1!==t.checkCard(e.value,2,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(236,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(238,16384,null,0,xS.s,[xS.r],null,null),uS._17(239,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,193,{options:1}),uS._38(603979776,194,{optionGroups:1}),uS._38(335544320,195,{customTrigger:0}),uS._37(2048,[[186,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,uc)),uS._17(246,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(250,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,cT.b,cT.a)),uS._17(251,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,196,{_control:0}),uS._38(335544320,197,{_placeholderChild:0}),uS._38(335544320,198,{_labelChild:0}),uS._38(603979776,199,{_errorChildren:1}),uS._38(603979776,200,{_hintChildren:1}),uS._38(603979776,201,{_prefixChildren:1}),uS._38(603979776,202,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(260,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!==uS._32(l,264)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,264)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,264)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(261,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(263,16384,null,0,xS.s,[xS.r],null,null),uS._17(264,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,203,{options:1}),uS._38(603979776,204,{optionGroups:1}),uS._38(335544320,205,{customTrigger:0}),uS._37(2048,[[196,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(271,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!==uS._32(l,272)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,272)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(272,8437760,[[203,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment made in Cash."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(275,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!==uS._32(l,276)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,276)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(276,8437760,[[203,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment made through Banking\n channels."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,tc)),uS._17(282,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(286,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(287,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,220,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(290,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(291,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ac)),uS._17(294,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(297,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(298,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ic)),uS._17(301,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,154,0,"10");l(n,155,0,"10");l(n,158,0,"trade_product_contact_person_mobile_number");l(n,161,0,"Contact Person Mobile Number","tel");l(n,181,0,"3");l(n,182,0,"5");l(n,185,0,"person_stdcode");l(n,188,0,"STD Code","tel");l(n,209,0,"6");l(n,210,0,"8");l(n,213,0,"person_landline");l(n,216,0,"Contact Person Landline Number","tel");l(n,236,0,"trade_product_payment_type");l(n,239,0,"Payment Terms");l(n,246,0,e.m_paymentList);l(n,261,0,"trade_product_payment_mode");l(n,264,0,"Payment Mode");l(n,272,0,"Payment made in Cash.");l(n,276,0,"Payment made through Banking channels.");l(n,282,0,3==n.context.$implicit.get("trade_product_payment_type").value);l(n,294,0,n.parent.context.$implicit.controls.trading_products.controls.length>1);l(n,301,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[uS._32(n,15)._control.errorState,uS._32(n,15)._control.errorState,uS._32(n,15)._canLabelFloat,uS._32(n,15)._shouldLabelFloat(),uS._32(n,15)._hideControlPlaceholder(),uS._32(n,15)._control.disabled,uS._32(n,15)._control.focused,"primary"==uS._32(n,15).color,"accent"==uS._32(n,15).color,"warn"==uS._32(n,15).color,uS._32(n,15)._shouldForward("untouched"),uS._32(n,15)._shouldForward("touched"),uS._32(n,15)._shouldForward("pristine"),uS._32(n,15)._shouldForward("dirty"),uS._32(n,15)._shouldForward("valid"),uS._32(n,15)._shouldForward("invalid"),uS._32(n,15)._shouldForward("pending")]);l(n,24,1,[uS._32(n,28).ngClassUntouched,uS._32(n,28).ngClassTouched,uS._32(n,28).ngClassPristine,uS._32(n,28).ngClassDirty,uS._32(n,28).ngClassValid,uS._32(n,28).ngClassInvalid,uS._32(n,28).ngClassPending,uS._32(n,29).id,uS._32(n,29).tabIndex,uS._32(n,29)._ariaLabel,uS._32(n,29).ariaLabelledby,uS._32(n,29).required.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).errorState,uS._32(n,29).panelOpen?uS._32(n,29)._optionIds:null,uS._32(n,29).multiple,uS._32(n,29)._ariaDescribedby||null,uS._32(n,29)._getAriaActiveDescendant(),uS._32(n,29).disabled,uS._32(n,29).errorState,uS._32(n,29).required]);l(n,40,1,[uS._32(n,41)._control.errorState,uS._32(n,41)._control.errorState,uS._32(n,41)._canLabelFloat,uS._32(n,41)._shouldLabelFloat(),uS._32(n,41)._hideControlPlaceholder(),uS._32(n,41)._control.disabled,uS._32(n,41)._control.focused,"primary"==uS._32(n,41).color,"accent"==uS._32(n,41).color,"warn"==uS._32(n,41).color,uS._32(n,41)._shouldForward("untouched"),uS._32(n,41)._shouldForward("touched"),uS._32(n,41)._shouldForward("pristine"),uS._32(n,41)._shouldForward("dirty"),uS._32(n,41)._shouldForward("valid"),uS._32(n,41)._shouldForward("invalid"),uS._32(n,41)._shouldForward("pending")]);l(n,50,1,[uS._32(n,55).ngClassUntouched,uS._32(n,55).ngClassTouched,uS._32(n,55).ngClassPristine,uS._32(n,55).ngClassDirty,uS._32(n,55).ngClassValid,uS._32(n,55).ngClassInvalid,uS._32(n,55).ngClassPending,uS._32(n,56)._isServer,uS._32(n,56).id,uS._32(n,56).placeholder,uS._32(n,56).disabled,uS._32(n,56).required,uS._32(n,56).readonly,uS._32(n,56)._ariaDescribedby||null,uS._32(n,56).errorState,uS._32(n,56).required.toString()]);l(n,60,1,[uS._32(n,61)._control.errorState,uS._32(n,61)._control.errorState,uS._32(n,61)._canLabelFloat,uS._32(n,61)._shouldLabelFloat(),uS._32(n,61)._hideControlPlaceholder(),uS._32(n,61)._control.disabled,uS._32(n,61)._control.focused,"primary"==uS._32(n,61).color,"accent"==uS._32(n,61).color,"warn"==uS._32(n,61).color,uS._32(n,61)._shouldForward("untouched"),uS._32(n,61)._shouldForward("touched"),uS._32(n,61)._shouldForward("pristine"),uS._32(n,61)._shouldForward("dirty"),uS._32(n,61)._shouldForward("valid"),uS._32(n,61)._shouldForward("invalid"),uS._32(n,61)._shouldForward("pending")]);l(n,70,1,[uS._32(n,74).ngClassUntouched,uS._32(n,74).ngClassTouched,uS._32(n,74).ngClassPristine,uS._32(n,74).ngClassDirty,uS._32(n,74).ngClassValid,uS._32(n,74).ngClassInvalid,uS._32(n,74).ngClassPending,uS._32(n,75).id,uS._32(n,75).tabIndex,uS._32(n,75)._ariaLabel,uS._32(n,75).ariaLabelledby,uS._32(n,75).required.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).errorState,uS._32(n,75).panelOpen?uS._32(n,75)._optionIds:null,uS._32(n,75).multiple,uS._32(n,75)._ariaDescribedby||null,uS._32(n,75)._getAriaActiveDescendant(),uS._32(n,75).disabled,uS._32(n,75).errorState,uS._32(n,75).required]);l(n,86,1,[uS._32(n,87)._control.errorState,uS._32(n,87)._control.errorState,uS._32(n,87)._canLabelFloat,uS._32(n,87)._shouldLabelFloat(),uS._32(n,87)._hideControlPlaceholder(),uS._32(n,87)._control.disabled,uS._32(n,87)._control.focused,"primary"==uS._32(n,87).color,"accent"==uS._32(n,87).color,"warn"==uS._32(n,87).color,uS._32(n,87)._shouldForward("untouched"),uS._32(n,87)._shouldForward("touched"),uS._32(n,87)._shouldForward("pristine"),uS._32(n,87)._shouldForward("dirty"),uS._32(n,87)._shouldForward("valid"),uS._32(n,87)._shouldForward("invalid"),uS._32(n,87)._shouldForward("pending")]);l(n,96,1,[uS._32(n,98).maxlength?uS._32(n,98).maxlength:null,uS._32(n,103).ngClassUntouched,uS._32(n,103).ngClassTouched,uS._32(n,103).ngClassPristine,uS._32(n,103).ngClassDirty,uS._32(n,103).ngClassValid,uS._32(n,103).ngClassInvalid,uS._32(n,103).ngClassPending,uS._32(n,104)._isServer,uS._32(n,104).id,uS._32(n,104).placeholder,uS._32(n,104).disabled,uS._32(n,104).required,uS._32(n,104).readonly,uS._32(n,104)._ariaDescribedby||null,uS._32(n,104).errorState,uS._32(n,104).required.toString()]);l(n,108,1,[uS._32(n,109)._control.errorState,uS._32(n,109)._control.errorState,uS._32(n,109)._canLabelFloat,uS._32(n,109)._shouldLabelFloat(),uS._32(n,109)._hideControlPlaceholder(),uS._32(n,109)._control.disabled,uS._32(n,109)._control.focused,"primary"==uS._32(n,109).color,"accent"==uS._32(n,109).color,"warn"==uS._32(n,109).color,uS._32(n,109)._shouldForward("untouched"),uS._32(n,109)._shouldForward("touched"),uS._32(n,109)._shouldForward("pristine"),uS._32(n,109)._shouldForward("dirty"),uS._32(n,109)._shouldForward("valid"),uS._32(n,109)._shouldForward("invalid"),uS._32(n,109)._shouldForward("pending")]);l(n,118,1,[uS._32(n,121).ngClassUntouched,uS._32(n,121).ngClassTouched,uS._32(n,121).ngClassPristine,uS._32(n,121).ngClassDirty,uS._32(n,121).ngClassValid,uS._32(n,121).ngClassInvalid,uS._32(n,121).ngClassPending,uS._32(n,122).id,uS._32(n,122).tabIndex,uS._32(n,122)._ariaLabel,uS._32(n,122).ariaLabelledby,uS._32(n,122).required.toString(),uS._32(n,122).disabled.toString(),uS._32(n,122).errorState,uS._32(n,122).panelOpen?uS._32(n,122)._optionIds:null,uS._32(n,122).multiple,uS._32(n,122)._ariaDescribedby||null,uS._32(n,122)._getAriaActiveDescendant(),uS._32(n,122).disabled,uS._32(n,122).errorState,uS._32(n,122).required]);l(n,129,0,uS._32(n,130)._getTabIndex(),uS._32(n,130).selected,uS._32(n,130).multiple,uS._32(n,130).active,uS._32(n,130).id,uS._32(n,130).selected.toString(),uS._32(n,130).disabled.toString(),uS._32(n,130).disabled);l(n,142,1,[uS._32(n,143)._control.errorState,uS._32(n,143)._control.errorState,uS._32(n,143)._canLabelFloat,uS._32(n,143)._shouldLabelFloat(),uS._32(n,143)._hideControlPlaceholder(),uS._32(n,143)._control.disabled,uS._32(n,143)._control.focused,"primary"==uS._32(n,143).color,"accent"==uS._32(n,143).color,"warn"==uS._32(n,143).color,uS._32(n,143)._shouldForward("untouched"),uS._32(n,143)._shouldForward("touched"),uS._32(n,143)._shouldForward("pristine"),uS._32(n,143)._shouldForward("dirty"),uS._32(n,143)._shouldForward("valid"),uS._32(n,143)._shouldForward("invalid"),uS._32(n,143)._shouldForward("pending")]);l(n,152,1,[uS._32(n,154).minlength?uS._32(n,154).minlength:null,uS._32(n,155).maxlength?uS._32(n,155).maxlength:null,uS._32(n,160).ngClassUntouched,uS._32(n,160).ngClassTouched,uS._32(n,160).ngClassPristine,uS._32(n,160).ngClassDirty,uS._32(n,160).ngClassValid,uS._32(n,160).ngClassInvalid,uS._32(n,160).ngClassPending,uS._32(n,161)._isServer,uS._32(n,161).id,uS._32(n,161).placeholder,uS._32(n,161).disabled,uS._32(n,161).required,uS._32(n,161).readonly,uS._32(n,161)._ariaDescribedby||null,uS._32(n,161).errorState,uS._32(n,161).required.toString()]);l(n,164,0,uS._32(n,165).id);l(n,169,1,[uS._32(n,170)._control.errorState,uS._32(n,170)._control.errorState,uS._32(n,170)._canLabelFloat,uS._32(n,170)._shouldLabelFloat(),uS._32(n,170)._hideControlPlaceholder(),uS._32(n,170)._control.disabled,uS._32(n,170)._control.focused,"primary"==uS._32(n,170).color,"accent"==uS._32(n,170).color,"warn"==uS._32(n,170).color,uS._32(n,170)._shouldForward("untouched"),uS._32(n,170)._shouldForward("touched"),uS._32(n,170)._shouldForward("pristine"),uS._32(n,170)._shouldForward("dirty"),uS._32(n,170)._shouldForward("valid"),uS._32(n,170)._shouldForward("invalid"),uS._32(n,170)._shouldForward("pending")]);l(n,179,1,[uS._32(n,181).minlength?uS._32(n,181).minlength:null,uS._32(n,182).maxlength?uS._32(n,182).maxlength:null,uS._32(n,187).ngClassUntouched,uS._32(n,187).ngClassTouched,uS._32(n,187).ngClassPristine,uS._32(n,187).ngClassDirty,uS._32(n,187).ngClassValid,uS._32(n,187).ngClassInvalid,uS._32(n,187).ngClassPending,uS._32(n,188)._isServer,uS._32(n,188).id,uS._32(n,188).placeholder,uS._32(n,188).disabled,uS._32(n,188).required,uS._32(n,188).readonly,uS._32(n,188)._ariaDescribedby||null,uS._32(n,188).errorState,uS._32(n,188).required.toString()]);l(n,191,0,uS._32(n,192).id);l(n,197,1,[uS._32(n,198)._control.errorState,uS._32(n,198)._control.errorState,uS._32(n,198)._canLabelFloat,uS._32(n,198)._shouldLabelFloat(),uS._32(n,198)._hideControlPlaceholder(),uS._32(n,198)._control.disabled,uS._32(n,198)._control.focused,"primary"==uS._32(n,198).color,"accent"==uS._32(n,198).color,"warn"==uS._32(n,198).color,uS._32(n,198)._shouldForward("untouched"),uS._32(n,198)._shouldForward("touched"),uS._32(n,198)._shouldForward("pristine"),uS._32(n,198)._shouldForward("dirty"),uS._32(n,198)._shouldForward("valid"),uS._32(n,198)._shouldForward("invalid"),uS._32(n,198)._shouldForward("pending")]);l(n,207,1,[uS._32(n,209).minlength?uS._32(n,209).minlength:null,uS._32(n,210).maxlength?uS._32(n,210).maxlength:null,uS._32(n,215).ngClassUntouched,uS._32(n,215).ngClassTouched,uS._32(n,215).ngClassPristine,uS._32(n,215).ngClassDirty,uS._32(n,215).ngClassValid,uS._32(n,215).ngClassInvalid,uS._32(n,215).ngClassPending,uS._32(n,216)._isServer,uS._32(n,216).id,uS._32(n,216).placeholder,uS._32(n,216).disabled,uS._32(n,216).required,uS._32(n,216).readonly,uS._32(n,216)._ariaDescribedby||null,uS._32(n,216).errorState,uS._32(n,216).required.toString()]);l(n,219,0,uS._32(n,220).id);l(n,224,1,[uS._32(n,225)._control.errorState,uS._32(n,225)._control.errorState,uS._32(n,225)._canLabelFloat,uS._32(n,225)._shouldLabelFloat(),uS._32(n,225)._hideControlPlaceholder(),uS._32(n,225)._control.disabled,uS._32(n,225)._control.focused,"primary"==uS._32(n,225).color,"accent"==uS._32(n,225).color,"warn"==uS._32(n,225).color,uS._32(n,225)._shouldForward("untouched"),uS._32(n,225)._shouldForward("touched"),uS._32(n,225)._shouldForward("pristine"),uS._32(n,225)._shouldForward("dirty"),uS._32(n,225)._shouldForward("valid"),uS._32(n,225)._shouldForward("invalid"),uS._32(n,225)._shouldForward("pending")]);l(n,234,1,[uS._32(n,238).ngClassUntouched,uS._32(n,238).ngClassTouched,uS._32(n,238).ngClassPristine,uS._32(n,238).ngClassDirty,uS._32(n,238).ngClassValid,uS._32(n,238).ngClassInvalid,uS._32(n,238).ngClassPending,uS._32(n,239).id,uS._32(n,239).tabIndex,uS._32(n,239)._ariaLabel,uS._32(n,239).ariaLabelledby,uS._32(n,239).required.toString(),uS._32(n,239).disabled.toString(),uS._32(n,239).errorState,uS._32(n,239).panelOpen?uS._32(n,239)._optionIds:null,uS._32(n,239).multiple,uS._32(n,239)._ariaDescribedby||null,uS._32(n,239)._getAriaActiveDescendant(),uS._32(n,239).disabled,uS._32(n,239).errorState,uS._32(n,239).required]);l(n,250,1,[uS._32(n,251)._control.errorState,uS._32(n,251)._control.errorState,uS._32(n,251)._canLabelFloat,uS._32(n,251)._shouldLabelFloat(),uS._32(n,251)._hideControlPlaceholder(),uS._32(n,251)._control.disabled,uS._32(n,251)._control.focused,"primary"==uS._32(n,251).color,"accent"==uS._32(n,251).color,"warn"==uS._32(n,251).color,uS._32(n,251)._shouldForward("untouched"),uS._32(n,251)._shouldForward("touched"),uS._32(n,251)._shouldForward("pristine"),uS._32(n,251)._shouldForward("dirty"),uS._32(n,251)._shouldForward("valid"),uS._32(n,251)._shouldForward("invalid"),uS._32(n,251)._shouldForward("pending")]);l(n,260,1,[uS._32(n,263).ngClassUntouched,uS._32(n,263).ngClassTouched,uS._32(n,263).ngClassPristine,uS._32(n,263).ngClassDirty,uS._32(n,263).ngClassValid,uS._32(n,263).ngClassInvalid,uS._32(n,263).ngClassPending,uS._32(n,264).id,uS._32(n,264).tabIndex,uS._32(n,264)._ariaLabel,uS._32(n,264).ariaLabelledby,uS._32(n,264).required.toString(),uS._32(n,264).disabled.toString(),uS._32(n,264).errorState,uS._32(n,264).panelOpen?uS._32(n,264)._optionIds:null,uS._32(n,264).multiple,uS._32(n,264)._ariaDescribedby||null,uS._32(n,264)._getAriaActiveDescendant(),uS._32(n,264).disabled,uS._32(n,264).errorState,uS._32(n,264).required]);l(n,271,0,uS._32(n,272)._getTabIndex(),uS._32(n,272).selected,uS._32(n,272).multiple,uS._32(n,272).active,uS._32(n,272).id,uS._32(n,272).selected.toString(),uS._32(n,272).disabled.toString(),uS._32(n,272).disabled);l(n,275,0,uS._32(n,276)._getTabIndex(),uS._32(n,276).selected,uS._32(n,276).multiple,uS._32(n,276).active,uS._32(n,276).id,uS._32(n,276).selected.toString(),uS._32(n,276).disabled.toString(),uS._32(n,276).disabled)})}function rc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,221,{_control:0}),uS._38(335544320,222,{_placeholderChild:0}),uS._38(335544320,223,{_labelChild:0}),uS._38(603979776,224,{_errorChildren:1}),uS._38(603979776,225,{_hintChildren:1}),uS._38(603979776,226,{_prefixChildren:1}),uS._38(603979776,227,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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 Purchase 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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[221,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,16,0,"trading_products_total_payments_percent_on_credit");l(n,19,0,"What % of Total Purchase is done on Credit?","number")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()])})}function _c(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,oc)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rc)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending)})}function dc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Trading Product Details"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._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)),uS._17(11,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(13,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_c)),uS._17(16,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending)})}function sc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Service Provider Product Details"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._18(10,0,null,0,1,"div",[["style","text-align: center; margin: 12px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Service Provider Details Not applicable here !!"])),(l()(),uS._40(-1,0,["\n "]))],null,null)}function cc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,52,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,49,"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!==uS._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,4).onReset()&&u}return u},null,null)),uS._17(3,16384,null,0,xS.B,[],null,null),uS._17(4,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,42,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zs)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dc)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,sc)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(20,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(23,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,228,{_control:0}),uS._38(335544320,229,{_placeholderChild:0}),uS._38(335544320,230,{_labelChild:0}),uS._38(603979776,231,{_errorChildren:1}),uS._38(603979776,232,{_hintChildren:1}),uS._38(603979776,233,{_prefixChildren:1}),uS._38(603979776,234,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(33,16384,[[230,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,42)._onInput()&&u}return u},null,null)),uS._17(37,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(39,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(41,16384,null,0,xS.s,[xS.r],null,null),uS._17(42,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[228,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(47,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(48,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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")},function(l,n){l(n,2,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending);l(n,22,1,[uS._32(n,23)._control.errorState,uS._32(n,23)._control.errorState,uS._32(n,23)._canLabelFloat,uS._32(n,23)._shouldLabelFloat(),uS._32(n,23)._hideControlPlaceholder(),uS._32(n,23)._control.disabled,uS._32(n,23)._control.focused,"primary"==uS._32(n,23).color,"accent"==uS._32(n,23).color,"warn"==uS._32(n,23).color,uS._32(n,23)._shouldForward("untouched"),uS._32(n,23)._shouldForward("touched"),uS._32(n,23)._shouldForward("pristine"),uS._32(n,23)._shouldForward("dirty"),uS._32(n,23)._shouldForward("valid"),uS._32(n,23)._shouldForward("invalid"),uS._32(n,23)._shouldForward("pending")]);l(n,36,1,[uS._32(n,41).ngClassUntouched,uS._32(n,41).ngClassTouched,uS._32(n,41).ngClassPristine,uS._32(n,41).ngClassDirty,uS._32(n,41).ngClassValid,uS._32(n,41).ngClassInvalid,uS._32(n,41).ngClassPending,uS._32(n,42)._isServer,uS._32(n,42).id,uS._32(n,42).placeholder,uS._32(n,42).disabled,uS._32(n,42).required,uS._32(n,42).readonly,uS._32(n,42)._ariaDescribedby||null,uS._32(n,42).errorState,uS._32(n,42).required.toString()])})}function mc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(3,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),uS._40(8,null,[" "," "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.component.errorMessage)})}function pc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,cc)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,mc)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,e.noRecordsFound);l(n,6,0,!e.noRecordsFound)},null)}function fc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,36,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(16,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(17,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(18,0,["",""])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(22,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,29).onClick()&&u}return u},jT.b,jT.a)),uS._17(29,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,33).onClick()&&u}return u},jT.b,jT.a)),uS._17(33,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(38,0,null,null,24,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,0,null,1,9,"div",[],null,null,null,null,null)),uS._17(42,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Bs)),uS._17(45,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._13(16777216,null,null,1,null,pc)),uS._17(48,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(53,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(54,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,235,{_mainButton:0}),uS._38(603979776,236,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(58,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(59,49152,[[235,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(60,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(61,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(64,0,null,null,6,"ion-footer",[],null,null,null,null,null)),uS._17(65,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(67,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveSupplierInfo(t.supplierInfoForm.value)&&u}return u},AT.b,AT.a)),uS._17(68,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-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,22,0,e.tab);l(n,25,0,"optblue");l(n,29,0,"0");l(n,33,0,"1");l(n,42,0,e.tab);l(n,45,0,"1");l(n,48,0,"0");l(n,59,0,"optblue");l(n,61,0,"md-camera");l(n,68,0,"optblue","")},function(l,n){var e=n.component;l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,21,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._disabled);l(n,28,0,uS._32(n,29)._disabled,uS._32(n,29).isActive,uS._32(n,29).isActive);l(n,32,0,uS._32(n,33)._disabled,uS._32(n,33).isActive,uS._32(n,33).isActive);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,60,0,uS._32(n,61)._hidden)})}function hc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Personal Info Category"]))],null,null)}function gc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[30,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function bc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[40,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function vc(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,6).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,6).onReset()&&u}return u},null,null)),uS._17(6,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(11,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,21)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,21)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,21)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}return u},null,null)),uS._17(21,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(22,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[2,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,9,{_control:0}),uS._38(335544320,10,{_placeholderChild:0}),uS._38(335544320,11,{_labelChild:0}),uS._38(603979776,12,{_errorChildren:1}),uS._38(603979776,13,{_hintChildren:1}),uS._38(603979776,14,{_prefixChildren:1}),uS._38(603979776,15,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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!==uS._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,43)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,50)._onInput()&&u}return u},null,null)),uS._17(43,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(44,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(47,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(49,16384,null,0,xS.s,[xS.r],null,null),uS._17(50,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[9,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(55,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,16,{_control:0}),uS._38(335544320,17,{_placeholderChild:0}),uS._38(335544320,18,{_labelChild:0}),uS._38(603979776,19,{_errorChildren:1}),uS._38(603979776,20,{_hintChildren:1}),uS._38(603979776,21,{_prefixChildren:1}),uS._38(603979776,22,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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!==uS._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,65)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,72)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,72)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,72)._onInput()&&u}return u},null,null)),uS._17(65,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(66,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(69,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(71,16384,null,0,xS.s,[xS.r],null,null),uS._17(72,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[16,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(77,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,23,{_control:0}),uS._38(335544320,24,{_placeholderChild:0}),uS._38(335544320,25,{_labelChild:0}),uS._38(603979776,26,{_errorChildren:1}),uS._38(603979776,27,{_hintChildren:1}),uS._38(603979776,28,{_prefixChildren:1}),uS._38(603979776,29,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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!==uS._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,93)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(88,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(90,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(92,16384,null,0,xS.s,[xS.r],null,null),uS._17(93,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,30,{options:1}),uS._38(603979776,31,{optionGroups:1}),uS._38(335544320,32,{customTrigger:0}),uS._37(2048,[[23,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,gc)),uS._17(100,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(105,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,33,{_control:0}),uS._38(335544320,34,{_placeholderChild:0}),uS._38(335544320,35,{_labelChild:0}),uS._38(603979776,36,{_errorChildren:1}),uS._38(603979776,37,{_hintChildren:1}),uS._38(603979776,38,{_prefixChildren:1}),uS._38(603979776,39,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,121)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(116,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(118,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(120,16384,null,0,xS.s,[xS.r],null,null),uS._17(121,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,40,{options:1}),uS._38(603979776,41,{optionGroups:1}),uS._38(335544320,42,{customTrigger:0}),uS._37(2048,[[33,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,bc)),uS._17(128,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending);l(n,10,1,[uS._32(n,11)._control.errorState,uS._32(n,11)._control.errorState,uS._32(n,11)._canLabelFloat,uS._32(n,11)._shouldLabelFloat(),uS._32(n,11)._hideControlPlaceholder(),uS._32(n,11)._control.disabled,uS._32(n,11)._control.focused,"primary"==uS._32(n,11).color,"accent"==uS._32(n,11).color,"warn"==uS._32(n,11).color,uS._32(n,11)._shouldForward("untouched"),uS._32(n,11)._shouldForward("touched"),uS._32(n,11)._shouldForward("pristine"),uS._32(n,11)._shouldForward("dirty"),uS._32(n,11)._shouldForward("valid"),uS._32(n,11)._shouldForward("invalid"),uS._32(n,11)._shouldForward("pending")]);l(n,20,1,[uS._32(n,22).required?"":null,uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()]);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,42,1,[uS._32(n,44).required?"":null,uS._32(n,49).ngClassUntouched,uS._32(n,49).ngClassTouched,uS._32(n,49).ngClassPristine,uS._32(n,49).ngClassDirty,uS._32(n,49).ngClassValid,uS._32(n,49).ngClassInvalid,uS._32(n,49).ngClassPending,uS._32(n,50)._isServer,uS._32(n,50).id,uS._32(n,50).placeholder,uS._32(n,50).disabled,uS._32(n,50).required,uS._32(n,50).readonly,uS._32(n,50)._ariaDescribedby||null,uS._32(n,50).errorState,uS._32(n,50).required.toString()]);l(n,54,1,[uS._32(n,55)._control.errorState,uS._32(n,55)._control.errorState,uS._32(n,55)._canLabelFloat,uS._32(n,55)._shouldLabelFloat(),uS._32(n,55)._hideControlPlaceholder(),uS._32(n,55)._control.disabled,uS._32(n,55)._control.focused,"primary"==uS._32(n,55).color,"accent"==uS._32(n,55).color,"warn"==uS._32(n,55).color,uS._32(n,55)._shouldForward("untouched"),uS._32(n,55)._shouldForward("touched"),uS._32(n,55)._shouldForward("pristine"),uS._32(n,55)._shouldForward("dirty"),uS._32(n,55)._shouldForward("valid"),uS._32(n,55)._shouldForward("invalid"),uS._32(n,55)._shouldForward("pending")]);l(n,64,1,[uS._32(n,66).required?"":null,uS._32(n,71).ngClassUntouched,uS._32(n,71).ngClassTouched,uS._32(n,71).ngClassPristine,uS._32(n,71).ngClassDirty,uS._32(n,71).ngClassValid,uS._32(n,71).ngClassInvalid,uS._32(n,71).ngClassPending,uS._32(n,72)._isServer,uS._32(n,72).id,uS._32(n,72).placeholder,uS._32(n,72).disabled,uS._32(n,72).required,uS._32(n,72).readonly,uS._32(n,72)._ariaDescribedby||null,uS._32(n,72).errorState,uS._32(n,72).required.toString()]);l(n,76,1,[uS._32(n,77)._control.errorState,uS._32(n,77)._control.errorState,uS._32(n,77)._canLabelFloat,uS._32(n,77)._shouldLabelFloat(),uS._32(n,77)._hideControlPlaceholder(),uS._32(n,77)._control.disabled,uS._32(n,77)._control.focused,"primary"==uS._32(n,77).color,"accent"==uS._32(n,77).color,"warn"==uS._32(n,77).color,uS._32(n,77)._shouldForward("untouched"),uS._32(n,77)._shouldForward("touched"),uS._32(n,77)._shouldForward("pristine"),uS._32(n,77)._shouldForward("dirty"),uS._32(n,77)._shouldForward("valid"),uS._32(n,77)._shouldForward("invalid"),uS._32(n,77)._shouldForward("pending")]);l(n,86,1,[uS._32(n,88).required?"":null,uS._32(n,92).ngClassUntouched,uS._32(n,92).ngClassTouched,uS._32(n,92).ngClassPristine,uS._32(n,92).ngClassDirty,uS._32(n,92).ngClassValid,uS._32(n,92).ngClassInvalid,uS._32(n,92).ngClassPending,uS._32(n,93).id,uS._32(n,93).tabIndex,uS._32(n,93)._ariaLabel,uS._32(n,93).ariaLabelledby,uS._32(n,93).required.toString(),uS._32(n,93).disabled.toString(),uS._32(n,93).errorState,uS._32(n,93).panelOpen?uS._32(n,93)._optionIds:null,uS._32(n,93).multiple,uS._32(n,93)._ariaDescribedby||null,uS._32(n,93)._getAriaActiveDescendant(),uS._32(n,93).disabled,uS._32(n,93).errorState,uS._32(n,93).required]);l(n,104,1,[uS._32(n,105)._control.errorState,uS._32(n,105)._control.errorState,uS._32(n,105)._canLabelFloat,uS._32(n,105)._shouldLabelFloat(),uS._32(n,105)._hideControlPlaceholder(),uS._32(n,105)._control.disabled,uS._32(n,105)._control.focused,"primary"==uS._32(n,105).color,"accent"==uS._32(n,105).color,"warn"==uS._32(n,105).color,uS._32(n,105)._shouldForward("untouched"),uS._32(n,105)._shouldForward("touched"),uS._32(n,105)._shouldForward("pristine"),uS._32(n,105)._shouldForward("dirty"),uS._32(n,105)._shouldForward("valid"),uS._32(n,105)._shouldForward("invalid"),uS._32(n,105)._shouldForward("pending")]);l(n,114,1,[uS._32(n,116).required?"":null,uS._32(n,120).ngClassUntouched,uS._32(n,120).ngClassTouched,uS._32(n,120).ngClassPristine,uS._32(n,120).ngClassDirty,uS._32(n,120).ngClassValid,uS._32(n,120).ngClassInvalid,uS._32(n,120).ngClassPending,uS._32(n,121).id,uS._32(n,121).tabIndex,uS._32(n,121)._ariaLabel,uS._32(n,121).ariaLabelledby,uS._32(n,121).required.toString(),uS._32(n,121).disabled.toString(),uS._32(n,121).errorState,uS._32(n,121).panelOpen?uS._32(n,121)._optionIds:null,uS._32(n,121).multiple,uS._32(n,121)._ariaDescribedby||null,uS._32(n,121)._getAriaActiveDescendant(),uS._32(n,121).disabled,uS._32(n,121).errorState,uS._32(n,121).required])})}function yc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[71,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function Cc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[81,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function wc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[91,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Fc(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(5,0,null,null,175,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(8,0,null,0,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(9,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Co Applicant"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,167,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(13,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,0,null,null,163,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,18).onReset()&&u}return u},null,null)),uS._17(18,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(20,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(23,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,43,{_control:0}),uS._38(335544320,44,{_placeholderChild:0}),uS._38(335544320,45,{_labelChild:0}),uS._38(603979776,46,{_errorChildren:1}),uS._38(603979776,47,{_hintChildren:1}),uS._38(603979776,48,{_prefixChildren:1}),uS._38(603979776,49,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,34)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,41)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,41)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,41)._onInput()&&u}return u},null,null)),uS._17(34,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(35,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(38,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(40,16384,null,0,xS.s,[xS.r],null,null),uS._17(41,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[43,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(46,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,50,{_control:0}),uS._38(335544320,51,{_placeholderChild:0}),uS._38(335544320,52,{_labelChild:0}),uS._38(603979776,53,{_errorChildren:1}),uS._38(603979776,54,{_hintChildren:1}),uS._38(603979776,55,{_prefixChildren:1}),uS._38(603979776,56,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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!==uS._32(l,57)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,57).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,57)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,57)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,64)._onInput()&&u}return u},null,null)),uS._17(57,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(58,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(61,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(63,16384,null,0,xS.s,[xS.r],null,null),uS._17(64,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[50,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(69,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,57,{_control:0}),uS._38(335544320,58,{_placeholderChild:0}),uS._38(335544320,59,{_labelChild:0}),uS._38(603979776,60,{_errorChildren:1}),uS._38(603979776,61,{_hintChildren:1}),uS._38(603979776,62,{_prefixChildren:1}),uS._38(603979776,63,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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!==uS._32(l,80)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,80).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,80)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,80)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,87)._onInput()&&u}return u},null,null)),uS._17(80,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(81,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(84,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(86,16384,null,0,xS.s,[xS.r],null,null),uS._17(87,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[57,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(92,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,64,{_control:0}),uS._38(335544320,65,{_placeholderChild:0}),uS._38(335544320,66,{_labelChild:0}),uS._38(603979776,67,{_errorChildren:1}),uS._38(603979776,68,{_hintChildren:1}),uS._38(603979776,69,{_prefixChildren:1}),uS._38(603979776,70,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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!==uS._32(l,109)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,109)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,109)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(104,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(106,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(108,16384,null,0,xS.s,[xS.r],null,null),uS._17(109,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,71,{options:1}),uS._38(603979776,72,{optionGroups:1}),uS._38(335544320,73,{customTrigger:0}),uS._37(2048,[[64,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,yc)),uS._17(116,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(121,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,74,{_control:0}),uS._38(335544320,75,{_placeholderChild:0}),uS._38(335544320,76,{_labelChild:0}),uS._38(603979776,77,{_errorChildren:1}),uS._38(603979776,78,{_hintChildren:1}),uS._38(603979776,79,{_prefixChildren:1}),uS._38(603979776,80,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,138)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,138)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,138)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(133,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(135,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(137,16384,null,0,xS.s,[xS.r],null,null),uS._17(138,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,81,{options:1}),uS._38(603979776,82,{optionGroups:1}),uS._38(335544320,83,{customTrigger:0}),uS._37(2048,[[74,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Cc)),uS._17(145,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(150,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,84,{_control:0}),uS._38(335544320,85,{_placeholderChild:0}),uS._38(335544320,86,{_labelChild:0}),uS._38(603979776,87,{_errorChildren:1}),uS._38(603979776,88,{_hintChildren:1}),uS._38(603979776,89,{_prefixChildren:1}),uS._38(603979776,90,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,167)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,167)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,167)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(162,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(164,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(166,16384,null,0,xS.s,[xS.r],null,null),uS._17(167,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,91,{options:1}),uS._38(603979776,92,{optionGroups:1}),uS._38(335544320,93,{customTrigger:0}),uS._37(2048,[[84,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,wc)),uS._17(174,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,17,0,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending);l(n,22,1,[uS._32(n,23)._control.errorState,uS._32(n,23)._control.errorState,uS._32(n,23)._canLabelFloat,uS._32(n,23)._shouldLabelFloat(),uS._32(n,23)._hideControlPlaceholder(),uS._32(n,23)._control.disabled,uS._32(n,23)._control.focused,"primary"==uS._32(n,23).color,"accent"==uS._32(n,23).color,"warn"==uS._32(n,23).color,uS._32(n,23)._shouldForward("untouched"),uS._32(n,23)._shouldForward("touched"),uS._32(n,23)._shouldForward("pristine"),uS._32(n,23)._shouldForward("dirty"),uS._32(n,23)._shouldForward("valid"),uS._32(n,23)._shouldForward("invalid"),uS._32(n,23)._shouldForward("pending")]);l(n,33,1,[uS._32(n,35).required?"":null,uS._32(n,40).ngClassUntouched,uS._32(n,40).ngClassTouched,uS._32(n,40).ngClassPristine,uS._32(n,40).ngClassDirty,uS._32(n,40).ngClassValid,uS._32(n,40).ngClassInvalid,uS._32(n,40).ngClassPending,uS._32(n,41)._isServer,uS._32(n,41).id,uS._32(n,41).placeholder,uS._32(n,41).disabled,uS._32(n,41).required,uS._32(n,41).readonly,uS._32(n,41)._ariaDescribedby||null,uS._32(n,41).errorState,uS._32(n,41).required.toString()]);l(n,45,1,[uS._32(n,46)._control.errorState,uS._32(n,46)._control.errorState,uS._32(n,46)._canLabelFloat,uS._32(n,46)._shouldLabelFloat(),uS._32(n,46)._hideControlPlaceholder(),uS._32(n,46)._control.disabled,uS._32(n,46)._control.focused,"primary"==uS._32(n,46).color,"accent"==uS._32(n,46).color,"warn"==uS._32(n,46).color,uS._32(n,46)._shouldForward("untouched"),uS._32(n,46)._shouldForward("touched"),uS._32(n,46)._shouldForward("pristine"),uS._32(n,46)._shouldForward("dirty"),uS._32(n,46)._shouldForward("valid"),uS._32(n,46)._shouldForward("invalid"),uS._32(n,46)._shouldForward("pending")]);l(n,56,1,[uS._32(n,58).required?"":null,uS._32(n,63).ngClassUntouched,uS._32(n,63).ngClassTouched,uS._32(n,63).ngClassPristine,uS._32(n,63).ngClassDirty,uS._32(n,63).ngClassValid,uS._32(n,63).ngClassInvalid,uS._32(n,63).ngClassPending,uS._32(n,64)._isServer,uS._32(n,64).id,uS._32(n,64).placeholder,uS._32(n,64).disabled,uS._32(n,64).required,uS._32(n,64).readonly,uS._32(n,64)._ariaDescribedby||null,uS._32(n,64).errorState,uS._32(n,64).required.toString()]);l(n,68,1,[uS._32(n,69)._control.errorState,uS._32(n,69)._control.errorState,uS._32(n,69)._canLabelFloat,uS._32(n,69)._shouldLabelFloat(),uS._32(n,69)._hideControlPlaceholder(),uS._32(n,69)._control.disabled,uS._32(n,69)._control.focused,"primary"==uS._32(n,69).color,"accent"==uS._32(n,69).color,"warn"==uS._32(n,69).color,uS._32(n,69)._shouldForward("untouched"),uS._32(n,69)._shouldForward("touched"),uS._32(n,69)._shouldForward("pristine"),uS._32(n,69)._shouldForward("dirty"),uS._32(n,69)._shouldForward("valid"),uS._32(n,69)._shouldForward("invalid"),uS._32(n,69)._shouldForward("pending")]);l(n,79,1,[uS._32(n,81).required?"":null,uS._32(n,86).ngClassUntouched,uS._32(n,86).ngClassTouched,uS._32(n,86).ngClassPristine,uS._32(n,86).ngClassDirty,uS._32(n,86).ngClassValid,uS._32(n,86).ngClassInvalid,uS._32(n,86).ngClassPending,uS._32(n,87)._isServer,uS._32(n,87).id,uS._32(n,87).placeholder,uS._32(n,87).disabled,uS._32(n,87).required,uS._32(n,87).readonly,uS._32(n,87)._ariaDescribedby||null,uS._32(n,87).errorState,uS._32(n,87).required.toString()]);l(n,91,1,[uS._32(n,92)._control.errorState,uS._32(n,92)._control.errorState,uS._32(n,92)._canLabelFloat,uS._32(n,92)._shouldLabelFloat(),uS._32(n,92)._hideControlPlaceholder(),uS._32(n,92)._control.disabled,uS._32(n,92)._control.focused,"primary"==uS._32(n,92).color,"accent"==uS._32(n,92).color,"warn"==uS._32(n,92).color,uS._32(n,92)._shouldForward("untouched"),uS._32(n,92)._shouldForward("touched"),uS._32(n,92)._shouldForward("pristine"),uS._32(n,92)._shouldForward("dirty"),uS._32(n,92)._shouldForward("valid"),uS._32(n,92)._shouldForward("invalid"),uS._32(n,92)._shouldForward("pending")]);l(n,102,1,[uS._32(n,104).required?"":null,uS._32(n,108).ngClassUntouched,uS._32(n,108).ngClassTouched,uS._32(n,108).ngClassPristine,uS._32(n,108).ngClassDirty,uS._32(n,108).ngClassValid,uS._32(n,108).ngClassInvalid,uS._32(n,108).ngClassPending,uS._32(n,109).id,uS._32(n,109).tabIndex,uS._32(n,109)._ariaLabel,uS._32(n,109).ariaLabelledby,uS._32(n,109).required.toString(),uS._32(n,109).disabled.toString(),uS._32(n,109).errorState,uS._32(n,109).panelOpen?uS._32(n,109)._optionIds:null,uS._32(n,109).multiple,uS._32(n,109)._ariaDescribedby||null,uS._32(n,109)._getAriaActiveDescendant(),uS._32(n,109).disabled,uS._32(n,109).errorState,uS._32(n,109).required]);l(n,120,1,[uS._32(n,121)._control.errorState,uS._32(n,121)._control.errorState,uS._32(n,121)._canLabelFloat,uS._32(n,121)._shouldLabelFloat(),uS._32(n,121)._hideControlPlaceholder(),uS._32(n,121)._control.disabled,uS._32(n,121)._control.focused,"primary"==uS._32(n,121).color,"accent"==uS._32(n,121).color,"warn"==uS._32(n,121).color,uS._32(n,121)._shouldForward("untouched"),uS._32(n,121)._shouldForward("touched"),uS._32(n,121)._shouldForward("pristine"),uS._32(n,121)._shouldForward("dirty"),uS._32(n,121)._shouldForward("valid"),uS._32(n,121)._shouldForward("invalid"),uS._32(n,121)._shouldForward("pending")]);l(n,131,1,[uS._32(n,133).required?"":null,uS._32(n,137).ngClassUntouched,uS._32(n,137).ngClassTouched,uS._32(n,137).ngClassPristine,uS._32(n,137).ngClassDirty,uS._32(n,137).ngClassValid,uS._32(n,137).ngClassInvalid,uS._32(n,137).ngClassPending,uS._32(n,138).id,uS._32(n,138).tabIndex,uS._32(n,138)._ariaLabel,uS._32(n,138).ariaLabelledby,uS._32(n,138).required.toString(),uS._32(n,138).disabled.toString(),uS._32(n,138).errorState,uS._32(n,138).panelOpen?uS._32(n,138)._optionIds:null,uS._32(n,138).multiple,uS._32(n,138)._ariaDescribedby||null,uS._32(n,138)._getAriaActiveDescendant(),uS._32(n,138).disabled,uS._32(n,138).errorState,uS._32(n,138).required]);l(n,149,1,[uS._32(n,150)._control.errorState,uS._32(n,150)._control.errorState,uS._32(n,150)._canLabelFloat,uS._32(n,150)._shouldLabelFloat(),uS._32(n,150)._hideControlPlaceholder(),uS._32(n,150)._control.disabled,uS._32(n,150)._control.focused,"primary"==uS._32(n,150).color,"accent"==uS._32(n,150).color,"warn"==uS._32(n,150).color,uS._32(n,150)._shouldForward("untouched"),uS._32(n,150)._shouldForward("touched"),uS._32(n,150)._shouldForward("pristine"),uS._32(n,150)._shouldForward("dirty"),uS._32(n,150)._shouldForward("valid"),uS._32(n,150)._shouldForward("invalid"),uS._32(n,150)._shouldForward("pending")]);l(n,160,1,[uS._32(n,162).required?"":null,uS._32(n,166).ngClassUntouched,uS._32(n,166).ngClassTouched,uS._32(n,166).ngClassPristine,uS._32(n,166).ngClassDirty,uS._32(n,166).ngClassValid,uS._32(n,166).ngClassInvalid,uS._32(n,166).ngClassPending,uS._32(n,167).id,uS._32(n,167).tabIndex,uS._32(n,167)._ariaLabel,uS._32(n,167).ariaLabelledby,uS._32(n,167).required.toString(),uS._32(n,167).disabled.toString(),uS._32(n,167).errorState,uS._32(n,167).panelOpen?uS._32(n,167)._optionIds:null,uS._32(n,167).multiple,uS._32(n,167)._ariaDescribedby||null,uS._32(n,167)._getAriaActiveDescendant(),uS._32(n,167).disabled,uS._32(n,167).errorState,uS._32(n,167).required])})}function xc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(6,0,null,null,66,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(7,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(10,0,null,null,24,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(12,0,null,null,16,"div",[["class","text-xs-left"],["fxFlex","50"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(14,0,null,null,13,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(15,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(17,0,null,0,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(18,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Main Applicant"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(21,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(22,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vc)),uS._17(25,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fc)),uS._17(33,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(38,0,null,null,32,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(39,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(41,0,null,0,28,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(43,0,null,null,25,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(46,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,94,{_control:0}),uS._38(335544320,95,{_placeholderChild:0}),uS._38(335544320,96,{_labelChild:0}),uS._38(603979776,97,{_errorChildren:1}),uS._38(603979776,98,{_hintChildren:1}),uS._38(603979776,99,{_prefixChildren:1}),uS._38(603979776,100,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(55,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(56,16384,[[96,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,60)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,60).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,60)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,60)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,65)._onInput()&&u}return u},null,null)),uS._17(60,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(62,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(64,16384,null,0,xS.s,[xS.r],null,null),uS._17(65,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[94,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(74,0,null,null,12,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(75,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(77,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(78,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(81,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitPersonalForm(t._personalForm.value)&&u}return u},AT.b,AT.a)),uS._17(82,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,45,1,[uS._32(n,46)._control.errorState,uS._32(n,46)._control.errorState,uS._32(n,46)._canLabelFloat,uS._32(n,46)._shouldLabelFloat(),uS._32(n,46)._hideControlPlaceholder(),uS._32(n,46)._control.disabled,uS._32(n,46)._control.focused,"primary"==uS._32(n,46).color,"accent"==uS._32(n,46).color,"warn"==uS._32(n,46).color,uS._32(n,46)._shouldForward("untouched"),uS._32(n,46)._shouldForward("touched"),uS._32(n,46)._shouldForward("pristine"),uS._32(n,46)._shouldForward("dirty"),uS._32(n,46)._shouldForward("valid"),uS._32(n,46)._shouldForward("invalid"),uS._32(n,46)._shouldForward("pending")]);l(n,59,1,[uS._32(n,64).ngClassUntouched,uS._32(n,64).ngClassTouched,uS._32(n,64).ngClassPristine,uS._32(n,64).ngClassDirty,uS._32(n,64).ngClassValid,uS._32(n,64).ngClassInvalid,uS._32(n,64).ngClassPending,uS._32(n,65)._isServer,uS._32(n,65).id,uS._32(n,65).placeholder,uS._32(n,65).disabled,uS._32(n,65).required,uS._32(n,65).readonly,uS._32(n,65)._ariaDescribedby||null,uS._32(n,65).errorState,uS._32(n,65).required.toString()]);l(n,74,0,"end"===uS._32(n,75).align)})}function kc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,hc)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(21,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(22,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._13(16777216,null,1,1,null,xc)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,22).statusbarPadding,uS._32(n,22)._hasRefresher)})}function Sc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Ic(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function qc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Pc(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Dc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ic)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,qc)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pc)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function Tc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Dc)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Oc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Lc(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Ac(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Oc)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Lc)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Vc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ac)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Nc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Wc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Sc)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Tc)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Vc)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Nc)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Ec(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[34,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function jc(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,38,{_control:0}),uS._38(335544320,39,{_placeholderChild:0}),uS._38(335544320,40,{_labelChild:0}),uS._38(603979776,41,{_errorChildren:1}),uS._38(603979776,42,{_hintChildren:1}),uS._38(603979776,43,{_prefixChildren:1}),uS._38(603979776,44,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[38,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function $c(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[49,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.M_rawValueInWords[n.parent.parent.context.index])})}function Bc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,96,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[20,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,34,"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!==uS._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,37)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(34,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(36,16384,null,0,xS.s,[xS.r],null,null),uS._17(37,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,34,{options:1}),uS._38(603979776,35,{optionGroups:1}),uS._38(335544320,36,{customTrigger:0}),uS._37(2048,[[27,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(44,0,null,1,15,"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!==uS._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,45)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(45,8437760,[[34,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(47,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.parent.context.$implicit,l.parent.context.index)&&u}return u},jO.b,jO.a)),uS._17(48,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,37,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(55,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(56,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(57,16384,[[37,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,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!==uS._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(62,8437760,[[34,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,[" Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ec)),uS._17(66,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jc)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(74,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,45,{_control:0}),uS._38(335544320,46,{_placeholderChild:0}),uS._38(335544320,47,{_labelChild:0}),uS._38(603979776,48,{_errorChildren:1}),uS._38(603979776,49,{_hintChildren:1}),uS._38(603979776,50,{_prefixChildren:1}),uS._38(603979776,51,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(83,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,t=l.component;if("input"===n){u=!1!==uS._32(l,84)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,84).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,84)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,84)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,85).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,85).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,85).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,90)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,90)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,90)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,1,l.parent.context.index)&&u}return u},null,null)),uS._17(84,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(85,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(87,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(89,16384,null,0,xS.s,[xS.r],null,null),uS._17(90,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[45,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,6,1,null,$c)),uS._17(94,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,16,0,"raw_quantity");l(n,19,0,"Estimated Quantity","number");l(n,34,0,"raw_uom");l(n,37,0,"Unit of Mearsurement");l(n,48,0,"Search Unit","No Matching Result");l(n,51,0,"uomSearch");l(n,56,0,"md-close");l(n,66,0,e.uomDataValue);l(n,71,0,1==n.parent.context.$implicit.get("raw_uom").value);l(n,87,0,"raw_value");l(n,90,0,"Estimated Value of Stock Observed","number");l(n,94,0,""!=n.parent.context.$implicit.get("raw_value").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,36).ngClassUntouched,uS._32(n,36).ngClassTouched,uS._32(n,36).ngClassPristine,uS._32(n,36).ngClassDirty,uS._32(n,36).ngClassValid,uS._32(n,36).ngClassInvalid,uS._32(n,36).ngClassPending,uS._32(n,37).id,uS._32(n,37).tabIndex,uS._32(n,37)._ariaLabel,uS._32(n,37).ariaLabelledby,uS._32(n,37).required.toString(),uS._32(n,37).disabled.toString(),uS._32(n,37).errorState,uS._32(n,37).panelOpen?uS._32(n,37)._optionIds:null,uS._32(n,37).multiple,uS._32(n,37)._ariaDescribedby||null,uS._32(n,37)._getAriaActiveDescendant(),uS._32(n,37).disabled,uS._32(n,37).errorState,uS._32(n,37).required]);l(n,44,0,uS._32(n,45)._getTabIndex(),uS._32(n,45).selected,uS._32(n,45).multiple,uS._32(n,45).active,uS._32(n,45).id,uS._32(n,45).selected.toString(),uS._32(n,45).disabled.toString(),uS._32(n,45).disabled);l(n,47,0,uS._32(n,48).isInsideMatOption,uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending);l(n,55,0,uS._32(n,56)._hidden);l(n,61,0,uS._32(n,62)._getTabIndex(),uS._32(n,62).selected,uS._32(n,62).multiple,uS._32(n,62).active,uS._32(n,62).id,uS._32(n,62).selected.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).disabled);l(n,73,1,[uS._32(n,74)._control.errorState,uS._32(n,74)._control.errorState,uS._32(n,74)._canLabelFloat,uS._32(n,74)._shouldLabelFloat(),uS._32(n,74)._hideControlPlaceholder(),uS._32(n,74)._control.disabled,uS._32(n,74)._control.focused,"primary"==uS._32(n,74).color,"accent"==uS._32(n,74).color,"warn"==uS._32(n,74).color,uS._32(n,74)._shouldForward("untouched"),uS._32(n,74)._shouldForward("touched"),uS._32(n,74)._shouldForward("pristine"),uS._32(n,74)._shouldForward("dirty"),uS._32(n,74)._shouldForward("valid"),uS._32(n,74)._shouldForward("invalid"),uS._32(n,74)._shouldForward("pending")]);l(n,83,1,[uS._32(n,89).ngClassUntouched,uS._32(n,89).ngClassTouched,uS._32(n,89).ngClassPristine,uS._32(n,89).ngClassDirty,uS._32(n,89).ngClassValid,uS._32(n,89).ngClassInvalid,uS._32(n,89).ngClassPending,uS._32(n,90)._isServer,uS._32(n,90).id,uS._32(n,90).placeholder,uS._32(n,90).disabled,uS._32(n,90).required,uS._32(n,90).readonly,uS._32(n,90)._ariaDescribedby||null,uS._32(n,90).errorState,uS._32(n,90).required.toString()])})}function Rc(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Uc(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Mc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,91,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Raw Material #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,58,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(13,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}return u},null,null)),uS._17(23,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[3,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,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,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,10,{_control:0}),uS._38(335544320,11,{_placeholderChild:0}),uS._38(335544320,12,{_labelChild:0}),uS._38(603979776,13,{_errorChildren:1}),uS._38(603979776,14,{_hintChildren:1}),uS._38(603979776,15,{_prefixChildren:1}),uS._38(603979776,16,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,0,null,1,19,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,47)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,47)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,47)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,1,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(44,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(46,16384,null,0,xS.s,[xS.r],null,null),uS._17(47,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,17,{options:1}),uS._38(603979776,18,{optionGroups:1}),uS._38(335544320,19,{customTrigger:0}),uS._37(2048,[[10,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,55)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(55,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Add Stock Details"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,59)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(59,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No Stock Observed"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Bc)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(69,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(70,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(72,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(73,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,52,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(76,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(77,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Rc)),uS._17(80,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(83,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(84,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Uc)),uS._17(87,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,66,0,"yes"==n.context.$implicit.get("stock_observed").value);l(n,80,0,n.parent.context.$implicit.controls.manufacturing_raw_materials.controls.length>1);l(n,87,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[uS._32(n,13)._control.errorState,uS._32(n,13)._control.errorState,uS._32(n,13)._canLabelFloat,uS._32(n,13)._shouldLabelFloat(),uS._32(n,13)._hideControlPlaceholder(),uS._32(n,13)._control.disabled,uS._32(n,13)._control.focused,"primary"==uS._32(n,13).color,"accent"==uS._32(n,13).color,"warn"==uS._32(n,13).color,uS._32(n,13)._shouldForward("untouched"),uS._32(n,13)._shouldForward("touched"),uS._32(n,13)._shouldForward("pristine"),uS._32(n,13)._shouldForward("dirty"),uS._32(n,13)._shouldForward("valid"),uS._32(n,13)._shouldForward("invalid"),uS._32(n,13)._shouldForward("pending")]);l(n,22,1,[uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()]);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,43,1,[uS._32(n,46).ngClassUntouched,uS._32(n,46).ngClassTouched,uS._32(n,46).ngClassPristine,uS._32(n,46).ngClassDirty,uS._32(n,46).ngClassValid,uS._32(n,46).ngClassInvalid,uS._32(n,46).ngClassPending,uS._32(n,47).id,uS._32(n,47).tabIndex,uS._32(n,47)._ariaLabel,uS._32(n,47).ariaLabelledby,uS._32(n,47).required.toString(),uS._32(n,47).disabled.toString(),uS._32(n,47).errorState,uS._32(n,47).panelOpen?uS._32(n,47)._optionIds:null,uS._32(n,47).multiple,uS._32(n,47)._ariaDescribedby||null,uS._32(n,47)._getAriaActiveDescendant(),uS._32(n,47).disabled,uS._32(n,47).errorState,uS._32(n,47).required]);l(n,54,0,uS._32(n,55)._getTabIndex(),uS._32(n,55).selected,uS._32(n,55).multiple,uS._32(n,55).active,uS._32(n,55).id,uS._32(n,55).selected.toString(),uS._32(n,55).disabled.toString(),uS._32(n,55).disabled);l(n,58,0,uS._32(n,59)._getTabIndex(),uS._32(n,59).selected,uS._32(n,59).multiple,uS._32(n,59).active,uS._32(n,59).id,uS._32(n,59).selected.toString(),uS._32(n,59).disabled.toString(),uS._32(n,59).disabled);l(n,69,0,"end"===uS._32(n,70).align)})}function Kc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[60,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.value,n.context.$implicit.disabled)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.isdisplayvalue)})}function Hc(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,63,{_control:0}),uS._38(335544320,64,{_placeholderChild:0}),uS._38(335544320,65,{_labelChild:0}),uS._38(603979776,66,{_errorChildren:1}),uS._38(603979776,67,{_hintChildren:1}),uS._38(603979776,68,{_prefixChildren:1}),uS._38(603979776,69,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[65,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Please comment on the stock level observed?"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(18,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[63,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,17,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Gc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,38,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,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,cT.b,cT.a)),uS._17(5,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,53,{_control:0}),uS._38(335544320,54,{_placeholderChild:0}),uS._38(335544320,55,{_labelChild:0}),uS._38(603979776,56,{_errorChildren:1}),uS._38(603979776,57,{_hintChildren:1}),uS._38(603979776,58,{_prefixChildren:1}),uS._38(603979776,59,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),uS._17(15,16384,[[54,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["Is the stock of Raw Materials observed, sufficient considering the size of operations"])),(l()(),uS._18(17,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,14,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_raw"],["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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],null,null),uS._38(603979776,60,{options:1}),uS._38(603979776,61,{optionGroups:1}),uS._38(335544320,62,{customTrigger:0}),uS._37(2048,[[53,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Kc)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hc)),uS._17(37,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,21,0,"is_sufficiant_raw"),l(n,24,0);l(n,31,0,e.RMsufficientList);l(n,37,0,"no"==n.parent.context.$implicit.get("is_sufficiant_raw").value)},function(l,n){l(n,4,1,[uS._32(n,5)._control.errorState,uS._32(n,5)._control.errorState,uS._32(n,5)._canLabelFloat,uS._32(n,5)._shouldLabelFloat(),uS._32(n,5)._hideControlPlaceholder(),uS._32(n,5)._control.disabled,uS._32(n,5)._control.focused,"primary"==uS._32(n,5).color,"accent"==uS._32(n,5).color,"warn"==uS._32(n,5).color,uS._32(n,5)._shouldForward("untouched"),uS._32(n,5)._shouldForward("touched"),uS._32(n,5)._shouldForward("pristine"),uS._32(n,5)._shouldForward("dirty"),uS._32(n,5)._shouldForward("valid"),uS._32(n,5)._shouldForward("invalid"),uS._32(n,5)._shouldForward("pending")]);l(n,19,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required])})}function Yc(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[101,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function zc(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,105,{_control:0}),uS._38(335544320,106,{_placeholderChild:0}),uS._38(335544320,107,{_labelChild:0}),uS._38(603979776,108,{_errorChildren:1}),uS._38(603979776,109,{_hintChildren:1}),uS._38(603979776,110,{_prefixChildren:1}),uS._38(603979776,111,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[105,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Qc(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[116,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.M_goodsValueInWords[n.parent.parent.context.index])})}function Jc(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,98,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,87,{_control:0}),uS._38(335544320,88,{_placeholderChild:0}),uS._38(335544320,89,{_labelChild:0}),uS._38(603979776,90,{_errorChildren:1}),uS._38(603979776,91,{_hintChildren:1}),uS._38(603979776,92,{_prefixChildren:1}),uS._38(603979776,93,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[87,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,94,{_control:0}),uS._38(335544320,95,{_placeholderChild:0}),uS._38(335544320,96,{_labelChild:0}),uS._38(603979776,97,{_errorChildren:1}),uS._38(603979776,98,{_hintChildren:1}),uS._38(603979776,99,{_prefixChildren:1}),uS._38(603979776,100,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,34,"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!==uS._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,37)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(34,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(36,16384,null,0,xS.s,[xS.r],null,null),uS._17(37,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,101,{options:1}),uS._38(603979776,102,{optionGroups:1}),uS._38(335544320,103,{customTrigger:0}),uS._37(2048,[[94,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(44,0,null,1,15,"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!==uS._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,45)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(45,8437760,[[101,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(47,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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,t=l.component;if("keyup"===n){u=!1!==t.searchFun(l.parent.context.$implicit,t.a)&&u}return u},jO.b,jO.a)),uS._17(48,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,104,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(55,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(56,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(57,16384,[[104,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,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!==uS._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(62,8437760,[[101,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,[" Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Yc)),uS._17(66,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zc)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(74,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,112,{_control:0}),uS._38(335544320,113,{_placeholderChild:0}),uS._38(335544320,114,{_labelChild:0}),uS._38(603979776,115,{_errorChildren:1}),uS._38(603979776,116,{_hintChildren:1}),uS._38(603979776,117,{_prefixChildren:1}),uS._38(603979776,118,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(83,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,t=l.component;if("input"===n){u=!1!==uS._32(l,84)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,84).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,84)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,84)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,85).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,85).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,85).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,90)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,90)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,90)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,2,l.parent.context.index)&&u}return u},null,null)),uS._17(84,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(85,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(87,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(89,16384,null,0,xS.s,[xS.r],null,null),uS._17(90,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[112,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,6,1,null,Qc)),uS._17(94,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,34,0,"goods_uom");l(n,37,0,"Unit of Mearsurement");l(n,48,0,"Search Unit","No Matching Result");l(n,51,0,"uomSearch");l(n,56,0,"md-close");l(n,66,0,e.uomDataValue);l(n,71,0,1==n.parent.context.$implicit.get("goods_uom").value);l(n,87,0,"goods_value");l(n,90,0,"Estimated Value of Stock Observed","number");l(n,94,0,""!=n.parent.context.$implicit.get("goods_value").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,36).ngClassUntouched,uS._32(n,36).ngClassTouched,uS._32(n,36).ngClassPristine,uS._32(n,36).ngClassDirty,uS._32(n,36).ngClassValid,uS._32(n,36).ngClassInvalid,uS._32(n,36).ngClassPending,uS._32(n,37).id,uS._32(n,37).tabIndex,uS._32(n,37)._ariaLabel,uS._32(n,37).ariaLabelledby,uS._32(n,37).required.toString(),uS._32(n,37).disabled.toString(),uS._32(n,37).errorState,uS._32(n,37).panelOpen?uS._32(n,37)._optionIds:null,uS._32(n,37).multiple,uS._32(n,37)._ariaDescribedby||null,uS._32(n,37)._getAriaActiveDescendant(),uS._32(n,37).disabled,uS._32(n,37).errorState,uS._32(n,37).required]);l(n,44,0,uS._32(n,45)._getTabIndex(),uS._32(n,45).selected,uS._32(n,45).multiple,uS._32(n,45).active,uS._32(n,45).id,uS._32(n,45).selected.toString(),uS._32(n,45).disabled.toString(),uS._32(n,45).disabled);l(n,47,0,uS._32(n,48).isInsideMatOption,uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending);l(n,55,0,uS._32(n,56)._hidden);l(n,61,0,uS._32(n,62)._getTabIndex(),uS._32(n,62).selected,uS._32(n,62).multiple,uS._32(n,62).active,uS._32(n,62).id,uS._32(n,62).selected.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).disabled);l(n,73,1,[uS._32(n,74)._control.errorState,uS._32(n,74)._control.errorState,uS._32(n,74)._canLabelFloat,uS._32(n,74)._shouldLabelFloat(),uS._32(n,74)._hideControlPlaceholder(),uS._32(n,74)._control.disabled,uS._32(n,74)._control.focused,"primary"==uS._32(n,74).color,"accent"==uS._32(n,74).color,"warn"==uS._32(n,74).color,uS._32(n,74)._shouldForward("untouched"),uS._32(n,74)._shouldForward("touched"),uS._32(n,74)._shouldForward("pristine"),uS._32(n,74)._shouldForward("dirty"),uS._32(n,74)._shouldForward("valid"),uS._32(n,74)._shouldForward("invalid"),uS._32(n,74)._shouldForward("pending")]);l(n,83,1,[uS._32(n,89).ngClassUntouched,uS._32(n,89).ngClassTouched,uS._32(n,89).ngClassPristine,uS._32(n,89).ngClassDirty,uS._32(n,89).ngClassValid,uS._32(n,89).ngClassInvalid,uS._32(n,89).ngClassPending,uS._32(n,90)._isServer,uS._32(n,90).id,uS._32(n,90).placeholder,uS._32(n,90).disabled,uS._32(n,90).required,uS._32(n,90).readonly,uS._32(n,90)._ariaDescribedby||null,uS._32(n,90).errorState,uS._32(n,90).required.toString()])})}function Zc(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Xc(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function lm(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Finished Goods #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,56,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(13,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,70,{_control:0}),uS._38(335544320,71,{_placeholderChild:0}),uS._38(335544320,72,{_labelChild:0}),uS._38(603979776,73,{_errorChildren:1}),uS._38(603979776,74,{_hintChildren:1}),uS._38(603979776,75,{_prefixChildren:1}),uS._38(603979776,76,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}return u},null,null)),uS._17(23,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[70,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,77,{_control:0}),uS._38(335544320,78,{_placeholderChild:0}),uS._38(335544320,79,{_labelChild:0}),uS._38(603979776,80,{_errorChildren:1}),uS._38(603979776,81,{_hintChildren:1}),uS._38(603979776,82,{_prefixChildren:1}),uS._38(603979776,83,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,2,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(43,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(45,16384,null,0,xS.s,[xS.r],null,null),uS._17(46,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,84,{options:1}),uS._38(603979776,85,{optionGroups:1}),uS._38(335544320,86,{customTrigger:0}),uS._37(2048,[[77,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,54)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(54,8437760,[[84,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Add Stock Details"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,58)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(58,8437760,[[84,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No Stock Observed"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jc)),uS._17(64,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(67,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(68,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(70,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(71,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,119,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(74,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(75,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zc)),uS._17(78,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(82,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Xc)),uS._17(85,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[uS._32(n,13)._control.errorState,uS._32(n,13)._control.errorState,uS._32(n,13)._canLabelFloat,uS._32(n,13)._shouldLabelFloat(),uS._32(n,13)._hideControlPlaceholder(),uS._32(n,13)._control.disabled,uS._32(n,13)._control.focused,"primary"==uS._32(n,13).color,"accent"==uS._32(n,13).color,"warn"==uS._32(n,13).color,uS._32(n,13)._shouldForward("untouched"),uS._32(n,13)._shouldForward("touched"),uS._32(n,13)._shouldForward("pristine"),uS._32(n,13)._shouldForward("dirty"),uS._32(n,13)._shouldForward("valid"),uS._32(n,13)._shouldForward("invalid"),uS._32(n,13)._shouldForward("pending")]);l(n,22,1,[uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()]);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,42,1,[uS._32(n,45).ngClassUntouched,uS._32(n,45).ngClassTouched,uS._32(n,45).ngClassPristine,uS._32(n,45).ngClassDirty,uS._32(n,45).ngClassValid,uS._32(n,45).ngClassInvalid,uS._32(n,45).ngClassPending,uS._32(n,46).id,uS._32(n,46).tabIndex,uS._32(n,46)._ariaLabel,uS._32(n,46).ariaLabelledby,uS._32(n,46).required.toString(),uS._32(n,46).disabled.toString(),uS._32(n,46).errorState,uS._32(n,46).panelOpen?uS._32(n,46)._optionIds:null,uS._32(n,46).multiple,uS._32(n,46)._ariaDescribedby||null,uS._32(n,46)._getAriaActiveDescendant(),uS._32(n,46).disabled,uS._32(n,46).errorState,uS._32(n,46).required]);l(n,53,0,uS._32(n,54)._getTabIndex(),uS._32(n,54).selected,uS._32(n,54).multiple,uS._32(n,54).active,uS._32(n,54).id,uS._32(n,54).selected.toString(),uS._32(n,54).disabled.toString(),uS._32(n,54).disabled);l(n,57,0,uS._32(n,58)._getTabIndex(),uS._32(n,58).selected,uS._32(n,58).multiple,uS._32(n,58).active,uS._32(n,58).id,uS._32(n,58).selected.toString(),uS._32(n,58).disabled.toString(),uS._32(n,58).disabled);l(n,67,0,"end"===uS._32(n,68).align)})}function nm(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mc)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Gc)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,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)),uS._17(20,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(22,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,lm)),uS._17(25,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;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,e.RMCommentCard);l(n,20,0,"manufacturing_finished_goods");l(n,25,0,n.context.$implicit.controls.manufacturing_finished_goods.controls)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending);l(n,19,0,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending)})}function em(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Manufacturing Stock Details"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(9,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(11,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,nm)),uS._17(14,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending)})}function um(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[151,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function tm(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,155,{_control:0}),uS._38(335544320,156,{_placeholderChild:0}),uS._38(335544320,157,{_labelChild:0}),uS._38(603979776,158,{_errorChildren:1}),uS._38(603979776,159,{_hintChildren:1}),uS._38(603979776,160,{_prefixChildren:1}),uS._38(603979776,161,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[155,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function am(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[166,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.R_tradedGoodsValueInWords[n.parent.parent.context.index])})}function im(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,97,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,137,{_control:0}),uS._38(335544320,138,{_placeholderChild:0}),uS._38(335544320,139,{_labelChild:0}),uS._38(603979776,140,{_errorChildren:1}),uS._38(603979776,141,{_hintChildren:1}),uS._38(603979776,142,{_prefixChildren:1}),uS._38(603979776,143,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[137,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,144,{_control:0}),uS._38(335544320,145,{_placeholderChild:0}),uS._38(335544320,146,{_labelChild:0}),uS._38(603979776,147,{_errorChildren:1}),uS._38(603979776,148,{_hintChildren:1}),uS._38(603979776,149,{_prefixChildren:1}),uS._38(603979776,150,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,34,"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!==uS._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,37)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(34,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(36,16384,null,0,xS.s,[xS.r],null,null),uS._17(37,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,151,{options:1}),uS._38(603979776,152,{optionGroups:1}),uS._38(335544320,153,{customTrigger:0}),uS._37(2048,[[144,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(44,0,null,1,15,"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!==uS._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,45)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(45,8437760,[[151,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(47,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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,t=l.component;if("keyup"===n){u=!1!==t.searchFun(l.parent.context.$implicit,t.a)&&u}return u},jO.b,jO.a)),uS._17(48,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,154,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(55,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(56,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(57,16384,[[154,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,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!==uS._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(62,8437760,[[151,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,[" Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,um)),uS._17(66,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,tm)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(74,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,162,{_control:0}),uS._38(335544320,163,{_placeholderChild:0}),uS._38(335544320,164,{_labelChild:0}),uS._38(603979776,165,{_errorChildren:1}),uS._38(603979776,166,{_hintChildren:1}),uS._38(603979776,167,{_prefixChildren:1}),uS._38(603979776,168,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(83,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,t=l.component;if("input"===n){u=!1!==uS._32(l,84)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,84).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,84)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,84)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,85).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,85).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,85).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,90)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,90)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,90)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,3,l.parent.context.index)&&u}return u},null,null)),uS._17(84,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(85,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(87,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(89,16384,null,0,xS.s,[xS.r],null,null),uS._17(90,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[162,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,6,1,null,am)),uS._17(94,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,34,0,"traded_goods_uom");l(n,37,0,"Unit of Mearsurement");l(n,48,0,"Search Unit","No Matching Result");l(n,51,0,"uomSearch");l(n,56,0,"md-close");l(n,66,0,e.uomDataValue);l(n,71,0,1==n.parent.context.$implicit.get("traded_goods_uom").value);l(n,87,0,"estimated_traded_goods_value");l(n,90,0,"Estimated Value of Stock Observed","number");l(n,94,0,""!=n.parent.context.$implicit.get("estimated_traded_goods_value").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,36).ngClassUntouched,uS._32(n,36).ngClassTouched,uS._32(n,36).ngClassPristine,uS._32(n,36).ngClassDirty,uS._32(n,36).ngClassValid,uS._32(n,36).ngClassInvalid,uS._32(n,36).ngClassPending,uS._32(n,37).id,uS._32(n,37).tabIndex,uS._32(n,37)._ariaLabel,uS._32(n,37).ariaLabelledby,uS._32(n,37).required.toString(),uS._32(n,37).disabled.toString(),uS._32(n,37).errorState,uS._32(n,37).panelOpen?uS._32(n,37)._optionIds:null,uS._32(n,37).multiple,uS._32(n,37)._ariaDescribedby||null,uS._32(n,37)._getAriaActiveDescendant(),uS._32(n,37).disabled,uS._32(n,37).errorState,uS._32(n,37).required]);l(n,44,0,uS._32(n,45)._getTabIndex(),uS._32(n,45).selected,uS._32(n,45).multiple,uS._32(n,45).active,uS._32(n,45).id,uS._32(n,45).selected.toString(),uS._32(n,45).disabled.toString(),uS._32(n,45).disabled);l(n,47,0,uS._32(n,48).isInsideMatOption,uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending);l(n,55,0,uS._32(n,56)._hidden);l(n,61,0,uS._32(n,62)._getTabIndex(),uS._32(n,62).selected,uS._32(n,62).multiple,uS._32(n,62).active,uS._32(n,62).id,uS._32(n,62).selected.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).disabled);l(n,73,1,[uS._32(n,74)._control.errorState,uS._32(n,74)._control.errorState,uS._32(n,74)._canLabelFloat,uS._32(n,74)._shouldLabelFloat(),uS._32(n,74)._hideControlPlaceholder(),uS._32(n,74)._control.disabled,uS._32(n,74)._control.focused,"primary"==uS._32(n,74).color,"accent"==uS._32(n,74).color,"warn"==uS._32(n,74).color,uS._32(n,74)._shouldForward("untouched"),uS._32(n,74)._shouldForward("touched"),uS._32(n,74)._shouldForward("pristine"),uS._32(n,74)._shouldForward("dirty"),uS._32(n,74)._shouldForward("valid"),uS._32(n,74)._shouldForward("invalid"),uS._32(n,74)._shouldForward("pending")]);l(n,83,1,[uS._32(n,89).ngClassUntouched,uS._32(n,89).ngClassTouched,uS._32(n,89).ngClassPristine,uS._32(n,89).ngClassDirty,uS._32(n,89).ngClassValid,uS._32(n,89).ngClassInvalid,uS._32(n,89).ngClassPending,uS._32(n,90)._isServer,uS._32(n,90).id,uS._32(n,90).placeholder,uS._32(n,90).disabled,uS._32(n,90).required,uS._32(n,90).readonly,uS._32(n,90)._ariaDescribedby||null,uS._32(n,90).errorState,uS._32(n,90).required.toString()])})}function om(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function rm(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function _m(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Traded Goods #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,56,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(13,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,120,{_control:0}),uS._38(335544320,121,{_placeholderChild:0}),uS._38(335544320,122,{_labelChild:0}),uS._38(603979776,123,{_errorChildren:1}),uS._38(603979776,124,{_hintChildren:1}),uS._38(603979776,125,{_prefixChildren:1}),uS._38(603979776,126,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}return u},null,null)),uS._17(23,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[120,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,127,{_control:0}),uS._38(335544320,128,{_placeholderChild:0}),uS._38(335544320,129,{_labelChild:0}),uS._38(603979776,130,{_errorChildren:1}),uS._38(603979776,131,{_hintChildren:1}),uS._38(603979776,132,{_prefixChildren:1}),uS._38(603979776,133,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,3,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(43,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(45,16384,null,0,xS.s,[xS.r],null,null),uS._17(46,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,134,{options:1}),uS._38(603979776,135,{optionGroups:1}),uS._38(335544320,136,{customTrigger:0}),uS._37(2048,[[127,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,54)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(54,8437760,[[134,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Add Stock Details"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,58)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(58,8437760,[[134,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No Stock Observed"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,im)),uS._17(64,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(67,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(68,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(70,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(71,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,169,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(74,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(75,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,om)),uS._17(78,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(82,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rm)),uS._17(85,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[uS._32(n,13)._control.errorState,uS._32(n,13)._control.errorState,uS._32(n,13)._canLabelFloat,uS._32(n,13)._shouldLabelFloat(),uS._32(n,13)._hideControlPlaceholder(),uS._32(n,13)._control.disabled,uS._32(n,13)._control.focused,"primary"==uS._32(n,13).color,"accent"==uS._32(n,13).color,"warn"==uS._32(n,13).color,uS._32(n,13)._shouldForward("untouched"),uS._32(n,13)._shouldForward("touched"),uS._32(n,13)._shouldForward("pristine"),uS._32(n,13)._shouldForward("dirty"),uS._32(n,13)._shouldForward("valid"),uS._32(n,13)._shouldForward("invalid"),uS._32(n,13)._shouldForward("pending")]);l(n,22,1,[uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()]);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,42,1,[uS._32(n,45).ngClassUntouched,uS._32(n,45).ngClassTouched,uS._32(n,45).ngClassPristine,uS._32(n,45).ngClassDirty,uS._32(n,45).ngClassValid,uS._32(n,45).ngClassInvalid,uS._32(n,45).ngClassPending,uS._32(n,46).id,uS._32(n,46).tabIndex,uS._32(n,46)._ariaLabel,uS._32(n,46).ariaLabelledby,uS._32(n,46).required.toString(),uS._32(n,46).disabled.toString(),uS._32(n,46).errorState,uS._32(n,46).panelOpen?uS._32(n,46)._optionIds:null,uS._32(n,46).multiple,uS._32(n,46)._ariaDescribedby||null,uS._32(n,46)._getAriaActiveDescendant(),uS._32(n,46).disabled,uS._32(n,46).errorState,uS._32(n,46).required]);l(n,53,0,uS._32(n,54)._getTabIndex(),uS._32(n,54).selected,uS._32(n,54).multiple,uS._32(n,54).active,uS._32(n,54).id,uS._32(n,54).selected.toString(),uS._32(n,54).disabled.toString(),uS._32(n,54).disabled);l(n,57,0,uS._32(n,58)._getTabIndex(),uS._32(n,58).selected,uS._32(n,58).multiple,uS._32(n,58).active,uS._32(n,58).id,uS._32(n,58).selected.toString(),uS._32(n,58).disabled.toString(),uS._32(n,58).disabled);l(n,67,0,"end"===uS._32(n,68).align)})}function dm(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_m)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending)})}function sm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Retail Trading Details"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(9,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(11,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dm)),uS._17(14,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending)})}function cm(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[201,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,uS._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function mm(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,205,{_control:0}),uS._38(335544320,206,{_placeholderChild:0}),uS._38(335544320,207,{_labelChild:0}),uS._38(603979776,208,{_errorChildren:1}),uS._38(603979776,209,{_hintChildren:1}),uS._38(603979776,210,{_prefixChildren:1}),uS._38(603979776,211,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[205,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function pm(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[216,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.T_tradedGoodsValueInWords[n.parent.parent.context.index])})}function fm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,97,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,187,{_control:0}),uS._38(335544320,188,{_placeholderChild:0}),uS._38(335544320,189,{_labelChild:0}),uS._38(603979776,190,{_errorChildren:1}),uS._38(603979776,191,{_hintChildren:1}),uS._38(603979776,192,{_prefixChildren:1}),uS._38(603979776,193,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[187,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,45,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,194,{_control:0}),uS._38(335544320,195,{_placeholderChild:0}),uS._38(335544320,196,{_labelChild:0}),uS._38(603979776,197,{_errorChildren:1}),uS._38(603979776,198,{_hintChildren:1}),uS._38(603979776,199,{_prefixChildren:1}),uS._38(603979776,200,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,34,"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!==uS._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,37)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(34,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(36,16384,null,0,xS.s,[xS.r],null,null),uS._17(37,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,201,{options:1}),uS._38(603979776,202,{optionGroups:1}),uS._38(335544320,203,{customTrigger:0}),uS._37(2048,[[194,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(44,0,null,1,15,"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!==uS._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,45)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(45,8437760,[[201,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(47,0,null,0,11,"ngx-mat-select-search",[["formControlName","uomSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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,t=l.component;if("keyup"===n){u=!1!==t.searchFun(l.parent.context.$implicit,t.a)&&u}return u},jO.b,jO.a)),uS._17(48,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,204,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(55,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(56,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(57,16384,[[204,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,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!==uS._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(62,8437760,[[201,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,[" Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,cm)),uS._17(66,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,mm)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(74,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,212,{_control:0}),uS._38(335544320,213,{_placeholderChild:0}),uS._38(335544320,214,{_labelChild:0}),uS._38(603979776,215,{_errorChildren:1}),uS._38(603979776,216,{_hintChildren:1}),uS._38(603979776,217,{_prefixChildren:1}),uS._38(603979776,218,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(83,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,t=l.component;if("input"===n){u=!1!==uS._32(l,84)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,84).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,84)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,84)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,85).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,85).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,85).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,90)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,90)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,90)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,4,l.parent.context.index)&&u}return u},null,null)),uS._17(84,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(85,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(87,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(89,16384,null,0,xS.s,[xS.r],null,null),uS._17(90,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[212,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,6,1,null,pm)),uS._17(94,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,34,0,"traded_goods_uom");l(n,37,0,"Unit of Mearsurement");l(n,48,0,"Search Unit","No Matching Result");l(n,51,0,"uomSearch");l(n,56,0,"md-close");l(n,66,0,e.uomDataValue);l(n,71,0,1==n.parent.context.$implicit.get("traded_goods_uom").value);l(n,87,0,"estimated_traded_goods_value");l(n,90,0,"Estimated Value of Stock Observed","number");l(n,94,0,""!=n.parent.context.$implicit.get("estimated_traded_goods_value").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,36).ngClassUntouched,uS._32(n,36).ngClassTouched,uS._32(n,36).ngClassPristine,uS._32(n,36).ngClassDirty,uS._32(n,36).ngClassValid,uS._32(n,36).ngClassInvalid,uS._32(n,36).ngClassPending,uS._32(n,37).id,uS._32(n,37).tabIndex,uS._32(n,37)._ariaLabel,uS._32(n,37).ariaLabelledby,uS._32(n,37).required.toString(),uS._32(n,37).disabled.toString(),uS._32(n,37).errorState,uS._32(n,37).panelOpen?uS._32(n,37)._optionIds:null,uS._32(n,37).multiple,uS._32(n,37)._ariaDescribedby||null,uS._32(n,37)._getAriaActiveDescendant(),uS._32(n,37).disabled,uS._32(n,37).errorState,uS._32(n,37).required]);l(n,44,0,uS._32(n,45)._getTabIndex(),uS._32(n,45).selected,uS._32(n,45).multiple,uS._32(n,45).active,uS._32(n,45).id,uS._32(n,45).selected.toString(),uS._32(n,45).disabled.toString(),uS._32(n,45).disabled);l(n,47,0,uS._32(n,48).isInsideMatOption,uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending);l(n,55,0,uS._32(n,56)._hidden);l(n,61,0,uS._32(n,62)._getTabIndex(),uS._32(n,62).selected,uS._32(n,62).multiple,uS._32(n,62).active,uS._32(n,62).id,uS._32(n,62).selected.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).disabled);l(n,73,1,[uS._32(n,74)._control.errorState,uS._32(n,74)._control.errorState,uS._32(n,74)._canLabelFloat,uS._32(n,74)._shouldLabelFloat(),uS._32(n,74)._hideControlPlaceholder(),uS._32(n,74)._control.disabled,uS._32(n,74)._control.focused,"primary"==uS._32(n,74).color,"accent"==uS._32(n,74).color,"warn"==uS._32(n,74).color,uS._32(n,74)._shouldForward("untouched"),uS._32(n,74)._shouldForward("touched"),uS._32(n,74)._shouldForward("pristine"),uS._32(n,74)._shouldForward("dirty"),uS._32(n,74)._shouldForward("valid"),uS._32(n,74)._shouldForward("invalid"),uS._32(n,74)._shouldForward("pending")]);l(n,83,1,[uS._32(n,89).ngClassUntouched,uS._32(n,89).ngClassTouched,uS._32(n,89).ngClassPristine,uS._32(n,89).ngClassDirty,uS._32(n,89).ngClassValid,uS._32(n,89).ngClassInvalid,uS._32(n,89).ngClassPending,uS._32(n,90)._isServer,uS._32(n,90).id,uS._32(n,90).placeholder,uS._32(n,90).disabled,uS._32(n,90).required,uS._32(n,90).readonly,uS._32(n,90)._ariaDescribedby||null,uS._32(n,90).errorState,uS._32(n,90).required.toString()])})}function hm(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function gm(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function bm(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Traded Goods #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,57,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(13,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,170,{_control:0}),uS._38(335544320,171,{_placeholderChild:0}),uS._38(335544320,172,{_labelChild:0}),uS._38(603979776,173,{_errorChildren:1}),uS._38(603979776,174,{_hintChildren:1}),uS._38(603979776,175,{_prefixChildren:1}),uS._38(603979776,176,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}return u},null,null)),uS._17(23,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[170,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,177,{_control:0}),uS._38(335544320,178,{_placeholderChild:0}),uS._38(335544320,179,{_labelChild:0}),uS._38(603979776,180,{_errorChildren:1}),uS._38(603979776,181,{_hintChildren:1}),uS._38(603979776,182,{_prefixChildren:1}),uS._38(603979776,183,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,0,null,1,19,"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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,4,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(43,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(45,16384,null,0,xS.s,[xS.r],null,null),uS._17(46,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,184,{options:1}),uS._38(603979776,185,{optionGroups:1}),uS._38(335544320,186,{customTrigger:0}),uS._37(2048,[[177,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,54)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(54,8437760,[[184,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Add Stock Details"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,58)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(58,8437760,[[184,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No stock observed"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fm)),uS._17(65,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(68,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(69,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(71,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(72,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,219,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(75,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(76,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hm)),uS._17(79,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(82,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(83,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gm)),uS._17(86,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,65,0,"yes"==n.context.$implicit.get("traded_goods_observed").value);l(n,79,0,n.parent.context.$implicit.controls.trading_traded_goods.controls.length>1);l(n,86,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[uS._32(n,13)._control.errorState,uS._32(n,13)._control.errorState,uS._32(n,13)._canLabelFloat,uS._32(n,13)._shouldLabelFloat(),uS._32(n,13)._hideControlPlaceholder(),uS._32(n,13)._control.disabled,uS._32(n,13)._control.focused,"primary"==uS._32(n,13).color,"accent"==uS._32(n,13).color,"warn"==uS._32(n,13).color,uS._32(n,13)._shouldForward("untouched"),uS._32(n,13)._shouldForward("touched"),uS._32(n,13)._shouldForward("pristine"),uS._32(n,13)._shouldForward("dirty"),uS._32(n,13)._shouldForward("valid"),uS._32(n,13)._shouldForward("invalid"),uS._32(n,13)._shouldForward("pending")]);l(n,22,1,[uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()]);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,42,1,[uS._32(n,45).ngClassUntouched,uS._32(n,45).ngClassTouched,uS._32(n,45).ngClassPristine,uS._32(n,45).ngClassDirty,uS._32(n,45).ngClassValid,uS._32(n,45).ngClassInvalid,uS._32(n,45).ngClassPending,uS._32(n,46).id,uS._32(n,46).tabIndex,uS._32(n,46)._ariaLabel,uS._32(n,46).ariaLabelledby,uS._32(n,46).required.toString(),uS._32(n,46).disabled.toString(),uS._32(n,46).errorState,uS._32(n,46).panelOpen?uS._32(n,46)._optionIds:null,uS._32(n,46).multiple,uS._32(n,46)._ariaDescribedby||null,uS._32(n,46)._getAriaActiveDescendant(),uS._32(n,46).disabled,uS._32(n,46).errorState,uS._32(n,46).required]);l(n,53,0,uS._32(n,54)._getTabIndex(),uS._32(n,54).selected,uS._32(n,54).multiple,uS._32(n,54).active,uS._32(n,54).id,uS._32(n,54).selected.toString(),uS._32(n,54).disabled.toString(),uS._32(n,54).disabled);l(n,57,0,uS._32(n,58)._getTabIndex(),uS._32(n,58).selected,uS._32(n,58).multiple,uS._32(n,58).active,uS._32(n,58).id,uS._32(n,58).selected.toString(),uS._32(n,58).disabled.toString(),uS._32(n,58).disabled);l(n,68,0,"end"===uS._32(n,69).align)})}function vm(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,bm)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending)})}function ym(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(3,16384,null,0,_T.h,[],null,null),(l()(),uS._18(4,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Wholesale Trading Details"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,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)),uS._17(8,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(10,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vm)),uS._17(13,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,8,0,"trade_details");l(n,13,0,e.stockForm.controls.trade_details.controls)},function(l,n){l(n,7,0,uS._32(n,10).ngClassUntouched,uS._32(n,10).ngClassTouched,uS._32(n,10).ngClassPristine,uS._32(n,10).ngClassDirty,uS._32(n,10).ngClassValid,uS._32(n,10).ngClassInvalid,uS._32(n,10).ngClassPending)})}function Cm(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[227,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.value,n.context.$implicit.isdisabled)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.isdisplayvalue)})}function wm(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,230,{_control:0}),uS._38(335544320,231,{_placeholderChild:0}),uS._38(335544320,232,{_labelChild:0}),uS._38(603979776,233,{_errorChildren:1}),uS._38(603979776,234,{_hintChildren:1}),uS._38(603979776,235,{_prefixChildren:1}),uS._38(603979776,236,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[232,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,[" "])),(l()(),uS._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Please comment on the stock level observed?"])),(l()(),uS._40(-1,null,[" "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","finished_and_traded_goods_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!==uS._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(18,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[230,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,20,0,"finished_and_traded_goods_remarks");l(n,23,0,"Please comment on the stock level observed")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,17,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Fm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,42,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(5,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,220,{_control:0}),uS._38(335544320,221,{_placeholderChild:0}),uS._38(335544320,222,{_labelChild:0}),uS._38(603979776,223,{_errorChildren:1}),uS._38(603979776,224,{_hintChildren:1}),uS._38(603979776,225,{_prefixChildren:1}),uS._38(603979776,226,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),uS._17(15,16384,[[221,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["Is the stock of finished / traded goods observed, sufficient considering the size of operations"])),(l()(),uS._18(17,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_finished_and_traded_goods"],["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!==uS._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,23)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],null,null),uS._38(603979776,227,{options:1}),uS._38(603979776,228,{optionGroups:1}),uS._38(335544320,229,{customTrigger:0}),uS._37(2048,[[220,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(30,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!==uS._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,31)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(31,8437760,[[227,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Cm)),uS._17(35,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wm)),uS._17(41,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,20,0,"is_sufficiant_finished_and_traded_goods"),l(n,23,0);l(n,35,0,e.TGsufficientList);l(n,41,0,"no"==e.stockForm.controls.is_sufficiant_finished_and_traded_goods.value)},function(l,n){l(n,4,1,[uS._32(n,5)._control.errorState,uS._32(n,5)._control.errorState,uS._32(n,5)._canLabelFloat,uS._32(n,5)._shouldLabelFloat(),uS._32(n,5)._hideControlPlaceholder(),uS._32(n,5)._control.disabled,uS._32(n,5)._control.focused,"primary"==uS._32(n,5).color,"accent"==uS._32(n,5).color,"warn"==uS._32(n,5).color,uS._32(n,5)._shouldForward("untouched"),uS._32(n,5)._shouldForward("touched"),uS._32(n,5)._shouldForward("pristine"),uS._32(n,5)._shouldForward("dirty"),uS._32(n,5)._shouldForward("valid"),uS._32(n,5)._shouldForward("invalid"),uS._32(n,5)._shouldForward("pending")]);l(n,19,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23).id,uS._32(n,23).tabIndex,uS._32(n,23)._ariaLabel,uS._32(n,23).ariaLabelledby,uS._32(n,23).required.toString(),uS._32(n,23).disabled.toString(),uS._32(n,23).errorState,uS._32(n,23).panelOpen?uS._32(n,23)._optionIds:null,uS._32(n,23).multiple,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23)._getAriaActiveDescendant(),uS._32(n,23).disabled,uS._32(n,23).errorState,uS._32(n,23).required]);l(n,30,0,uS._32(n,31)._getTabIndex(),uS._32(n,31).selected,uS._32(n,31).multiple,uS._32(n,31).active,uS._32(n,31).id,uS._32(n,31).selected.toString(),uS._32(n,31).disabled.toString(),uS._32(n,31).disabled)})}function xm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,ym)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Fm)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.tradingForm);l(n,7,0,e.TGCommentCard)},null)}function km(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Service Provider Details"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(8,0,null,0,1,"div",[["style","text-align: center; margin: 12px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Service Provider Details Not applicable here !!"])),(l()(),uS._40(-1,0,["\n "]))],null,null)}function Sm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,59,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,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!==uS._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,4).onReset()&&u}return u},null,null)),uS._17(3,16384,null,0,xS.B,[],null,null),uS._17(4,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,49,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,em)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,sm)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xm)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,km)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(23,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(26,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,237,{_control:0}),uS._38(335544320,238,{_placeholderChild:0}),uS._38(335544320,239,{_labelChild:0}),uS._38(603979776,240,{_errorChildren:1}),uS._38(603979776,241,{_hintChildren:1}),uS._38(603979776,242,{_prefixChildren:1}),uS._38(603979776,243,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(35,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(36,16384,[[239,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,40)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,45)._onInput()&&u}return u},null,null)),uS._17(40,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(42,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(44,16384,null,0,xS.s,[xS.r],null,null),uS._17(45,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[237,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(50,0,null,null,6,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),uS._17(51,16384,null,0,wT.e,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(53,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(54,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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||e.TGCommentCard);l(n,20,0,e.serviceProviderForm);l(n,42,0,"stock_remarks");l(n,45,0,"Remarks")},function(l,n){l(n,2,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending);l(n,25,1,[uS._32(n,26)._control.errorState,uS._32(n,26)._control.errorState,uS._32(n,26)._canLabelFloat,uS._32(n,26)._shouldLabelFloat(),uS._32(n,26)._hideControlPlaceholder(),uS._32(n,26)._control.disabled,uS._32(n,26)._control.focused,"primary"==uS._32(n,26).color,"accent"==uS._32(n,26).color,"warn"==uS._32(n,26).color,uS._32(n,26)._shouldForward("untouched"),uS._32(n,26)._shouldForward("touched"),uS._32(n,26)._shouldForward("pristine"),uS._32(n,26)._shouldForward("dirty"),uS._32(n,26)._shouldForward("valid"),uS._32(n,26)._shouldForward("invalid"),uS._32(n,26)._shouldForward("pending")]);l(n,39,1,[uS._32(n,44).ngClassUntouched,uS._32(n,44).ngClassTouched,uS._32(n,44).ngClassPristine,uS._32(n,44).ngClassDirty,uS._32(n,44).ngClassValid,uS._32(n,44).ngClassInvalid,uS._32(n,44).ngClassPending,uS._32(n,45)._isServer,uS._32(n,45).id,uS._32(n,45).placeholder,uS._32(n,45).disabled,uS._32(n,45).required,uS._32(n,45).readonly,uS._32(n,45)._ariaDescribedby||null,uS._32(n,45).errorState,uS._32(n,45).required.toString()])})}function Im(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),uS._40(3,null,[" "," "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,3,0,n.component.errorMessage)})}function qm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Im)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,4,0,!n.component.noRecordsFound)},null)}function Pm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qm)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,!n.component.noRecordsFound)},null)}function Dm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Sm)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pm)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,e.noRecordsFound);l(n,6,0,!e.noRecordsFound)},null)}function Tm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveStockInfo(t.stockForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Om(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,36,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(16,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(17,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(18,0,["",""])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(22,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,29).onClick()&&u}return u},jT.b,jT.a)),uS._17(29,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,33).onClick()&&u}return u},jT.b,jT.a)),uS._17(33,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(38,0,null,null,24,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,0,null,1,9,"div",[],null,null,null,null,null)),uS._17(42,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wc)),uS._17(45,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Dm)),uS._17(48,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(53,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(54,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,244,{_mainButton:0}),uS._38(603979776,245,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(58,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(59,49152,[[244,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(60,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(61,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(64,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(65,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Tm)),uS._17(68,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,22,0,e.tab);l(n,25,0,"optblue");l(n,29,0,"0");l(n,33,0,"1");l(n,42,0,e.tab);l(n,45,0,"1");l(n,48,0,"0");l(n,59,0,"optblue");l(n,61,0,"md-camera");l(n,68,0,!e.complete_status)},function(l,n){var e=n.component;l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,21,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._disabled);l(n,28,0,uS._32(n,29)._disabled,uS._32(n,29).isActive,uS._32(n,29).isActive);l(n,32,0,uS._32(n,33)._disabled,uS._32(n,33).isActive,uS._32(n,33).isActive);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,60,0,uS._32(n,61)._hidden)})}function Lm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formDetails.form_name)})}function Am(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Vm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Nm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Wm(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Em(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Vm)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Nm)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wm)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function jm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Em)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function $m(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Bm(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Rm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$m)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Bm)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Um(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Rm)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Mm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Km(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Am)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,jm)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Um)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Mm)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Hm(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Gm(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ym(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[44,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function zm(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,47,{_control:0}),uS._38(335544320,48,{_placeholderChild:0}),uS._38(335544320,49,{_labelChild:0}),uS._38(603979776,50,{_errorChildren:1}),uS._38(603979776,51,{_hintChildren:1}),uS._38(603979776,52,{_prefixChildren:1}),uS._38(603979776,53,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[47,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Qm(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[82,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Jm(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(3,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(7,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,95,{_control:0}),uS._38(335544320,96,{_placeholderChild:0}),uS._38(335544320,97,{_labelChild:0}),uS._38(603979776,98,{_errorChildren:1}),uS._38(603979776,99,{_hintChildren:1}),uS._38(603979776,100,{_prefixChildren:1}),uS._38(603979776,101,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(17,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(18,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[95,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(28,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,102,{_control:0}),uS._38(335544320,103,{_placeholderChild:0}),uS._38(335544320,104,{_labelChild:0}),uS._38(603979776,105,{_errorChildren:1}),uS._38(603979776,106,{_hintChildren:1}),uS._38(603979776,107,{_prefixChildren:1}),uS._38(603979776,108,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,44)._onInput()&&u}return u},null,null)),uS._17(38,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(39,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(41,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(43,16384,null,0,xS.s,[xS.r],null,null),uS._17(44,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[102,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,7)._control.errorState,uS._32(n,7)._control.errorState,uS._32(n,7)._canLabelFloat,uS._32(n,7)._shouldLabelFloat(),uS._32(n,7)._hideControlPlaceholder(),uS._32(n,7)._control.disabled,uS._32(n,7)._control.focused,"primary"==uS._32(n,7).color,"accent"==uS._32(n,7).color,"warn"==uS._32(n,7).color,uS._32(n,7)._shouldForward("untouched"),uS._32(n,7)._shouldForward("touched"),uS._32(n,7)._shouldForward("pristine"),uS._32(n,7)._shouldForward("dirty"),uS._32(n,7)._shouldForward("valid"),uS._32(n,7)._shouldForward("invalid"),uS._32(n,7)._shouldForward("pending")]);l(n,16,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()]);l(n,27,1,[uS._32(n,28)._control.errorState,uS._32(n,28)._control.errorState,uS._32(n,28)._canLabelFloat,uS._32(n,28)._shouldLabelFloat(),uS._32(n,28)._hideControlPlaceholder(),uS._32(n,28)._control.disabled,uS._32(n,28)._control.focused,"primary"==uS._32(n,28).color,"accent"==uS._32(n,28).color,"warn"==uS._32(n,28).color,uS._32(n,28)._shouldForward("untouched"),uS._32(n,28)._shouldForward("touched"),uS._32(n,28)._shouldForward("pristine"),uS._32(n,28)._shouldForward("dirty"),uS._32(n,28)._shouldForward("valid"),uS._32(n,28)._shouldForward("invalid"),uS._32(n,28)._shouldForward("pending")]);l(n,37,1,[uS._32(n,43).ngClassUntouched,uS._32(n,43).ngClassTouched,uS._32(n,43).ngClassPristine,uS._32(n,43).ngClassDirty,uS._32(n,43).ngClassValid,uS._32(n,43).ngClassInvalid,uS._32(n,43).ngClassPending,uS._32(n,44)._isServer,uS._32(n,44).id,uS._32(n,44).placeholder,uS._32(n,44).disabled,uS._32(n,44).required,uS._32(n,44).readonly,uS._32(n,44)._ariaDescribedby||null,uS._32(n,44).errorState,uS._32(n,44).required.toString()])})}function Zm(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Xm(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function lp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,306,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Product #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,296,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,273,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(15,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,29)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(26,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(28,16384,null,0,xS.s,[xS.r],null,null),uS._17(29,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,10,{options:1}),uS._38(603979776,11,{optionGroups:1}),uS._38(335544320,12,{customTrigger:0}),uS._37(2048,[[3,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Hm)),uS._17(36,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(41,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,13,{_control:0}),uS._38(335544320,14,{_placeholderChild:0}),uS._38(335544320,15,{_labelChild:0}),uS._38(603979776,16,{_errorChildren:1}),uS._38(603979776,17,{_hintChildren:1}),uS._38(603979776,18,{_prefixChildren:1}),uS._38(603979776,19,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,56)._onInput()&&u}return u},null,null)),uS._17(51,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(53,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(55,16384,null,0,xS.s,[xS.r],null,null),uS._17(56,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[13,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(61,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,75)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(72,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(74,16384,null,0,xS.s,[xS.r],null,null),uS._17(75,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,27,{options:1}),uS._38(603979776,28,{optionGroups:1}),uS._38(335544320,29,{customTrigger:0}),uS._37(2048,[[20,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Gm)),uS._17(82,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(87,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,30,{_control:0}),uS._38(335544320,31,{_placeholderChild:0}),uS._38(335544320,32,{_labelChild:0}),uS._38(603979776,33,{_errorChildren:1}),uS._38(603979776,34,{_hintChildren:1}),uS._38(603979776,35,{_prefixChildren:1}),uS._38(603979776,36,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,102)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,102)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,102)._onInput()&&u}return u},null,null)),uS._17(97,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(99,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(101,16384,null,0,xS.s,[xS.r],null,null),uS._17(102,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[30,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(107,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,37,{_control:0}),uS._38(335544320,38,{_placeholderChild:0}),uS._38(335544320,39,{_labelChild:0}),uS._38(603979776,40,{_errorChildren:1}),uS._38(603979776,41,{_hintChildren:1}),uS._38(603979776,42,{_prefixChildren:1}),uS._38(603979776,43,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,120)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,120)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,120)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,1)&&u}return u},LO.b,LO.a)),uS._17(117,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(119,16384,null,0,xS.s,[xS.r],null,null),uS._17(120,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,44,{options:1}),uS._38(603979776,45,{optionGroups:1}),uS._38(335544320,46,{customTrigger:0}),uS._37(2048,[[37,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,128)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,128)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(128,8437760,[[44,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ym)),uS._17(132,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zm)),uS._17(138,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(141,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,54,{_control:0}),uS._38(335544320,55,{_placeholderChild:0}),uS._38(335544320,56,{_labelChild:0}),uS._38(603979776,57,{_errorChildren:1}),uS._38(603979776,58,{_hintChildren:1}),uS._38(603979776,59,{_prefixChildren:1}),uS._38(603979776,60,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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"],["minlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,151)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,159)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,159)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,159)._onInput()&&u}return u},null,null)),uS._17(151,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(152,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(153,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(156,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(158,16384,null,0,xS.s,[xS.r],null,null),uS._17(159,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[54,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(162,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(163,16384,[[57,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid Mobile Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(167,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,cT.b,cT.a)),uS._17(168,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,61,{_control:0}),uS._38(335544320,62,{_placeholderChild:0}),uS._38(335544320,63,{_labelChild:0}),uS._38(603979776,64,{_errorChildren:1}),uS._38(603979776,65,{_hintChildren:1}),uS._38(603979776,66,{_prefixChildren:1}),uS._38(603979776,67,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(177,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,178)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,178).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,178)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,178)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,186)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,186)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,186)._onInput()&&u}return u},null,null)),uS._17(178,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(179,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(180,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(183,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(185,16384,null,0,xS.s,[xS.r],null,null),uS._17(186,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[61,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(189,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(190,16384,[[64,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid STD Code Number."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(195,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,cT.b,cT.a)),uS._17(196,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,68,{_control:0}),uS._38(335544320,69,{_placeholderChild:0}),uS._38(335544320,70,{_labelChild:0}),uS._38(603979776,71,{_errorChildren:1}),uS._38(603979776,72,{_hintChildren:1}),uS._38(603979776,73,{_prefixChildren:1}),uS._38(603979776,74,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(205,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Client Contact Person Landline Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,206)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,206).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,206)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,206)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,214)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,214)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,214)._onInput()&&u}return u},null,null)),uS._17(206,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(207,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(208,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(211,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(213,16384,null,0,xS.s,[xS.r],null,null),uS._17(214,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[68,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(217,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(218,16384,[[71,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid LandLine Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(222,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,cT.b,cT.a)),uS._17(223,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,75,{_control:0}),uS._38(335544320,76,{_placeholderChild:0}),uS._38(335544320,77,{_labelChild:0}),uS._38(603979776,78,{_errorChildren:1}),uS._38(603979776,79,{_hintChildren:1}),uS._38(603979776,80,{_prefixChildren:1}),uS._38(603979776,81,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(232,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,237)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,237)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,237)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,1,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(234,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(236,16384,null,0,xS.s,[xS.r],null,null),uS._17(237,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,82,{options:1}),uS._38(603979776,83,{optionGroups:1}),uS._38(335544320,84,{customTrigger:0}),uS._37(2048,[[75,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Qm)),uS._17(244,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(248,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,cT.b,cT.a)),uS._17(249,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,85,{_control:0}),uS._38(335544320,86,{_placeholderChild:0}),uS._38(335544320,87,{_labelChild:0}),uS._38(603979776,88,{_errorChildren:1}),uS._38(603979776,89,{_hintChildren:1}),uS._38(603979776,90,{_prefixChildren:1}),uS._38(603979776,91,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(258,0,null,1,22,"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!==uS._32(l,262)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,262)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,262)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(259,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(261,16384,null,0,xS.s,[xS.r],null,null),uS._17(262,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,92,{options:1}),uS._38(603979776,93,{optionGroups:1}),uS._38(335544320,94,{customTrigger:0}),uS._37(2048,[[85,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(269,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!==uS._32(l,270)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,270)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(270,8437760,[[92,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment received in\n Cash."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(273,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!==uS._32(l,274)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,274)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(274,8437760,[[92,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment\n received through Banking channels."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(277,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash and also 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!==uS._32(l,278)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,278)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(278,8437760,[[92,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment received in Cash and Bank."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jm)),uS._17(284,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(287,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(288,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,109,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(291,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(292,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zm)),uS._17(295,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(298,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(299,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Xm)),uS._17(302,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,152,0,"10");l(n,153,0,"10");l(n,156,0,"manufacturing_contact_person_mobile_number");l(n,159,0,"Client Contact Person Mobile Number","tel");l(n,179,0,"3");l(n,180,0,"5");l(n,183,0,"person_stdcode");l(n,186,0,"STD Code","tel");l(n,207,0,"6");l(n,208,0,"8");l(n,211,0,"person_landline");l(n,214,0,"Client Contact Person Landline Number","tel");l(n,234,0,"manufacturing_payment_type");l(n,237,0,"Payment Terms");l(n,244,0,e.m_paymentType);l(n,259,0,"manufacturing_payment_mode");l(n,262,0,"Payment Mode");l(n,270,0,"Payment received in Cash.");l(n,274,0,"Payment received through Banking channels.");l(n,278,0,"Payment received in Cash and also through Banking channels.");l(n,284,0,3==n.context.$implicit.get("manufacturing_payment_type").value);l(n,295,0,n.parent.context.$implicit.controls.main_raw_materials.controls.length>1);l(n,302,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[uS._32(n,15)._control.errorState,uS._32(n,15)._control.errorState,uS._32(n,15)._canLabelFloat,uS._32(n,15)._shouldLabelFloat(),uS._32(n,15)._hideControlPlaceholder(),uS._32(n,15)._control.disabled,uS._32(n,15)._control.focused,"primary"==uS._32(n,15).color,"accent"==uS._32(n,15).color,"warn"==uS._32(n,15).color,uS._32(n,15)._shouldForward("untouched"),uS._32(n,15)._shouldForward("touched"),uS._32(n,15)._shouldForward("pristine"),uS._32(n,15)._shouldForward("dirty"),uS._32(n,15)._shouldForward("valid"),uS._32(n,15)._shouldForward("invalid"),uS._32(n,15)._shouldForward("pending")]);l(n,24,1,[uS._32(n,28).ngClassUntouched,uS._32(n,28).ngClassTouched,uS._32(n,28).ngClassPristine,uS._32(n,28).ngClassDirty,uS._32(n,28).ngClassValid,uS._32(n,28).ngClassInvalid,uS._32(n,28).ngClassPending,uS._32(n,29).id,uS._32(n,29).tabIndex,uS._32(n,29)._ariaLabel,uS._32(n,29).ariaLabelledby,uS._32(n,29).required.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).errorState,uS._32(n,29).panelOpen?uS._32(n,29)._optionIds:null,uS._32(n,29).multiple,uS._32(n,29)._ariaDescribedby||null,uS._32(n,29)._getAriaActiveDescendant(),uS._32(n,29).disabled,uS._32(n,29).errorState,uS._32(n,29).required]);l(n,40,1,[uS._32(n,41)._control.errorState,uS._32(n,41)._control.errorState,uS._32(n,41)._canLabelFloat,uS._32(n,41)._shouldLabelFloat(),uS._32(n,41)._hideControlPlaceholder(),uS._32(n,41)._control.disabled,uS._32(n,41)._control.focused,"primary"==uS._32(n,41).color,"accent"==uS._32(n,41).color,"warn"==uS._32(n,41).color,uS._32(n,41)._shouldForward("untouched"),uS._32(n,41)._shouldForward("touched"),uS._32(n,41)._shouldForward("pristine"),uS._32(n,41)._shouldForward("dirty"),uS._32(n,41)._shouldForward("valid"),uS._32(n,41)._shouldForward("invalid"),uS._32(n,41)._shouldForward("pending")]);l(n,50,1,[uS._32(n,55).ngClassUntouched,uS._32(n,55).ngClassTouched,uS._32(n,55).ngClassPristine,uS._32(n,55).ngClassDirty,uS._32(n,55).ngClassValid,uS._32(n,55).ngClassInvalid,uS._32(n,55).ngClassPending,uS._32(n,56)._isServer,uS._32(n,56).id,uS._32(n,56).placeholder,uS._32(n,56).disabled,uS._32(n,56).required,uS._32(n,56).readonly,uS._32(n,56)._ariaDescribedby||null,uS._32(n,56).errorState,uS._32(n,56).required.toString()]);l(n,60,1,[uS._32(n,61)._control.errorState,uS._32(n,61)._control.errorState,uS._32(n,61)._canLabelFloat,uS._32(n,61)._shouldLabelFloat(),uS._32(n,61)._hideControlPlaceholder(),uS._32(n,61)._control.disabled,uS._32(n,61)._control.focused,"primary"==uS._32(n,61).color,"accent"==uS._32(n,61).color,"warn"==uS._32(n,61).color,uS._32(n,61)._shouldForward("untouched"),uS._32(n,61)._shouldForward("touched"),uS._32(n,61)._shouldForward("pristine"),uS._32(n,61)._shouldForward("dirty"),uS._32(n,61)._shouldForward("valid"),uS._32(n,61)._shouldForward("invalid"),uS._32(n,61)._shouldForward("pending")]);l(n,70,1,[uS._32(n,74).ngClassUntouched,uS._32(n,74).ngClassTouched,uS._32(n,74).ngClassPristine,uS._32(n,74).ngClassDirty,uS._32(n,74).ngClassValid,uS._32(n,74).ngClassInvalid,uS._32(n,74).ngClassPending,uS._32(n,75).id,uS._32(n,75).tabIndex,uS._32(n,75)._ariaLabel,uS._32(n,75).ariaLabelledby,uS._32(n,75).required.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).errorState,uS._32(n,75).panelOpen?uS._32(n,75)._optionIds:null,uS._32(n,75).multiple,uS._32(n,75)._ariaDescribedby||null,uS._32(n,75)._getAriaActiveDescendant(),uS._32(n,75).disabled,uS._32(n,75).errorState,uS._32(n,75).required]);l(n,86,1,[uS._32(n,87)._control.errorState,uS._32(n,87)._control.errorState,uS._32(n,87)._canLabelFloat,uS._32(n,87)._shouldLabelFloat(),uS._32(n,87)._hideControlPlaceholder(),uS._32(n,87)._control.disabled,uS._32(n,87)._control.focused,"primary"==uS._32(n,87).color,"accent"==uS._32(n,87).color,"warn"==uS._32(n,87).color,uS._32(n,87)._shouldForward("untouched"),uS._32(n,87)._shouldForward("touched"),uS._32(n,87)._shouldForward("pristine"),uS._32(n,87)._shouldForward("dirty"),uS._32(n,87)._shouldForward("valid"),uS._32(n,87)._shouldForward("invalid"),uS._32(n,87)._shouldForward("pending")]);l(n,96,1,[uS._32(n,101).ngClassUntouched,uS._32(n,101).ngClassTouched,uS._32(n,101).ngClassPristine,uS._32(n,101).ngClassDirty,uS._32(n,101).ngClassValid,uS._32(n,101).ngClassInvalid,uS._32(n,101).ngClassPending,uS._32(n,102)._isServer,uS._32(n,102).id,uS._32(n,102).placeholder,uS._32(n,102).disabled,uS._32(n,102).required,uS._32(n,102).readonly,uS._32(n,102)._ariaDescribedby||null,uS._32(n,102).errorState,uS._32(n,102).required.toString()]);l(n,106,1,[uS._32(n,107)._control.errorState,uS._32(n,107)._control.errorState,uS._32(n,107)._canLabelFloat,uS._32(n,107)._shouldLabelFloat(),uS._32(n,107)._hideControlPlaceholder(),uS._32(n,107)._control.disabled,uS._32(n,107)._control.focused,"primary"==uS._32(n,107).color,"accent"==uS._32(n,107).color,"warn"==uS._32(n,107).color,uS._32(n,107)._shouldForward("untouched"),uS._32(n,107)._shouldForward("touched"),uS._32(n,107)._shouldForward("pristine"),uS._32(n,107)._shouldForward("dirty"),uS._32(n,107)._shouldForward("valid"),uS._32(n,107)._shouldForward("invalid"),uS._32(n,107)._shouldForward("pending")]);l(n,116,1,[uS._32(n,119).ngClassUntouched,uS._32(n,119).ngClassTouched,uS._32(n,119).ngClassPristine,uS._32(n,119).ngClassDirty,uS._32(n,119).ngClassValid,uS._32(n,119).ngClassInvalid,uS._32(n,119).ngClassPending,uS._32(n,120).id,uS._32(n,120).tabIndex,uS._32(n,120)._ariaLabel,uS._32(n,120).ariaLabelledby,uS._32(n,120).required.toString(),uS._32(n,120).disabled.toString(),uS._32(n,120).errorState,uS._32(n,120).panelOpen?uS._32(n,120)._optionIds:null,uS._32(n,120).multiple,uS._32(n,120)._ariaDescribedby||null,uS._32(n,120)._getAriaActiveDescendant(),uS._32(n,120).disabled,uS._32(n,120).errorState,uS._32(n,120).required]);l(n,127,0,uS._32(n,128)._getTabIndex(),uS._32(n,128).selected,uS._32(n,128).multiple,uS._32(n,128).active,uS._32(n,128).id,uS._32(n,128).selected.toString(),uS._32(n,128).disabled.toString(),uS._32(n,128).disabled);l(n,140,1,[uS._32(n,141)._control.errorState,uS._32(n,141)._control.errorState,uS._32(n,141)._canLabelFloat,uS._32(n,141)._shouldLabelFloat(),uS._32(n,141)._hideControlPlaceholder(),uS._32(n,141)._control.disabled,uS._32(n,141)._control.focused,"primary"==uS._32(n,141).color,"accent"==uS._32(n,141).color,"warn"==uS._32(n,141).color,uS._32(n,141)._shouldForward("untouched"),uS._32(n,141)._shouldForward("touched"),uS._32(n,141)._shouldForward("pristine"),uS._32(n,141)._shouldForward("dirty"),uS._32(n,141)._shouldForward("valid"),uS._32(n,141)._shouldForward("invalid"),uS._32(n,141)._shouldForward("pending")]);l(n,150,1,[uS._32(n,152).minlength?uS._32(n,152).minlength:null,uS._32(n,153).maxlength?uS._32(n,153).maxlength:null,uS._32(n,158).ngClassUntouched,uS._32(n,158).ngClassTouched,uS._32(n,158).ngClassPristine,uS._32(n,158).ngClassDirty,uS._32(n,158).ngClassValid,uS._32(n,158).ngClassInvalid,uS._32(n,158).ngClassPending,uS._32(n,159)._isServer,uS._32(n,159).id,uS._32(n,159).placeholder,uS._32(n,159).disabled,uS._32(n,159).required,uS._32(n,159).readonly,uS._32(n,159)._ariaDescribedby||null,uS._32(n,159).errorState,uS._32(n,159).required.toString()]);l(n,162,0,uS._32(n,163).id);l(n,167,1,[uS._32(n,168)._control.errorState,uS._32(n,168)._control.errorState,uS._32(n,168)._canLabelFloat,uS._32(n,168)._shouldLabelFloat(),uS._32(n,168)._hideControlPlaceholder(),uS._32(n,168)._control.disabled,uS._32(n,168)._control.focused,"primary"==uS._32(n,168).color,"accent"==uS._32(n,168).color,"warn"==uS._32(n,168).color,uS._32(n,168)._shouldForward("untouched"),uS._32(n,168)._shouldForward("touched"),uS._32(n,168)._shouldForward("pristine"),uS._32(n,168)._shouldForward("dirty"),uS._32(n,168)._shouldForward("valid"),uS._32(n,168)._shouldForward("invalid"),uS._32(n,168)._shouldForward("pending")]);l(n,177,1,[uS._32(n,179).minlength?uS._32(n,179).minlength:null,uS._32(n,180).maxlength?uS._32(n,180).maxlength:null,uS._32(n,185).ngClassUntouched,uS._32(n,185).ngClassTouched,uS._32(n,185).ngClassPristine,uS._32(n,185).ngClassDirty,uS._32(n,185).ngClassValid,uS._32(n,185).ngClassInvalid,uS._32(n,185).ngClassPending,uS._32(n,186)._isServer,uS._32(n,186).id,uS._32(n,186).placeholder,uS._32(n,186).disabled,uS._32(n,186).required,uS._32(n,186).readonly,uS._32(n,186)._ariaDescribedby||null,uS._32(n,186).errorState,uS._32(n,186).required.toString()]);l(n,189,0,uS._32(n,190).id);l(n,195,1,[uS._32(n,196)._control.errorState,uS._32(n,196)._control.errorState,uS._32(n,196)._canLabelFloat,uS._32(n,196)._shouldLabelFloat(),uS._32(n,196)._hideControlPlaceholder(),uS._32(n,196)._control.disabled,uS._32(n,196)._control.focused,"primary"==uS._32(n,196).color,"accent"==uS._32(n,196).color,"warn"==uS._32(n,196).color,uS._32(n,196)._shouldForward("untouched"),uS._32(n,196)._shouldForward("touched"),uS._32(n,196)._shouldForward("pristine"),uS._32(n,196)._shouldForward("dirty"),uS._32(n,196)._shouldForward("valid"),uS._32(n,196)._shouldForward("invalid"),uS._32(n,196)._shouldForward("pending")]);l(n,205,1,[uS._32(n,207).minlength?uS._32(n,207).minlength:null,uS._32(n,208).maxlength?uS._32(n,208).maxlength:null,uS._32(n,213).ngClassUntouched,uS._32(n,213).ngClassTouched,uS._32(n,213).ngClassPristine,uS._32(n,213).ngClassDirty,uS._32(n,213).ngClassValid,uS._32(n,213).ngClassInvalid,uS._32(n,213).ngClassPending,uS._32(n,214)._isServer,uS._32(n,214).id,uS._32(n,214).placeholder,uS._32(n,214).disabled,uS._32(n,214).required,uS._32(n,214).readonly,uS._32(n,214)._ariaDescribedby||null,uS._32(n,214).errorState,uS._32(n,214).required.toString()]);l(n,217,0,uS._32(n,218).id);l(n,222,1,[uS._32(n,223)._control.errorState,uS._32(n,223)._control.errorState,uS._32(n,223)._canLabelFloat,uS._32(n,223)._shouldLabelFloat(),uS._32(n,223)._hideControlPlaceholder(),uS._32(n,223)._control.disabled,uS._32(n,223)._control.focused,"primary"==uS._32(n,223).color,"accent"==uS._32(n,223).color,"warn"==uS._32(n,223).color,uS._32(n,223)._shouldForward("untouched"),uS._32(n,223)._shouldForward("touched"),uS._32(n,223)._shouldForward("pristine"),uS._32(n,223)._shouldForward("dirty"),uS._32(n,223)._shouldForward("valid"),uS._32(n,223)._shouldForward("invalid"),uS._32(n,223)._shouldForward("pending")]);l(n,232,1,[uS._32(n,236).ngClassUntouched,uS._32(n,236).ngClassTouched,uS._32(n,236).ngClassPristine,uS._32(n,236).ngClassDirty,uS._32(n,236).ngClassValid,uS._32(n,236).ngClassInvalid,uS._32(n,236).ngClassPending,uS._32(n,237).id,uS._32(n,237).tabIndex,uS._32(n,237)._ariaLabel,uS._32(n,237).ariaLabelledby,uS._32(n,237).required.toString(),uS._32(n,237).disabled.toString(),uS._32(n,237).errorState,uS._32(n,237).panelOpen?uS._32(n,237)._optionIds:null,uS._32(n,237).multiple,uS._32(n,237)._ariaDescribedby||null,uS._32(n,237)._getAriaActiveDescendant(),uS._32(n,237).disabled,uS._32(n,237).errorState,uS._32(n,237).required]);l(n,248,1,[uS._32(n,249)._control.errorState,uS._32(n,249)._control.errorState,uS._32(n,249)._canLabelFloat,uS._32(n,249)._shouldLabelFloat(),uS._32(n,249)._hideControlPlaceholder(),uS._32(n,249)._control.disabled,uS._32(n,249)._control.focused,"primary"==uS._32(n,249).color,"accent"==uS._32(n,249).color,"warn"==uS._32(n,249).color,uS._32(n,249)._shouldForward("untouched"),uS._32(n,249)._shouldForward("touched"),uS._32(n,249)._shouldForward("pristine"),uS._32(n,249)._shouldForward("dirty"),uS._32(n,249)._shouldForward("valid"),uS._32(n,249)._shouldForward("invalid"),uS._32(n,249)._shouldForward("pending")]);l(n,258,1,[uS._32(n,261).ngClassUntouched,uS._32(n,261).ngClassTouched,uS._32(n,261).ngClassPristine,uS._32(n,261).ngClassDirty,uS._32(n,261).ngClassValid,uS._32(n,261).ngClassInvalid,uS._32(n,261).ngClassPending,uS._32(n,262).id,uS._32(n,262).tabIndex,uS._32(n,262)._ariaLabel,uS._32(n,262).ariaLabelledby,uS._32(n,262).required.toString(),uS._32(n,262).disabled.toString(),uS._32(n,262).errorState,uS._32(n,262).panelOpen?uS._32(n,262)._optionIds:null,uS._32(n,262).multiple,uS._32(n,262)._ariaDescribedby||null,uS._32(n,262)._getAriaActiveDescendant(),uS._32(n,262).disabled,uS._32(n,262).errorState,uS._32(n,262).required]);l(n,269,0,uS._32(n,270)._getTabIndex(),uS._32(n,270).selected,uS._32(n,270).multiple,uS._32(n,270).active,uS._32(n,270).id,uS._32(n,270).selected.toString(),uS._32(n,270).disabled.toString(),uS._32(n,270).disabled);l(n,273,0,uS._32(n,274)._getTabIndex(),uS._32(n,274).selected,uS._32(n,274).multiple,uS._32(n,274).active,uS._32(n,274).id,uS._32(n,274).selected.toString(),uS._32(n,274).disabled.toString(),uS._32(n,274).disabled);l(n,277,0,uS._32(n,278)._getTabIndex(),uS._32(n,278).selected,uS._32(n,278).multiple,uS._32(n,278).active,uS._32(n,278).id,uS._32(n,278).selected.toString(),uS._32(n,278).disabled.toString(),uS._32(n,278).disabled)})}function np(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,110,{_control:0}),uS._38(335544320,111,{_placeholderChild:0}),uS._38(335544320,112,{_labelChild:0}),uS._38(603979776,113,{_errorChildren:1}),uS._38(603979776,114,{_hintChildren:1}),uS._38(603979776,115,{_prefixChildren:1}),uS._38(603979776,116,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[110,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()])})}function ep(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,lp)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,np)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending)})}function up(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Manufacturing Product Details"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(9,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(11,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ep)),uS._17(14,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending)})}function tp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[124,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ap(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[141,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ip(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[158,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function op(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,161,{_control:0}),uS._38(335544320,162,{_placeholderChild:0}),uS._38(335544320,163,{_labelChild:0}),uS._38(603979776,164,{_errorChildren:1}),uS._38(603979776,165,{_hintChildren:1}),uS._38(603979776,166,{_prefixChildren:1}),uS._38(603979776,167,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[161,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function rp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[196,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _p(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(3,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(7,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,209,{_control:0}),uS._38(335544320,210,{_placeholderChild:0}),uS._38(335544320,211,{_labelChild:0}),uS._38(603979776,212,{_errorChildren:1}),uS._38(603979776,213,{_hintChildren:1}),uS._38(603979776,214,{_prefixChildren:1}),uS._38(603979776,215,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(17,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(18,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[209,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(28,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,216,{_control:0}),uS._38(335544320,217,{_placeholderChild:0}),uS._38(335544320,218,{_labelChild:0}),uS._38(603979776,219,{_errorChildren:1}),uS._38(603979776,220,{_hintChildren:1}),uS._38(603979776,221,{_prefixChildren:1}),uS._38(603979776,222,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,44)._onInput()&&u}return u},null,null)),uS._17(38,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(39,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(41,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(43,16384,null,0,xS.s,[xS.r],null,null),uS._17(44,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[216,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,7)._control.errorState,uS._32(n,7)._control.errorState,uS._32(n,7)._canLabelFloat,uS._32(n,7)._shouldLabelFloat(),uS._32(n,7)._hideControlPlaceholder(),uS._32(n,7)._control.disabled,uS._32(n,7)._control.focused,"primary"==uS._32(n,7).color,"accent"==uS._32(n,7).color,"warn"==uS._32(n,7).color,uS._32(n,7)._shouldForward("untouched"),uS._32(n,7)._shouldForward("touched"),uS._32(n,7)._shouldForward("pristine"),uS._32(n,7)._shouldForward("dirty"),uS._32(n,7)._shouldForward("valid"),uS._32(n,7)._shouldForward("invalid"),uS._32(n,7)._shouldForward("pending")]);l(n,16,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()]);l(n,27,1,[uS._32(n,28)._control.errorState,uS._32(n,28)._control.errorState,uS._32(n,28)._canLabelFloat,uS._32(n,28)._shouldLabelFloat(),uS._32(n,28)._hideControlPlaceholder(),uS._32(n,28)._control.disabled,uS._32(n,28)._control.focused,"primary"==uS._32(n,28).color,"accent"==uS._32(n,28).color,"warn"==uS._32(n,28).color,uS._32(n,28)._shouldForward("untouched"),uS._32(n,28)._shouldForward("touched"),uS._32(n,28)._shouldForward("pristine"),uS._32(n,28)._shouldForward("dirty"),uS._32(n,28)._shouldForward("valid"),uS._32(n,28)._shouldForward("invalid"),uS._32(n,28)._shouldForward("pending")]);l(n,37,1,[uS._32(n,43).ngClassUntouched,uS._32(n,43).ngClassTouched,uS._32(n,43).ngClassPristine,uS._32(n,43).ngClassDirty,uS._32(n,43).ngClassValid,uS._32(n,43).ngClassInvalid,uS._32(n,43).ngClassPending,uS._32(n,44)._isServer,uS._32(n,44).id,uS._32(n,44).placeholder,uS._32(n,44).disabled,uS._32(n,44).required,uS._32(n,44).readonly,uS._32(n,44)._ariaDescribedby||null,uS._32(n,44).errorState,uS._32(n,44).required.toString()])})}function dp(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function sp(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function cp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,308,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Trading Product #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,298,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,275,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(15,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,117,{_control:0}),uS._38(335544320,118,{_placeholderChild:0}),uS._38(335544320,119,{_labelChild:0}),uS._38(603979776,120,{_errorChildren:1}),uS._38(603979776,121,{_hintChildren:1}),uS._38(603979776,122,{_prefixChildren:1}),uS._38(603979776,123,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,30)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,30)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,30)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(27,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(29,16384,null,0,xS.s,[xS.r],null,null),uS._17(30,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,124,{options:1}),uS._38(603979776,125,{optionGroups:1}),uS._38(335544320,126,{customTrigger:0}),uS._37(2048,[[117,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,tp)),uS._17(37,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(42,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,127,{_control:0}),uS._38(335544320,128,{_placeholderChild:0}),uS._38(335544320,129,{_labelChild:0}),uS._38(603979776,130,{_errorChildren:1}),uS._38(603979776,131,{_hintChildren:1}),uS._38(603979776,132,{_prefixChildren:1}),uS._38(603979776,133,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,52)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,52).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,52)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,52)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,57)._onInput()&&u}return u},null,null)),uS._17(52,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(54,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(56,16384,null,0,xS.s,[xS.r],null,null),uS._17(57,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[127,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(62,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,134,{_control:0}),uS._38(335544320,135,{_placeholderChild:0}),uS._38(335544320,136,{_labelChild:0}),uS._38(603979776,137,{_errorChildren:1}),uS._38(603979776,138,{_hintChildren:1}),uS._38(603979776,139,{_prefixChildren:1}),uS._38(603979776,140,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,76)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,76)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,76)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(73,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(75,16384,null,0,xS.s,[xS.r],null,null),uS._17(76,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,141,{options:1}),uS._38(603979776,142,{optionGroups:1}),uS._38(335544320,143,{customTrigger:0}),uS._37(2048,[[134,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ap)),uS._17(83,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(88,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,144,{_control:0}),uS._38(335544320,145,{_placeholderChild:0}),uS._38(335544320,146,{_labelChild:0}),uS._38(603979776,147,{_errorChildren:1}),uS._38(603979776,148,{_hintChildren:1}),uS._38(603979776,149,{_prefixChildren:1}),uS._38(603979776,150,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,98)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,98).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,98)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,98)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,103)._onInput()&&u}return u},null,null)),uS._17(98,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(100,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(102,16384,null,0,xS.s,[xS.r],null,null),uS._17(103,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[144,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(108,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,151,{_control:0}),uS._38(335544320,152,{_placeholderChild:0}),uS._38(335544320,153,{_labelChild:0}),uS._38(603979776,154,{_errorChildren:1}),uS._38(603979776,155,{_hintChildren:1}),uS._38(603979776,156,{_prefixChildren:1}),uS._38(603979776,157,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,121)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,2)&&u}return u},LO.b,LO.a)),uS._17(118,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(120,16384,null,0,xS.s,[xS.r],null,null),uS._17(121,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,158,{options:1}),uS._38(603979776,159,{optionGroups:1}),uS._38(335544320,160,{customTrigger:0}),uS._37(2048,[[151,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,129)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,129)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(129,8437760,[[158,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ip)),uS._17(133,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,op)),uS._17(139,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(142,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,168,{_control:0}),uS._38(335544320,169,{_placeholderChild:0}),uS._38(335544320,170,{_labelChild:0}),uS._38(603979776,171,{_errorChildren:1}),uS._38(603979776,172,{_hintChildren:1}),uS._38(603979776,173,{_prefixChildren:1}),uS._38(603979776,174,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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"],["minlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,152)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,152).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,152)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,152)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,160)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,160)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,160)._onInput()&&u}return u},null,null)),uS._17(152,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(153,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(154,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(157,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(159,16384,null,0,xS.s,[xS.r],null,null),uS._17(160,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[168,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(163,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(164,16384,[[171,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid Mobile Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(168,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,cT.b,cT.a)),uS._17(169,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,175,{_control:0}),uS._38(335544320,176,{_placeholderChild:0}),uS._38(335544320,177,{_labelChild:0}),uS._38(603979776,178,{_errorChildren:1}),uS._38(603979776,179,{_hintChildren:1}),uS._38(603979776,180,{_prefixChildren:1}),uS._38(603979776,181,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(178,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,179)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,179).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,179)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,179)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,187)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,187)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,187)._onInput()&&u}return u},null,null)),uS._17(179,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(180,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(181,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(184,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(186,16384,null,0,xS.s,[xS.r],null,null),uS._17(187,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[175,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(190,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(191,16384,[[178,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid STD Code Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(196,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,cT.b,cT.a)),uS._17(197,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,182,{_control:0}),uS._38(335544320,183,{_placeholderChild:0}),uS._38(335544320,184,{_labelChild:0}),uS._38(603979776,185,{_errorChildren:1}),uS._38(603979776,186,{_hintChildren:1}),uS._38(603979776,187,{_prefixChildren:1}),uS._38(603979776,188,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(206,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Client Contact Person Landline Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,207)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,207).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,207)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,207)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,215)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,215)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,215)._onInput()&&u}return u},null,null)),uS._17(207,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(208,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(209,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(212,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(214,16384,null,0,xS.s,[xS.r],null,null),uS._17(215,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[182,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(218,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(219,16384,[[185,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid LandLine Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(223,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,cT.b,cT.a)),uS._17(224,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,189,{_control:0}),uS._38(335544320,190,{_placeholderChild:0}),uS._38(335544320,191,{_labelChild:0}),uS._38(603979776,192,{_errorChildren:1}),uS._38(603979776,193,{_hintChildren:1}),uS._38(603979776,194,{_prefixChildren:1}),uS._38(603979776,195,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(233,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,238)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,238)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,238)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,2,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(235,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(237,16384,null,0,xS.s,[xS.r],null,null),uS._17(238,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,196,{options:1}),uS._38(603979776,197,{optionGroups:1}),uS._38(335544320,198,{customTrigger:0}),uS._37(2048,[[189,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,rp)),uS._17(245,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(249,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,cT.b,cT.a)),uS._17(250,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,199,{_control:0}),uS._38(335544320,200,{_placeholderChild:0}),uS._38(335544320,201,{_labelChild:0}),uS._38(603979776,202,{_errorChildren:1}),uS._38(603979776,203,{_hintChildren:1}),uS._38(603979776,204,{_prefixChildren:1}),uS._38(603979776,205,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(259,0,null,1,22,"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!==uS._32(l,263)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,263)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,263)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(260,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(262,16384,null,0,xS.s,[xS.r],null,null),uS._17(263,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,206,{options:1}),uS._38(603979776,207,{optionGroups:1}),uS._38(335544320,208,{customTrigger:0}),uS._37(2048,[[199,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(270,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!==uS._32(l,271)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,271)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(271,8437760,[[206,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment received in\n Cash."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(274,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!==uS._32(l,275)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,275)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(275,8437760,[[206,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment\n received through Banking channels."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(278,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash and also 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!==uS._32(l,279)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,279)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(279,8437760,[[206,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment received in Cash and Bank."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_p)),uS._17(286,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(289,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(290,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,223,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(293,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(294,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dp)),uS._17(297,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(300,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(301,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,sp)),uS._17(304,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,153,0,"10");l(n,154,0,"10");l(n,157,0,"trade_product_contact_person_mobile_number");l(n,160,0,"Client Contact Person Mobile Number","tel");l(n,180,0,"3");l(n,181,0,"5");l(n,184,0,"person_stdcode");l(n,187,0,"STD Code","tel");l(n,208,0,"6");l(n,209,0,"8");l(n,212,0,"person_landline");l(n,215,0,"Client Contact Person Landline Number","tel");l(n,235,0,"trade_product_payment_type");l(n,238,0,"Payment Terms");l(n,245,0,e.m_paymentType);l(n,260,0,"trade_product_payment_mode");l(n,263,0,"Payment Mode");l(n,271,0,"Payment received in Cash.");l(n,275,0,"Payment received through Banking channels.");l(n,279,0,"Payment received in Cash and also through Banking channels.");l(n,286,0,3==n.context.$implicit.get("trade_product_payment_type").value);l(n,297,0,n.parent.context.$implicit.controls.trading_products.controls.length>1);l(n,304,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[uS._32(n,15)._control.errorState,uS._32(n,15)._control.errorState,uS._32(n,15)._canLabelFloat,uS._32(n,15)._shouldLabelFloat(),uS._32(n,15)._hideControlPlaceholder(),uS._32(n,15)._control.disabled,uS._32(n,15)._control.focused,"primary"==uS._32(n,15).color,"accent"==uS._32(n,15).color,"warn"==uS._32(n,15).color,uS._32(n,15)._shouldForward("untouched"),uS._32(n,15)._shouldForward("touched"),uS._32(n,15)._shouldForward("pristine"),uS._32(n,15)._shouldForward("dirty"),uS._32(n,15)._shouldForward("valid"),uS._32(n,15)._shouldForward("invalid"),uS._32(n,15)._shouldForward("pending")]);l(n,25,1,[uS._32(n,29).ngClassUntouched,uS._32(n,29).ngClassTouched,uS._32(n,29).ngClassPristine,uS._32(n,29).ngClassDirty,uS._32(n,29).ngClassValid,uS._32(n,29).ngClassInvalid,uS._32(n,29).ngClassPending,uS._32(n,30).id,uS._32(n,30).tabIndex,uS._32(n,30)._ariaLabel,uS._32(n,30).ariaLabelledby,uS._32(n,30).required.toString(),uS._32(n,30).disabled.toString(),uS._32(n,30).errorState,uS._32(n,30).panelOpen?uS._32(n,30)._optionIds:null,uS._32(n,30).multiple,uS._32(n,30)._ariaDescribedby||null,uS._32(n,30)._getAriaActiveDescendant(),uS._32(n,30).disabled,uS._32(n,30).errorState,uS._32(n,30).required]);l(n,41,1,[uS._32(n,42)._control.errorState,uS._32(n,42)._control.errorState,uS._32(n,42)._canLabelFloat,uS._32(n,42)._shouldLabelFloat(),uS._32(n,42)._hideControlPlaceholder(),uS._32(n,42)._control.disabled,uS._32(n,42)._control.focused,"primary"==uS._32(n,42).color,"accent"==uS._32(n,42).color,"warn"==uS._32(n,42).color,uS._32(n,42)._shouldForward("untouched"),uS._32(n,42)._shouldForward("touched"),uS._32(n,42)._shouldForward("pristine"),uS._32(n,42)._shouldForward("dirty"),uS._32(n,42)._shouldForward("valid"),uS._32(n,42)._shouldForward("invalid"),uS._32(n,42)._shouldForward("pending")]);l(n,51,1,[uS._32(n,56).ngClassUntouched,uS._32(n,56).ngClassTouched,uS._32(n,56).ngClassPristine,uS._32(n,56).ngClassDirty,uS._32(n,56).ngClassValid,uS._32(n,56).ngClassInvalid,uS._32(n,56).ngClassPending,uS._32(n,57)._isServer,uS._32(n,57).id,uS._32(n,57).placeholder,uS._32(n,57).disabled,uS._32(n,57).required,uS._32(n,57).readonly,uS._32(n,57)._ariaDescribedby||null,uS._32(n,57).errorState,uS._32(n,57).required.toString()]);l(n,61,1,[uS._32(n,62)._control.errorState,uS._32(n,62)._control.errorState,uS._32(n,62)._canLabelFloat,uS._32(n,62)._shouldLabelFloat(),uS._32(n,62)._hideControlPlaceholder(),uS._32(n,62)._control.disabled,uS._32(n,62)._control.focused,"primary"==uS._32(n,62).color,"accent"==uS._32(n,62).color,"warn"==uS._32(n,62).color,uS._32(n,62)._shouldForward("untouched"),uS._32(n,62)._shouldForward("touched"),uS._32(n,62)._shouldForward("pristine"),uS._32(n,62)._shouldForward("dirty"),uS._32(n,62)._shouldForward("valid"),uS._32(n,62)._shouldForward("invalid"),uS._32(n,62)._shouldForward("pending")]);l(n,71,1,[uS._32(n,75).ngClassUntouched,uS._32(n,75).ngClassTouched,uS._32(n,75).ngClassPristine,uS._32(n,75).ngClassDirty,uS._32(n,75).ngClassValid,uS._32(n,75).ngClassInvalid,uS._32(n,75).ngClassPending,uS._32(n,76).id,uS._32(n,76).tabIndex,uS._32(n,76)._ariaLabel,uS._32(n,76).ariaLabelledby,uS._32(n,76).required.toString(),uS._32(n,76).disabled.toString(),uS._32(n,76).errorState,uS._32(n,76).panelOpen?uS._32(n,76)._optionIds:null,uS._32(n,76).multiple,uS._32(n,76)._ariaDescribedby||null,uS._32(n,76)._getAriaActiveDescendant(),uS._32(n,76).disabled,uS._32(n,76).errorState,uS._32(n,76).required]);l(n,87,1,[uS._32(n,88)._control.errorState,uS._32(n,88)._control.errorState,uS._32(n,88)._canLabelFloat,uS._32(n,88)._shouldLabelFloat(),uS._32(n,88)._hideControlPlaceholder(),uS._32(n,88)._control.disabled,uS._32(n,88)._control.focused,"primary"==uS._32(n,88).color,"accent"==uS._32(n,88).color,"warn"==uS._32(n,88).color,uS._32(n,88)._shouldForward("untouched"),uS._32(n,88)._shouldForward("touched"),uS._32(n,88)._shouldForward("pristine"),uS._32(n,88)._shouldForward("dirty"),uS._32(n,88)._shouldForward("valid"),uS._32(n,88)._shouldForward("invalid"),uS._32(n,88)._shouldForward("pending")]);l(n,97,1,[uS._32(n,102).ngClassUntouched,uS._32(n,102).ngClassTouched,uS._32(n,102).ngClassPristine,uS._32(n,102).ngClassDirty,uS._32(n,102).ngClassValid,uS._32(n,102).ngClassInvalid,uS._32(n,102).ngClassPending,uS._32(n,103)._isServer,uS._32(n,103).id,uS._32(n,103).placeholder,uS._32(n,103).disabled,uS._32(n,103).required,uS._32(n,103).readonly,uS._32(n,103)._ariaDescribedby||null,uS._32(n,103).errorState,uS._32(n,103).required.toString()]);l(n,107,1,[uS._32(n,108)._control.errorState,uS._32(n,108)._control.errorState,uS._32(n,108)._canLabelFloat,uS._32(n,108)._shouldLabelFloat(),uS._32(n,108)._hideControlPlaceholder(),uS._32(n,108)._control.disabled,uS._32(n,108)._control.focused,"primary"==uS._32(n,108).color,"accent"==uS._32(n,108).color,"warn"==uS._32(n,108).color,uS._32(n,108)._shouldForward("untouched"),uS._32(n,108)._shouldForward("touched"),uS._32(n,108)._shouldForward("pristine"),uS._32(n,108)._shouldForward("dirty"),uS._32(n,108)._shouldForward("valid"),uS._32(n,108)._shouldForward("invalid"),uS._32(n,108)._shouldForward("pending")]);l(n,117,1,[uS._32(n,120).ngClassUntouched,uS._32(n,120).ngClassTouched,uS._32(n,120).ngClassPristine,uS._32(n,120).ngClassDirty,uS._32(n,120).ngClassValid,uS._32(n,120).ngClassInvalid,uS._32(n,120).ngClassPending,uS._32(n,121).id,uS._32(n,121).tabIndex,uS._32(n,121)._ariaLabel,uS._32(n,121).ariaLabelledby,uS._32(n,121).required.toString(),uS._32(n,121).disabled.toString(),uS._32(n,121).errorState,uS._32(n,121).panelOpen?uS._32(n,121)._optionIds:null,uS._32(n,121).multiple,uS._32(n,121)._ariaDescribedby||null,uS._32(n,121)._getAriaActiveDescendant(),uS._32(n,121).disabled,uS._32(n,121).errorState,uS._32(n,121).required]);l(n,128,0,uS._32(n,129)._getTabIndex(),uS._32(n,129).selected,uS._32(n,129).multiple,uS._32(n,129).active,uS._32(n,129).id,uS._32(n,129).selected.toString(),uS._32(n,129).disabled.toString(),uS._32(n,129).disabled);l(n,141,1,[uS._32(n,142)._control.errorState,uS._32(n,142)._control.errorState,uS._32(n,142)._canLabelFloat,uS._32(n,142)._shouldLabelFloat(),uS._32(n,142)._hideControlPlaceholder(),uS._32(n,142)._control.disabled,uS._32(n,142)._control.focused,"primary"==uS._32(n,142).color,"accent"==uS._32(n,142).color,"warn"==uS._32(n,142).color,uS._32(n,142)._shouldForward("untouched"),uS._32(n,142)._shouldForward("touched"),uS._32(n,142)._shouldForward("pristine"),uS._32(n,142)._shouldForward("dirty"),uS._32(n,142)._shouldForward("valid"),uS._32(n,142)._shouldForward("invalid"),uS._32(n,142)._shouldForward("pending")]);l(n,151,1,[uS._32(n,153).minlength?uS._32(n,153).minlength:null,uS._32(n,154).maxlength?uS._32(n,154).maxlength:null,uS._32(n,159).ngClassUntouched,uS._32(n,159).ngClassTouched,uS._32(n,159).ngClassPristine,uS._32(n,159).ngClassDirty,uS._32(n,159).ngClassValid,uS._32(n,159).ngClassInvalid,uS._32(n,159).ngClassPending,uS._32(n,160)._isServer,uS._32(n,160).id,uS._32(n,160).placeholder,uS._32(n,160).disabled,uS._32(n,160).required,uS._32(n,160).readonly,uS._32(n,160)._ariaDescribedby||null,uS._32(n,160).errorState,uS._32(n,160).required.toString()]);l(n,163,0,uS._32(n,164).id);l(n,168,1,[uS._32(n,169)._control.errorState,uS._32(n,169)._control.errorState,uS._32(n,169)._canLabelFloat,uS._32(n,169)._shouldLabelFloat(),uS._32(n,169)._hideControlPlaceholder(),uS._32(n,169)._control.disabled,uS._32(n,169)._control.focused,"primary"==uS._32(n,169).color,"accent"==uS._32(n,169).color,"warn"==uS._32(n,169).color,uS._32(n,169)._shouldForward("untouched"),uS._32(n,169)._shouldForward("touched"),uS._32(n,169)._shouldForward("pristine"),uS._32(n,169)._shouldForward("dirty"),uS._32(n,169)._shouldForward("valid"),uS._32(n,169)._shouldForward("invalid"),uS._32(n,169)._shouldForward("pending")]);l(n,178,1,[uS._32(n,180).minlength?uS._32(n,180).minlength:null,uS._32(n,181).maxlength?uS._32(n,181).maxlength:null,uS._32(n,186).ngClassUntouched,uS._32(n,186).ngClassTouched,uS._32(n,186).ngClassPristine,uS._32(n,186).ngClassDirty,uS._32(n,186).ngClassValid,uS._32(n,186).ngClassInvalid,uS._32(n,186).ngClassPending,uS._32(n,187)._isServer,uS._32(n,187).id,uS._32(n,187).placeholder,uS._32(n,187).disabled,uS._32(n,187).required,uS._32(n,187).readonly,uS._32(n,187)._ariaDescribedby||null,uS._32(n,187).errorState,uS._32(n,187).required.toString()]);l(n,190,0,uS._32(n,191).id);l(n,196,1,[uS._32(n,197)._control.errorState,uS._32(n,197)._control.errorState,uS._32(n,197)._canLabelFloat,uS._32(n,197)._shouldLabelFloat(),uS._32(n,197)._hideControlPlaceholder(),uS._32(n,197)._control.disabled,uS._32(n,197)._control.focused,"primary"==uS._32(n,197).color,"accent"==uS._32(n,197).color,"warn"==uS._32(n,197).color,uS._32(n,197)._shouldForward("untouched"),uS._32(n,197)._shouldForward("touched"),uS._32(n,197)._shouldForward("pristine"),uS._32(n,197)._shouldForward("dirty"),uS._32(n,197)._shouldForward("valid"),uS._32(n,197)._shouldForward("invalid"),uS._32(n,197)._shouldForward("pending")]);l(n,206,1,[uS._32(n,208).minlength?uS._32(n,208).minlength:null,uS._32(n,209).maxlength?uS._32(n,209).maxlength:null,uS._32(n,214).ngClassUntouched,uS._32(n,214).ngClassTouched,uS._32(n,214).ngClassPristine,uS._32(n,214).ngClassDirty,uS._32(n,214).ngClassValid,uS._32(n,214).ngClassInvalid,uS._32(n,214).ngClassPending,uS._32(n,215)._isServer,uS._32(n,215).id,uS._32(n,215).placeholder,uS._32(n,215).disabled,uS._32(n,215).required,uS._32(n,215).readonly,uS._32(n,215)._ariaDescribedby||null,uS._32(n,215).errorState,uS._32(n,215).required.toString()]);l(n,218,0,uS._32(n,219).id);l(n,223,1,[uS._32(n,224)._control.errorState,uS._32(n,224)._control.errorState,uS._32(n,224)._canLabelFloat,uS._32(n,224)._shouldLabelFloat(),uS._32(n,224)._hideControlPlaceholder(),uS._32(n,224)._control.disabled,uS._32(n,224)._control.focused,"primary"==uS._32(n,224).color,"accent"==uS._32(n,224).color,"warn"==uS._32(n,224).color,uS._32(n,224)._shouldForward("untouched"),uS._32(n,224)._shouldForward("touched"),uS._32(n,224)._shouldForward("pristine"),uS._32(n,224)._shouldForward("dirty"),uS._32(n,224)._shouldForward("valid"),uS._32(n,224)._shouldForward("invalid"),uS._32(n,224)._shouldForward("pending")]);l(n,233,1,[uS._32(n,237).ngClassUntouched,uS._32(n,237).ngClassTouched,uS._32(n,237).ngClassPristine,uS._32(n,237).ngClassDirty,uS._32(n,237).ngClassValid,uS._32(n,237).ngClassInvalid,uS._32(n,237).ngClassPending,uS._32(n,238).id,uS._32(n,238).tabIndex,uS._32(n,238)._ariaLabel,uS._32(n,238).ariaLabelledby,uS._32(n,238).required.toString(),uS._32(n,238).disabled.toString(),uS._32(n,238).errorState,uS._32(n,238).panelOpen?uS._32(n,238)._optionIds:null,uS._32(n,238).multiple,uS._32(n,238)._ariaDescribedby||null,uS._32(n,238)._getAriaActiveDescendant(),uS._32(n,238).disabled,uS._32(n,238).errorState,uS._32(n,238).required]);l(n,249,1,[uS._32(n,250)._control.errorState,uS._32(n,250)._control.errorState,uS._32(n,250)._canLabelFloat,uS._32(n,250)._shouldLabelFloat(),uS._32(n,250)._hideControlPlaceholder(),uS._32(n,250)._control.disabled,uS._32(n,250)._control.focused,"primary"==uS._32(n,250).color,"accent"==uS._32(n,250).color,"warn"==uS._32(n,250).color,uS._32(n,250)._shouldForward("untouched"),uS._32(n,250)._shouldForward("touched"),uS._32(n,250)._shouldForward("pristine"),uS._32(n,250)._shouldForward("dirty"),uS._32(n,250)._shouldForward("valid"),uS._32(n,250)._shouldForward("invalid"),uS._32(n,250)._shouldForward("pending")]);l(n,259,1,[uS._32(n,262).ngClassUntouched,uS._32(n,262).ngClassTouched,uS._32(n,262).ngClassPristine,uS._32(n,262).ngClassDirty,uS._32(n,262).ngClassValid,uS._32(n,262).ngClassInvalid,uS._32(n,262).ngClassPending,uS._32(n,263).id,uS._32(n,263).tabIndex,uS._32(n,263)._ariaLabel,uS._32(n,263).ariaLabelledby,uS._32(n,263).required.toString(),uS._32(n,263).disabled.toString(),uS._32(n,263).errorState,uS._32(n,263).panelOpen?uS._32(n,263)._optionIds:null,uS._32(n,263).multiple,uS._32(n,263)._ariaDescribedby||null,uS._32(n,263)._getAriaActiveDescendant(),uS._32(n,263).disabled,uS._32(n,263).errorState,uS._32(n,263).required]);l(n,270,0,uS._32(n,271)._getTabIndex(),uS._32(n,271).selected,uS._32(n,271).multiple,uS._32(n,271).active,uS._32(n,271).id,uS._32(n,271).selected.toString(),uS._32(n,271).disabled.toString(),uS._32(n,271).disabled);l(n,274,0,uS._32(n,275)._getTabIndex(),uS._32(n,275).selected,uS._32(n,275).multiple,uS._32(n,275).active,uS._32(n,275).id,uS._32(n,275).selected.toString(),uS._32(n,275).disabled.toString(),uS._32(n,275).disabled);l(n,278,0,uS._32(n,279)._getTabIndex(),uS._32(n,279).selected,uS._32(n,279).multiple,uS._32(n,279).active,uS._32(n,279).id,uS._32(n,279).selected.toString(),uS._32(n,279).disabled.toString(),uS._32(n,279).disabled)})}function mp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,224,{_control:0}),uS._38(335544320,225,{_placeholderChild:0}),uS._38(335544320,226,{_labelChild:0}),uS._38(603979776,227,{_errorChildren:1}),uS._38(603979776,228,{_hintChildren:1}),uS._38(603979776,229,{_prefixChildren:1}),uS._38(603979776,230,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[224,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()])})}function pp(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,cp)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,mp)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending)})}function fp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Trading Product Details"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(9,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(11,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,pp)),uS._17(14,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending)})}function hp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[238,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function gp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[255,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function bp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[272,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function vp(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,275,{_control:0}),uS._38(335544320,276,{_placeholderChild:0}),uS._38(335544320,277,{_labelChild:0}),uS._38(603979776,278,{_errorChildren:1}),uS._38(603979776,279,{_hintChildren:1}),uS._38(603979776,280,{_prefixChildren:1}),uS._38(603979776,281,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[275,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function yp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[310,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Cp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(3,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(7,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,323,{_control:0}),uS._38(335544320,324,{_placeholderChild:0}),uS._38(335544320,325,{_labelChild:0}),uS._38(603979776,326,{_errorChildren:1}),uS._38(603979776,327,{_hintChildren:1}),uS._38(603979776,328,{_prefixChildren:1}),uS._38(603979776,329,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(17,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(18,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[323,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(28,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,330,{_control:0}),uS._38(335544320,331,{_placeholderChild:0}),uS._38(335544320,332,{_labelChild:0}),uS._38(603979776,333,{_errorChildren:1}),uS._38(603979776,334,{_hintChildren:1}),uS._38(603979776,335,{_prefixChildren:1}),uS._38(603979776,336,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,44)._onInput()&&u}return u},null,null)),uS._17(38,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(39,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(41,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(43,16384,null,0,xS.s,[xS.r],null,null),uS._17(44,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[330,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,7)._control.errorState,uS._32(n,7)._control.errorState,uS._32(n,7)._canLabelFloat,uS._32(n,7)._shouldLabelFloat(),uS._32(n,7)._hideControlPlaceholder(),uS._32(n,7)._control.disabled,uS._32(n,7)._control.focused,"primary"==uS._32(n,7).color,"accent"==uS._32(n,7).color,"warn"==uS._32(n,7).color,uS._32(n,7)._shouldForward("untouched"),uS._32(n,7)._shouldForward("touched"),uS._32(n,7)._shouldForward("pristine"),uS._32(n,7)._shouldForward("dirty"),uS._32(n,7)._shouldForward("valid"),uS._32(n,7)._shouldForward("invalid"),uS._32(n,7)._shouldForward("pending")]);l(n,16,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()]);l(n,27,1,[uS._32(n,28)._control.errorState,uS._32(n,28)._control.errorState,uS._32(n,28)._canLabelFloat,uS._32(n,28)._shouldLabelFloat(),uS._32(n,28)._hideControlPlaceholder(),uS._32(n,28)._control.disabled,uS._32(n,28)._control.focused,"primary"==uS._32(n,28).color,"accent"==uS._32(n,28).color,"warn"==uS._32(n,28).color,uS._32(n,28)._shouldForward("untouched"),uS._32(n,28)._shouldForward("touched"),uS._32(n,28)._shouldForward("pristine"),uS._32(n,28)._shouldForward("dirty"),uS._32(n,28)._shouldForward("valid"),uS._32(n,28)._shouldForward("invalid"),uS._32(n,28)._shouldForward("pending")]);l(n,37,1,[uS._32(n,43).ngClassUntouched,uS._32(n,43).ngClassTouched,uS._32(n,43).ngClassPristine,uS._32(n,43).ngClassDirty,uS._32(n,43).ngClassValid,uS._32(n,43).ngClassInvalid,uS._32(n,43).ngClassPending,uS._32(n,44)._isServer,uS._32(n,44).id,uS._32(n,44).placeholder,uS._32(n,44).disabled,uS._32(n,44).required,uS._32(n,44).readonly,uS._32(n,44)._ariaDescribedby||null,uS._32(n,44).errorState,uS._32(n,44).required.toString()])})}function wp(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Fp(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function xp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,308,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.g,[],null,null),(l()(),uS._40(7,null,["Service Provided #",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,298,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,272,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(15,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,231,{_control:0}),uS._38(335544320,232,{_placeholderChild:0}),uS._38(335544320,233,{_labelChild:0}),uS._38(603979776,234,{_errorChildren:1}),uS._38(603979776,235,{_hintChildren:1}),uS._38(603979776,236,{_prefixChildren:1}),uS._38(603979776,237,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,29)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(26,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(28,16384,null,0,xS.s,[xS.r],null,null),uS._17(29,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,238,{options:1}),uS._38(603979776,239,{optionGroups:1}),uS._38(335544320,240,{customTrigger:0}),uS._37(2048,[[231,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,hp)),uS._17(36,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(41,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,241,{_control:0}),uS._38(335544320,242,{_placeholderChild:0}),uS._38(335544320,243,{_labelChild:0}),uS._38(603979776,244,{_errorChildren:1}),uS._38(603979776,245,{_hintChildren:1}),uS._38(603979776,246,{_prefixChildren:1}),uS._38(603979776,247,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,56)._onInput()&&u}return u},null,null)),uS._17(51,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(53,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(55,16384,null,0,xS.s,[xS.r],null,null),uS._17(56,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[241,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(61,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,248,{_control:0}),uS._38(335544320,249,{_placeholderChild:0}),uS._38(335544320,250,{_labelChild:0}),uS._38(603979776,251,{_errorChildren:1}),uS._38(603979776,252,{_hintChildren:1}),uS._38(603979776,253,{_prefixChildren:1}),uS._38(603979776,254,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,75)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(72,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(74,16384,null,0,xS.s,[xS.r],null,null),uS._17(75,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,255,{options:1}),uS._38(603979776,256,{optionGroups:1}),uS._38(335544320,257,{customTrigger:0}),uS._37(2048,[[248,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,gp)),uS._17(82,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(87,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,258,{_control:0}),uS._38(335544320,259,{_placeholderChild:0}),uS._38(335544320,260,{_labelChild:0}),uS._38(603979776,261,{_errorChildren:1}),uS._38(603979776,262,{_hintChildren:1}),uS._38(603979776,263,{_prefixChildren:1}),uS._38(603979776,264,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,102)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,102)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,102)._onInput()&&u}return u},null,null)),uS._17(97,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(99,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(101,16384,null,0,xS.s,[xS.r],null,null),uS._17(102,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[258,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(107,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,265,{_control:0}),uS._38(335544320,266,{_placeholderChild:0}),uS._38(335544320,267,{_labelChild:0}),uS._38(603979776,268,{_errorChildren:1}),uS._38(603979776,269,{_hintChildren:1}),uS._38(603979776,270,{_prefixChildren:1}),uS._38(603979776,271,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,120)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,120)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,120)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,3)&&u}return u},LO.b,LO.a)),uS._17(117,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(119,16384,null,0,xS.s,[xS.r],null,null),uS._17(120,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,272,{options:1}),uS._38(603979776,273,{optionGroups:1}),uS._38(335544320,274,{customTrigger:0}),uS._37(2048,[[265,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,128)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,128)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(128,8437760,[[272,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,bp)),uS._17(132,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vp)),uS._17(138,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(140,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,cT.b,cT.a)),uS._17(141,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,282,{_control:0}),uS._38(335544320,283,{_placeholderChild:0}),uS._38(335544320,284,{_labelChild:0}),uS._38(603979776,285,{_errorChildren:1}),uS._38(603979776,286,{_hintChildren:1}),uS._38(603979776,287,{_prefixChildren:1}),uS._38(603979776,288,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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"],["minlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,151)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,159)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,159)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,159)._onInput()&&u}return u},null,null)),uS._17(151,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(152,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(153,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(156,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(158,16384,null,0,xS.s,[xS.r],null,null),uS._17(159,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[282,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(163,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px"]],[[1,"id",0]],null,null,null,null)),uS._17(164,16384,[[285,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid Mobile Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(168,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,cT.b,cT.a)),uS._17(169,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,289,{_control:0}),uS._38(335544320,290,{_placeholderChild:0}),uS._38(335544320,291,{_labelChild:0}),uS._38(603979776,292,{_errorChildren:1}),uS._38(603979776,293,{_hintChildren:1}),uS._38(603979776,294,{_prefixChildren:1}),uS._38(603979776,295,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(178,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["maxlength","5"],["minlength","3"],["placeholder","STD Code"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,179)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,179).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,179)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,179)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,187)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,187)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,187)._onInput()&&u}return u},null,null)),uS._17(179,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(180,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(181,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(184,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(186,16384,null,0,xS.s,[xS.r],null,null),uS._17(187,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[289,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(190,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(191,16384,[[292,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid STD Code Number"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(196,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,cT.b,cT.a)),uS._17(197,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,296,{_control:0}),uS._38(335544320,297,{_placeholderChild:0}),uS._38(335544320,298,{_labelChild:0}),uS._38(603979776,299,{_errorChildren:1}),uS._38(603979776,300,{_hintChildren:1}),uS._38(603979776,301,{_prefixChildren:1}),uS._38(603979776,302,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(206,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Client Contact Person Landline Number"],["type","tel"]],[[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,207)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,207).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,207)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,207)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,215)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,215)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,215)._onInput()&&u}return u},null,null)),uS._17(207,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(208,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(209,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(212,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(214,16384,null,0,xS.s,[xS.r],null,null),uS._17(215,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[296,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(218,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(219,16384,[[299,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid LandLine Number."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(223,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,cT.b,cT.a)),uS._17(224,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,303,{_control:0}),uS._38(335544320,304,{_placeholderChild:0}),uS._38(335544320,305,{_labelChild:0}),uS._38(603979776,306,{_errorChildren:1}),uS._38(603979776,307,{_hintChildren:1}),uS._38(603979776,308,{_prefixChildren:1}),uS._38(603979776,309,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(233,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,238)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,238)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,238)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,3,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(235,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(237,16384,null,0,xS.s,[xS.r],null,null),uS._17(238,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,310,{options:1}),uS._38(603979776,311,{optionGroups:1}),uS._38(335544320,312,{customTrigger:0}),uS._37(2048,[[303,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,yp)),uS._17(245,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(249,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,cT.b,cT.a)),uS._17(250,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,313,{_control:0}),uS._38(335544320,314,{_placeholderChild:0}),uS._38(335544320,315,{_labelChild:0}),uS._38(603979776,316,{_errorChildren:1}),uS._38(603979776,317,{_hintChildren:1}),uS._38(603979776,318,{_prefixChildren:1}),uS._38(603979776,319,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(259,0,null,1,22,"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!==uS._32(l,263)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,263)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,263)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(260,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(262,16384,null,0,xS.s,[xS.r],null,null),uS._17(263,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,320,{options:1}),uS._38(603979776,321,{optionGroups:1}),uS._38(335544320,322,{customTrigger:0}),uS._37(2048,[[313,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(270,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!==uS._32(l,271)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,271)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(271,8437760,[[320,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment received in\n Cash."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(274,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!==uS._32(l,275)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,275)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(275,8437760,[[320,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment\n received through Banking channels."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(278,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash and also 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!==uS._32(l,279)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,279)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(279,8437760,[[320,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Payment received in Cash and Bank."])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Cp)),uS._17(287,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(289,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(290,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,337,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(293,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(294,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wp)),uS._17(297,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(300,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(301,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fp)),uS._17(304,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,152,0,"10");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","tel");l(n,180,0,"3");l(n,181,0,"5");l(n,184,0,"person_stdcode");l(n,187,0,"STD Code","tel");l(n,208,0,"6");l(n,209,0,"8");l(n,212,0,"person_landline");l(n,215,0,"Client Contact Person Landline Number","tel");l(n,235,0,"service_provider_product_payment_type");l(n,238,0,"Payment Terms");l(n,245,0,e.m_paymentType);l(n,260,0,"service_provider_product_payment_mode");l(n,263,0,"Payment Mode");l(n,271,0,"Payment received in Cash.");l(n,275,0,"Payment received through Banking channels.");l(n,279,0,"Payment received in Cash and also through Banking channels.");l(n,287,0,3==n.context.$implicit.get("service_provider_product_payment_type").value);l(n,297,0,n.parent.context.$implicit.controls.service_products.controls.length>1);l(n,304,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[uS._32(n,15)._control.errorState,uS._32(n,15)._control.errorState,uS._32(n,15)._canLabelFloat,uS._32(n,15)._shouldLabelFloat(),uS._32(n,15)._hideControlPlaceholder(),uS._32(n,15)._control.disabled,uS._32(n,15)._control.focused,"primary"==uS._32(n,15).color,"accent"==uS._32(n,15).color,"warn"==uS._32(n,15).color,uS._32(n,15)._shouldForward("untouched"),uS._32(n,15)._shouldForward("touched"),uS._32(n,15)._shouldForward("pristine"),uS._32(n,15)._shouldForward("dirty"),uS._32(n,15)._shouldForward("valid"),uS._32(n,15)._shouldForward("invalid"),uS._32(n,15)._shouldForward("pending")]);l(n,24,1,[uS._32(n,28).ngClassUntouched,uS._32(n,28).ngClassTouched,uS._32(n,28).ngClassPristine,uS._32(n,28).ngClassDirty,uS._32(n,28).ngClassValid,uS._32(n,28).ngClassInvalid,uS._32(n,28).ngClassPending,uS._32(n,29).id,uS._32(n,29).tabIndex,uS._32(n,29)._ariaLabel,uS._32(n,29).ariaLabelledby,uS._32(n,29).required.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).errorState,uS._32(n,29).panelOpen?uS._32(n,29)._optionIds:null,uS._32(n,29).multiple,uS._32(n,29)._ariaDescribedby||null,uS._32(n,29)._getAriaActiveDescendant(),uS._32(n,29).disabled,uS._32(n,29).errorState,uS._32(n,29).required]);l(n,40,1,[uS._32(n,41)._control.errorState,uS._32(n,41)._control.errorState,uS._32(n,41)._canLabelFloat,uS._32(n,41)._shouldLabelFloat(),uS._32(n,41)._hideControlPlaceholder(),uS._32(n,41)._control.disabled,uS._32(n,41)._control.focused,"primary"==uS._32(n,41).color,"accent"==uS._32(n,41).color,"warn"==uS._32(n,41).color,uS._32(n,41)._shouldForward("untouched"),uS._32(n,41)._shouldForward("touched"),uS._32(n,41)._shouldForward("pristine"),uS._32(n,41)._shouldForward("dirty"),uS._32(n,41)._shouldForward("valid"),uS._32(n,41)._shouldForward("invalid"),uS._32(n,41)._shouldForward("pending")]);l(n,50,1,[uS._32(n,55).ngClassUntouched,uS._32(n,55).ngClassTouched,uS._32(n,55).ngClassPristine,uS._32(n,55).ngClassDirty,uS._32(n,55).ngClassValid,uS._32(n,55).ngClassInvalid,uS._32(n,55).ngClassPending,uS._32(n,56)._isServer,uS._32(n,56).id,uS._32(n,56).placeholder,uS._32(n,56).disabled,uS._32(n,56).required,uS._32(n,56).readonly,uS._32(n,56)._ariaDescribedby||null,uS._32(n,56).errorState,uS._32(n,56).required.toString()]);l(n,60,1,[uS._32(n,61)._control.errorState,uS._32(n,61)._control.errorState,uS._32(n,61)._canLabelFloat,uS._32(n,61)._shouldLabelFloat(),uS._32(n,61)._hideControlPlaceholder(),uS._32(n,61)._control.disabled,uS._32(n,61)._control.focused,"primary"==uS._32(n,61).color,"accent"==uS._32(n,61).color,"warn"==uS._32(n,61).color,uS._32(n,61)._shouldForward("untouched"),uS._32(n,61)._shouldForward("touched"),uS._32(n,61)._shouldForward("pristine"),uS._32(n,61)._shouldForward("dirty"),uS._32(n,61)._shouldForward("valid"),uS._32(n,61)._shouldForward("invalid"),uS._32(n,61)._shouldForward("pending")]);l(n,70,1,[uS._32(n,74).ngClassUntouched,uS._32(n,74).ngClassTouched,uS._32(n,74).ngClassPristine,uS._32(n,74).ngClassDirty,uS._32(n,74).ngClassValid,uS._32(n,74).ngClassInvalid,uS._32(n,74).ngClassPending,uS._32(n,75).id,uS._32(n,75).tabIndex,uS._32(n,75)._ariaLabel,uS._32(n,75).ariaLabelledby,uS._32(n,75).required.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).errorState,uS._32(n,75).panelOpen?uS._32(n,75)._optionIds:null,uS._32(n,75).multiple,uS._32(n,75)._ariaDescribedby||null,uS._32(n,75)._getAriaActiveDescendant(),uS._32(n,75).disabled,uS._32(n,75).errorState,uS._32(n,75).required]);l(n,86,1,[uS._32(n,87)._control.errorState,uS._32(n,87)._control.errorState,uS._32(n,87)._canLabelFloat,uS._32(n,87)._shouldLabelFloat(),uS._32(n,87)._hideControlPlaceholder(),uS._32(n,87)._control.disabled,uS._32(n,87)._control.focused,"primary"==uS._32(n,87).color,"accent"==uS._32(n,87).color,"warn"==uS._32(n,87).color,uS._32(n,87)._shouldForward("untouched"),uS._32(n,87)._shouldForward("touched"),uS._32(n,87)._shouldForward("pristine"),uS._32(n,87)._shouldForward("dirty"),uS._32(n,87)._shouldForward("valid"),uS._32(n,87)._shouldForward("invalid"),uS._32(n,87)._shouldForward("pending")]);l(n,96,1,[uS._32(n,101).ngClassUntouched,uS._32(n,101).ngClassTouched,uS._32(n,101).ngClassPristine,uS._32(n,101).ngClassDirty,uS._32(n,101).ngClassValid,uS._32(n,101).ngClassInvalid,uS._32(n,101).ngClassPending,uS._32(n,102)._isServer,uS._32(n,102).id,uS._32(n,102).placeholder,uS._32(n,102).disabled,uS._32(n,102).required,uS._32(n,102).readonly,uS._32(n,102)._ariaDescribedby||null,uS._32(n,102).errorState,uS._32(n,102).required.toString()]);l(n,106,1,[uS._32(n,107)._control.errorState,uS._32(n,107)._control.errorState,uS._32(n,107)._canLabelFloat,uS._32(n,107)._shouldLabelFloat(),uS._32(n,107)._hideControlPlaceholder(),uS._32(n,107)._control.disabled,uS._32(n,107)._control.focused,"primary"==uS._32(n,107).color,"accent"==uS._32(n,107).color,"warn"==uS._32(n,107).color,uS._32(n,107)._shouldForward("untouched"),uS._32(n,107)._shouldForward("touched"),uS._32(n,107)._shouldForward("pristine"),uS._32(n,107)._shouldForward("dirty"),uS._32(n,107)._shouldForward("valid"),uS._32(n,107)._shouldForward("invalid"),uS._32(n,107)._shouldForward("pending")]);l(n,116,1,[uS._32(n,119).ngClassUntouched,uS._32(n,119).ngClassTouched,uS._32(n,119).ngClassPristine,uS._32(n,119).ngClassDirty,uS._32(n,119).ngClassValid,uS._32(n,119).ngClassInvalid,uS._32(n,119).ngClassPending,uS._32(n,120).id,uS._32(n,120).tabIndex,uS._32(n,120)._ariaLabel,uS._32(n,120).ariaLabelledby,uS._32(n,120).required.toString(),uS._32(n,120).disabled.toString(),uS._32(n,120).errorState,uS._32(n,120).panelOpen?uS._32(n,120)._optionIds:null,uS._32(n,120).multiple,uS._32(n,120)._ariaDescribedby||null,uS._32(n,120)._getAriaActiveDescendant(),uS._32(n,120).disabled,uS._32(n,120).errorState,uS._32(n,120).required]);l(n,127,0,uS._32(n,128)._getTabIndex(),uS._32(n,128).selected,uS._32(n,128).multiple,uS._32(n,128).active,uS._32(n,128).id,uS._32(n,128).selected.toString(),uS._32(n,128).disabled.toString(),uS._32(n,128).disabled);l(n,140,1,[uS._32(n,141)._control.errorState,uS._32(n,141)._control.errorState,uS._32(n,141)._canLabelFloat,uS._32(n,141)._shouldLabelFloat(),uS._32(n,141)._hideControlPlaceholder(),uS._32(n,141)._control.disabled,uS._32(n,141)._control.focused,"primary"==uS._32(n,141).color,"accent"==uS._32(n,141).color,"warn"==uS._32(n,141).color,uS._32(n,141)._shouldForward("untouched"),uS._32(n,141)._shouldForward("touched"),uS._32(n,141)._shouldForward("pristine"),uS._32(n,141)._shouldForward("dirty"),uS._32(n,141)._shouldForward("valid"),uS._32(n,141)._shouldForward("invalid"),uS._32(n,141)._shouldForward("pending")]);l(n,150,1,[uS._32(n,152).minlength?uS._32(n,152).minlength:null,uS._32(n,153).maxlength?uS._32(n,153).maxlength:null,uS._32(n,158).ngClassUntouched,uS._32(n,158).ngClassTouched,uS._32(n,158).ngClassPristine,uS._32(n,158).ngClassDirty,uS._32(n,158).ngClassValid,uS._32(n,158).ngClassInvalid,uS._32(n,158).ngClassPending,uS._32(n,159)._isServer,uS._32(n,159).id,uS._32(n,159).placeholder,uS._32(n,159).disabled,uS._32(n,159).required,uS._32(n,159).readonly,uS._32(n,159)._ariaDescribedby||null,uS._32(n,159).errorState,uS._32(n,159).required.toString()]);l(n,163,0,uS._32(n,164).id);l(n,168,1,[uS._32(n,169)._control.errorState,uS._32(n,169)._control.errorState,uS._32(n,169)._canLabelFloat,uS._32(n,169)._shouldLabelFloat(),uS._32(n,169)._hideControlPlaceholder(),uS._32(n,169)._control.disabled,uS._32(n,169)._control.focused,"primary"==uS._32(n,169).color,"accent"==uS._32(n,169).color,"warn"==uS._32(n,169).color,uS._32(n,169)._shouldForward("untouched"),uS._32(n,169)._shouldForward("touched"),uS._32(n,169)._shouldForward("pristine"),uS._32(n,169)._shouldForward("dirty"),uS._32(n,169)._shouldForward("valid"),uS._32(n,169)._shouldForward("invalid"),uS._32(n,169)._shouldForward("pending")]);l(n,178,1,[uS._32(n,180).minlength?uS._32(n,180).minlength:null,uS._32(n,181).maxlength?uS._32(n,181).maxlength:null,uS._32(n,186).ngClassUntouched,uS._32(n,186).ngClassTouched,uS._32(n,186).ngClassPristine,uS._32(n,186).ngClassDirty,uS._32(n,186).ngClassValid,uS._32(n,186).ngClassInvalid,uS._32(n,186).ngClassPending,uS._32(n,187)._isServer,uS._32(n,187).id,uS._32(n,187).placeholder,uS._32(n,187).disabled,uS._32(n,187).required,uS._32(n,187).readonly,uS._32(n,187)._ariaDescribedby||null,uS._32(n,187).errorState,uS._32(n,187).required.toString()]);l(n,190,0,uS._32(n,191).id);l(n,196,1,[uS._32(n,197)._control.errorState,uS._32(n,197)._control.errorState,uS._32(n,197)._canLabelFloat,uS._32(n,197)._shouldLabelFloat(),uS._32(n,197)._hideControlPlaceholder(),uS._32(n,197)._control.disabled,uS._32(n,197)._control.focused,"primary"==uS._32(n,197).color,"accent"==uS._32(n,197).color,"warn"==uS._32(n,197).color,uS._32(n,197)._shouldForward("untouched"),uS._32(n,197)._shouldForward("touched"),uS._32(n,197)._shouldForward("pristine"),uS._32(n,197)._shouldForward("dirty"),uS._32(n,197)._shouldForward("valid"),uS._32(n,197)._shouldForward("invalid"),uS._32(n,197)._shouldForward("pending")]);l(n,206,1,[uS._32(n,208).minlength?uS._32(n,208).minlength:null,uS._32(n,209).maxlength?uS._32(n,209).maxlength:null,uS._32(n,214).ngClassUntouched,uS._32(n,214).ngClassTouched,uS._32(n,214).ngClassPristine,uS._32(n,214).ngClassDirty,uS._32(n,214).ngClassValid,uS._32(n,214).ngClassInvalid,uS._32(n,214).ngClassPending,uS._32(n,215)._isServer,uS._32(n,215).id,uS._32(n,215).placeholder,uS._32(n,215).disabled,uS._32(n,215).required,uS._32(n,215).readonly,uS._32(n,215)._ariaDescribedby||null,uS._32(n,215).errorState,uS._32(n,215).required.toString()]);l(n,218,0,uS._32(n,219).id);l(n,223,1,[uS._32(n,224)._control.errorState,uS._32(n,224)._control.errorState,uS._32(n,224)._canLabelFloat,uS._32(n,224)._shouldLabelFloat(),uS._32(n,224)._hideControlPlaceholder(),uS._32(n,224)._control.disabled,uS._32(n,224)._control.focused,"primary"==uS._32(n,224).color,"accent"==uS._32(n,224).color,"warn"==uS._32(n,224).color,uS._32(n,224)._shouldForward("untouched"),uS._32(n,224)._shouldForward("touched"),uS._32(n,224)._shouldForward("pristine"),uS._32(n,224)._shouldForward("dirty"),uS._32(n,224)._shouldForward("valid"),uS._32(n,224)._shouldForward("invalid"),uS._32(n,224)._shouldForward("pending")]);l(n,233,1,[uS._32(n,237).ngClassUntouched,uS._32(n,237).ngClassTouched,uS._32(n,237).ngClassPristine,uS._32(n,237).ngClassDirty,uS._32(n,237).ngClassValid,uS._32(n,237).ngClassInvalid,uS._32(n,237).ngClassPending,uS._32(n,238).id,uS._32(n,238).tabIndex,uS._32(n,238)._ariaLabel,uS._32(n,238).ariaLabelledby,uS._32(n,238).required.toString(),uS._32(n,238).disabled.toString(),uS._32(n,238).errorState,uS._32(n,238).panelOpen?uS._32(n,238)._optionIds:null,uS._32(n,238).multiple,uS._32(n,238)._ariaDescribedby||null,uS._32(n,238)._getAriaActiveDescendant(),uS._32(n,238).disabled,uS._32(n,238).errorState,uS._32(n,238).required]);l(n,249,1,[uS._32(n,250)._control.errorState,uS._32(n,250)._control.errorState,uS._32(n,250)._canLabelFloat,uS._32(n,250)._shouldLabelFloat(),uS._32(n,250)._hideControlPlaceholder(),uS._32(n,250)._control.disabled,uS._32(n,250)._control.focused,"primary"==uS._32(n,250).color,"accent"==uS._32(n,250).color,"warn"==uS._32(n,250).color,uS._32(n,250)._shouldForward("untouched"),uS._32(n,250)._shouldForward("touched"),uS._32(n,250)._shouldForward("pristine"),uS._32(n,250)._shouldForward("dirty"),uS._32(n,250)._shouldForward("valid"),uS._32(n,250)._shouldForward("invalid"),uS._32(n,250)._shouldForward("pending")]);l(n,259,1,[uS._32(n,262).ngClassUntouched,uS._32(n,262).ngClassTouched,uS._32(n,262).ngClassPristine,uS._32(n,262).ngClassDirty,uS._32(n,262).ngClassValid,uS._32(n,262).ngClassInvalid,uS._32(n,262).ngClassPending,uS._32(n,263).id,uS._32(n,263).tabIndex,uS._32(n,263)._ariaLabel,uS._32(n,263).ariaLabelledby,uS._32(n,263).required.toString(),uS._32(n,263).disabled.toString(),uS._32(n,263).errorState,uS._32(n,263).panelOpen?uS._32(n,263)._optionIds:null,uS._32(n,263).multiple,uS._32(n,263)._ariaDescribedby||null,uS._32(n,263)._getAriaActiveDescendant(),uS._32(n,263).disabled,uS._32(n,263).errorState,uS._32(n,263).required]);l(n,270,0,uS._32(n,271)._getTabIndex(),uS._32(n,271).selected,uS._32(n,271).multiple,uS._32(n,271).active,uS._32(n,271).id,uS._32(n,271).selected.toString(),uS._32(n,271).disabled.toString(),uS._32(n,271).disabled);l(n,274,0,uS._32(n,275)._getTabIndex(),uS._32(n,275).selected,uS._32(n,275).multiple,uS._32(n,275).active,uS._32(n,275).id,uS._32(n,275).selected.toString(),uS._32(n,275).disabled.toString(),uS._32(n,275).disabled);l(n,278,0,uS._32(n,279)._getTabIndex(),uS._32(n,279).selected,uS._32(n,279).multiple,uS._32(n,279).active,uS._32(n,279).id,uS._32(n,279).selected.toString(),uS._32(n,279).disabled.toString(),uS._32(n,279).disabled)})}function kp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,338,{_control:0}),uS._38(335544320,339,{_placeholderChild:0}),uS._38(335544320,340,{_labelChild:0}),uS._38(603979776,341,{_errorChildren:1}),uS._38(603979776,342,{_hintChildren:1}),uS._38(603979776,343,{_prefixChildren:1}),uS._38(603979776,344,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[338,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()])})}function Sp(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(8,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xp)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,kp)),uS._17(15,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,0,uS._32(n,8).ngClassUntouched,uS._32(n,8).ngClassTouched,uS._32(n,8).ngClassPristine,uS._32(n,8).ngClassDirty,uS._32(n,8).ngClassValid,uS._32(n,8).ngClassInvalid,uS._32(n,8).ngClassPending)})}function Ip(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Service Provider Product Details"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(10,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(12,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Sp)),uS._17(15,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,12).ngClassUntouched,uS._32(n,12).ngClassTouched,uS._32(n,12).ngClassPristine,uS._32(n,12).ngClassDirty,uS._32(n,12).ngClassValid,uS._32(n,12).ngClassInvalid,uS._32(n,12).ngClassPending)})}function qp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,53,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,50,"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!==uS._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,4).onReset()&&u}return u},null,null)),uS._17(3,16384,null,0,xS.B,[],null,null),uS._17(4,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,43,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,up)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fp)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ip)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(20,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(23,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,345,{_control:0}),uS._38(335544320,346,{_placeholderChild:0}),uS._38(335544320,347,{_labelChild:0}),uS._38(603979776,348,{_errorChildren:1}),uS._38(603979776,349,{_hintChildren:1}),uS._38(603979776,350,{_prefixChildren:1}),uS._38(603979776,351,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(33,16384,[[347,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,42)._onInput()&&u}return u},null,null)),uS._17(37,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(39,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(41,16384,null,0,xS.s,[xS.r],null,null),uS._17(42,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[345,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(48,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(49,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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")},function(l,n){l(n,2,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending);l(n,22,1,[uS._32(n,23)._control.errorState,uS._32(n,23)._control.errorState,uS._32(n,23)._canLabelFloat,uS._32(n,23)._shouldLabelFloat(),uS._32(n,23)._hideControlPlaceholder(),uS._32(n,23)._control.disabled,uS._32(n,23)._control.focused,"primary"==uS._32(n,23).color,"accent"==uS._32(n,23).color,"warn"==uS._32(n,23).color,uS._32(n,23)._shouldForward("untouched"),uS._32(n,23)._shouldForward("touched"),uS._32(n,23)._shouldForward("pristine"),uS._32(n,23)._shouldForward("dirty"),uS._32(n,23)._shouldForward("valid"),uS._32(n,23)._shouldForward("invalid"),uS._32(n,23)._shouldForward("pending")]);l(n,36,1,[uS._32(n,41).ngClassUntouched,uS._32(n,41).ngClassTouched,uS._32(n,41).ngClassPristine,uS._32(n,41).ngClassDirty,uS._32(n,41).ngClassValid,uS._32(n,41).ngClassInvalid,uS._32(n,41).ngClassPending,uS._32(n,42)._isServer,uS._32(n,42).id,uS._32(n,42).placeholder,uS._32(n,42).disabled,uS._32(n,42).required,uS._32(n,42).readonly,uS._32(n,42)._ariaDescribedby||null,uS._32(n,42).errorState,uS._32(n,42).required.toString()])})}function Pp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(3,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),uS._40(8,null,[" "," "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.component.errorMessage)})}function Dp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qp)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pp)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,e.noRecordsFound);l(n,6,0,!e.noRecordsFound)},null)}function Tp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveClientInfo(t.clientInfoForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Op(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,36,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Lm)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(22,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,29).onClick()&&u}return u},jT.b,jT.a)),uS._17(29,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,33).onClick()&&u}return u},jT.b,jT.a)),uS._17(33,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(38,0,null,null,24,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,0,null,1,9,"div",[],null,null,null,null,null)),uS._17(42,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Km)),uS._17(45,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._13(16777216,null,null,1,null,Dp)),uS._17(48,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(53,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(54,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,352,{_mainButton:0}),uS._38(603979776,353,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(58,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(59,49152,[[352,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(60,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(61,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(64,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(65,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Tp)),uS._17(68,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,22,0,e.tab);l(n,25,0,"optblue");l(n,29,0,"0");l(n,33,0,"1");l(n,42,0,e.tab);l(n,45,0,"1");l(n,48,0,"0");l(n,59,0,"optblue");l(n,61,0,"md-camera");l(n,68,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._disabled);l(n,28,0,uS._32(n,29)._disabled,uS._32(n,29).isActive,uS._32(n,29).isActive);l(n,32,0,uS._32(n,33)._disabled,uS._32(n,33).isActive,uS._32(n,33).isActive);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,60,0,uS._32(n,61)._hidden)})}function Lp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.pageTitle)})}function Ap(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Vp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Np(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Wp(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Ep(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Vp)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Np)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wp)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function jp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ep)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function $p(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Bp(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["class","docName"],["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Rp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$p)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Bp)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Up(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Rp)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Mp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Kp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ap)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,jp)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Up)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Mp)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Hp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Gp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[28,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Yp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[39,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function zp(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:90%;margin-top: 2%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,43,{_control:0}),uS._38(335544320,44,{_placeholderChild:0}),uS._38(335544320,45,{_labelChild:0}),uS._38(603979776,46,{_errorChildren:1}),uS._38(603979776,47,{_hintChildren:1}),uS._38(603979776,48,{_prefixChildren:1}),uS._38(603979776,49,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[45,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Actual Address Visited"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_visited_address"],["matInput",""],["placeholder",""],["required",""],["rows","2"]],[[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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[43,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_visited_address");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Qp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[57,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Jp(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[58,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Qp)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function Zp(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,60,{_control:0}),uS._38(335544320,61,{_placeholderChild:0}),uS._38(335544320,62,{_labelChild:0}),uS._38(603979776,63,{_errorChildren:1}),uS._38(603979776,64,{_hintChildren:1}),uS._38(603979776,65,{_prefixChildren:1}),uS._38(603979776,66,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[62,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Specify Other Person"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_met"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[60,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_person_met");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Xp(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[74,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function lf(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,67,{_control:0}),uS._38(335544320,68,{_placeholderChild:0}),uS._38(335544320,69,{_labelChild:0}),uS._38(603979776,70,{_errorChildren:1}),uS._38(603979776,71,{_hintChildren:1}),uS._38(603979776,72,{_prefixChildren:1}),uS._38(603979776,73,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[69,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Who is "," ?"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","other_name_person_showing_property"],["multiple",""],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.personShowingChanges(t.rentalForms.controls.other_name_person_showing_property.value)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,74,{options:1}),uS._38(603979776,75,{optionGroups:1}),uS._38(335544320,76,{customTrigger:0}),uS._37(2048,[[67,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Xp)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"other_name_person_showing_property");l(n,21,0,"","","",e.compareSingleObjects);l(n,28,0,e.personType)},function(l,n){var e=n.component;l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,e.rentalForms.controls.other_person_met.value);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function nf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,77,{_control:0}),uS._38(335544320,78,{_placeholderChild:0}),uS._38(335544320,79,{_labelChild:0}),uS._38(603979776,80,{_errorChildren:1}),uS._38(603979776,81,{_hintChildren:1}),uS._38(603979776,82,{_prefixChildren:1}),uS._38(603979776,83,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[79,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["Who is "," ?"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_name_person_type"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[77,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_name_person_type");l(n,22,0,"","")},function(l,n){var e=n.component;l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,e.rentalForms.controls.other_person_met.value);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function ef(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[91,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function uf(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[92,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,ef)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function tf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,94,{_control:0}),uS._38(335544320,95,{_placeholderChild:0}),uS._38(335544320,96,{_labelChild:0}),uS._38(603979776,97,{_errorChildren:1}),uS._38(603979776,98,{_hintChildren:1}),uS._38(603979776,99,{_prefixChildren:1}),uS._38(603979776,100,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[96,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Specify Other Owner/Owners"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_owner_other"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[94,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"property_owner_other");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function af(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[108,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function of(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,OO.d,OO.a)),uS._17(1,49152,[[109,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,af)),uS._17(5,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,5,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function rf(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,101,{_control:0}),uS._38(335544320,102,{_placeholderChild:0}),uS._38(335544320,103,{_labelChild:0}),uS._38(603979776,104,{_errorChildren:1}),uS._38(603979776,105,{_hintChildren:1}),uS._38(603979776,106,{_prefixChildren:1}),uS._38(603979776,107,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[103,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Relation of Owner to Loan Applicant"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner_other_relationship"],["placeholder",""],["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!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),uS._38(603979776,108,{options:1}),uS._38(603979776,109,{optionGroups:1}),uS._38(335544320,110,{customTrigger:0}),uS._37(2048,[[101,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,of)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"property_owner_other_relationship");l(n,21,0,"","",e.compareObjects);l(n,28,0,e.relationShipList)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function _f(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[118,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,"0"==n.context.$implicit.id?"Not Applicable":uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function df(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[119,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,_f)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function sf(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,111,{_control:0}),uS._38(335544320,112,{_placeholderChild:0}),uS._38(335544320,113,{_labelChild:0}),uS._38(603979776,114,{_errorChildren:1}),uS._38(603979776,115,{_hintChildren:1}),uS._38(603979776,116,{_prefixChildren:1}),uS._38(603979776,117,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[113,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Relation To"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner_other_relation_to"],["placeholder",""],["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!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),uS._38(603979776,118,{options:1}),uS._38(603979776,119,{optionGroups:1}),uS._38(335544320,120,{customTrigger:0}),uS._37(2048,[[111,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,df)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"property_owner_other_relation_to");l(n,21,0,"","",e.compareObjects);l(n,28,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function cf(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[138,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent,0),n.context.$implicit.name)))})}function mf(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,131,{_control:0}),uS._38(335544320,132,{_placeholderChild:0}),uS._38(335544320,133,{_labelChild:0}),uS._38(603979776,134,{_errorChildren:1}),uS._38(603979776,135,{_hintChildren:1}),uS._38(603979776,136,{_prefixChildren:1}),uS._38(603979776,137,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[133,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Type of Document Sighted"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","sighted_documents"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getSightedDocs(t.rentalForms.controls.sighted_documents.value)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,138,{options:1}),uS._38(603979776,139,{optionGroups:1}),uS._38(335544320,140,{customTrigger:0}),uS._37(2048,[[131,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,cf)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"sighted_documents");l(n,21,0,"","",e.compareSingleObjects);l(n,28,0,e.documentList)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function pf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,141,{_control:0}),uS._38(335544320,142,{_placeholderChild:0}),uS._38(335544320,143,{_labelChild:0}),uS._38(603979776,144,{_errorChildren:1}),uS._38(603979776,145,{_hintChildren:1}),uS._38(603979776,146,{_prefixChildren:1}),uS._38(603979776,147,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[143,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Other Type of Document"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_sighted_documents"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[141,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_sighted_documents");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function ff(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[155,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function hf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,158,{_control:0}),uS._38(335544320,159,{_placeholderChild:0}),uS._38(335544320,160,{_labelChild:0}),uS._38(603979776,161,{_errorChildren:1}),uS._38(603979776,162,{_hintChildren:1}),uS._38(603979776,163,{_prefixChildren:1}),uS._38(603979776,164,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[160,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Other Property"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_nature_property"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[158,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_nature_property");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function gf(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[172,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function bf(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[173,4]],0,pT.s,[],{disabled:[0,"disabled"],label:[1,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,gf)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,e.rentalForms.value.nature_property.id>1&&e.rentalForms.value.nature_property.id!=n.context.$implicit.groupID,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function vf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,175,{_control:0}),uS._38(335544320,176,{_placeholderChild:0}),uS._38(335544320,177,{_labelChild:0}),uS._38(603979776,178,{_errorChildren:1}),uS._38(603979776,179,{_hintChildren:1}),uS._38(603979776,180,{_prefixChildren:1}),uS._38(603979776,181,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[177,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Specify Other Unit Type"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_unit_type"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[175,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_unit_type");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function yf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,182,{_control:0}),uS._38(335544320,183,{_placeholderChild:0}),uS._38(335544320,184,{_labelChild:0}),uS._38(603979776,185,{_errorChildren:1}),uS._38(603979776,186,{_hintChildren:1}),uS._38(603979776,187,{_prefixChildren:1}),uS._38(603979776,188,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[184,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Tot No of Units"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_units"],["matInput",""],["maxlength","3"],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.n]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[182,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"3");l(n,20,0,"no_units");l(n,23,0,"","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).maxlength?uS._32(n,17).maxlength:null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Cf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,189,{_control:0}),uS._38(335544320,190,{_placeholderChild:0}),uS._38(335544320,191,{_labelChild:0}),uS._38(603979776,192,{_errorChildren:1}),uS._38(603979776,193,{_hintChildren:1}),uS._38(603979776,194,{_prefixChildren:1}),uS._38(603979776,195,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[191,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No of Floors"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_floor"],["matInput",""],["maxlength","2"],["placeholder",""],["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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.generateFloor(e)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.n]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[189,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"2");l(n,20,0,"no_floor");l(n,23,0,"","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).maxlength?uS._32(n,17).maxlength:null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function wf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,196,{_control:0}),uS._38(335544320,197,{_placeholderChild:0}),uS._38(335544320,198,{_labelChild:0}),uS._38(603979776,199,{_errorChildren:1}),uS._38(603979776,200,{_hintChildren:1}),uS._38(603979776,201,{_prefixChildren:1}),uS._38(603979776,202,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[198,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Total Area Given on Rent"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","multistoried_total_area"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[196,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"multistoried_total_area");l(n,23,0,"","","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Ff(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[210,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function xf(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,203,{_control:0}),uS._38(335544320,204,{_placeholderChild:0}),uS._38(335544320,205,{_labelChild:0}),uS._38(603979776,206,{_errorChildren:1}),uS._38(603979776,207,{_hintChildren:1}),uS._38(603979776,208,{_prefixChildren:1}),uS._38(603979776,209,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[205,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Unit of Measurement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","multistoried_uom"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateMultistoriedOtherUOM(t.rentalForms.value)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,210,{options:1}),uS._38(603979776,211,{optionGroups:1}),uS._38(335544320,212,{customTrigger:0}),uS._37(2048,[[203,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ff)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"multistoried_uom");l(n,21,0,"","",e.compareSingleObjects);l(n,28,0,e.unitMeasurementList)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function kf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,213,{_control:0}),uS._38(335544320,214,{_placeholderChild:0}),uS._38(335544320,215,{_labelChild:0}),uS._38(603979776,216,{_errorChildren:1}),uS._38(603979776,217,{_hintChildren:1}),uS._38(603979776,218,{_prefixChildren:1}),uS._38(603979776,219,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[215,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Other Unit of Measurement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","multistoried_other_uom"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[213,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"multistoried_other_uom");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Sf(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[248,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.rent_per_unit_Inwords[n.parent.context.index])})}function If(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[255,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amount_Inwords[n.parent.parent.parent.parent.context.index])})}function qf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,62,"div",[["class","align-margin"],["fxLayout","row 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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,244,{_control:0}),uS._38(335544320,245,{_placeholderChild:0}),uS._38(335544320,246,{_labelChild:0}),uS._38(603979776,247,{_errorChildren:1}),uS._38(603979776,248,{_hintChildren:1}),uS._38(603979776,249,{_prefixChildren:1}),uS._38(603979776,250,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[246,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Rent per Unit"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_per_unit"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,21).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,21).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}if("keyup"===n){t.calculateFloorRentAmt(l.parent.parent.parent.context.$implicit.value,l.parent.parent.parent.context.index);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(21,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(22,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[244,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Sf)),uS._17(32,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(35,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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,251,{_control:0}),uS._38(335544320,252,{_placeholderChild:0}),uS._38(335544320,253,{_labelChild:0}),uS._38(603979776,254,{_errorChildren:1}),uS._38(603979776,255,{_hintChildren:1}),uS._38(603979776,256,{_prefixChildren:1}),uS._38(603979776,257,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(46,16384,[[253,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Amount"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(49,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount"],["matInput",""],["placeholder",""],["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!==uS._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,50)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,51).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,51).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,56)._onInput()&&u}return u},null,null)),uS._17(50,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(51,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(53,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(55,16384,null,0,xS.s,[xS.r],null,null),uS._17(56,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[251,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,If)),uS._17(60,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"");l(n,25,0,"rent_per_unit");l(n,28,0,"","","number");l(n,32,0,""!=n.context.$implicit.value.rent_per_unit);l(n,53,0,"amount");l(n,56,0,"","number","");l(n,60,0,""!=n.context.$implicit.value.amount)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,19,1,[uS._32(n,22).required?"":null,uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,49,1,[uS._32(n,55).ngClassUntouched,uS._32(n,55).ngClassTouched,uS._32(n,55).ngClassPristine,uS._32(n,55).ngClassDirty,uS._32(n,55).ngClassValid,uS._32(n,55).ngClassInvalid,uS._32(n,55).ngClassPending,uS._32(n,56)._isServer,uS._32(n,56).id,uS._32(n,56).placeholder,uS._32(n,56).disabled,uS._32(n,56).required,uS._32(n,56).readonly,uS._32(n,56)._ariaDescribedby||null,uS._32(n,56).errorState,uS._32(n,56).required.toString()])})}function Pf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[["formArrayName","floor_unit_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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qf)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"floor_unit_details");l(n,6,0,n.parent.parent.context.$implicit.controls.floor_unit_details.controls)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function Df(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pf)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.value.floor_unit_details.length>0)},null)}function Tf(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[262,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",""!=n.parent.context.$implicit.value.rent_per_unit?e.inWordsmultiple(n.parent.context.$implicit.value.rent_per_unit,n.parent.parent.parent.parent.context.index,n.parent.context.index,1):"")})}function Of(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,34,"div",[["class","rent-unit"],["fxFlex.lg","45"],["fxFlex.md","45"],["fxFlex.sm","45"],["fxFlex.xl","45"],["fxFlex.xs","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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,28,"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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,258,{_control:0}),uS._38(335544320,259,{_placeholderChild:0}),uS._38(335544320,260,{_labelChild:0}),uS._38(603979776,261,{_errorChildren:1}),uS._38(603979776,262,{_hintChildren:1}),uS._38(603979776,263,{_prefixChildren:1}),uS._38(603979776,264,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[260,4]],0,mT.f,[],null,null),(l()(),uS._40(17,null,["Rent Unit "," "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_per_unit"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,21).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,21).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,28)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateFloorRentAmt(l.parent.parent.parent.context.$implicit.value,l.parent.parent.parent.context.index)&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(21,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(22,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(25,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(27,16384,null,0,xS.s,[xS.r],null,null),uS._17(28,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[258,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Tf)),uS._17(32,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"");l(n,25,0,"rent_per_unit");l(n,28,0,"","","number");l(n,32,0,""!=n.context.$implicit.value.rent_per_unit)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,17,0,n.context.index+1);l(n,19,1,[uS._32(n,22).required?"":null,uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending,uS._32(n,28)._isServer,uS._32(n,28).id,uS._32(n,28).placeholder,uS._32(n,28).disabled,uS._32(n,28).required,uS._32(n,28).readonly,uS._32(n,28)._ariaDescribedby||null,uS._32(n,28).errorState,uS._32(n,28).required.toString()])})}function Lf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"div",[["class","align-margin"],["formArrayName","floor_unit_details"],["fxLayout","row 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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Of)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"floor_unit_details");l(n,6,0,n.parent.parent.context.$implicit.controls.floor_unit_details.controls)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function Af(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Lf)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.value.floor_unit_details.length>0)},null)}function Vf(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[269,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.floor_rent_amount_Inwords[n.parent.parent.context.index])})}function Nf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,33,"mat-card-actions",[["class","mat-card-actions"],["style","margin-right: 2%;margin-left: 2%;"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(1,16384,null,0,_T.b,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,29,"div",[["class","total-rent-amt"],["fxFlex","100"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,265,{_control:0}),uS._38(335544320,266,{_placeholderChild:0}),uS._38(335544320,267,{_labelChild:0}),uS._38(603979776,268,{_errorChildren:1}),uS._38(603979776,269,{_hintChildren:1}),uS._38(603979776,270,{_prefixChildren:1}),uS._38(603979776,271,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,[[267,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Total Rent Amount"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","floor_rent_amount"],["matInput",""],["placeholder",""],["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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,21).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,21).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,26)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,26)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,26)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(21,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(23,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(25,16384,null,0,xS.s,[xS.r],null,null),uS._17(26,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[265,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Vf)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,23,0,"floor_rent_amount");l(n,26,0,"","number","");l(n,30,0,""!=n.parent.context.$implicit.value.floor_rent_amount)},function(l,n){l(n,0,0,"end"===uS._32(n,1).align);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,19,1,[uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending,uS._32(n,26)._isServer,uS._32(n,26).id,uS._32(n,26).placeholder,uS._32(n,26).disabled,uS._32(n,26).required,uS._32(n,26).readonly,uS._32(n,26)._ariaDescribedby||null,uS._32(n,26).errorState,uS._32(n,26).required.toString()])})}function Wf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,116,"mat-card",[["class","mat-card"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,rT.d,rT.a)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),uS._17(4,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,106,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(7,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,220,{_control:0}),uS._38(335544320,221,{_placeholderChild:0}),uS._38(335544320,222,{_labelChild:0}),uS._38(603979776,223,{_errorChildren:1}),uS._38(603979776,224,{_hintChildren:1}),uS._38(603979776,225,{_prefixChildren:1}),uS._38(603979776,226,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(20,16384,[[222,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Floor Level Name"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","floor_level"],["matInput",""],["placeholder",""],["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!==uS._32(l,24)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,24).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,24)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,24)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,31)._onInput()&&u}return u},null,null)),uS._17(24,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(25,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(28,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(30,16384,null,0,xS.s,[xS.r],null,null),uS._17(31,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[220,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(35,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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,227,{_control:0}),uS._38(335544320,228,{_placeholderChild:0}),uS._38(335544320,229,{_labelChild:0}),uS._38(603979776,230,{_errorChildren:1}),uS._38(603979776,231,{_hintChildren:1}),uS._38(603979776,232,{_prefixChildren:1}),uS._38(603979776,233,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(46,16384,[[229,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No of Units"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(49,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_units_in_floor"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,50)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,51).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,51).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,58)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,58)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,58)._onInput()&&u}if("keyup"===n){u=!1!==t.generateFloorUnit(l.context.$implicit.value,l.context.index)&&u}return u},null,null)),uS._17(50,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(51,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(52,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(55,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(57,16384,null,0,xS.s,[xS.r],null,null),uS._17(58,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[227,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(62,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(63,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,234,{_control:0}),uS._38(335544320,235,{_placeholderChild:0}),uS._38(335544320,236,{_labelChild:0}),uS._38(603979776,237,{_errorChildren:1}),uS._38(603979776,238,{_hintChildren:1}),uS._38(603979776,239,{_prefixChildren:1}),uS._38(603979776,240,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(72,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(73,16384,[[236,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Is Rent Same for All Units"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(76,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","unit_rent_difference_options"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,82)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,82)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,82)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateFloorUnit(l.context.$implicit.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(77,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(79,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(81,16384,null,0,xS.s,[xS.r],null,null),uS._17(82,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,241,{options:1}),uS._38(603979776,242,{optionGroups:1}),uS._38(335544320,243,{customTrigger:0}),uS._37(2048,[[234,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(89,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!==uS._32(l,90)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,90)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(90,8437760,[[241,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(93,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!==uS._32(l,94)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,94)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(94,8437760,[[241,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(100,0,null,null,10,"div",[],null,null,null,null,null)),uS._17(101,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Df)),uS._17(105,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Af)),uS._17(109,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Nf)),uS._17(115,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"");l(n,28,0,"floor_level");l(n,31,0,"","");l(n,52,0,"");l(n,55,0,"no_units_in_floor");l(n,58,0,"","","number");l(n,77,0,"");l(n,79,0,"unit_rent_difference_options");l(n,82,0,"","");l(n,90,0,"1");l(n,94,0,"0");l(n,101,0,n.context.$implicit.value.unit_rent_difference_options);l(n,105,0,1);l(n,109,0,0);l(n,115,0,0==n.context.$implicit.value.unit_rent_difference_options)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,23,1,[uS._32(n,25).required?"":null,uS._32(n,30).ngClassUntouched,uS._32(n,30).ngClassTouched,uS._32(n,30).ngClassPristine,uS._32(n,30).ngClassDirty,uS._32(n,30).ngClassValid,uS._32(n,30).ngClassInvalid,uS._32(n,30).ngClassPending,uS._32(n,31)._isServer,uS._32(n,31).id,uS._32(n,31).placeholder,uS._32(n,31).disabled,uS._32(n,31).required,uS._32(n,31).readonly,uS._32(n,31)._ariaDescribedby||null,uS._32(n,31).errorState,uS._32(n,31).required.toString()]);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,49,1,[uS._32(n,52).required?"":null,uS._32(n,57).ngClassUntouched,uS._32(n,57).ngClassTouched,uS._32(n,57).ngClassPristine,uS._32(n,57).ngClassDirty,uS._32(n,57).ngClassValid,uS._32(n,57).ngClassInvalid,uS._32(n,57).ngClassPending,uS._32(n,58)._isServer,uS._32(n,58).id,uS._32(n,58).placeholder,uS._32(n,58).disabled,uS._32(n,58).required,uS._32(n,58).readonly,uS._32(n,58)._ariaDescribedby||null,uS._32(n,58).errorState,uS._32(n,58).required.toString()]);l(n,62,1,[uS._32(n,63)._control.errorState,uS._32(n,63)._control.errorState,uS._32(n,63)._canLabelFloat,uS._32(n,63)._shouldLabelFloat(),uS._32(n,63)._hideControlPlaceholder(),uS._32(n,63)._control.disabled,uS._32(n,63)._control.focused,"primary"==uS._32(n,63).color,"accent"==uS._32(n,63).color,"warn"==uS._32(n,63).color,uS._32(n,63)._shouldForward("untouched"),uS._32(n,63)._shouldForward("touched"),uS._32(n,63)._shouldForward("pristine"),uS._32(n,63)._shouldForward("dirty"),uS._32(n,63)._shouldForward("valid"),uS._32(n,63)._shouldForward("invalid"),uS._32(n,63)._shouldForward("pending")]);l(n,76,1,[uS._32(n,77).required?"":null,uS._32(n,81).ngClassUntouched,uS._32(n,81).ngClassTouched,uS._32(n,81).ngClassPristine,uS._32(n,81).ngClassDirty,uS._32(n,81).ngClassValid,uS._32(n,81).ngClassInvalid,uS._32(n,81).ngClassPending,uS._32(n,82).id,uS._32(n,82).tabIndex,uS._32(n,82)._ariaLabel,uS._32(n,82).ariaLabelledby,uS._32(n,82).required.toString(),uS._32(n,82).disabled.toString(),uS._32(n,82).errorState,uS._32(n,82).panelOpen?uS._32(n,82)._optionIds:null,uS._32(n,82).multiple,uS._32(n,82)._ariaDescribedby||null,uS._32(n,82)._getAriaActiveDescendant(),uS._32(n,82).disabled,uS._32(n,82).errorState,uS._32(n,82).required]);l(n,89,0,uS._32(n,90)._getTabIndex(),uS._32(n,90).selected,uS._32(n,90).multiple,uS._32(n,90).active,uS._32(n,90).id,uS._32(n,90).selected.toString(),uS._32(n,90).disabled.toString(),uS._32(n,90).disabled);l(n,93,0,uS._32(n,94)._getTabIndex(),uS._32(n,94).selected,uS._32(n,94).multiple,uS._32(n,94).active,uS._32(n,94).id,uS._32(n,94).selected.toString(),uS._32(n,94).disabled.toString(),uS._32(n,94).disabled)})}function Ef(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,null,null,null,null,null,null,null)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wf)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"multistoried_building_details");l(n,6,0,e.rentalForms.controls.multistoried_building_details.controls)},null)}function jf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,282,{_control:0}),uS._38(335544320,283,{_placeholderChild:0}),uS._38(335544320,284,{_labelChild:0}),uS._38(603979776,285,{_errorChildren:1}),uS._38(603979776,286,{_hintChildren:1}),uS._38(603979776,287,{_prefixChildren:1}),uS._38(603979776,288,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[284,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of Tenant(s)/Lessees(s)"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_tenant_lessees"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[282,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"name_tenant_lessees");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function $f(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,289,{_control:0}),uS._38(335544320,290,{_placeholderChild:0}),uS._38(335544320,291,{_labelChild:0}),uS._38(603979776,292,{_errorChildren:1}),uS._38(603979776,293,{_hintChildren:1}),uS._38(603979776,294,{_prefixChildren:1}),uS._38(603979776,295,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[291,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Why Tenant(s)/Lessees(s) Name not Provided"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_tenant_lessees_reason"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[289,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"name_tenant_lessees_reason");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Bf(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[300,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.monthly_rent_amount_Inwords[n.parent.context.index])})}function Rf(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[310,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Uf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[316,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value Is More Than Rent Amount"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Mf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[316,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value Is Less Than Rent Amount"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Kf(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[317,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amount_received_bank_Inwords[n.parent.parent.context.index])})}function Hf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"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!==l.component.inWords(e.target.value,l.parent.context.index,7)&&u}return u},cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,313,{_control:0}),uS._38(335544320,314,{_placeholderChild:0}),uS._38(335544320,315,{_labelChild:0}),uS._38(603979776,316,{_errorChildren:1}),uS._38(603979776,317,{_hintChildren:1}),uS._38(603979776,318,{_prefixChildren:1}),uS._38(603979776,319,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[315,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Amount Received in Bank"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_received_bank"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.ValidatedRentAmount(l.parent.context.$implicit.value,l.parent.context.index,1)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[313,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Uf)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Mf)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Kf)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"amount_received_bank");l(n,23,0,"","","number");l(n,27,0,n.parent.context.$implicit.controls.amount_received_bank.hasError("max"));l(n,30,0,n.parent.context.$implicit.controls.amount_received_bank.hasError("min"));l(n,33,0,""!=n.parent.context.$implicit.value.amount_received_bank)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Gf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[323,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value Is More Than Rent Amount"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Yf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[323,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value Is Less Than Rent Amount"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function zf(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[324,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amount_received_cash_Inwords[n.parent.parent.context.index])})}function Qf(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,320,{_control:0}),uS._38(335544320,321,{_placeholderChild:0}),uS._38(335544320,322,{_labelChild:0}),uS._38(603979776,323,{_errorChildren:1}),uS._38(603979776,324,{_hintChildren:1}),uS._38(603979776,325,{_prefixChildren:1}),uS._38(603979776,326,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[322,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Amount Received in Cash"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_received_cash"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,6)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[320,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Gf)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Yf)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,zf)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"amount_received_cash");l(n,23,0,"","","number");l(n,27,0,n.parent.context.$implicit.controls.amount_received_cash.hasError("max"));l(n,30,0,n.parent.context.$implicit.controls.amount_received_cash.hasError("min"));l(n,33,0,""!=n.parent.context.$implicit.value.amount_received_cash)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Jf(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,327,{_control:0}),uS._38(335544320,328,{_placeholderChild:0}),uS._38(335544320,329,{_labelChild:0}),uS._38(603979776,330,{_errorChildren:1}),uS._38(603979776,331,{_hintChildren:1}),uS._38(603979776,332,{_prefixChildren:1}),uS._38(603979776,333,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[329,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Reason for Receiving Multiple Payment Mode"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","payment_received_reason"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[327,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"payment_received_reason");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Zf(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[338,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.securtity_deposit_amount_Inwords[n.parent.context.index])})}function Xf(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[355,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function lh(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,358,{_control:0}),uS._38(335544320,359,{_placeholderChild:0}),uS._38(335544320,360,{_labelChild:0}),uS._38(603979776,361,{_errorChildren:1}),uS._38(603979776,362,{_hintChildren:1}),uS._38(603979776,363,{_prefixChildren:1}),uS._38(603979776,364,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[360,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Other Unit of Measurement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_unit_measurement"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[358,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"other_unit_measurement");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function nh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,375,{_control:0}),uS._38(335544320,376,{_placeholderChild:0}),uS._38(335544320,377,{_labelChild:0}),uS._38(603979776,378,{_errorChildren:1}),uS._38(603979776,379,{_hintChildren:1}),uS._38(603979776,380,{_prefixChildren:1}),uS._38(603979776,381,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[377,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Rent Agreement Seen"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","rent_agreement_seen"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateRegisterOptions(l.parent.context.$implicit.value,l.parent.context.index)&&u}return u},LO.b,LO.a)),uS._17(15,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,382,{options:1}),uS._38(603979776,383,{optionGroups:1}),uS._38(335544320,384,{customTrigger:0}),uS._37(2048,[[375,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(27,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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[382,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,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!==uS._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(32,8437760,[[382,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,15,0,"");l(n,17,0,"rent_agreement_seen");l(n,20,0,"","");l(n,28,0,"1");l(n,32,0,"0")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,15).required?"":null,uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20).id,uS._32(n,20).tabIndex,uS._32(n,20)._ariaLabel,uS._32(n,20).ariaLabelledby,uS._32(n,20).required.toString(),uS._32(n,20).disabled.toString(),uS._32(n,20).errorState,uS._32(n,20).panelOpen?uS._32(n,20)._optionIds:null,uS._32(n,20).multiple,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20)._getAriaActiveDescendant(),uS._32(n,20).disabled,uS._32(n,20).errorState,uS._32(n,20).required]);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled);l(n,31,0,uS._32(n,32)._getTabIndex(),uS._32(n,32).selected,uS._32(n,32).multiple,uS._32(n,32).active,uS._32(n,32).id,uS._32(n,32).selected.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).disabled)})}function eh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,385,{_control:0}),uS._38(335544320,386,{_placeholderChild:0}),uS._38(335544320,387,{_labelChild:0}),uS._38(603979776,388,{_errorChildren:1}),uS._38(603979776,389,{_hintChildren:1}),uS._38(603979776,390,{_prefixChildren:1}),uS._38(603979776,391,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[387,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Is the Rent Agreement Registered at Sub-Registrar Office"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","rent_agreement_registered"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateRegisterDetails(l.parent.context.$implicit.value,l.parent.context.index)&&u}return u},LO.b,LO.a)),uS._17(15,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,392,{options:1}),uS._38(603979776,393,{optionGroups:1}),uS._38(335544320,394,{customTrigger:0}),uS._37(2048,[[385,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(27,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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[392,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,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!==uS._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(32,8437760,[[392,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,15,0,"");l(n,17,0,"rent_agreement_registered");l(n,20,0,"","");l(n,28,0,"1");l(n,32,0,"0")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,15).required?"":null,uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20).id,uS._32(n,20).tabIndex,uS._32(n,20)._ariaLabel,uS._32(n,20).ariaLabelledby,uS._32(n,20).required.toString(),uS._32(n,20).disabled.toString(),uS._32(n,20).errorState,uS._32(n,20).panelOpen?uS._32(n,20)._optionIds:null,uS._32(n,20).multiple,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20)._getAriaActiveDescendant(),uS._32(n,20).disabled,uS._32(n,20).errorState,uS._32(n,20).required]);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled);l(n,31,0,uS._32(n,32)._getTabIndex(),uS._32(n,32).selected,uS._32(n,32).multiple,uS._32(n,32).active,uS._32(n,32).id,uS._32(n,32).selected.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).disabled)})}function uh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,395,{_control:0}),uS._38(335544320,396,{_placeholderChild:0}),uS._38(335544320,397,{_labelChild:0}),uS._38(603979776,398,{_errorChildren:1}),uS._38(603979776,399,{_hintChildren:1}),uS._38(603979776,400,{_prefixChildren:1}),uS._38(603979776,401,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[397,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Date of Agreement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_date"],["matInput",""],["name","agreement_date"],["placeholder",""],["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,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}if("dateChange"===n){u=!1!==t.calculateExpiryDate(e,l.parent.context.index)&&u}return u},null,null)),uS._17(16,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[395,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,18,0,"agreement_date");l(n,21,0,"","date")},function(l,n){var e=n.component;l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,15,1,[e.maxDate,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()])})}function th(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,402,{_control:0}),uS._38(335544320,403,{_placeholderChild:0}),uS._38(335544320,404,{_labelChild:0}),uS._38(603979776,405,{_errorChildren:1}),uS._38(603979776,406,{_hintChildren:1}),uS._38(603979776,407,{_prefixChildren:1}),uS._38(603979776,408,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[404,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No of Months for Which Property has been let out as per Agreement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_no_months"],["matInput",""],["maxlength","4"],["placeholder",""],["required",""],["type","number"]],[[1,"required",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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,24)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateExpiryDate(e,l.parent.context.index)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._17(18,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.x,xS.n]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[402,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,18,0,"4");l(n,21,0,"agreement_no_months");l(n,24,0,"","","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,18).maxlength?uS._32(n,18).maxlength:null,uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._isServer,uS._32(n,24).id,uS._32(n,24).placeholder,uS._32(n,24).disabled,uS._32(n,24).required,uS._32(n,24).readonly,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24).errorState,uS._32(n,24).required.toString()])})}function ah(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,409,{_control:0}),uS._38(335544320,410,{_placeholderChild:0}),uS._38(335544320,411,{_labelChild:0}),uS._38(603979776,412,{_errorChildren:1}),uS._38(603979776,413,{_hintChildren:1}),uS._38(603979776,414,{_prefixChildren:1}),uS._38(603979776,415,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[411,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Date on which Agreement is Expiring"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_expiring_date"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,20)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),uS._37(2048,[[409,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"agreement_expiring_date");l(n,20,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20)._isServer,uS._32(n,20).id,uS._32(n,20).placeholder,uS._32(n,20).disabled,uS._32(n,20).required,uS._32(n,20).readonly,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20).errorState,uS._32(n,20).required.toString()])})}function ih(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,416,{_control:0}),uS._38(335544320,417,{_placeholderChild:0}),uS._38(335544320,418,{_labelChild:0}),uS._38(603979776,419,{_errorChildren:1}),uS._38(603979776,420,{_hintChildren:1}),uS._38(603979776,421,{_prefixChildren:1}),uS._38(603979776,422,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[418,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No of Rental Months Remaining as per Agreement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_remaining_months"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[416,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,18,0,"rental_remaining_months");l(n,21,0,"","number","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()])})}function oh(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[427,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.agreement_monthly_rent_amount_Inwords[n.parent.parent.context.index])})}function rh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,423,{_control:0}),uS._38(335544320,424,{_placeholderChild:0}),uS._38(335544320,425,{_labelChild:0}),uS._38(603979776,426,{_errorChildren:1}),uS._38(603979776,427,{_hintChildren:1}),uS._38(603979776,428,{_prefixChildren:1}),uS._38(603979776,429,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[425,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Monthly Rent Amount as per Agreement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_monthly_rent_amount"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,9)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[423,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,oh)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"agreement_monthly_rent_amount");l(n,23,0,"","","number");l(n,27,0,""!=n.parent.context.$implicit.value.agreement_monthly_rent_amount)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function _h(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[434,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.agreement_security_deposit_amount_Inwords[n.parent.parent.context.index])})}function dh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,430,{_control:0}),uS._38(335544320,431,{_placeholderChild:0}),uS._38(335544320,432,{_labelChild:0}),uS._38(603979776,433,{_errorChildren:1}),uS._38(603979776,434,{_hintChildren:1}),uS._38(603979776,435,{_prefixChildren:1}),uS._38(603979776,436,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[432,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Security Deposit Amount as per Agreement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_security_deposit_amount"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,10)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[430,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,_h)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"agreement_security_deposit_amount");l(n,23,0,"","","number");l(n,27,0,""!=n.parent.context.$implicit.value.agreement_security_deposit_amount)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function sh(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,437,{_control:0}),uS._38(335544320,438,{_placeholderChild:0}),uS._38(335544320,439,{_labelChild:0}),uS._38(603979776,440,{_errorChildren:1}),uS._38(603979776,441,{_hintChildren:1}),uS._38(603979776,442,{_prefixChildren:1}),uS._38(603979776,443,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[439,4]],0,mT.f,[],null,null),(l()(),uS._40(12,null,["There is a Difference of\n Rs.","\n in the rent amount as per agreement and actual rent received. Why?"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","differences_loanapplicant_rentagreement"],["matInput",""],["placeholder",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,20)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[437,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"differences_loanapplicant_rentagreement");l(n,20,0,"")},function(l,n){var e=n.component;l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,12,0,e.validateAgreementAmt(n.parent.context.$implicit.value.monthly_rent_amount,n.parent.context.$implicit.value.agreement_monthly_rent_amount));l(n,14,1,[uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20)._isServer,uS._32(n,20).id,uS._32(n,20).placeholder,uS._32(n,20).disabled,uS._32(n,20).required,uS._32(n,20).readonly,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20).errorState,uS._32(n,20).required.toString()])})}function ch(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[451,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function mh(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[452,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,ch)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function ph(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,444,{_control:0}),uS._38(335544320,445,{_placeholderChild:0}),uS._38(335544320,446,{_labelChild:0}),uS._38(603979776,447,{_errorChildren:1}),uS._38(603979776,448,{_hintChildren:1}),uS._38(603979776,449,{_prefixChildren:1}),uS._38(603979776,450,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[446,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of Owner / Owners of Rented Property as per Rent Agreement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","agreement_property_owners_name"],["multiple",""],["placeholder","Name"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateAgreementOtherOwners(l.parent.context.$implicit.value.agreement_property_owners_name,l.parent.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,451,{options:1}),uS._38(603979776,452,{optionGroups:1}),uS._38(335544320,453,{customTrigger:0}),uS._37(2048,[[444,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,mh)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"agreement_property_owners_name");l(n,21,0,"Name","","",e.compareObjects);l(n,28,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function fh(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,454,{_control:0}),uS._38(335544320,455,{_placeholderChild:0}),uS._38(335544320,456,{_labelChild:0}),uS._38(603979776,457,{_errorChildren:1}),uS._38(603979776,458,{_hintChildren:1}),uS._38(603979776,459,{_prefixChildren:1}),uS._38(603979776,460,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[456,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Specify Other Owner/Owners"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_property_owner_other"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[454,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"agreement_property_owner_other");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function hh(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[468,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function gh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,OO.d,OO.a)),uS._17(1,49152,[[469,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,hh)),uS._17(5,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,5,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function bh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,461,{_control:0}),uS._38(335544320,462,{_placeholderChild:0}),uS._38(335544320,463,{_labelChild:0}),uS._38(603979776,464,{_errorChildren:1}),uS._38(603979776,465,{_hintChildren:1}),uS._38(603979776,466,{_prefixChildren:1}),uS._38(603979776,467,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[463,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Relation of Owner to Loan Applicant"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","agreement_property_owner_other_relationship"],["placeholder",""],["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!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),uS._38(603979776,468,{options:1}),uS._38(603979776,469,{optionGroups:1}),uS._38(335544320,470,{customTrigger:0}),uS._37(2048,[[461,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,gh)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"agreement_property_owner_other_relationship");l(n,21,0,"","",e.compareObjects);l(n,28,0,e.relationShipList)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function vh(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[478,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,"0"==n.context.$implicit.id?"Not Applicable":uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function yh(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[479,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,vh)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function Ch(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,471,{_control:0}),uS._38(335544320,472,{_placeholderChild:0}),uS._38(335544320,473,{_labelChild:0}),uS._38(603979776,474,{_errorChildren:1}),uS._38(603979776,475,{_hintChildren:1}),uS._38(603979776,476,{_prefixChildren:1}),uS._38(603979776,477,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[473,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Relation To"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","agreement_property_owner_other_relation_to"],["placeholder",""],["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!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),uS._38(603979776,478,{options:1}),uS._38(603979776,479,{optionGroups:1}),uS._38(335544320,480,{customTrigger:0}),uS._37(2048,[[471,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,yh)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"agreement_property_owner_other_relation_to");l(n,21,0,"","",e.compareObjects);l(n,28,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function wh(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,481,{_control:0}),uS._38(335544320,482,{_placeholderChild:0}),uS._38(335544320,483,{_labelChild:0}),uS._38(603979776,484,{_errorChildren:1}),uS._38(603979776,485,{_hintChildren:1}),uS._38(603979776,486,{_prefixChildren:1}),uS._38(603979776,487,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[483,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of Tenants / Lessees as per Rent Agreement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","agreement_tenant_lessees_name"],["matInput",""],["placeholder",""],["required",""],["rows","4"]],[[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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[481,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"agreement_tenant_lessees_name");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Fh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,488,{_control:0}),uS._38(335544320,489,{_placeholderChild:0}),uS._38(335544320,490,{_labelChild:0}),uS._38(603979776,491,{_errorChildren:1}),uS._38(603979776,492,{_hintChildren:1}),uS._38(603979776,493,{_prefixChildren:1}),uS._38(603979776,494,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[490,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Tenant(s) / Lessee(s) Met During Visit of the Rented Property"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","met_tenant_lessees_options"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,20)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateTenantMetDetails(l.parent.context.$implicit.value,l.parent.context.index)&&u}return u},LO.b,LO.a)),uS._17(15,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,495,{options:1}),uS._38(603979776,496,{optionGroups:1}),uS._38(335544320,497,{customTrigger:0}),uS._37(2048,[[488,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(27,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!==uS._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,28)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(28,8437760,[[495,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,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!==uS._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(32,8437760,[[495,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,15,0,"");l(n,17,0,"met_tenant_lessees_options");l(n,20,0,"","");l(n,28,0,"1");l(n,32,0,"0")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,15).required?"":null,uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20).id,uS._32(n,20).tabIndex,uS._32(n,20)._ariaLabel,uS._32(n,20).ariaLabelledby,uS._32(n,20).required.toString(),uS._32(n,20).disabled.toString(),uS._32(n,20).errorState,uS._32(n,20).panelOpen?uS._32(n,20)._optionIds:null,uS._32(n,20).multiple,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20)._getAriaActiveDescendant(),uS._32(n,20).disabled,uS._32(n,20).errorState,uS._32(n,20).required]);l(n,27,0,uS._32(n,28)._getTabIndex(),uS._32(n,28).selected,uS._32(n,28).multiple,uS._32(n,28).active,uS._32(n,28).id,uS._32(n,28).selected.toString(),uS._32(n,28).disabled.toString(),uS._32(n,28).disabled);l(n,31,0,uS._32(n,32)._getTabIndex(),uS._32(n,32).selected,uS._32(n,32).multiple,uS._32(n,32).active,uS._32(n,32).id,uS._32(n,32).selected.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).disabled)})}function xh(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,498,{_control:0}),uS._38(335544320,499,{_placeholderChild:0}),uS._38(335544320,500,{_labelChild:0}),uS._38(603979776,501,{_errorChildren:1}),uS._38(603979776,502,{_hintChildren:1}),uS._38(603979776,503,{_prefixChildren:1}),uS._38(603979776,504,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[500,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of the Tenant / Lessee Met"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_tenant_lessees_per_met"],["matInput",""],["placeholder",""],["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!==uS._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(16,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[498,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"name_tenant_lessees_per_met");l(n,23,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,15,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function kh(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,505,{_control:0}),uS._38(335544320,506,{_placeholderChild:0}),uS._38(335544320,507,{_labelChild:0}),uS._38(603979776,508,{_errorChildren:1}),uS._38(603979776,509,{_hintChildren:1}),uS._38(603979776,510,{_prefixChildren:1}),uS._38(603979776,511,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[507,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Why Tenant / Lessee not Met ?"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_tenant_lessees_reason_per_met"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[505,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"name_tenant_lessees_reason_per_met");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Sh(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[519,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ih(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[520,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Sh)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function qh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,512,{_control:0}),uS._38(335544320,513,{_placeholderChild:0}),uS._38(335544320,514,{_labelChild:0}),uS._38(603979776,515,{_errorChildren:1}),uS._38(603979776,516,{_hintChildren:1}),uS._38(603979776,517,{_prefixChildren:1}),uS._38(603979776,518,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[514,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of Owner as per Tenant / Lessee Met"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner_per_met"],["multiple",""],["placeholder","Name"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateMetOtherOwners(l.parent.context.$implicit.value,l.parent.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,519,{options:1}),uS._38(603979776,520,{optionGroups:1}),uS._38(335544320,521,{customTrigger:0}),uS._37(2048,[[512,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ih)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"property_owner_per_met");l(n,21,0,"Name","","",e.compareObjects);l(n,28,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function Ph(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,522,{_control:0}),uS._38(335544320,523,{_placeholderChild:0}),uS._38(335544320,524,{_labelChild:0}),uS._38(603979776,525,{_errorChildren:1}),uS._38(603979776,526,{_hintChildren:1}),uS._38(603979776,527,{_prefixChildren:1}),uS._38(603979776,528,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[524,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Specify Other Owner/Owners"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_owner_other_per_met"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[522,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"property_owner_other_per_met");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Dh(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[536,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function Th(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,OO.d,OO.a)),uS._17(1,49152,[[537,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Dh)),uS._17(5,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,5,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function Oh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,529,{_control:0}),uS._38(335544320,530,{_placeholderChild:0}),uS._38(335544320,531,{_labelChild:0}),uS._38(603979776,532,{_errorChildren:1}),uS._38(603979776,533,{_hintChildren:1}),uS._38(603979776,534,{_prefixChildren:1}),uS._38(603979776,535,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[531,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Relation of Owner to Loan Applicant"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner_other_relationship_per_met"],["placeholder",""],["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!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),uS._38(603979776,536,{options:1}),uS._38(603979776,537,{optionGroups:1}),uS._38(335544320,538,{customTrigger:0}),uS._37(2048,[[529,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Th)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"property_owner_other_relationship_per_met");l(n,21,0,"","",e.compareObjects);l(n,28,0,e.relationShipList)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function Lh(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[546,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,"0"==n.context.$implicit.id?"Not Applicable":uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function Ah(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[547,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Lh)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function Vh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,539,{_control:0}),uS._38(335544320,540,{_placeholderChild:0}),uS._38(335544320,541,{_labelChild:0}),uS._38(603979776,542,{_errorChildren:1}),uS._38(603979776,543,{_hintChildren:1}),uS._38(603979776,544,{_prefixChildren:1}),uS._38(603979776,545,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[541,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Relation To"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner_other_relation_to_per_met"],["placeholder",""],["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!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),uS._38(603979776,546,{options:1}),uS._38(603979776,547,{optionGroups:1}),uS._38(335544320,548,{customTrigger:0}),uS._37(2048,[[539,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ah)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"property_owner_other_relation_to_per_met");l(n,21,0,"","",e.compareObjects);l(n,28,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function Nh(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[553,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.paid_monthly_rent_per_met_Inwords[n.parent.parent.context.index])})}function Wh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,549,{_control:0}),uS._38(335544320,550,{_placeholderChild:0}),uS._38(335544320,551,{_labelChild:0}),uS._38(603979776,552,{_errorChildren:1}),uS._38(603979776,553,{_hintChildren:1}),uS._38(603979776,554,{_prefixChildren:1}),uS._38(603979776,555,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[551,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Monthly Rent Amount Paid as per Tenant / Lessee Met"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","paid_monthly_rent_per_met"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,11)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[549,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Nh)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"paid_monthly_rent_per_met");l(n,23,0,"","","number");l(n,27,0,""!=n.parent.context.$implicit.value.paid_monthly_rent_per_met)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Eh(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,556,{_control:0}),uS._38(335544320,557,{_placeholderChild:0}),uS._38(335544320,558,{_labelChild:0}),uS._38(603979776,559,{_errorChildren:1}),uS._38(603979776,560,{_hintChildren:1}),uS._38(603979776,561,{_prefixChildren:1}),uS._38(603979776,562,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[558,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Period (Months) of Stay as per Tenant / Lessee Met"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","period_of_stay_per_met"],["matInput",""],["maxlength","5"],["placeholder",""],["required",""],["type","number"]],[[1,"required",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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,24)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._17(18,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.x,xS.n]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[556,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,18,0,"5");l(n,21,0,"period_of_stay_per_met");l(n,24,0,"","","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,18).maxlength?uS._32(n,18).maxlength:null,uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._isServer,uS._32(n,24).id,uS._32(n,24).placeholder,uS._32(n,24).disabled,uS._32(n,24).required,uS._32(n,24).readonly,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24).errorState,uS._32(n,24).required.toString()])})}function jh(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[570,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function $h(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,563,{_control:0}),uS._38(335544320,564,{_placeholderChild:0}),uS._38(335544320,565,{_labelChild:0}),uS._38(603979776,566,{_errorChildren:1}),uS._38(603979776,567,{_hintChildren:1}),uS._38(603979776,568,{_prefixChildren:1}),uS._38(603979776,569,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[565,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Mode of Payment of Rent as Validated by PD Officer with Tenant / Lessee During Visit"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","payment_mode_per_met"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generatePaymentOptions(l.parent.context.$implicit.value,l.parent.context.index,2)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,570,{options:1}),uS._38(603979776,571,{optionGroups:1}),uS._38(335544320,572,{customTrigger:0}),uS._37(2048,[[563,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,jh)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"payment_mode_per_met");l(n,21,0,"","",e.compareSingleObjects);l(n,28,0,e.paymentPaidOptions)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required])})}function Bh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[576,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value Is More Than Rent Amount"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Rh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[576,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value Is Less Than Rent Amount"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Uh(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[577,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amount_received_bank_per_met_Inwords[n.parent.parent.context.index])})}function Mh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"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!==l.component.inWords(e.target.value,l.parent.context.index,13)&&u}return u},cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,573,{_control:0}),uS._38(335544320,574,{_placeholderChild:0}),uS._38(335544320,575,{_labelChild:0}),uS._38(603979776,576,{_errorChildren:1}),uS._38(603979776,577,{_hintChildren:1}),uS._38(603979776,578,{_prefixChildren:1}),uS._38(603979776,579,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[575,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Amount Paid in Bank"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_received_bank_per_met"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.ValidatedRentAmount(l.parent.context.$implicit.value,l.parent.context.index,2)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[573,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Bh)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Rh)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Uh)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"amount_received_bank_per_met");l(n,23,0,"","","number");l(n,27,0,n.parent.context.$implicit.controls.amount_received_bank_per_met.hasError("max"));l(n,30,0,n.parent.context.$implicit.controls.amount_received_bank_per_met.hasError("min"));l(n,33,0,""!=n.parent.context.$implicit.value.amount_received_bank_per_met)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Kh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[583,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value Is More Than Rent Amount"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Hh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[583,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Given Value Is Less Than Rent Amount"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Gh(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[584,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amount_received_cash_per_met_Inwords[n.parent.parent.context.index])})}function Yh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,580,{_control:0}),uS._38(335544320,581,{_placeholderChild:0}),uS._38(335544320,582,{_labelChild:0}),uS._38(603979776,583,{_errorChildren:1}),uS._38(603979776,584,{_hintChildren:1}),uS._38(603979776,585,{_prefixChildren:1}),uS._38(603979776,586,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[582,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Amount Paid in Cash"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_received_cash_per_met"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,12)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[580,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Kh)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Hh)),uS._17(30,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Gh)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"");l(n,20,0,"amount_received_cash_per_met");l(n,23,0,"","","number");l(n,27,0,n.parent.context.$implicit.controls.amount_received_cash_per_met.hasError("max"));l(n,30,0,n.parent.context.$implicit.controls.amount_received_cash_per_met.hasError("min"));l(n,33,0,""!=n.parent.context.$implicit.value.amount_received_cash_per_met)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function zh(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,587,{_control:0}),uS._38(335544320,588,{_placeholderChild:0}),uS._38(335544320,589,{_labelChild:0}),uS._38(603979776,590,{_errorChildren:1}),uS._38(603979776,591,{_hintChildren:1}),uS._38(603979776,592,{_prefixChildren:1}),uS._38(603979776,593,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[589,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Reason for Paid Multiple Payment Mode"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","payment_received_reason_per_met"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[587,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"payment_received_reason_per_met");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function Qh(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,594,{_control:0}),uS._38(335544320,595,{_placeholderChild:0}),uS._38(335544320,596,{_labelChild:0}),uS._38(603979776,597,{_errorChildren:1}),uS._38(603979776,598,{_hintChildren:1}),uS._38(603979776,599,{_prefixChildren:1}),uS._38(603979776,600,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[596,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["What is the Reason for Difference in Rent Amount or Mode of Payment"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","payment_difference_per_met"],["matInput",""],["placeholder",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,20)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),uS._17(20,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[594,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,17,0,"payment_difference_per_met");l(n,20,0,"")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending,uS._32(n,20)._isServer,uS._32(n,20).id,uS._32(n,20).placeholder,uS._32(n,20).disabled,uS._32(n,20).required,uS._32(n,20).readonly,uS._32(n,20)._ariaDescribedby||null,uS._32(n,20).errorState,uS._32(n,20).required.toString()])})}function Jh(l){return uS._42(0,[(l()(),uS._18(0,16777216,null,null,2,"ion-icon",[["color","optblue"],["matTooltip","Remove Unit"],["matTooltipPosition","above"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(l,n,e){var u=!0;if("longpress"===n){u=!1!==uS._32(l,2).show()&&u}if("keydown"===n){u=!1!==uS._32(l,2)._handleKeydown(e)&&u}if("touchend"===n){u=!1!==uS._32(l,2)._handleTouchend()&&u}return u},null,null)),uS._17(1,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),uS._17(2,147456,null,0,hL.d,[gL.c,uS.p,VO.c,uS._1,uS.H,kS.a,bT.e,bT.j,hL.b,[2,NO.c],[2,hL.a]],{position:[0,"position"],message:[1,"message"]},null),(l()(),uS._13(0,null,null,0))],function(l,n){l(n,1,0,"optblue","md-trash");l(n,2,0,"above","Remove Unit")},function(l,n){l(n,0,0,uS._32(n,1)._hidden)})}function Zh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,398,"mat-card",[["class","mat-card"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,rT.d,rT.a)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),uS._17(4,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(6,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(7,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(10,null,["Unit ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(13,0,null,0,369,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(14,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,365,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(20,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,272,{_control:0}),uS._38(335544320,273,{_placeholderChild:0}),uS._38(335544320,274,{_labelChild:0}),uS._38(603979776,275,{_errorChildren:1}),uS._38(603979776,276,{_hintChildren:1}),uS._38(603979776,277,{_prefixChildren:1}),uS._38(603979776,278,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(29,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(30,16384,[[274,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of the Tenant(s)/Lessees(s) of the Let out Property"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","tenant_lessees_options"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,39)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateTenantOptions(l.context.$implicit.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(34,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(36,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(38,16384,null,0,xS.s,[xS.r],null,null),uS._17(39,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,279,{options:1}),uS._38(603979776,280,{optionGroups:1}),uS._38(335544320,281,{customTrigger:0}),uS._37(2048,[[272,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(46,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!==uS._32(l,47)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,47)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(47,8437760,[[279,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(50,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!==uS._32(l,51)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,51)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(51,8437760,[[279,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Name(s) not provided"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jf)),uS._17(57,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$f)),uS._17(60,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(64,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,cT.b,cT.a)),uS._17(65,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,296,{_control:0}),uS._38(335544320,297,{_placeholderChild:0}),uS._38(335544320,298,{_labelChild:0}),uS._38(603979776,299,{_errorChildren:1}),uS._38(603979776,300,{_hintChildren:1}),uS._38(603979776,301,{_prefixChildren:1}),uS._38(603979776,302,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(75,16384,[[298,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Monthly Rent Amount as per Loan Applicant"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(78,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","monthly_rent_amount"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,79)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,79).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,79)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,79)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,80).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,80).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,80).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,87)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,5)&&u}return u},null,null)),uS._17(79,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(80,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(81,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(84,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(86,16384,null,0,xS.s,[xS.r],null,null),uS._17(87,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[296,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Bf)),uS._17(92,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(95,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,cT.b,cT.a)),uS._17(96,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,303,{_control:0}),uS._38(335544320,304,{_placeholderChild:0}),uS._38(335544320,305,{_labelChild:0}),uS._38(603979776,306,{_errorChildren:1}),uS._38(603979776,307,{_hintChildren:1}),uS._38(603979776,308,{_prefixChildren:1}),uS._38(603979776,309,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(105,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(106,16384,[[305,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Mode of Payment of Rent as per Loan Applicant"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(109,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","payment_mode"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,116)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,116)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,116)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generatePaymentOptions(l.context.$implicit.value,l.context.index,1)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(111,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(113,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(115,16384,null,0,xS.s,[xS.r],null,null),uS._17(116,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,310,{options:1}),uS._38(603979776,311,{optionGroups:1}),uS._38(335544320,312,{customTrigger:0}),uS._37(2048,[[303,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Rf)),uS._17(123,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Hf)),uS._17(128,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Qf)),uS._17(131,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Jf)),uS._17(134,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(136,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,cT.b,cT.a)),uS._17(137,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,334,{_control:0}),uS._38(335544320,335,{_placeholderChild:0}),uS._38(335544320,336,{_labelChild:0}),uS._38(603979776,337,{_errorChildren:1}),uS._38(603979776,338,{_hintChildren:1}),uS._38(603979776,339,{_prefixChildren:1}),uS._38(603979776,340,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(146,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(147,16384,[[336,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Securtity Deposit amount as per Loan Applicant"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(150,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","securtity_deposit_amount"],["matInput",""],["placeholder",""],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,151)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,152).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,152).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,152).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,159)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,159)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,159)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,8)&&u}return u},null,null)),uS._17(151,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(152,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(153,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(156,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(158,16384,null,0,xS.s,[xS.r],null,null),uS._17(159,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[334,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Zf)),uS._17(163,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(168,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,cT.b,cT.a)),uS._17(169,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,341,{_control:0}),uS._38(335544320,342,{_placeholderChild:0}),uS._38(335544320,343,{_labelChild:0}),uS._38(603979776,344,{_errorChildren:1}),uS._38(603979776,345,{_hintChildren:1}),uS._38(603979776,346,{_prefixChildren:1}),uS._38(603979776,347,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(178,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(179,16384,[[343,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Area Covered by the Unit"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(182,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_cover_area"],["matInput",""],["placeholder",""],["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!==uS._32(l,183)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,183).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,183)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,183)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,184).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,184).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,184).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,191)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,191)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,191)._onInput()&&u}return u},null,null)),uS._17(183,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(184,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(185,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(188,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(190,16384,null,0,xS.s,[xS.r],null,null),uS._17(191,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[341,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(198,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,cT.b,cT.a)),uS._17(199,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,348,{_control:0}),uS._38(335544320,349,{_placeholderChild:0}),uS._38(335544320,350,{_labelChild:0}),uS._38(603979776,351,{_errorChildren:1}),uS._38(603979776,352,{_hintChildren:1}),uS._38(603979776,353,{_prefixChildren:1}),uS._38(603979776,354,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(208,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(209,16384,[[350,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Unit of Measurement"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(212,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","unit_measurement"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,219)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,219)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,219)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateOtherunitMeasurement(l.context.$implicit.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(214,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(216,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(218,16384,null,0,xS.s,[xS.r],null,null),uS._17(219,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,355,{options:1}),uS._38(603979776,356,{optionGroups:1}),uS._38(335544320,357,{customTrigger:0}),uS._37(2048,[[348,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Xf)),uS._17(226,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,lh)),uS._17(231,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(235,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(236,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,365,{_control:0}),uS._38(335544320,366,{_placeholderChild:0}),uS._38(335544320,367,{_labelChild:0}),uS._38(603979776,368,{_errorChildren:1}),uS._38(603979776,369,{_hintChildren:1}),uS._38(603979776,370,{_prefixChildren:1}),uS._38(603979776,371,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(245,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(246,16384,[[367,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Is Rent Agreement executed for the Property let out"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(249,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","is_rent_agreement_executed"],["placeholder",""],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,255)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,255)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,255)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.generateRentAgreementSeen(l.context.$implicit.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(250,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(252,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(254,16384,null,0,xS.s,[xS.r],null,null),uS._17(255,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,372,{options:1}),uS._38(603979776,373,{optionGroups:1}),uS._38(335544320,374,{customTrigger:0}),uS._37(2048,[[365,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(262,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!==uS._32(l,263)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,263)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(263,8437760,[[372,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(266,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!==uS._32(l,267)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,267)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(267,8437760,[[372,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,nh)),uS._17(275,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,eh)),uS._17(280,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,uh)),uS._17(285,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,th)),uS._17(288,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,ah)),uS._17(291,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ih)),uS._17(294,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rh)),uS._17(299,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dh)),uS._17(304,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,sh)),uS._17(309,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ph)),uS._17(314,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fh)),uS._17(317,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,bh)),uS._17(320,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ch)),uS._17(323,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wh)),uS._17(328,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fh)),uS._17(334,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xh)),uS._17(337,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,kh)),uS._17(340,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qh)),uS._17(345,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ph)),uS._17(348,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Oh)),uS._17(351,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Vh)),uS._17(354,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wh)),uS._17(359,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Eh)),uS._17(362,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,$h)),uS._17(365,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Mh)),uS._17(368,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Yh)),uS._17(371,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n \n "])),(l()(),uS._13(16777216,null,null,1,null,zh)),uS._17(374,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Qh)),uS._17(378,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(384,0,null,0,13,"mat-card-actions",[["align","end"],["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),uS._17(385,16384,null,0,_T.b,[],{align:[0,"align"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(387,0,null,null,9,"ion-col",[["class","col"],["col-6",""],["offset-3",""]],null,null,null,null,null)),uS._17(388,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(390,0,null,null,5,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeUnit(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(391,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{clear:[0,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Jh)),uS._17(394,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,34,0,"");l(n,36,0,"tenant_lessees_options");l(n,39,0,"","");l(n,47,0,"1");l(n,51,0,"0");l(n,57,0,n.context.$implicit.controls.name_tenant_lessees);l(n,60,0,n.context.$implicit.controls.name_tenant_lessees_reason);l(n,81,0,"");l(n,84,0,"monthly_rent_amount");l(n,87,0,"","","number");l(n,92,0,""!=n.context.$implicit.value.monthly_rent_amount);l(n,111,0,"");l(n,113,0,"payment_mode");l(n,116,0,"","",e.compareSingleObjects);l(n,123,0,e.paymentOptions);l(n,128,0,n.context.$implicit.controls.amount_received_bank);l(n,131,0,n.context.$implicit.controls.amount_received_cash);l(n,134,0,n.context.$implicit.controls.payment_received_reason);l(n,153,0,"");l(n,156,0,"securtity_deposit_amount");l(n,159,0,"","","number");l(n,163,0,""!=n.context.$implicit.value.securtity_deposit_amount);l(n,185,0,"");l(n,188,0,"property_cover_area");l(n,191,0,"","","number");l(n,214,0,"");l(n,216,0,"unit_measurement");l(n,219,0,"","",e.compareSingleObjects);l(n,226,0,e.unitMeasurementList);l(n,231,0,n.context.$implicit.controls.other_unit_measurement);l(n,250,0,"");l(n,252,0,"is_rent_agreement_executed");l(n,255,0,"","");l(n,263,0,"1");l(n,267,0,"0");l(n,275,0,n.context.$implicit.controls.rent_agreement_seen);l(n,280,0,n.context.$implicit.controls.rent_agreement_registered);l(n,285,0,n.context.$implicit.controls.agreement_date);l(n,288,0,n.context.$implicit.controls.agreement_no_months);l(n,291,0,n.context.$implicit.controls.agreement_expiring_date);l(n,294,0,n.context.$implicit.controls.rental_remaining_months);l(n,299,0,n.context.$implicit.controls.agreement_monthly_rent_amount);l(n,304,0,n.context.$implicit.controls.agreement_security_deposit_amount);l(n,309,0,n.context.$implicit.controls.monthly_rent_amount&&n.context.$implicit.controls.agreement_monthly_rent_amount&&0!=e.validateAgreementAmt(n.context.$implicit.controls.monthly_rent_amount?n.context.$implicit.value.monthly_rent_amount:"",n.context.$implicit.controls.agreement_monthly_rent_amount?n.context.$implicit.value.agreement_monthly_rent_amount:""));l(n,314,0,n.context.$implicit.controls.agreement_property_owners_name);l(n,317,0,n.context.$implicit.controls.agreement_property_owner_other);l(n,320,0,n.context.$implicit.controls.agreement_property_owner_other_relationship);l(n,323,0,n.context.$implicit.controls.agreement_property_owner_other_relation_to);l(n,328,0,n.context.$implicit.controls.agreement_tenant_lessees_name);l(n,334,0,n.context.$implicit.controls.met_tenant_lessees_options);l(n,337,0,n.context.$implicit.controls.name_tenant_lessees_per_met);l(n,340,0,n.context.$implicit.controls.name_tenant_lessees_reason_per_met);l(n,345,0,n.context.$implicit.controls.property_owner_per_met);l(n,348,0,n.context.$implicit.controls.property_owner_other_per_met);l(n,351,0,n.context.$implicit.controls.property_owner_other_relationship_per_met);l(n,354,0,n.context.$implicit.controls.property_owner_other_relation_to_per_met);l(n,359,0,n.context.$implicit.controls.paid_monthly_rent_per_met);l(n,362,0,n.context.$implicit.controls.period_of_stay_per_met);l(n,365,0,n.context.$implicit.controls.payment_mode_per_met);l(n,368,0,n.context.$implicit.controls.amount_received_bank_per_met);l(n,371,0,n.context.$implicit.controls.amount_received_cash_per_met);l(n,374,0,n.context.$implicit.controls.payment_received_reason_per_met);l(n,378,0,n.context.$implicit.value.monthly_rent_amount>0&&n.context.$implicit.value.paid_monthly_rent_per_met>0&&""!=n.context.$implicit.value.payment_mode&&""!=n.context.$implicit.value.payment_mode_per_met&&(n.context.$implicit.value.monthly_rent_amount!=n.context.$implicit.value.paid_monthly_rent_per_met||n.context.$implicit.value.payment_mode.id!=n.context.$implicit.value.payment_mode_per_met.id));l(n,385,0,"end");l(n,391,0,"");l(n,394,0,e.rentalForms.value.property_unit_details.length>1)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,10,0,n.context.index+1);l(n,19,1,[uS._32(n,20)._control.errorState,uS._32(n,20)._control.errorState,uS._32(n,20)._canLabelFloat,uS._32(n,20)._shouldLabelFloat(),uS._32(n,20)._hideControlPlaceholder(),uS._32(n,20)._control.disabled,uS._32(n,20)._control.focused,"primary"==uS._32(n,20).color,"accent"==uS._32(n,20).color,"warn"==uS._32(n,20).color,uS._32(n,20)._shouldForward("untouched"),uS._32(n,20)._shouldForward("touched"),uS._32(n,20)._shouldForward("pristine"),uS._32(n,20)._shouldForward("dirty"),uS._32(n,20)._shouldForward("valid"),uS._32(n,20)._shouldForward("invalid"),uS._32(n,20)._shouldForward("pending")]);l(n,33,1,[uS._32(n,34).required?"":null,uS._32(n,38).ngClassUntouched,uS._32(n,38).ngClassTouched,uS._32(n,38).ngClassPristine,uS._32(n,38).ngClassDirty,uS._32(n,38).ngClassValid,uS._32(n,38).ngClassInvalid,uS._32(n,38).ngClassPending,uS._32(n,39).id,uS._32(n,39).tabIndex,uS._32(n,39)._ariaLabel,uS._32(n,39).ariaLabelledby,uS._32(n,39).required.toString(),uS._32(n,39).disabled.toString(),uS._32(n,39).errorState,uS._32(n,39).panelOpen?uS._32(n,39)._optionIds:null,uS._32(n,39).multiple,uS._32(n,39)._ariaDescribedby||null,uS._32(n,39)._getAriaActiveDescendant(),uS._32(n,39).disabled,uS._32(n,39).errorState,uS._32(n,39).required]);l(n,46,0,uS._32(n,47)._getTabIndex(),uS._32(n,47).selected,uS._32(n,47).multiple,uS._32(n,47).active,uS._32(n,47).id,uS._32(n,47).selected.toString(),uS._32(n,47).disabled.toString(),uS._32(n,47).disabled);l(n,50,0,uS._32(n,51)._getTabIndex(),uS._32(n,51).selected,uS._32(n,51).multiple,uS._32(n,51).active,uS._32(n,51).id,uS._32(n,51).selected.toString(),uS._32(n,51).disabled.toString(),uS._32(n,51).disabled);l(n,64,1,[uS._32(n,65)._control.errorState,uS._32(n,65)._control.errorState,uS._32(n,65)._canLabelFloat,uS._32(n,65)._shouldLabelFloat(),uS._32(n,65)._hideControlPlaceholder(),uS._32(n,65)._control.disabled,uS._32(n,65)._control.focused,"primary"==uS._32(n,65).color,"accent"==uS._32(n,65).color,"warn"==uS._32(n,65).color,uS._32(n,65)._shouldForward("untouched"),uS._32(n,65)._shouldForward("touched"),uS._32(n,65)._shouldForward("pristine"),uS._32(n,65)._shouldForward("dirty"),uS._32(n,65)._shouldForward("valid"),uS._32(n,65)._shouldForward("invalid"),uS._32(n,65)._shouldForward("pending")]);l(n,78,1,[uS._32(n,81).required?"":null,uS._32(n,86).ngClassUntouched,uS._32(n,86).ngClassTouched,uS._32(n,86).ngClassPristine,uS._32(n,86).ngClassDirty,uS._32(n,86).ngClassValid,uS._32(n,86).ngClassInvalid,uS._32(n,86).ngClassPending,uS._32(n,87)._isServer,uS._32(n,87).id,uS._32(n,87).placeholder,uS._32(n,87).disabled,uS._32(n,87).required,uS._32(n,87).readonly,uS._32(n,87)._ariaDescribedby||null,uS._32(n,87).errorState,uS._32(n,87).required.toString()]);l(n,95,1,[uS._32(n,96)._control.errorState,uS._32(n,96)._control.errorState,uS._32(n,96)._canLabelFloat,uS._32(n,96)._shouldLabelFloat(),uS._32(n,96)._hideControlPlaceholder(),uS._32(n,96)._control.disabled,uS._32(n,96)._control.focused,"primary"==uS._32(n,96).color,"accent"==uS._32(n,96).color,"warn"==uS._32(n,96).color,uS._32(n,96)._shouldForward("untouched"),uS._32(n,96)._shouldForward("touched"),uS._32(n,96)._shouldForward("pristine"),uS._32(n,96)._shouldForward("dirty"),uS._32(n,96)._shouldForward("valid"),uS._32(n,96)._shouldForward("invalid"),uS._32(n,96)._shouldForward("pending")]);l(n,109,1,[uS._32(n,111).required?"":null,uS._32(n,115).ngClassUntouched,uS._32(n,115).ngClassTouched,uS._32(n,115).ngClassPristine,uS._32(n,115).ngClassDirty,uS._32(n,115).ngClassValid,uS._32(n,115).ngClassInvalid,uS._32(n,115).ngClassPending,uS._32(n,116).id,uS._32(n,116).tabIndex,uS._32(n,116)._ariaLabel,uS._32(n,116).ariaLabelledby,uS._32(n,116).required.toString(),uS._32(n,116).disabled.toString(),uS._32(n,116).errorState,uS._32(n,116).panelOpen?uS._32(n,116)._optionIds:null,uS._32(n,116).multiple,uS._32(n,116)._ariaDescribedby||null,uS._32(n,116)._getAriaActiveDescendant(),uS._32(n,116).disabled,uS._32(n,116).errorState,uS._32(n,116).required]);l(n,136,1,[uS._32(n,137)._control.errorState,uS._32(n,137)._control.errorState,uS._32(n,137)._canLabelFloat,uS._32(n,137)._shouldLabelFloat(),uS._32(n,137)._hideControlPlaceholder(),uS._32(n,137)._control.disabled,uS._32(n,137)._control.focused,"primary"==uS._32(n,137).color,"accent"==uS._32(n,137).color,"warn"==uS._32(n,137).color,uS._32(n,137)._shouldForward("untouched"),uS._32(n,137)._shouldForward("touched"),uS._32(n,137)._shouldForward("pristine"),uS._32(n,137)._shouldForward("dirty"),uS._32(n,137)._shouldForward("valid"),uS._32(n,137)._shouldForward("invalid"),uS._32(n,137)._shouldForward("pending")]);l(n,150,1,[uS._32(n,153).required?"":null,uS._32(n,158).ngClassUntouched,uS._32(n,158).ngClassTouched,uS._32(n,158).ngClassPristine,uS._32(n,158).ngClassDirty,uS._32(n,158).ngClassValid,uS._32(n,158).ngClassInvalid,uS._32(n,158).ngClassPending,uS._32(n,159)._isServer,uS._32(n,159).id,uS._32(n,159).placeholder,uS._32(n,159).disabled,uS._32(n,159).required,uS._32(n,159).readonly,uS._32(n,159)._ariaDescribedby||null,uS._32(n,159).errorState,uS._32(n,159).required.toString()]);l(n,168,1,[uS._32(n,169)._control.errorState,uS._32(n,169)._control.errorState,uS._32(n,169)._canLabelFloat,uS._32(n,169)._shouldLabelFloat(),uS._32(n,169)._hideControlPlaceholder(),uS._32(n,169)._control.disabled,uS._32(n,169)._control.focused,"primary"==uS._32(n,169).color,"accent"==uS._32(n,169).color,"warn"==uS._32(n,169).color,uS._32(n,169)._shouldForward("untouched"),uS._32(n,169)._shouldForward("touched"),uS._32(n,169)._shouldForward("pristine"),uS._32(n,169)._shouldForward("dirty"),uS._32(n,169)._shouldForward("valid"),uS._32(n,169)._shouldForward("invalid"),uS._32(n,169)._shouldForward("pending")]);l(n,182,1,[uS._32(n,185).required?"":null,uS._32(n,190).ngClassUntouched,uS._32(n,190).ngClassTouched,uS._32(n,190).ngClassPristine,uS._32(n,190).ngClassDirty,uS._32(n,190).ngClassValid,uS._32(n,190).ngClassInvalid,uS._32(n,190).ngClassPending,uS._32(n,191)._isServer,uS._32(n,191).id,uS._32(n,191).placeholder,uS._32(n,191).disabled,uS._32(n,191).required,uS._32(n,191).readonly,uS._32(n,191)._ariaDescribedby||null,uS._32(n,191).errorState,uS._32(n,191).required.toString()]);l(n,198,1,[uS._32(n,199)._control.errorState,uS._32(n,199)._control.errorState,uS._32(n,199)._canLabelFloat,uS._32(n,199)._shouldLabelFloat(),uS._32(n,199)._hideControlPlaceholder(),uS._32(n,199)._control.disabled,uS._32(n,199)._control.focused,"primary"==uS._32(n,199).color,"accent"==uS._32(n,199).color,"warn"==uS._32(n,199).color,uS._32(n,199)._shouldForward("untouched"),uS._32(n,199)._shouldForward("touched"),uS._32(n,199)._shouldForward("pristine"),uS._32(n,199)._shouldForward("dirty"),uS._32(n,199)._shouldForward("valid"),uS._32(n,199)._shouldForward("invalid"),uS._32(n,199)._shouldForward("pending")]);l(n,212,1,[uS._32(n,214).required?"":null,uS._32(n,218).ngClassUntouched,uS._32(n,218).ngClassTouched,uS._32(n,218).ngClassPristine,uS._32(n,218).ngClassDirty,uS._32(n,218).ngClassValid,uS._32(n,218).ngClassInvalid,uS._32(n,218).ngClassPending,uS._32(n,219).id,uS._32(n,219).tabIndex,uS._32(n,219)._ariaLabel,uS._32(n,219).ariaLabelledby,uS._32(n,219).required.toString(),uS._32(n,219).disabled.toString(),uS._32(n,219).errorState,uS._32(n,219).panelOpen?uS._32(n,219)._optionIds:null,uS._32(n,219).multiple,uS._32(n,219)._ariaDescribedby||null,uS._32(n,219)._getAriaActiveDescendant(),uS._32(n,219).disabled,uS._32(n,219).errorState,uS._32(n,219).required]);l(n,235,1,[uS._32(n,236)._control.errorState,uS._32(n,236)._control.errorState,uS._32(n,236)._canLabelFloat,uS._32(n,236)._shouldLabelFloat(),uS._32(n,236)._hideControlPlaceholder(),uS._32(n,236)._control.disabled,uS._32(n,236)._control.focused,"primary"==uS._32(n,236).color,"accent"==uS._32(n,236).color,"warn"==uS._32(n,236).color,uS._32(n,236)._shouldForward("untouched"),uS._32(n,236)._shouldForward("touched"),uS._32(n,236)._shouldForward("pristine"),uS._32(n,236)._shouldForward("dirty"),uS._32(n,236)._shouldForward("valid"),uS._32(n,236)._shouldForward("invalid"),uS._32(n,236)._shouldForward("pending")]);l(n,249,1,[uS._32(n,250).required?"":null,uS._32(n,254).ngClassUntouched,uS._32(n,254).ngClassTouched,uS._32(n,254).ngClassPristine,uS._32(n,254).ngClassDirty,uS._32(n,254).ngClassValid,uS._32(n,254).ngClassInvalid,uS._32(n,254).ngClassPending,uS._32(n,255).id,uS._32(n,255).tabIndex,uS._32(n,255)._ariaLabel,uS._32(n,255).ariaLabelledby,uS._32(n,255).required.toString(),uS._32(n,255).disabled.toString(),uS._32(n,255).errorState,uS._32(n,255).panelOpen?uS._32(n,255)._optionIds:null,uS._32(n,255).multiple,uS._32(n,255)._ariaDescribedby||null,uS._32(n,255)._getAriaActiveDescendant(),uS._32(n,255).disabled,uS._32(n,255).errorState,uS._32(n,255).required]);l(n,262,0,uS._32(n,263)._getTabIndex(),uS._32(n,263).selected,uS._32(n,263).multiple,uS._32(n,263).active,uS._32(n,263).id,uS._32(n,263).selected.toString(),uS._32(n,263).disabled.toString(),uS._32(n,263).disabled);l(n,266,0,uS._32(n,267)._getTabIndex(),uS._32(n,267).selected,uS._32(n,267).multiple,uS._32(n,267).active,uS._32(n,267).id,uS._32(n,267).selected.toString(),uS._32(n,267).disabled.toString(),uS._32(n,267).disabled);l(n,384,0,"end"===uS._32(n,385).align)})}function Xh(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,null,null,null,null,null,null,null)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zh)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"property_unit_details");l(n,6,0,e.rentalForms.controls.property_unit_details.controls)},null)}function lg(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,611,{_control:0}),uS._38(335544320,612,{_placeholderChild:0}),uS._38(335544320,613,{_labelChild:0}),uS._38(603979776,614,{_errorChildren:1}),uS._38(603979776,615,{_hintChildren:1}),uS._38(603979776,616,{_prefixChildren:1}),uS._38(603979776,617,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[613,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of person with whom Third Party Check on going rentals in the area done"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","whom_third_party_check_done"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[611,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"whom_third_party_check_done");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function ng(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,618,{_control:0}),uS._38(335544320,619,{_placeholderChild:0}),uS._38(335544320,620,{_labelChild:0}),uS._38(603979776,621,{_errorChildren:1}),uS._38(603979776,622,{_hintChildren:1}),uS._38(603979776,623,{_prefixChildren:1}),uS._38(603979776,624,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[620,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Description of the person with whom the Third Party Check is done"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description_third_party_check_done"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[618,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"description_third_party_check_done");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function eg(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,625,{_control:0}),uS._38(335544320,626,{_placeholderChild:0}),uS._38(335544320,627,{_labelChild:0}),uS._38(603979776,628,{_errorChildren:1}),uS._38(603979776,629,{_hintChildren:1}),uS._38(603979776,630,{_prefixChildren:1}),uS._38(603979776,631,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[627,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Rental rates in the area as per the person with whom Third Party Check is done"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_rates_third_party_check_done"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[625,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"rental_rates_third_party_check_done");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function ug(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,632,{_control:0}),uS._38(335544320,633,{_placeholderChild:0}),uS._38(335544320,634,{_labelChild:0}),uS._38(603979776,635,{_errorChildren:1}),uS._38(603979776,636,{_hintChildren:1}),uS._38(603979776,637,{_prefixChildren:1}),uS._38(603979776,638,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(11,16384,[[634,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Why Third party check not done"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","why_third_party_check_not_done"],["matInput",""],["placeholder",""],["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!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[632,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,16,0,"");l(n,19,0,"why_third_party_check_not_done");l(n,22,0,"","")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,14,1,[uS._32(n,16).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()])})}function tg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,554,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,431,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(9,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.h,[],null,null),(l()(),uS._18(11,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Property Details"])),(l()(),uS._40(-1,0,["\n \n\n "])),(l()(),uS._18(14,0,null,0,422,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(15,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(17,0,null,null,193,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,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,cT.b,cT.a)),uS._17(21,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(30,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_property"],["matInput",""],["placeholder","Address of the Property"],["required",""],["rows","4"]],[[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!==uS._32(l,31)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,31).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,31)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,31)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,38)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,38)._onInput()&&u}return u},null,null)),uS._17(31,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(32,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(35,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(37,16384,null,0,xS.s,[xS.r],null,null),uS._17(38,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[3,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(43,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(44,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,10,{_control:0}),uS._38(335544320,11,{_placeholderChild:0}),uS._38(335544320,12,{_labelChild:0}),uS._38(603979776,13,{_errorChildren:1}),uS._38(603979776,14,{_hintChildren:1}),uS._38(603979776,15,{_prefixChildren:1}),uS._38(603979776,16,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(54,0,null,1,36,"mat-select",[["class","mat-select"],["formControlName","state"],["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!==uS._32(l,60)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,60)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,60)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(55,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(57,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(59,16384,null,0,xS.s,[xS.r],null,null),uS._17(60,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,17,{options:1}),uS._38(603979776,18,{optionGroups:1}),uS._38(335544320,19,{customTrigger:0}),uS._37(2048,[[10,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(67,0,null,1,15,"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!==uS._32(l,68)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,68)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(68,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(70,0,null,0,11,"ngx-mat-select-search",[["formControlName","stateSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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,t=l.component;if("keyup"===n){u=!1!==t.forSearchableDropdown(t.rentalForms,"state")&&u}return u},jO.b,jO.a)),uS._17(71,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,20,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(74,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(76,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(78,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(79,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(80,16384,[[20,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,85)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,85)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(85,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Hp)),uS._17(89,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(93,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(94,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,21,{_control:0}),uS._38(335544320,22,{_placeholderChild:0}),uS._38(335544320,23,{_labelChild:0}),uS._38(603979776,24,{_errorChildren:1}),uS._38(603979776,25,{_hintChildren:1}),uS._38(603979776,26,{_prefixChildren:1}),uS._38(603979776,27,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(104,0,null,1,36,"mat-select",[["class","mat-select"],["formControlName","city"],["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!==uS._32(l,110)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,110)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,110)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(105,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(107,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(109,16384,null,0,xS.s,[xS.r],null,null),uS._17(110,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,28,{options:1}),uS._38(603979776,29,{optionGroups:1}),uS._38(335544320,30,{customTrigger:0}),uS._37(2048,[[21,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(117,0,null,1,15,"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!==uS._32(l,118)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,118)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(118,8437760,[[28,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(120,0,null,0,11,"ngx-mat-select-search",[["formControlName","citySearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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,t=l.component;if("keyup"===n){u=!1!==t.forSearchableDropdown(t.rentalForms,"city")&&u}return u},jO.b,jO.a)),uS._17(121,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,31,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(124,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(126,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(128,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(129,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(130,16384,[[31,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(134,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!==uS._32(l,135)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,135)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(135,8437760,[[28,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Gp)),uS._17(139,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(143,0,null,null,48,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(144,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,32,{_control:0}),uS._38(335544320,33,{_placeholderChild:0}),uS._38(335544320,34,{_labelChild:0}),uS._38(603979776,35,{_errorChildren:1}),uS._38(603979776,36,{_hintChildren:1}),uS._38(603979776,37,{_prefixChildren:1}),uS._38(603979776,38,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(154,0,null,1,36,"mat-select",[["class","mat-select"],["formControlName","pincode"],["placeholder","Pincode"],["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!==uS._32(l,160)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,160)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,160)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(155,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(157,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(159,16384,null,0,xS.s,[xS.r],null,null),uS._17(160,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,39,{options:1}),uS._38(603979776,40,{optionGroups:1}),uS._38(335544320,41,{customTrigger:0}),uS._37(2048,[[32,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(167,0,null,1,15,"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!==uS._32(l,168)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,168)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(168,8437760,[[39,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(170,0,null,0,11,"ngx-mat-select-search",[["formControlName","pincodeSearch"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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,t=l.component;if("keyup"===n){u=!1!==t.forSearchableDropdown(t.rentalForms,"pin")&&u}return u},jO.b,jO.a)),uS._17(171,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,42,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(174,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(176,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(178,0,null,0,2,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(179,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(180,16384,[[42,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(184,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!==uS._32(l,185)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,185)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(185,8437760,[[39,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Yp)),uS._17(189,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(193,0,null,null,12,"div",[["align","left"],["style","margin-left: 0%;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(195,0,null,null,8,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["formControlName","validate_visited_address"]],[[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,oO.b,oO.a)),uS._17(196,4374528,null,0,rO.b,[uS.p,uS.i,bT.j,[8,null],[2,rO.a]],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[rO.b]),uS._17(198,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(200,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,0,["Is This the Address Visited ?\n "])),(l()(),uS._18(202,0,null,0,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(203,null,["( "," )"])),(l()(),uS._18(204,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zp)),uS._17(208,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(212,0,null,null,223,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(215,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,cT.b,cT.a)),uS._17(216,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,50,{_control:0}),uS._38(335544320,51,{_placeholderChild:0}),uS._38(335544320,52,{_labelChild:0}),uS._38(603979776,53,{_errorChildren:1}),uS._38(603979776,54,{_hintChildren:1}),uS._38(603979776,55,{_prefixChildren:1}),uS._38(603979776,56,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(225,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(226,16384,[[52,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of the Person Who is Showing the Property to Sineedge Officer"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(229,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","person_met"],["multiple",""],["placeholder","Name"],["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!==uS._32(l,236)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,236)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,236)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(231,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(233,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(235,16384,null,0,xS.s,[xS.r],null,null),uS._17(236,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},null),uS._38(603979776,57,{options:1}),uS._38(603979776,58,{optionGroups:1}),uS._38(335544320,59,{customTrigger:0}),uS._37(2048,[[50,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Jp)),uS._17(243,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Zp)),uS._17(248,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,lf)),uS._17(251,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,nf)),uS._17(254,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(258,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,cT.b,cT.a)),uS._17(259,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,84,{_control:0}),uS._38(335544320,85,{_placeholderChild:0}),uS._38(335544320,86,{_labelChild:0}),uS._38(603979776,87,{_errorChildren:1}),uS._38(603979776,88,{_hintChildren:1}),uS._38(603979776,89,{_prefixChildren:1}),uS._38(603979776,90,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(268,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(269,16384,[[86,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Name of the Owner/Owners of the Let out Property as per Loan Applicants"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(272,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_owner"],["multiple",""],["placeholder","Name"],["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!==uS._32(l,279)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,279)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,279)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(274,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(276,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(278,16384,null,0,xS.s,[xS.r],null,null),uS._17(279,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],compareWith:[3,"compareWith"]},null),uS._38(603979776,91,{options:1}),uS._38(603979776,92,{optionGroups:1}),uS._38(335544320,93,{customTrigger:0}),uS._37(2048,[[84,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,uf)),uS._17(286,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,tf)),uS._17(291,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,rf)),uS._17(294,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,sf)),uS._17(297,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(301,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(302,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,121,{_control:0}),uS._38(335544320,122,{_placeholderChild:0}),uS._38(335544320,123,{_labelChild:0}),uS._38(603979776,124,{_errorChildren:1}),uS._38(603979776,125,{_hintChildren:1}),uS._38(603979776,126,{_prefixChildren:1}),uS._38(603979776,127,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(311,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(312,16384,[[123,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Ownership Proof Documents Sighted"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(315,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","property_ownership_proof_documents"],["placeholder",""],["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!==uS._32(l,321)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,321)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,321)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(316,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(318,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(320,16384,null,0,xS.s,[xS.r],null,null),uS._17(321,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,128,{options:1}),uS._38(603979776,129,{optionGroups:1}),uS._38(335544320,130,{customTrigger:0}),uS._37(2048,[[121,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(328,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!==uS._32(l,329)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,329)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(329,8437760,[[128,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(332,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!==uS._32(l,333)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,333)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(333,8437760,[[128,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,mf)),uS._17(339,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,pf)),uS._17(342,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(346,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,cT.b,cT.a)),uS._17(347,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,148,{_control:0}),uS._38(335544320,149,{_placeholderChild:0}),uS._38(335544320,150,{_labelChild:0}),uS._38(603979776,151,{_errorChildren:1}),uS._38(603979776,152,{_hintChildren:1}),uS._38(603979776,153,{_prefixChildren:1}),uS._38(603979776,154,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(356,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(357,16384,[[150,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Nature of Let Out Property as per Loan Applicant"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(360,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","nature_property"],["placeholder",""],["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!==uS._32(l,367)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,367)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,367)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(362,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(364,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(366,16384,null,0,xS.s,[xS.r],null,null),uS._17(367,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),uS._38(603979776,155,{options:1}),uS._38(603979776,156,{optionGroups:1}),uS._38(335544320,157,{customTrigger:0}),uS._37(2048,[[148,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ff)),uS._17(374,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,hf)),uS._17(379,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(383,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,cT.b,cT.a)),uS._17(384,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,165,{_control:0}),uS._38(335544320,166,{_placeholderChild:0}),uS._38(335544320,167,{_labelChild:0}),uS._38(603979776,168,{_errorChildren:1}),uS._38(603979776,169,{_hintChildren:1}),uS._38(603979776,170,{_prefixChildren:1}),uS._38(603979776,171,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(393,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(394,16384,[[167,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Type of Units as per Loan Applicants"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(397,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","unit_type"],["placeholder",""],["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!==uS._32(l,404)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,404)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,404)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(399,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(401,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(403,16384,null,0,xS.s,[xS.r],null,null),uS._17(404,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"],compareWith:[2,"compareWith"]},null),uS._38(603979776,172,{options:1}),uS._38(603979776,173,{optionGroups:1}),uS._38(335544320,174,{customTrigger:0}),uS._37(2048,[[165,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,bf)),uS._17(411,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vf)),uS._17(416,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,yf)),uS._17(419,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Cf)),uS._17(422,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n\n "])),(l()(),uS._13(16777216,null,null,1,null,wf)),uS._17(425,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xf)),uS._17(430,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,kf)),uS._17(433,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ef)),uS._17(441,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Xh)),uS._17(446,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(449,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.addMoreUnitDetails()&&u}return u},AT.b,AT.a)),uS._17(450,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"],block:[2,"block"]},null),(l()(),uS._40(-1,0,["Add More\n Unit"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(453,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._18(455,0,null,null,67,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(456,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(458,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(459,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(461,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Third Party Check"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(465,0,null,0,56,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(466,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(468,0,null,null,52,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(471,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(472,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,601,{_control:0}),uS._38(335544320,602,{_placeholderChild:0}),uS._38(335544320,603,{_labelChild:0}),uS._38(603979776,604,{_errorChildren:1}),uS._38(603979776,605,{_hintChildren:1}),uS._38(603979776,606,{_prefixChildren:1}),uS._38(603979776,607,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(481,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(482,16384,[[603,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Third party check done on prevailing rent in the area"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(485,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","done_third_party_check"],["placeholder",""],["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!==uS._32(l,491)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,491)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,491)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(486,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(488,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(490,16384,null,0,xS.s,[xS.r],null,null),uS._17(491,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,608,{options:1}),uS._38(603979776,609,{optionGroups:1}),uS._38(335544320,610,{customTrigger:0}),uS._37(2048,[[601,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(498,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!==uS._32(l,499)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,499)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(499,8437760,[[608,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(502,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!==uS._32(l,503)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,503)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(503,8437760,[[608,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,lg)),uS._17(509,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ng)),uS._17(512,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,eg)),uS._17(515,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ug)),uS._17(518,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(524,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(525,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(527,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,cT.b,cT.a)),uS._17(528,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,639,{_control:0}),uS._38(335544320,640,{_placeholderChild:0}),uS._38(335544320,641,{_labelChild:0}),uS._38(603979776,642,{_errorChildren:1}),uS._38(603979776,643,{_hintChildren:1}),uS._38(603979776,644,{_prefixChildren:1}),uS._38(603979776,645,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(537,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_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!==uS._32(l,538)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,538).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,538)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,538)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,543)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,543)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,543)._onInput()&&u}return u},null,null)),uS._17(538,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(540,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(542,16384,null,0,xS.s,[xS.r],null,null),uS._17(543,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[639,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(549,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(550,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.rentalForms);l(n,32,0,"");l(n,35,0,"address_property");l(n,38,0,"Address of the Property","");l(n,55,0,"");l(n,57,0,"state");l(n,60,0,"State","");l(n,71,0,"Search State","No Records Found");l(n,74,0,"stateSearch");l(n,79,0,"md-close");l(n,89,0,e.stateList);l(n,105,0,"");l(n,107,0,"city");l(n,110,0,"City","");l(n,121,0,"Search City","No Records Found");l(n,124,0,"citySearch");l(n,129,0,"md-close");l(n,139,0,e.cityList);l(n,155,0,"");l(n,157,0,"pincode");l(n,160,0,"Pincode","");l(n,171,0,"Search Pincode","No Records Found");l(n,174,0,"pincodeSearch");l(n,179,0,"md-close");l(n,189,0,e.pincodeList);l(n,196,0,"primary");l(n,198,0,"validate_visited_address");l(n,208,0,e.rentalForms.controls.other_visited_address);l(n,231,0,"");l(n,233,0,"person_met");l(n,236,0,"Name","","",e.compareObjects);l(n,243,0,e.mergeCompanyApplicant);l(n,248,0,e.rentalForms.controls.other_person_met);l(n,251,0,e.rentalForms.controls.other_name_person_showing_property&&""!=e.rentalForms.value.other_person_met);l(n,254,0,e.rentalForms.controls.other_name_person_type&&""!=e.rentalForms.value.other_person_met);l(n,274,0,"");l(n,276,0,"property_owner");l(n,279,0,"Name","","",e.compareObjects);l(n,286,0,e.mergeCompanyApplicant);l(n,291,0,e.rentalForms.controls.property_owner_other);l(n,294,0,e.rentalForms.controls.property_owner_other_relationship);l(n,297,0,e.rentalForms.controls.property_owner_other_relation_to);l(n,316,0,"");l(n,318,0,"property_ownership_proof_documents");l(n,321,0,"","");l(n,329,0,"1");l(n,333,0,"0");l(n,339,0,e.rentalForms.controls.sighted_documents);l(n,342,0,e.rentalForms.controls.other_sighted_documents);l(n,362,0,"");l(n,364,0,"nature_property");l(n,367,0,"","",e.compareSingleObjects);l(n,374,0,e.propertyNature);l(n,379,0,e.rentalForms.controls.other_nature_property);l(n,399,0,"");l(n,401,0,"unit_type");l(n,404,0,"","",e.compareObjects);l(n,411,0,e.unitTypeList);l(n,416,0,e.rentalForms.controls.other_unit_type);l(n,419,0,e.rentalForms.controls.no_units);l(n,422,0,e.rentalForms.controls.no_floor);l(n,425,0,e.rentalForms.controls.multistoried_total_area);l(n,430,0,e.rentalForms.controls.multistoried_uom);l(n,433,0,e.rentalForms.controls.multistoried_other_uom);l(n,441,0,e.rentalForms.value.multistoried_building_details.length>0);l(n,446,0,e.rentalForms.value.property_unit_details.length>0);l(n,450,0,"optblue","","");l(n,486,0,"");l(n,488,0,"done_third_party_check");l(n,491,0,"","");l(n,499,0,"1");l(n,503,0,"0");l(n,509,0,e.rentalForms.controls.whom_third_party_check_done);l(n,512,0,e.rentalForms.controls.description_third_party_check_done);l(n,515,0,e.rentalForms.controls.rental_rates_third_party_check_done);l(n,518,0,e.rentalForms.controls.why_third_party_check_not_done);l(n,540,0,"rental_remark");l(n,543,0,"Remarks")},function(l,n){var e=n.component;l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,20,1,[uS._32(n,21)._control.errorState,uS._32(n,21)._control.errorState,uS._32(n,21)._canLabelFloat,uS._32(n,21)._shouldLabelFloat(),uS._32(n,21)._hideControlPlaceholder(),uS._32(n,21)._control.disabled,uS._32(n,21)._control.focused,"primary"==uS._32(n,21).color,"accent"==uS._32(n,21).color,"warn"==uS._32(n,21).color,uS._32(n,21)._shouldForward("untouched"),uS._32(n,21)._shouldForward("touched"),uS._32(n,21)._shouldForward("pristine"),uS._32(n,21)._shouldForward("dirty"),uS._32(n,21)._shouldForward("valid"),uS._32(n,21)._shouldForward("invalid"),uS._32(n,21)._shouldForward("pending")]);l(n,30,1,[uS._32(n,32).required?"":null,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending,uS._32(n,38)._isServer,uS._32(n,38).id,uS._32(n,38).placeholder,uS._32(n,38).disabled,uS._32(n,38).required,uS._32(n,38).readonly,uS._32(n,38)._ariaDescribedby||null,uS._32(n,38).errorState,uS._32(n,38).required.toString()]);l(n,43,1,[uS._32(n,44)._control.errorState,uS._32(n,44)._control.errorState,uS._32(n,44)._canLabelFloat,uS._32(n,44)._shouldLabelFloat(),uS._32(n,44)._hideControlPlaceholder(),uS._32(n,44)._control.disabled,uS._32(n,44)._control.focused,"primary"==uS._32(n,44).color,"accent"==uS._32(n,44).color,"warn"==uS._32(n,44).color,uS._32(n,44)._shouldForward("untouched"),uS._32(n,44)._shouldForward("touched"),uS._32(n,44)._shouldForward("pristine"),uS._32(n,44)._shouldForward("dirty"),uS._32(n,44)._shouldForward("valid"),uS._32(n,44)._shouldForward("invalid"),uS._32(n,44)._shouldForward("pending")]);l(n,54,1,[uS._32(n,55).required?"":null,uS._32(n,59).ngClassUntouched,uS._32(n,59).ngClassTouched,uS._32(n,59).ngClassPristine,uS._32(n,59).ngClassDirty,uS._32(n,59).ngClassValid,uS._32(n,59).ngClassInvalid,uS._32(n,59).ngClassPending,uS._32(n,60).id,uS._32(n,60).tabIndex,uS._32(n,60)._ariaLabel,uS._32(n,60).ariaLabelledby,uS._32(n,60).required.toString(),uS._32(n,60).disabled.toString(),uS._32(n,60).errorState,uS._32(n,60).panelOpen?uS._32(n,60)._optionIds:null,uS._32(n,60).multiple,uS._32(n,60)._ariaDescribedby||null,uS._32(n,60)._getAriaActiveDescendant(),uS._32(n,60).disabled,uS._32(n,60).errorState,uS._32(n,60).required]);l(n,67,0,uS._32(n,68)._getTabIndex(),uS._32(n,68).selected,uS._32(n,68).multiple,uS._32(n,68).active,uS._32(n,68).id,uS._32(n,68).selected.toString(),uS._32(n,68).disabled.toString(),uS._32(n,68).disabled);l(n,70,0,uS._32(n,71).isInsideMatOption,uS._32(n,76).ngClassUntouched,uS._32(n,76).ngClassTouched,uS._32(n,76).ngClassPristine,uS._32(n,76).ngClassDirty,uS._32(n,76).ngClassValid,uS._32(n,76).ngClassInvalid,uS._32(n,76).ngClassPending);l(n,78,0,uS._32(n,79)._hidden);l(n,84,0,uS._32(n,85)._getTabIndex(),uS._32(n,85).selected,uS._32(n,85).multiple,uS._32(n,85).active,uS._32(n,85).id,uS._32(n,85).selected.toString(),uS._32(n,85).disabled.toString(),uS._32(n,85).disabled);l(n,93,1,[uS._32(n,94)._control.errorState,uS._32(n,94)._control.errorState,uS._32(n,94)._canLabelFloat,uS._32(n,94)._shouldLabelFloat(),uS._32(n,94)._hideControlPlaceholder(),uS._32(n,94)._control.disabled,uS._32(n,94)._control.focused,"primary"==uS._32(n,94).color,"accent"==uS._32(n,94).color,"warn"==uS._32(n,94).color,uS._32(n,94)._shouldForward("untouched"),uS._32(n,94)._shouldForward("touched"),uS._32(n,94)._shouldForward("pristine"),uS._32(n,94)._shouldForward("dirty"),uS._32(n,94)._shouldForward("valid"),uS._32(n,94)._shouldForward("invalid"),uS._32(n,94)._shouldForward("pending")]);l(n,104,1,[uS._32(n,105).required?"":null,uS._32(n,109).ngClassUntouched,uS._32(n,109).ngClassTouched,uS._32(n,109).ngClassPristine,uS._32(n,109).ngClassDirty,uS._32(n,109).ngClassValid,uS._32(n,109).ngClassInvalid,uS._32(n,109).ngClassPending,uS._32(n,110).id,uS._32(n,110).tabIndex,uS._32(n,110)._ariaLabel,uS._32(n,110).ariaLabelledby,uS._32(n,110).required.toString(),uS._32(n,110).disabled.toString(),uS._32(n,110).errorState,uS._32(n,110).panelOpen?uS._32(n,110)._optionIds:null,uS._32(n,110).multiple,uS._32(n,110)._ariaDescribedby||null,uS._32(n,110)._getAriaActiveDescendant(),uS._32(n,110).disabled,uS._32(n,110).errorState,uS._32(n,110).required]);l(n,117,0,uS._32(n,118)._getTabIndex(),uS._32(n,118).selected,uS._32(n,118).multiple,uS._32(n,118).active,uS._32(n,118).id,uS._32(n,118).selected.toString(),uS._32(n,118).disabled.toString(),uS._32(n,118).disabled);l(n,120,0,uS._32(n,121).isInsideMatOption,uS._32(n,126).ngClassUntouched,uS._32(n,126).ngClassTouched,uS._32(n,126).ngClassPristine,uS._32(n,126).ngClassDirty,uS._32(n,126).ngClassValid,uS._32(n,126).ngClassInvalid,uS._32(n,126).ngClassPending);l(n,128,0,uS._32(n,129)._hidden);l(n,134,0,uS._32(n,135)._getTabIndex(),uS._32(n,135).selected,uS._32(n,135).multiple,uS._32(n,135).active,uS._32(n,135).id,uS._32(n,135).selected.toString(),uS._32(n,135).disabled.toString(),uS._32(n,135).disabled);l(n,143,1,[uS._32(n,144)._control.errorState,uS._32(n,144)._control.errorState,uS._32(n,144)._canLabelFloat,uS._32(n,144)._shouldLabelFloat(),uS._32(n,144)._hideControlPlaceholder(),uS._32(n,144)._control.disabled,uS._32(n,144)._control.focused,"primary"==uS._32(n,144).color,"accent"==uS._32(n,144).color,"warn"==uS._32(n,144).color,uS._32(n,144)._shouldForward("untouched"),uS._32(n,144)._shouldForward("touched"),uS._32(n,144)._shouldForward("pristine"),uS._32(n,144)._shouldForward("dirty"),uS._32(n,144)._shouldForward("valid"),uS._32(n,144)._shouldForward("invalid"),uS._32(n,144)._shouldForward("pending")]);l(n,154,1,[uS._32(n,155).required?"":null,uS._32(n,159).ngClassUntouched,uS._32(n,159).ngClassTouched,uS._32(n,159).ngClassPristine,uS._32(n,159).ngClassDirty,uS._32(n,159).ngClassValid,uS._32(n,159).ngClassInvalid,uS._32(n,159).ngClassPending,uS._32(n,160).id,uS._32(n,160).tabIndex,uS._32(n,160)._ariaLabel,uS._32(n,160).ariaLabelledby,uS._32(n,160).required.toString(),uS._32(n,160).disabled.toString(),uS._32(n,160).errorState,uS._32(n,160).panelOpen?uS._32(n,160)._optionIds:null,uS._32(n,160).multiple,uS._32(n,160)._ariaDescribedby||null,uS._32(n,160)._getAriaActiveDescendant(),uS._32(n,160).disabled,uS._32(n,160).errorState,uS._32(n,160).required]);l(n,167,0,uS._32(n,168)._getTabIndex(),uS._32(n,168).selected,uS._32(n,168).multiple,uS._32(n,168).active,uS._32(n,168).id,uS._32(n,168).selected.toString(),uS._32(n,168).disabled.toString(),uS._32(n,168).disabled);l(n,170,0,uS._32(n,171).isInsideMatOption,uS._32(n,176).ngClassUntouched,uS._32(n,176).ngClassTouched,uS._32(n,176).ngClassPristine,uS._32(n,176).ngClassDirty,uS._32(n,176).ngClassValid,uS._32(n,176).ngClassInvalid,uS._32(n,176).ngClassPending);l(n,178,0,uS._32(n,179)._hidden);l(n,184,0,uS._32(n,185)._getTabIndex(),uS._32(n,185).selected,uS._32(n,185).multiple,uS._32(n,185).active,uS._32(n,185).id,uS._32(n,185).selected.toString(),uS._32(n,185).disabled.toString(),uS._32(n,185).disabled);l(n,195,1,[uS._32(n,196).id,uS._32(n,196).indeterminate,uS._32(n,196).checked,uS._32(n,196).disabled,"before"==uS._32(n,196).labelPosition,uS._32(n,200).ngClassUntouched,uS._32(n,200).ngClassTouched,uS._32(n,200).ngClassPristine,uS._32(n,200).ngClassDirty,uS._32(n,200).ngClassValid,uS._32(n,200).ngClassInvalid,uS._32(n,200).ngClassPending]);l(n,203,0,!0===e.rentalForms.value.validate_visited_address?"Yes":"No");l(n,215,1,[uS._32(n,216)._control.errorState,uS._32(n,216)._control.errorState,uS._32(n,216)._canLabelFloat,uS._32(n,216)._shouldLabelFloat(),uS._32(n,216)._hideControlPlaceholder(),uS._32(n,216)._control.disabled,uS._32(n,216)._control.focused,"primary"==uS._32(n,216).color,"accent"==uS._32(n,216).color,"warn"==uS._32(n,216).color,uS._32(n,216)._shouldForward("untouched"),uS._32(n,216)._shouldForward("touched"),uS._32(n,216)._shouldForward("pristine"),uS._32(n,216)._shouldForward("dirty"),uS._32(n,216)._shouldForward("valid"),uS._32(n,216)._shouldForward("invalid"),uS._32(n,216)._shouldForward("pending")]);l(n,229,1,[uS._32(n,231).required?"":null,uS._32(n,235).ngClassUntouched,uS._32(n,235).ngClassTouched,uS._32(n,235).ngClassPristine,uS._32(n,235).ngClassDirty,uS._32(n,235).ngClassValid,uS._32(n,235).ngClassInvalid,uS._32(n,235).ngClassPending,uS._32(n,236).id,uS._32(n,236).tabIndex,uS._32(n,236)._ariaLabel,uS._32(n,236).ariaLabelledby,uS._32(n,236).required.toString(),uS._32(n,236).disabled.toString(),uS._32(n,236).errorState,uS._32(n,236).panelOpen?uS._32(n,236)._optionIds:null,uS._32(n,236).multiple,uS._32(n,236)._ariaDescribedby||null,uS._32(n,236)._getAriaActiveDescendant(),uS._32(n,236).disabled,uS._32(n,236).errorState,uS._32(n,236).required]);l(n,258,1,[uS._32(n,259)._control.errorState,uS._32(n,259)._control.errorState,uS._32(n,259)._canLabelFloat,uS._32(n,259)._shouldLabelFloat(),uS._32(n,259)._hideControlPlaceholder(),uS._32(n,259)._control.disabled,uS._32(n,259)._control.focused,"primary"==uS._32(n,259).color,"accent"==uS._32(n,259).color,"warn"==uS._32(n,259).color,uS._32(n,259)._shouldForward("untouched"),uS._32(n,259)._shouldForward("touched"),uS._32(n,259)._shouldForward("pristine"),uS._32(n,259)._shouldForward("dirty"),uS._32(n,259)._shouldForward("valid"),uS._32(n,259)._shouldForward("invalid"),uS._32(n,259)._shouldForward("pending")]);l(n,272,1,[uS._32(n,274).required?"":null,uS._32(n,278).ngClassUntouched,uS._32(n,278).ngClassTouched,uS._32(n,278).ngClassPristine,uS._32(n,278).ngClassDirty,uS._32(n,278).ngClassValid,uS._32(n,278).ngClassInvalid,uS._32(n,278).ngClassPending,uS._32(n,279).id,uS._32(n,279).tabIndex,uS._32(n,279)._ariaLabel,uS._32(n,279).ariaLabelledby,uS._32(n,279).required.toString(),uS._32(n,279).disabled.toString(),uS._32(n,279).errorState,uS._32(n,279).panelOpen?uS._32(n,279)._optionIds:null,uS._32(n,279).multiple,uS._32(n,279)._ariaDescribedby||null,uS._32(n,279)._getAriaActiveDescendant(),uS._32(n,279).disabled,uS._32(n,279).errorState,uS._32(n,279).required]);l(n,301,1,[uS._32(n,302)._control.errorState,uS._32(n,302)._control.errorState,uS._32(n,302)._canLabelFloat,uS._32(n,302)._shouldLabelFloat(),uS._32(n,302)._hideControlPlaceholder(),uS._32(n,302)._control.disabled,uS._32(n,302)._control.focused,"primary"==uS._32(n,302).color,"accent"==uS._32(n,302).color,"warn"==uS._32(n,302).color,uS._32(n,302)._shouldForward("untouched"),uS._32(n,302)._shouldForward("touched"),uS._32(n,302)._shouldForward("pristine"),uS._32(n,302)._shouldForward("dirty"),uS._32(n,302)._shouldForward("valid"),uS._32(n,302)._shouldForward("invalid"),uS._32(n,302)._shouldForward("pending")]);l(n,315,1,[uS._32(n,316).required?"":null,uS._32(n,320).ngClassUntouched,uS._32(n,320).ngClassTouched,uS._32(n,320).ngClassPristine,uS._32(n,320).ngClassDirty,uS._32(n,320).ngClassValid,uS._32(n,320).ngClassInvalid,uS._32(n,320).ngClassPending,uS._32(n,321).id,uS._32(n,321).tabIndex,uS._32(n,321)._ariaLabel,uS._32(n,321).ariaLabelledby,uS._32(n,321).required.toString(),uS._32(n,321).disabled.toString(),uS._32(n,321).errorState,uS._32(n,321).panelOpen?uS._32(n,321)._optionIds:null,uS._32(n,321).multiple,uS._32(n,321)._ariaDescribedby||null,uS._32(n,321)._getAriaActiveDescendant(),uS._32(n,321).disabled,uS._32(n,321).errorState,uS._32(n,321).required]);l(n,328,0,uS._32(n,329)._getTabIndex(),uS._32(n,329).selected,uS._32(n,329).multiple,uS._32(n,329).active,uS._32(n,329).id,uS._32(n,329).selected.toString(),uS._32(n,329).disabled.toString(),uS._32(n,329).disabled);l(n,332,0,uS._32(n,333)._getTabIndex(),uS._32(n,333).selected,uS._32(n,333).multiple,uS._32(n,333).active,uS._32(n,333).id,uS._32(n,333).selected.toString(),uS._32(n,333).disabled.toString(),uS._32(n,333).disabled);l(n,346,1,[uS._32(n,347)._control.errorState,uS._32(n,347)._control.errorState,uS._32(n,347)._canLabelFloat,uS._32(n,347)._shouldLabelFloat(),uS._32(n,347)._hideControlPlaceholder(),uS._32(n,347)._control.disabled,uS._32(n,347)._control.focused,"primary"==uS._32(n,347).color,"accent"==uS._32(n,347).color,"warn"==uS._32(n,347).color,uS._32(n,347)._shouldForward("untouched"),uS._32(n,347)._shouldForward("touched"),uS._32(n,347)._shouldForward("pristine"),uS._32(n,347)._shouldForward("dirty"),uS._32(n,347)._shouldForward("valid"),uS._32(n,347)._shouldForward("invalid"),uS._32(n,347)._shouldForward("pending")]);l(n,360,1,[uS._32(n,362).required?"":null,uS._32(n,366).ngClassUntouched,uS._32(n,366).ngClassTouched,uS._32(n,366).ngClassPristine,uS._32(n,366).ngClassDirty,uS._32(n,366).ngClassValid,uS._32(n,366).ngClassInvalid,uS._32(n,366).ngClassPending,uS._32(n,367).id,uS._32(n,367).tabIndex,uS._32(n,367)._ariaLabel,uS._32(n,367).ariaLabelledby,uS._32(n,367).required.toString(),uS._32(n,367).disabled.toString(),uS._32(n,367).errorState,uS._32(n,367).panelOpen?uS._32(n,367)._optionIds:null,uS._32(n,367).multiple,uS._32(n,367)._ariaDescribedby||null,uS._32(n,367)._getAriaActiveDescendant(),uS._32(n,367).disabled,uS._32(n,367).errorState,uS._32(n,367).required]);l(n,383,1,[uS._32(n,384)._control.errorState,uS._32(n,384)._control.errorState,uS._32(n,384)._canLabelFloat,uS._32(n,384)._shouldLabelFloat(),uS._32(n,384)._hideControlPlaceholder(),uS._32(n,384)._control.disabled,uS._32(n,384)._control.focused,"primary"==uS._32(n,384).color,"accent"==uS._32(n,384).color,"warn"==uS._32(n,384).color,uS._32(n,384)._shouldForward("untouched"),uS._32(n,384)._shouldForward("touched"),uS._32(n,384)._shouldForward("pristine"),uS._32(n,384)._shouldForward("dirty"),uS._32(n,384)._shouldForward("valid"),uS._32(n,384)._shouldForward("invalid"),uS._32(n,384)._shouldForward("pending")]);l(n,397,1,[uS._32(n,399).required?"":null,uS._32(n,403).ngClassUntouched,uS._32(n,403).ngClassTouched,uS._32(n,403).ngClassPristine,uS._32(n,403).ngClassDirty,uS._32(n,403).ngClassValid,uS._32(n,403).ngClassInvalid,uS._32(n,403).ngClassPending,uS._32(n,404).id,uS._32(n,404).tabIndex,uS._32(n,404)._ariaLabel,uS._32(n,404).ariaLabelledby,uS._32(n,404).required.toString(),uS._32(n,404).disabled.toString(),uS._32(n,404).errorState,uS._32(n,404).panelOpen?uS._32(n,404)._optionIds:null,uS._32(n,404).multiple,uS._32(n,404)._ariaDescribedby||null,uS._32(n,404)._getAriaActiveDescendant(),uS._32(n,404).disabled,uS._32(n,404).errorState,uS._32(n,404).required]);l(n,471,1,[uS._32(n,472)._control.errorState,uS._32(n,472)._control.errorState,uS._32(n,472)._canLabelFloat,uS._32(n,472)._shouldLabelFloat(),uS._32(n,472)._hideControlPlaceholder(),uS._32(n,472)._control.disabled,uS._32(n,472)._control.focused,"primary"==uS._32(n,472).color,"accent"==uS._32(n,472).color,"warn"==uS._32(n,472).color,uS._32(n,472)._shouldForward("untouched"),uS._32(n,472)._shouldForward("touched"),uS._32(n,472)._shouldForward("pristine"),uS._32(n,472)._shouldForward("dirty"),uS._32(n,472)._shouldForward("valid"),uS._32(n,472)._shouldForward("invalid"),uS._32(n,472)._shouldForward("pending")]);l(n,485,1,[uS._32(n,486).required?"":null,uS._32(n,490).ngClassUntouched,uS._32(n,490).ngClassTouched,uS._32(n,490).ngClassPristine,uS._32(n,490).ngClassDirty,uS._32(n,490).ngClassValid,uS._32(n,490).ngClassInvalid,uS._32(n,490).ngClassPending,uS._32(n,491).id,uS._32(n,491).tabIndex,uS._32(n,491)._ariaLabel,uS._32(n,491).ariaLabelledby,uS._32(n,491).required.toString(),uS._32(n,491).disabled.toString(),uS._32(n,491).errorState,uS._32(n,491).panelOpen?uS._32(n,491)._optionIds:null,uS._32(n,491).multiple,uS._32(n,491)._ariaDescribedby||null,uS._32(n,491)._getAriaActiveDescendant(),uS._32(n,491).disabled,uS._32(n,491).errorState,uS._32(n,491).required]);l(n,498,0,uS._32(n,499)._getTabIndex(),uS._32(n,499).selected,uS._32(n,499).multiple,uS._32(n,499).active,uS._32(n,499).id,uS._32(n,499).selected.toString(),uS._32(n,499).disabled.toString(),uS._32(n,499).disabled);l(n,502,0,uS._32(n,503)._getTabIndex(),uS._32(n,503).selected,uS._32(n,503).multiple,uS._32(n,503).active,uS._32(n,503).id,uS._32(n,503).selected.toString(),uS._32(n,503).disabled.toString(),uS._32(n,503).disabled);l(n,527,1,[uS._32(n,528)._control.errorState,uS._32(n,528)._control.errorState,uS._32(n,528)._canLabelFloat,uS._32(n,528)._shouldLabelFloat(),uS._32(n,528)._hideControlPlaceholder(),uS._32(n,528)._control.disabled,uS._32(n,528)._control.focused,"primary"==uS._32(n,528).color,"accent"==uS._32(n,528).color,"warn"==uS._32(n,528).color,uS._32(n,528)._shouldForward("untouched"),uS._32(n,528)._shouldForward("touched"),uS._32(n,528)._shouldForward("pristine"),uS._32(n,528)._shouldForward("dirty"),uS._32(n,528)._shouldForward("valid"),uS._32(n,528)._shouldForward("invalid"),uS._32(n,528)._shouldForward("pending")]);l(n,537,1,[uS._32(n,542).ngClassUntouched,uS._32(n,542).ngClassTouched,uS._32(n,542).ngClassPristine,uS._32(n,542).ngClassDirty,uS._32(n,542).ngClassValid,uS._32(n,542).ngClassInvalid,uS._32(n,542).ngClassPending,uS._32(n,543)._isServer,uS._32(n,543).id,uS._32(n,543).placeholder,uS._32(n,543).disabled,uS._32(n,543).required,uS._32(n,543).readonly,uS._32(n,543)._ariaDescribedby||null,uS._32(n,543).errorState,uS._32(n,543).required.toString()])})}function ag(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveAlert(t.rentalForms.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function ig(l){return uS._42(0,[uS._34(0,wI.u,[]),(l()(),uS._18(1,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Lp)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(22,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,29).onClick()&&u}return u},jT.b,jT.a)),uS._17(29,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,33).onClick()&&u}return u},jT.b,jT.a)),uS._17(33,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(38,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(41,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(42,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Kp)),uS._17(45,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,tg)),uS._17(48,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(51,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(52,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,646,{_mainButton:0}),uS._38(603979776,647,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(56,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(57,49152,[[646,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(58,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(59,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(62,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(63,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ag)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,22,0,e.tab);l(n,25,0,"optblue");l(n,29,0,"0");l(n,33,0,"1");l(n,42,0,e.tab);l(n,45,0,"1");l(n,48,0,"0");l(n,57,0,"optblue");l(n,59,0,"md-camera");l(n,66,0,!e.complete_status)},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,21,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._disabled);l(n,28,0,uS._32(n,29)._disabled,uS._32(n,29).isActive,uS._32(n,29).isActive);l(n,32,0,uS._32(n,33)._disabled,uS._32(n,33).isActive,uS._32(n,33).isActive);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,58,0,uS._32(n,59)._hidden)})}function og(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormName)})}function rg(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[6,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.SaleAmtInwords)})}function _g(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[20,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords)})}function dg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,46,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,9,{_control:0}),uS._38(335544320,10,{_placeholderChild:0}),uS._38(335544320,11,{_labelChild:0}),uS._38(603979776,12,{_errorChildren:1}),uS._38(603979776,13,{_hintChildren:1}),uS._38(603979776,14,{_prefixChildren:1}),uS._38(603979776,15,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Net Margin %"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(t.assessedForm.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[9,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,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,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,16,{_control:0}),uS._38(335544320,17,{_placeholderChild:0}),uS._38(335544320,18,{_labelChild:0}),uS._38(603979776,19,{_errorChildren:1}),uS._38(603979776,20,{_hintChildren:1}),uS._38(603979776,21,{_prefixChildren:1}),uS._38(603979776,22,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_value"],["matInput",""],["name","margin_value"],["placeholder","Net Profit 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!==uS._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,40)._onInput()&&u}return u},null,null)),uS._17(34,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(35,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(37,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(39,16384,null,0,xS.s,[xS.r],null,null),uS._17(40,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[16,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,_g)),uS._17(44,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"margin_per");l(n,19,0,"Net Margin %","number");l(n,37,0,"margin_value");l(n,40,0,"Net Profit Value","number","");l(n,44,0,""!=e.assessedForm.get("sales_declared_by_customer").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,39).ngClassUntouched,uS._32(n,39).ngClassTouched,uS._32(n,39).ngClassPristine,uS._32(n,39).ngClassDirty,uS._32(n,39).ngClassValid,uS._32(n,39).ngClassInvalid,uS._32(n,39).ngClassPending,uS._32(n,40)._isServer,uS._32(n,40).id,uS._32(n,40).placeholder,uS._32(n,40).disabled,uS._32(n,40).required,uS._32(n,40).readonly,uS._32(n,40)._ariaDescribedby||null,uS._32(n,40).errorState,uS._32(n,40).required.toString()])})}function sg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,8,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editAllDetails(t.sales_item_value)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(6,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,6,0,"✎")})}function cg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["(",")"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.other_sales_item)})}function mg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,27,"ion-list",[],null,null,null,null,null)),uS._17(1,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,23,"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},OD.b,OD.a)),uS._17(4,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,31,{contentLabel:0}),uS._38(603979776,32,{_buttons:1}),uS._38(603979776,33,{_icons:1}),uS._17(8,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(10,0,null,2,13,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(11,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(14,16384,null,0,sT.a,[],null,null),(l()(),uS._40(15,null,["\n ",""])),(l()(),uS._13(16777216,null,null,1,null,cg)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(21,16384,null,0,sT.a,[],null,null),(l()(),uS._40(22,null,["\n "," ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(25,0,null,2,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,17,0,"Others"==n.context.$implicit.sales_item)},function(l,n){l(n,15,0,n.context.$implicit.sales_item);l(n,22,0,"₹",n.context.$implicit.annual_sale_value)})}function pg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Total of Sales"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),uS._40(14,null,["",""])),uS._36(15,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,uS._41(n,14,0,l(n,15,0,uS._32(n.parent.parent,0),e.totalAnnualSale_Item_wise)))})}function fg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,8,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.allEditSalesDailyWise(t.sales_item_month_value)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(6,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,6,0,"✎")})}function hg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["(",")"])),uS._36(2,1)],null,function(l,n){l(n,1,0,uS._41(n,1,0,l(n,2,0,uS._32(n.parent.parent.parent,1),n.parent.context.$implicit.otherSaleItem)))})}function gg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""])),uS._36(2,1)],null,function(l,n){l(n,1,0,uS._41(n,1,0,l(n,2,0,uS._32(n.parent.parent.parent.parent,1),n.parent.context.$implicit.header)))})}function bg(l){return uS._42(0,[(l()(),uS._40(-1,null,["YearWise Sale"]))],null,null)}function vg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["\n ","\n "])),uS._36(2,2)],null,function(l,n){l(n,1,0,uS._41(n,1,0,l(n,2,0,uS._32(n.parent.parent.parent.parent.parent,2),n.parent.context.$implicit.sales_date,"dd-MM-yyyy")))})}function yg(l){return uS._42(0,[(l()(),uS._40(0,null,["",""]))],null,function(l,n){l(n,0,0,n.parent.context.$implicit.frequency_name)})}function Cg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["\n "," ","\n "]))],null,function(l,n){l(n,1,0,"₹",n.parent.context.$implicit.sales_value)})}function wg(l){return uS._42(0,[(l()(),uS._40(0,null,[""," ",""]))],null,function(l,n){l(n,0,0,"₹",n.parent.context.$implicit.frequency_value)})}function Fg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,27,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,24,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(3,16384,null,0,_T.g,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,20,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(6,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,7,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(9,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vg)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(0,[["freqname",2]],null,0,null,yg)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,7,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(18,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Cg)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(0,[["freqvalue",2]],null,0,null,wg)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,12,0,"0000-00-00 00:00:00"!==n.context.$implicit.sales_date,uS._32(n,14));l(n,21,0,"0000-00-00 00:00:00"!==n.context.$implicit.sales_date,uS._32(n,23))},null)}function xg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,14,"ion-col",[["class","col"],["col-12",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gg)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(0,[["freqtitle",2]],null,0,null,bg)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Fg)),uS._17(13,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"Jan-1970"!=n.context.$implicit.header,uS._32(n,9));l(n,13,0,n.context.$implicit.value)},null)}function kg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Annual Sale : "])),(l()(),uS._40(5,null,[" ","\n "]))],null,function(l,n){l(n,5,0,n.parent.context.$implicit.footerMessage[0].month_value)})}function Sg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(2,null,["\n ",""])),(l()(),uS._18(3,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(4,null,["\n ","\n "]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.footerMessage[0].month_message);l(n,4,0,n.parent.context.$implicit.footerMessage[0].year_message)})}function Ig(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(2,0,null,null,23,"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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,4,"h3",[["text-center",""]],null,null,null,null,null)),(l()(),uS._40(5,null,["",""])),uS._36(6,1),(l()(),uS._13(16777216,null,null,1,null,hg)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(11,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xg)),uS._17(14,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,kg)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Sg)),uS._17(22,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,8,0,"Others"==n.context.$implicit.salesItem);l(n,14,0,n.context.$implicit.expandElements);l(n,19,0,"2"==e.sales_type[n.context.index]);l(n,22,0,"2"!=e.sales_type[n.context.index])},function(l,n){l(n,5,0,uS._41(n,5,0,l(n,6,0,uS._32(n.parent.parent,1),n.context.$implicit.salesItem)))})}function qg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,190,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(5,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!==uS._32(l,7).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,7).onReset()&&u}return u},null,null)),uS._17(6,16384,null,0,xS.B,[],null,null),uS._17(7,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(9,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,80,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(12,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(14,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(15,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(17,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(18,16384,null,0,_T.h,[],null,null),(l()(),uS._18(19,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Sales Calculation"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(23,0,null,0,67,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(24,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,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,cT.b,cT.a)),uS._17(28,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(37,0,null,2,2,"mat-placeholder",[["style","font-size: 14px"]],null,null,null,null,null)),uS._17(38,16384,[[3,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["Sales Declared by the Customer as the Annual Sales Actually Done"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_declared_by_customer"],["matInput",""],["name","sales_declared_by_customer"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,42)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,42).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,42)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,42)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,43).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,43).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,43).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,48)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(t.assessedForm.value)&&u}return u},null,null)),uS._17(42,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(43,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(45,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(47,16384,null,0,xS.s,[xS.r],null,null),uS._17(48,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{type:[0,"type"]},null),uS._37(2048,[[2,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,rg)),uS._17(52,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dg)),uS._17(56,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,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,cT.b,cT.a)),uS._17(59,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,23,{_control:0}),uS._38(335544320,24,{_placeholderChild:0}),uS._38(335544320,25,{_labelChild:0}),uS._38(603979776,26,{_errorChildren:1}),uS._38(603979776,27,{_hintChildren:1}),uS._38(603979776,28,{_prefixChildren:1}),uS._38(603979776,29,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(68,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["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!==uS._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,74)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,74)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,74)._onInput()&&u}return u},null,null)),uS._17(69,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(71,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(73,16384,null,0,xS.s,[xS.r],null,null),uS._17(74,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[23,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(78,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(79,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(81,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._18(82,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.assessedForm.value)&&u}return u},AT.b,AT.a)),uS._17(86,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"],full:[2,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(95,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(98,0,null,null,91,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),uS._17(99,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(101,16777216,null,null,42,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(103,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],null,null),uS._38(335544320,30,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(106,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!==uS._32(l,107)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,107)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(107,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(108,{collapsedHeight:0,expandedHeight:1}),uS._35(109,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(111,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(112,16384,null,0,ZO.f,[],null,null),(l()(),uS._40(-1,null,["\n Item-Wise Sales Calculation\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(116,0,null,1,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(117,49152,null,0,_T.e,[],null,null),(l()(),uS._18(118,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Sales Details"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(121,0,null,1,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(122,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,sg)),uS._17(125,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(127,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),uS._17(128,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,[" \n\n\n "])),(l()(),uS._18(130,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(132,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(133,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._13(16777216,null,1,1,null,mg)),uS._17(139,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,pg)),uS._17(142,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._18(145,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(147,16777216,null,null,41,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(149,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],null,null),uS._38(335544320,34,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(152,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!==uS._32(l,153)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,153)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(153,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(154,{collapsedHeight:0,expandedHeight:1}),uS._35(155,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(157,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(158,16384,null,0,ZO.f,[],null,null),(l()(),uS._40(-1,null,["\n Sales Calculation as per Kutcha Records / Bills\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(162,0,null,1,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(163,49152,null,0,_T.e,[],null,null),(l()(),uS._18(164,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Daily Sales Details"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(167,0,null,1,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(168,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fg)),uS._17(171,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(173,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),uS._17(174,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(176,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(178,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(179,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ig)),uS._17(185,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,7,0,e.assessedForm);l(n,45,0,"sales_declared_by_customer");l(n,48,0,"number");l(n,52,0,""!=e.assessedForm.value.sales_declared_by_customer);l(n,56,0,e.activateMarginCalculation);l(n,71,0,"comments");l(n,74,0,"Remarks","text");l(n,86,0,"optblue","","");l(n,125,0,e.sales_item_value);l(n,133,0,"optblue","add-circle");l(n,139,0,e.sales_item_value);l(n,142,0,""!=e.totalAnnualSale_Item_wise);l(n,171,0,e.sales_item_month_value);l(n,179,0,"optblue","add-circle");l(n,185,0,e.sales_month_wise_data)},function(l,n){l(n,5,0,uS._32(n,9).ngClassUntouched,uS._32(n,9).ngClassTouched,uS._32(n,9).ngClassPristine,uS._32(n,9).ngClassDirty,uS._32(n,9).ngClassValid,uS._32(n,9).ngClassInvalid,uS._32(n,9).ngClassPending);l(n,27,1,[uS._32(n,28)._control.errorState,uS._32(n,28)._control.errorState,uS._32(n,28)._canLabelFloat,uS._32(n,28)._shouldLabelFloat(),uS._32(n,28)._hideControlPlaceholder(),uS._32(n,28)._control.disabled,uS._32(n,28)._control.focused,"primary"==uS._32(n,28).color,"accent"==uS._32(n,28).color,"warn"==uS._32(n,28).color,uS._32(n,28)._shouldForward("untouched"),uS._32(n,28)._shouldForward("touched"),uS._32(n,28)._shouldForward("pristine"),uS._32(n,28)._shouldForward("dirty"),uS._32(n,28)._shouldForward("valid"),uS._32(n,28)._shouldForward("invalid"),uS._32(n,28)._shouldForward("pending")]);l(n,41,1,[uS._32(n,47).ngClassUntouched,uS._32(n,47).ngClassTouched,uS._32(n,47).ngClassPristine,uS._32(n,47).ngClassDirty,uS._32(n,47).ngClassValid,uS._32(n,47).ngClassInvalid,uS._32(n,47).ngClassPending,uS._32(n,48)._isServer,uS._32(n,48).id,uS._32(n,48).placeholder,uS._32(n,48).disabled,uS._32(n,48).required,uS._32(n,48).readonly,uS._32(n,48)._ariaDescribedby||null,uS._32(n,48).errorState,uS._32(n,48).required.toString()]);l(n,58,1,[uS._32(n,59)._control.errorState,uS._32(n,59)._control.errorState,uS._32(n,59)._canLabelFloat,uS._32(n,59)._shouldLabelFloat(),uS._32(n,59)._hideControlPlaceholder(),uS._32(n,59)._control.disabled,uS._32(n,59)._control.focused,"primary"==uS._32(n,59).color,"accent"==uS._32(n,59).color,"warn"==uS._32(n,59).color,uS._32(n,59)._shouldForward("untouched"),uS._32(n,59)._shouldForward("touched"),uS._32(n,59)._shouldForward("pristine"),uS._32(n,59)._shouldForward("dirty"),uS._32(n,59)._shouldForward("valid"),uS._32(n,59)._shouldForward("invalid"),uS._32(n,59)._shouldForward("pending")]);l(n,68,1,[uS._32(n,73).ngClassUntouched,uS._32(n,73).ngClassTouched,uS._32(n,73).ngClassPristine,uS._32(n,73).ngClassDirty,uS._32(n,73).ngClassValid,uS._32(n,73).ngClassInvalid,uS._32(n,73).ngClassPending,uS._32(n,74)._isServer,uS._32(n,74).id,uS._32(n,74).placeholder,uS._32(n,74).disabled,uS._32(n,74).required,uS._32(n,74).readonly,uS._32(n,74)._ariaDescribedby||null,uS._32(n,74).errorState,uS._32(n,74).required.toString()]);l(n,101,0,uS._32(n,103).expanded,uS._32(n,103)._hasSpacing());l(n,106,0,uS._32(n,107).panel._headerId,uS._32(n,107).panel.disabled?-1:0,uS._32(n,107)._getPanelId(),uS._32(n,107)._isExpanded(),uS._32(n,107).panel.disabled,uS._32(n,107)._isExpanded(),l(n,109,0,uS._32(n,107)._getExpandedState(),l(n,108,0,uS._32(n,107).collapsedHeight,uS._32(n,107).expandedHeight)));l(n,132,0,uS._32(n,133)._hidden);l(n,147,0,uS._32(n,149).expanded,uS._32(n,149)._hasSpacing());l(n,152,0,uS._32(n,153).panel._headerId,uS._32(n,153).panel.disabled?-1:0,uS._32(n,153)._getPanelId(),uS._32(n,153)._isExpanded(),uS._32(n,153).panel.disabled,uS._32(n,153)._isExpanded(),l(n,155,0,uS._32(n,153)._getExpandedState(),l(n,154,0,uS._32(n,153).collapsedHeight,uS._32(n,153).expandedHeight)));l(n,178,0,uS._32(n,179)._hidden)})}function Pg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editPurchaseAllDetails(t.purchse_details)&&u}return u},null,null)),(l()(),uS._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function Dg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["(",")"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.other_purchase_item)})}function Tg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,27,"ion-list",[],null,null,null,null,null)),uS._17(1,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,23,"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},OD.b,OD.a)),uS._17(4,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,35,{contentLabel:0}),uS._38(603979776,36,{_buttons:1}),uS._38(603979776,37,{_icons:1}),uS._17(8,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(10,0,null,2,13,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(11,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(14,16384,null,0,sT.a,[],null,null),(l()(),uS._40(15,null,["\n ",""])),(l()(),uS._13(16777216,null,null,1,null,Dg)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(21,16384,null,0,sT.a,[],null,null),(l()(),uS._40(22,null,["\n "," ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(25,0,null,2,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,17,0,"Others"==n.context.$implicit.purchase_item)},function(l,n){l(n,15,0,n.context.$implicit.purchase_item);l(n,22,0,"₹",n.context.$implicit.annual_purchase_value)})}function Og(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Total of purchase"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),uS._40(14,null,["",""])),uS._36(15,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,uS._41(n,14,0,l(n,15,0,uS._32(n.parent.parent.parent,0),e.totalAnnualpurchase_Item_wise)))})}function Lg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,30,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._18(5,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Item-wise Purchase Calculation"])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._18(8,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(9,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pg)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-9",""],["text-right",""]],null,null,null,null,null)),uS._17(15,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(20,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Tg)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Og)),uS._17(29,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,12,0,""!=e.purchse_details);l(n,20,0,"optblue","add-circle");l(n,26,0,e.purchse_details);l(n,29,0,""!=e.totalAnnualpurchase_Item_wise)},function(l,n){l(n,19,0,uS._32(n,20)._hidden)})}function Ag(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,8,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.alleditPurchaseBillWise(t.purchase_bill_wise)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(6,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){l(n,6,0,"✎")})}function Vg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["(",")"])),uS._36(2,1)],null,function(l,n){l(n,1,0,uS._41(n,1,0,l(n,2,0,uS._32(n.parent.parent.parent.parent,1),n.parent.context.$implicit.otherPurchaseItem)))})}function Ng(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""])),uS._36(2,1)],null,function(l,n){l(n,1,0,uS._41(n,1,0,l(n,2,0,uS._32(n.parent.parent.parent.parent.parent,1),n.parent.context.$implicit.header)))})}function Wg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["\n ","\n "])),uS._36(2,2)],null,function(l,n){l(n,1,0,uS._41(n,1,0,l(n,2,0,uS._32(n.parent.parent.parent.parent.parent.parent,2),n.parent.context.$implicit.purchase_date,"dd-MM-yyyy")))})}function Eg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["\n "," ","\n "]))],null,function(l,n){l(n,1,0,"₹",n.parent.context.$implicit.purchase_value)})}function jg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,22,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),uS._17(3,16384,null,0,_T.g,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(6,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(9,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Wg)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(17,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Eg)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"0000-00-00 00:00:00"!==n.context.$implicit.purchase_date,e.freqname);l(n,20,0,"0000-00-00 00:00:00"!==n.context.$implicit.purchase_date,e.freqvalue)},null)}function $g(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,13,"ion-col",[["class","col"],["col-12",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,6,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ng)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jg)),uS._17(12,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,"Jan-1970"!=n.context.$implicit.header,n.component.freqtitle);l(n,12,0,n.context.$implicit.value)},null)}function Bg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(2,0,null,null,20,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editPurchaseBillWise(l.context.$implicit.pbw_id)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,4,"h3",[["text-center",""]],null,null,null,null,null)),(l()(),uS._40(5,null,["",""])),uS._36(6,1),(l()(),uS._13(16777216,null,null,1,null,Vg)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(11,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$g)),uS._17(14,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(16,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(17,16384,null,0,dT.a,[],null,null),(l()(),uS._40(18,null,["\n ",""])),(l()(),uS._18(19,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(20,null,["\n ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(24,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,8,0,"Others"==n.context.$implicit.purchaseItem);l(n,14,0,n.context.$implicit.expandElements)},function(l,n){l(n,5,0,uS._41(n,5,0,l(n,6,0,uS._32(n.parent.parent.parent,1),n.context.$implicit.purchaseItem)));l(n,18,0,n.context.$implicit.footerMessage[0].month_message);l(n,20,0,n.context.$implicit.footerMessage[0].year_message)})}function Rg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._18(5,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Purchase Calculation as per Kutcha Records / Bills"])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._18(8,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(9,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ag)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(14,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),uS._17(15,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddPurchaseBillWiseForm()&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(20,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Bg)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n\n "]))],function(l,n){var e=n.component;l(n,12,0,""!=e.purchase_bill_wise);l(n,20,0,"optblue","add-circle");l(n,26,0,e.purchase_bill_wise_data)},function(l,n){l(n,19,0,uS._32(n,20)._hidden)})}function Ug(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Lg)),uS._17(5,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Rg)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,5,0,"1"==e.purchase_type);l(n,8,0,"2"==e.purchase_type)},null)}function Mg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editExpenseAllDetails(t.businessExpenses_details)&&u}return u},null,null)),(l()(),uS._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function Kg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(5,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(12,16384,null,0,sT.a,[],null,null),(l()(),uS._40(13,null,["\n "," ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 Hg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Total of Expense"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),uS._40(14,null,["",""])),uS._36(15,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,uS._41(n,14,0,l(n,15,0,uS._32(n.parent.parent,0),e.totalAnnualBusiness_details)))})}function Gg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,33,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,30,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(3,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Business Expense Items"])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(11,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mg)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),uS._17(17,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(22,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Kg)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Hg)),uS._17(31,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.businessExpenses_details);l(n,22,0,"optblue","add-circle");l(n,28,0,e.businessExpenses_details);l(n,31,0,""!=e.totalAnnualBusiness_details)},function(l,n){l(n,21,0,uS._32(n,22)._hidden)})}function Yg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editHouseExpenseAllDetails(t.houseHold_details)&&u}return u},null,null)),(l()(),uS._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function zg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(5,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(12,16384,null,0,sT.a,[],null,null),(l()(),uS._40(13,null,["\n "," ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 Qg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Total of Expense"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,2,"h5",[],null,null,null,null,null)),(l()(),uS._40(14,null,["",""])),uS._36(15,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,uS._41(n,14,0,l(n,15,0,uS._32(n.parent.parent,0),e.totalAnnual_House_hold_details)))})}function Jg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,33,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,30,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(3,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["House Hold Items"])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(11,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._13(16777216,null,null,1,null,Yg)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),uS._17(17,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(22,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,zg)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Qg)),uS._17(31,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.houseHold_details);l(n,22,0,"optblue","add-circle");l(n,28,0,e.houseHold_details);l(n,31,0,""!=e.totalAnnual_House_hold_details)},function(l,n){l(n,21,0,uS._32(n,22)._hidden)})}function Zg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editIncomeAllDetails(t.busissnessIncome)&&u}return u},null,null)),(l()(),uS._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),uS._40(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function Xg(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(5,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),uS._17(12,16384,null,0,sT.a,[],null,null),(l()(),uS._40(13,null,["\n "," ","\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 lb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(3,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Other Business Income Items"])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(11,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._13(16777216,null,null,1,null,Zg)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),uS._17(17,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(22,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Xg)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.busissnessIncome);l(n,22,0,"optblue","add-circle");l(n,28,0,e.busissnessIncome)},function(l,n){l(n,21,0,uS._32(n,22)._hidden)})}function nb(l){return uS._42(0,[uS._34(0,CI,[]),uS._34(0,wI.u,[]),uS._34(0,wI.e,[uS.D]),(l()(),uS._18(3,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(4,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(6,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(7,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,11).toggle()&&u}return u},AT.b,AT.a)),uS._17(10,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(11,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(12,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,og)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(24,0,null,null,18,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(25,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,qg)),uS._17(28,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ug)),uS._17(31,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._13(16777216,null,1,1,null,Gg)),uS._17(35,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Jg)),uS._17(38,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,lb)),uS._17(41,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n \n\n\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,28,0,1==e.pageId);l(n,31,0,2==e.pageId);l(n,35,0,3==e.pageId);l(n,38,0,4==e.pageId);l(n,41,0,5==e.pageId)},function(l,n){l(n,6,0,uS._32(n,7)._hidden,uS._32(n,7)._sbPadding);l(n,9,0,uS._32(n,11).isHidden);l(n,15,0,uS._32(n,16)._hidden);l(n,24,0,uS._32(n,25).statusbarPadding,uS._32(n,25)._hasRefresher)})}function eb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,[" Sales Calculation as per Kutcha Records / Bills"]))],null,null)}function ub(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent,0),n.context.$implicit.name)))})}function tb(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,12,{_control:0}),uS._38(335544320,13,{_placeholderChild:0}),uS._38(335544320,14,{_labelChild:0}),uS._38(603979776,15,{_errorChildren:1}),uS._38(603979776,16,{_hintChildren:1}),uS._38(603979776,17,{_prefixChildren:1}),uS._38(603979776,18,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_sales_item"],["matInput",""],["placeholder","Other 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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[12,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_sales_item");l(n,16,0,"Other Product/Services","text")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function ab(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-radio-button",[["class","example-radio-button mat-radio-button"],["color","primary"]],[[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!==uS._32(l,1)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(1,4440064,[[19,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.type_id)},function(l,n){l(n,0,0,uS._32(n,1).checked,uS._32(n,1).disabled,uS._32(n,1).id);l(n,2,0,n.context.$implicit.type_name)})}function ib(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[31,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.parent.context.index])})}function ob(l){return uS._42(0,[(l()(),uS._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.parent.parent.context.index)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function rb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,75,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,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,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}if("dateChange"===n){u=!1!==t.salesCalculation(l.parent.parent.parent.context.index,l.parent.parent.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[20,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,0,null,5,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(22,16384,[[23,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Sales Date is Required"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,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,cT.b,cT.a)),uS._17(27,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(36,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_value"],["matInput",""],["name","sales_value"],["placeholder","Bill 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,"keyup"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,43)._onInput()&&u}if("blur"===n){u=!1!==t.salesCalculation(l.parent.parent.parent.context.index,l.parent.parent.parent.context.$implicit.value)&&u}if("keyup"===n){t.salesCalculation(l.parent.parent.parent.context.index,l.parent.parent.parent.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),uS._17(37,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(38,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(40,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(42,16384,null,0,xS.s,[xS.r],null,null),uS._17(43,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[27,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,ib)),uS._17(47,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(50,0,null,null,24,"ion-buttons",[],null,null,null,null,null)),uS._17(51,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,34,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(54,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(55,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(57,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(58,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(60,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.parent.parent.context.index,l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(62,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(63,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(67,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""],["text-right",""]],null,null,null,null,null)),uS._17(68,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ob)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"sales_date");l(n,18,0,"Sales Date","date");l(n,40,0,"sales_value");l(n,43,0,"Bill Value","number");l(n,47,0,""!=n.parent.context.$implicit.get("sales_value").value);l(n,63,0,"optblue","md-trash");l(n,71,0,n.parent.context.last)},function(l,n){var e=n.component;l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[e.maxDate,uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()]);l(n,21,0,uS._32(n,22).id);l(n,26,1,[uS._32(n,27)._control.errorState,uS._32(n,27)._control.errorState,uS._32(n,27)._canLabelFloat,uS._32(n,27)._shouldLabelFloat(),uS._32(n,27)._hideControlPlaceholder(),uS._32(n,27)._control.disabled,uS._32(n,27)._control.focused,"primary"==uS._32(n,27).color,"accent"==uS._32(n,27).color,"warn"==uS._32(n,27).color,uS._32(n,27)._shouldForward("untouched"),uS._32(n,27)._shouldForward("touched"),uS._32(n,27)._shouldForward("pristine"),uS._32(n,27)._shouldForward("dirty"),uS._32(n,27)._shouldForward("valid"),uS._32(n,27)._shouldForward("invalid"),uS._32(n,27)._shouldForward("pending")]);l(n,36,1,[uS._32(n,42).ngClassUntouched,uS._32(n,42).ngClassTouched,uS._32(n,42).ngClassPristine,uS._32(n,42).ngClassDirty,uS._32(n,42).ngClassValid,uS._32(n,42).ngClassInvalid,uS._32(n,42).ngClassPending,uS._32(n,43)._isServer,uS._32(n,43).id,uS._32(n,43).placeholder,uS._32(n,43).disabled,uS._32(n,43).required,uS._32(n,43).readonly,uS._32(n,43)._ariaDescribedby||null,uS._32(n,43).errorState,uS._32(n,43).required.toString()]);l(n,62,0,uS._32(n,63)._hidden)})}function _b(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rb)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,1==n.context.$implicit.value.isactive)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function db(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,16,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,4,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(3,49152,null,0,_T.e,[],null,null),(l()(),uS._18(4,0,null,2,2,"h2",[],null,null,null,null,null)),(l()(),uS._40(5,null,["",""])),uS._36(6,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,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)),uS._17(9,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(11,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_b)),uS._17(14,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,9,0,"child");l(n,14,0,n.parent.context.$implicit.controls.child.controls)},function(l,n){l(n,5,0,uS._41(n,5,0,l(n,6,0,uS._32(n.parent.parent,0),n.parent.context.$implicit.get("sales_item").value)));l(n,8,0,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending)})}function sb(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[42,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function cb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-label",[["float-right",""],["style","font-size:12px;color:gray"]],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._40(2,null,[""," "," Only"]))],null,function(l,n){l(n,2,0,"₹",n.component.freqAmtInwords[n.parent.context.index])})}function mb(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[56,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function pb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,80,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,35,{_control:0}),uS._38(335544320,36,{_placeholderChild:0}),uS._38(335544320,37,{_labelChild:0}),uS._38(603979776,38,{_errorChildren:1}),uS._38(603979776,39,{_hintChildren:1}),uS._38(603979776,40,{_prefixChildren:1}),uS._38(603979776,41,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,22)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.salesCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,42,{options:1}),uS._38(603979776,43,{optionGroups:1}),uS._38(335544320,44,{customTrigger:0}),uS._37(2048,[[35,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,sb)),uS._17(29,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,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,cT.b,cT.a)),uS._17(34,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,45,{_control:0}),uS._38(335544320,46,{_placeholderChild:0}),uS._38(335544320,47,{_labelChild:0}),uS._38(603979776,48,{_errorChildren:1}),uS._38(603979776,49,{_hintChildren:1}),uS._38(603979776,50,{_prefixChildren:1}),uS._38(603979776,51,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","frequency_value"],["matInput",""],["placeholder","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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,44)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,44).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,44)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,44)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,49)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,49)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,49)._onInput()&&u}if("keyup"===n){t.salesCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,3)&&u}return u},null,null)),uS._17(44,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(46,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(48,16384,null,0,xS.s,[xS.r],null,null),uS._17(49,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[45,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,cb)),uS._17(54,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(56,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,cT.b,cT.a)),uS._17(57,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,52,{_control:0}),uS._38(335544320,53,{_placeholderChild:0}),uS._38(335544320,54,{_labelChild:0}),uS._38(603979776,55,{_errorChildren:1}),uS._38(603979776,56,{_hintChildren:1}),uS._38(603979776,57,{_prefixChildren:1}),uS._38(603979776,58,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(66,0,null,1,9,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_value"],["matInput",""],["placeholder","Annual Value"],["readonly",""],["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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,67)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,67).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,67)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,67)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,74)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,74)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,74)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(67,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(68,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(71,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(73,16384,null,0,xS.s,[xS.r],null,null),uS._17(74,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"],readonly:[3,"readonly"]},null),uS._37(2048,[[52,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._13(16777216,null,7,1,null,mb)),uS._17(78,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,"fk_frequency_id");l(n,22,0,"Frequency","");l(n,29,0,e.frequencyData);l(n,46,0,"frequency_value");l(n,49,0,"Value");l(n,54,0,""!=n.context.$implicit.value.frequency_value&&""!=e.freqAmtInwords[n.context.index]);l(n,68,0,"");l(n,71,0,"sales_value");l(n,74,0,"Annual Value","","text","");l(n,78,0,""!=n.context.$implicit.get("sales_value").value)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,17).required?"":null,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22).id,uS._32(n,22).tabIndex,uS._32(n,22)._ariaLabel,uS._32(n,22).ariaLabelledby,uS._32(n,22).required.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).errorState,uS._32(n,22).panelOpen?uS._32(n,22)._optionIds:null,uS._32(n,22).multiple,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22)._getAriaActiveDescendant(),uS._32(n,22).disabled,uS._32(n,22).errorState,uS._32(n,22).required]);l(n,33,1,[uS._32(n,34)._control.errorState,uS._32(n,34)._control.errorState,uS._32(n,34)._canLabelFloat,uS._32(n,34)._shouldLabelFloat(),uS._32(n,34)._hideControlPlaceholder(),uS._32(n,34)._control.disabled,uS._32(n,34)._control.focused,"primary"==uS._32(n,34).color,"accent"==uS._32(n,34).color,"warn"==uS._32(n,34).color,uS._32(n,34)._shouldForward("untouched"),uS._32(n,34)._shouldForward("touched"),uS._32(n,34)._shouldForward("pristine"),uS._32(n,34)._shouldForward("dirty"),uS._32(n,34)._shouldForward("valid"),uS._32(n,34)._shouldForward("invalid"),uS._32(n,34)._shouldForward("pending")]);l(n,43,1,[uS._32(n,48).ngClassUntouched,uS._32(n,48).ngClassTouched,uS._32(n,48).ngClassPristine,uS._32(n,48).ngClassDirty,uS._32(n,48).ngClassValid,uS._32(n,48).ngClassInvalid,uS._32(n,48).ngClassPending,uS._32(n,49)._isServer,uS._32(n,49).id,uS._32(n,49).placeholder,uS._32(n,49).disabled,uS._32(n,49).required,uS._32(n,49).readonly,uS._32(n,49)._ariaDescribedby||null,uS._32(n,49).errorState,uS._32(n,49).required.toString()]);l(n,56,1,[uS._32(n,57)._control.errorState,uS._32(n,57)._control.errorState,uS._32(n,57)._canLabelFloat,uS._32(n,57)._shouldLabelFloat(),uS._32(n,57)._hideControlPlaceholder(),uS._32(n,57)._control.disabled,uS._32(n,57)._control.focused,"primary"==uS._32(n,57).color,"accent"==uS._32(n,57).color,"warn"==uS._32(n,57).color,uS._32(n,57)._shouldForward("untouched"),uS._32(n,57)._shouldForward("touched"),uS._32(n,57)._shouldForward("pristine"),uS._32(n,57)._shouldForward("dirty"),uS._32(n,57)._shouldForward("valid"),uS._32(n,57)._shouldForward("invalid"),uS._32(n,57)._shouldForward("pending")]);l(n,66,1,[uS._32(n,68).required?"":null,uS._32(n,73).ngClassUntouched,uS._32(n,73).ngClassTouched,uS._32(n,73).ngClassPristine,uS._32(n,73).ngClassDirty,uS._32(n,73).ngClassValid,uS._32(n,73).ngClassInvalid,uS._32(n,73).ngClassPending,uS._32(n,74)._isServer,uS._32(n,74).id,uS._32(n,74).placeholder,uS._32(n,74).disabled,uS._32(n,74).required,uS._32(n,74).readonly,uS._32(n,74)._ariaDescribedby||null,uS._32(n,74).errorState,uS._32(n,74).required.toString()])})}function fb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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)),uS._17(1,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,pb)),uS._17(6,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,"child");l(n,6,0,n.parent.context.$implicit.controls.child.controls)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function hb(l){return uS._42(0,[(l()(),uS._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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["Add Items"]))],function(l,n){l(n,1,0,"primary")},null)}function gb(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[70,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords[n.parent.parent.context.index])})}function bb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,46,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,59,{_control:0}),uS._38(335544320,60,{_placeholderChild:0}),uS._38(335544320,61,{_labelChild:0}),uS._38(603979776,62,{_errorChildren:1}),uS._38(603979776,63,{_hintChildren:1}),uS._38(603979776,64,{_prefixChildren:1}),uS._38(603979776,65,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Gross Magin %"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[59,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,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,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,66,{_control:0}),uS._38(335544320,67,{_placeholderChild:0}),uS._38(335544320,68,{_labelChild:0}),uS._38(603979776,69,{_errorChildren:1}),uS._38(603979776,70,{_hintChildren:1}),uS._38(603979776,71,{_prefixChildren:1}),uS._38(603979776,72,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_value"],["matInput",""],["name","margin_value"],["placeholder","Margin 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!==uS._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,40)._onInput()&&u}return u},null,null)),uS._17(34,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(35,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(37,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(39,16384,null,0,xS.s,[xS.r],null,null),uS._17(40,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[66,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,gb)),uS._17(44,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){l(n,16,0,"margin_per");l(n,19,0,"Gross Magin %","number");l(n,37,0,"margin_value");l(n,40,0,"Margin Value","number","");l(n,44,0,""!=n.parent.context.$implicit.get("margin_value").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,39).ngClassUntouched,uS._32(n,39).ngClassTouched,uS._32(n,39).ngClassPristine,uS._32(n,39).ngClassDirty,uS._32(n,39).ngClassValid,uS._32(n,39).ngClassInvalid,uS._32(n,39).ngClassPending,uS._32(n,40)._isServer,uS._32(n,40).id,uS._32(n,40).placeholder,uS._32(n,40).disabled,uS._32(n,40).required,uS._32(n,40).readonly,uS._32(n,40)._ariaDescribedby||null,uS._32(n,40).errorState,uS._32(n,40).required.toString()])})}function vb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,125,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,88,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(8,0,null,0,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(9,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(18,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","sales_item"],["placeholder","Product/Services"],["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!==uS._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,24)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(19,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,9,{options:1}),uS._38(603979776,10,{optionGroups:1}),uS._38(335544320,11,{customTrigger:0}),uS._37(2048,[[2,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,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!==uS._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,32)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(32,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,ub)),uS._17(36,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,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!==uS._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,39)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(39,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Others"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,tb)),uS._17(45,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(47,0,null,0,10,"mat-radio-group",[["class","example-radio-group mat-radio-group"],["formControlName","sales_type"],["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.changeOptions(l.context.index,e.value)&&u}return u},null,null)),uS._17(48,1064960,null,1,uO.b,[uS.i],null,{change:"change"}),uS._38(603979776,19,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ab)),uS._17(56,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(59,0,null,0,10,"div",[],null,null,null,null,null)),uS._17(60,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,db)),uS._17(64,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fb)),uS._17(68,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(71,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(73,0,null,0,19,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(74,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(76,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(77,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hb)),uS._17(81,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(84,0,null,null,7,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(85,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(88,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,l.context.$implicit.value)&&u}return u},AT.b,AT.a)),uS._17(89,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["Remove"])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,0,[" \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(95,0,null,null,29,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(96,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(98,0,null,0,25,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(99,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,bb)),uS._17(102,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(104,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,cT.b,cT.a)),uS._17(105,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,73,{_control:0}),uS._38(335544320,74,{_placeholderChild:0}),uS._38(335544320,75,{_labelChild:0}),uS._38(603979776,76,{_errorChildren:1}),uS._38(603979776,77,{_hintChildren:1}),uS._38(603979776,78,{_prefixChildren:1}),uS._38(603979776,79,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(114,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["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!==uS._32(l,115)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,115).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,115)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,115)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,120)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,120)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,120)._onInput()&&u}return u},null,null)),uS._17(115,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(117,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(119,16384,null,0,xS.s,[xS.r],null,null),uS._17(120,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[73,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,19,0,"");l(n,21,0,"sales_item");l(n,24,0,"Product/Services","");l(n,36,0,e.product_and_services);l(n,39,0,"Others");l(n,45,0,"Others"==n.context.$implicit.controls.sales_item.value);l(n,51,0,"sales_type");l(n,56,0,e.check_type);l(n,60,0,n.context.$implicit.value.sales_type);l(n,64,0,1);l(n,68,0,2);l(n,81,0,n.context.last);l(n,89,0,"primary");l(n,102,0,e.margin_calculation_status);l(n,117,0,"comments");l(n,120,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,8,1,[uS._32(n,9)._control.errorState,uS._32(n,9)._control.errorState,uS._32(n,9)._canLabelFloat,uS._32(n,9)._shouldLabelFloat(),uS._32(n,9)._hideControlPlaceholder(),uS._32(n,9)._control.disabled,uS._32(n,9)._control.focused,"primary"==uS._32(n,9).color,"accent"==uS._32(n,9).color,"warn"==uS._32(n,9).color,uS._32(n,9)._shouldForward("untouched"),uS._32(n,9)._shouldForward("touched"),uS._32(n,9)._shouldForward("pristine"),uS._32(n,9)._shouldForward("dirty"),uS._32(n,9)._shouldForward("valid"),uS._32(n,9)._shouldForward("invalid"),uS._32(n,9)._shouldForward("pending")]);l(n,18,1,[uS._32(n,19).required?"":null,uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24).id,uS._32(n,24).tabIndex,uS._32(n,24)._ariaLabel,uS._32(n,24).ariaLabelledby,uS._32(n,24).required.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).errorState,uS._32(n,24).panelOpen?uS._32(n,24)._optionIds:null,uS._32(n,24).multiple,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24)._getAriaActiveDescendant(),uS._32(n,24).disabled,uS._32(n,24).errorState,uS._32(n,24).required]);l(n,31,0,uS._32(n,32)._getTabIndex(),uS._32(n,32).selected,uS._32(n,32).multiple,uS._32(n,32).active,uS._32(n,32).id,uS._32(n,32).selected.toString(),uS._32(n,32).disabled.toString(),uS._32(n,32).disabled);l(n,38,0,uS._32(n,39)._getTabIndex(),uS._32(n,39).selected,uS._32(n,39).multiple,uS._32(n,39).active,uS._32(n,39).id,uS._32(n,39).selected.toString(),uS._32(n,39).disabled.toString(),uS._32(n,39).disabled);l(n,47,0,uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending);l(n,104,1,[uS._32(n,105)._control.errorState,uS._32(n,105)._control.errorState,uS._32(n,105)._canLabelFloat,uS._32(n,105)._shouldLabelFloat(),uS._32(n,105)._hideControlPlaceholder(),uS._32(n,105)._control.disabled,uS._32(n,105)._control.focused,"primary"==uS._32(n,105).color,"accent"==uS._32(n,105).color,"warn"==uS._32(n,105).color,uS._32(n,105)._shouldForward("untouched"),uS._32(n,105)._shouldForward("touched"),uS._32(n,105)._shouldForward("pristine"),uS._32(n,105)._shouldForward("dirty"),uS._32(n,105)._shouldForward("valid"),uS._32(n,105)._shouldForward("invalid"),uS._32(n,105)._shouldForward("pending")]);l(n,114,1,[uS._32(n,119).ngClassUntouched,uS._32(n,119).ngClassTouched,uS._32(n,119).ngClassPristine,uS._32(n,119).ngClassDirty,uS._32(n,119).ngClassValid,uS._32(n,119).ngClassInvalid,uS._32(n,119).ngClassPending,uS._32(n,120)._isServer,uS._32(n,120).id,uS._32(n,120).placeholder,uS._32(n,120).disabled,uS._32(n,120).required,uS._32(n,120).readonly,uS._32(n,120)._ariaDescribedby||null,uS._32(n,120).errorState,uS._32(n,120).required.toString()])})}function yb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.salesDailyForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function Cb(l){return uS._42(0,[uS._34(0,wI.u,[]),(l()(),uS._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,eb)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(22,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(23,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(25,0,null,1,19,"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!==uS._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,27).onReset()&&u}return u},null,null)),uS._17(26,16384,null,0,xS.B,[],null,null),uS._17(27,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(29,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(32,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(34,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,vb)),uS._17(37,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(47,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(48,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yb)),uS._17(51,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-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,51,0,!e.complete_status)},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,22,0,uS._32(n,23).statusbarPadding,uS._32(n,23)._hasRefresher);l(n,25,0,uS._32(n,29).ngClassUntouched,uS._32(n,29).ngClassTouched,uS._32(n,29).ngClassPristine,uS._32(n,29).ngClassDirty,uS._32(n,29).ngClassValid,uS._32(n,29).ngClassInvalid,uS._32(n,29).ngClassPending);l(n,31,0,uS._32(n,34).ngClassUntouched,uS._32(n,34).ngClassTouched,uS._32(n,34).ngClassPristine,uS._32(n,34).ngClassDirty,uS._32(n,34).ngClassValid,uS._32(n,34).ngClassInvalid,uS._32(n,34).ngClassPending)})}function wb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,[" Item-Wise Sales Calculation "]))],null,null)}function Fb(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent,0),n.context.$implicit.name)))})}function xb(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,12,{_control:0}),uS._38(335544320,13,{_placeholderChild:0}),uS._38(335544320,14,{_labelChild:0}),uS._38(603979776,15,{_errorChildren:1}),uS._38(603979776,16,{_hintChildren:1}),uS._38(603979776,17,{_prefixChildren:1}),uS._38(603979776,18,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_sales_item"],["matInput",""],["placeholder","Other 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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[12,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_sales_item");l(n,16,0,"Other Product/Services","text")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function kb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-radio-button",[["class","example-radio-button mat-radio-button"],["color","primary"]],[[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!==uS._32(l,1)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(1,4440064,[[19,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.type_id)},function(l,n){l(n,0,0,uS._32(n,1).checked,uS._32(n,1).disabled,uS._32(n,1).id);l(n,2,0,n.context.$implicit.type_name)})}function Sb(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[34,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ib(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,37,{_control:0}),uS._38(335544320,38,{_placeholderChild:0}),uS._38(335544320,39,{_labelChild:0}),uS._38(603979776,40,{_errorChildren:1}),uS._38(603979776,41,{_hintChildren:1}),uS._38(603979776,42,{_prefixChildren:1}),uS._38(603979776,43,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","uom_other"],["matInput",""],["placeholder","Other UOM"],["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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[37,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"uom_other");l(n,16,0,"Other UOM","text")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function qb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,55,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[20,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,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,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,17,"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!==uS._32(l,37)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,37)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,37)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(34,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(36,16384,null,0,xS.s,[xS.r],null,null),uS._17(37,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,34,{options:1}),uS._38(603979776,35,{optionGroups:1}),uS._38(335544320,36,{customTrigger:0}),uS._37(2048,[[27,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(44,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!==uS._32(l,45)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,45)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(45,8437760,[[34,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Sb)),uS._17(49,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ib)),uS._17(54,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"sales_qty");l(n,19,0,"Sale Quantity","number");l(n,34,0,"fk_uom_id");l(n,37,0,"UOM");l(n,49,0,e.UOM);l(n,54,0,1==n.parent.context.$implicit.controls.fk_uom_id.value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,36).ngClassUntouched,uS._32(n,36).ngClassTouched,uS._32(n,36).ngClassPristine,uS._32(n,36).ngClassDirty,uS._32(n,36).ngClassValid,uS._32(n,36).ngClassInvalid,uS._32(n,36).ngClassPending,uS._32(n,37).id,uS._32(n,37).tabIndex,uS._32(n,37)._ariaLabel,uS._32(n,37).ariaLabelledby,uS._32(n,37).required.toString(),uS._32(n,37).disabled.toString(),uS._32(n,37).errorState,uS._32(n,37).panelOpen?uS._32(n,37)._optionIds:null,uS._32(n,37).multiple,uS._32(n,37)._ariaDescribedby||null,uS._32(n,37)._getAriaActiveDescendant(),uS._32(n,37).disabled,uS._32(n,37).errorState,uS._32(n,37).required]);l(n,44,0,uS._32(n,45)._getTabIndex(),uS._32(n,45).selected,uS._32(n,45).multiple,uS._32(n,45).active,uS._32(n,45).id,uS._32(n,45).selected.toString(),uS._32(n,45).disabled.toString(),uS._32(n,45).disabled)})}function Pb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-label",[["float-right",""],["style","font-size: 12px"]],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._40(2,null,[""," "," Only"]))],null,function(l,n){l(n,2,0,"₹",n.component.ratePerUnitAmtInwords[n.parent.parent.context.index])})}function Db(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[58,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Tb(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[65,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.annualSaleAmtInwords[n.parent.parent.context.index])})}function Ob(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,79,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,44,{_control:0}),uS._38(335544320,45,{_placeholderChild:0}),uS._38(335544320,46,{_labelChild:0}),uS._38(603979776,47,{_errorChildren:1}),uS._38(603979776,48,{_hintChildren:1}),uS._38(603979776,49,{_prefixChildren:1}),uS._38(603979776,50,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,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/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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("keyup"===n){t.inWords(e.target.value,l.parent.context.index,4);u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[44,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pb)),uS._17(24,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,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,cT.b,cT.a)),uS._17(27,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,51,{_control:0}),uS._38(335544320,52,{_placeholderChild:0}),uS._38(335544320,53,{_labelChild:0}),uS._38(603979776,54,{_errorChildren:1}),uS._38(603979776,55,{_hintChildren:1}),uS._38(603979776,56,{_prefixChildren:1}),uS._38(603979776,57,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(36,0,null,1,17,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,40)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,40)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,40)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},LO.b,LO.a)),uS._17(37,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(39,16384,null,0,xS.s,[xS.r],null,null),uS._17(40,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,58,{options:1}),uS._38(603979776,59,{optionGroups:1}),uS._38(335544320,60,{customTrigger:0}),uS._37(2048,[[51,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(47,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!==uS._32(l,48)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,48)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(48,8437760,[[58,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Db)),uS._17(52,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(56,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,cT.b,cT.a)),uS._17(57,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,61,{_control:0}),uS._38(335544320,62,{_placeholderChild:0}),uS._38(335544320,63,{_labelChild:0}),uS._38(603979776,64,{_errorChildren:1}),uS._38(603979776,65,{_hintChildren:1}),uS._38(603979776,66,{_prefixChildren:1}),uS._38(603979776,67,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(66,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!==uS._32(l,67)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,67).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,67)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,67)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,68).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,68).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,68).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,73)._onInput()&&u}return u},null,null)),uS._17(67,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(68,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(70,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(72,16384,null,0,xS.s,[xS.r],null,null),uS._17(73,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[61,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Tb)),uS._17(77,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"rate_per_unit");l(n,19,0,"Rate/unit of sale","number");l(n,24,0,null!=n.parent.context.$implicit.get("rate_per_unit").value);l(n,37,0,"fk_frequency_id");l(n,40,0,"Frequency");l(n,52,0,e.m_freqOfPurchase);l(n,70,0,"annual_sale_value");l(n,73,0,"Annual Sales","number","");l(n,77,0,null!=n.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,26,1,[uS._32(n,27)._control.errorState,uS._32(n,27)._control.errorState,uS._32(n,27)._canLabelFloat,uS._32(n,27)._shouldLabelFloat(),uS._32(n,27)._hideControlPlaceholder(),uS._32(n,27)._control.disabled,uS._32(n,27)._control.focused,"primary"==uS._32(n,27).color,"accent"==uS._32(n,27).color,"warn"==uS._32(n,27).color,uS._32(n,27)._shouldForward("untouched"),uS._32(n,27)._shouldForward("touched"),uS._32(n,27)._shouldForward("pristine"),uS._32(n,27)._shouldForward("dirty"),uS._32(n,27)._shouldForward("valid"),uS._32(n,27)._shouldForward("invalid"),uS._32(n,27)._shouldForward("pending")]);l(n,36,1,[uS._32(n,39).ngClassUntouched,uS._32(n,39).ngClassTouched,uS._32(n,39).ngClassPristine,uS._32(n,39).ngClassDirty,uS._32(n,39).ngClassValid,uS._32(n,39).ngClassInvalid,uS._32(n,39).ngClassPending,uS._32(n,40).id,uS._32(n,40).tabIndex,uS._32(n,40)._ariaLabel,uS._32(n,40).ariaLabelledby,uS._32(n,40).required.toString(),uS._32(n,40).disabled.toString(),uS._32(n,40).errorState,uS._32(n,40).panelOpen?uS._32(n,40)._optionIds:null,uS._32(n,40).multiple,uS._32(n,40)._ariaDescribedby||null,uS._32(n,40)._getAriaActiveDescendant(),uS._32(n,40).disabled,uS._32(n,40).errorState,uS._32(n,40).required]);l(n,47,0,uS._32(n,48)._getTabIndex(),uS._32(n,48).selected,uS._32(n,48).multiple,uS._32(n,48).active,uS._32(n,48).id,uS._32(n,48).selected.toString(),uS._32(n,48).disabled.toString(),uS._32(n,48).disabled);l(n,56,1,[uS._32(n,57)._control.errorState,uS._32(n,57)._control.errorState,uS._32(n,57)._canLabelFloat,uS._32(n,57)._shouldLabelFloat(),uS._32(n,57)._hideControlPlaceholder(),uS._32(n,57)._control.disabled,uS._32(n,57)._control.focused,"primary"==uS._32(n,57).color,"accent"==uS._32(n,57).color,"warn"==uS._32(n,57).color,uS._32(n,57)._shouldForward("untouched"),uS._32(n,57)._shouldForward("touched"),uS._32(n,57)._shouldForward("pristine"),uS._32(n,57)._shouldForward("dirty"),uS._32(n,57)._shouldForward("valid"),uS._32(n,57)._shouldForward("invalid"),uS._32(n,57)._shouldForward("pending")]);l(n,66,1,[uS._32(n,72).ngClassUntouched,uS._32(n,72).ngClassTouched,uS._32(n,72).ngClassPristine,uS._32(n,72).ngClassDirty,uS._32(n,72).ngClassValid,uS._32(n,72).ngClassInvalid,uS._32(n,72).ngClassPending,uS._32(n,73)._isServer,uS._32(n,73).id,uS._32(n,73).placeholder,uS._32(n,73).disabled,uS._32(n,73).required,uS._32(n,73).readonly,uS._32(n,73)._ariaDescribedby||null,uS._32(n,73).errorState,uS._32(n,73).required.toString()])})}function Lb(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[75,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ab(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[82,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.ratePerUnitAmtInwords[n.parent.parent.context.index])})}function Vb(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[89,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.annualSaleAmtInwords[n.parent.parent.context.index])})}function Nb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,81,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,68,{_control:0}),uS._38(335544320,69,{_placeholderChild:0}),uS._38(335544320,70,{_labelChild:0}),uS._38(603979776,71,{_errorChildren:1}),uS._38(603979776,72,{_hintChildren:1}),uS._38(603979776,73,{_prefixChildren:1}),uS._38(603979776,74,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,17,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},LO.b,LO.a)),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,75,{options:1}),uS._38(603979776,76,{optionGroups:1}),uS._38(335544320,77,{customTrigger:0}),uS._37(2048,[[68,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(23,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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[75,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Lb)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,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,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,78,{_control:0}),uS._38(335544320,79,{_placeholderChild:0}),uS._38(335544320,80,{_labelChild:0}),uS._38(603979776,81,{_errorChildren:1}),uS._38(603979776,82,{_hintChildren:1}),uS._38(603979776,83,{_prefixChildren:1}),uS._38(603979776,84,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,0,null,1,10,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,51)._onInput()&&u}if("keyup"===n){t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.parent.context.index,4)&&u}return u},null,null)),uS._17(43,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(44,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(45,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(48,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(50,16384,null,0,xS.s,[xS.r],null,null),uS._17(51,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[78,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Ab)),uS._17(55,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,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,cT.b,cT.a)),uS._17(59,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,85,{_control:0}),uS._38(335544320,86,{_placeholderChild:0}),uS._38(335544320,87,{_labelChild:0}),uS._38(603979776,88,{_errorChildren:1}),uS._38(603979776,89,{_hintChildren:1}),uS._38(603979776,90,{_prefixChildren:1}),uS._38(603979776,91,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(68,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!==uS._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,69)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,70).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,70).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,70).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,75)._onInput()&&u}return u},null,null)),uS._17(69,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(70,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(72,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(74,16384,null,0,xS.s,[xS.r],null,null),uS._17(75,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[85,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Vb)),uS._17(79,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"fk_frequency_id");l(n,16,0,"Frequency");l(n,28,0,e.m_freqOfPurchase);l(n,45,0,"");l(n,48,0,"rate_per_unit");l(n,51,0,"1"==n.parent.context.$implicit.value.fk_frequency_id?"Other Sale":"2"==n.parent.context.$implicit.value.fk_frequency_id?"Yearly Sale":"3"==n.parent.context.$implicit.value.fk_frequency_id?"Half Yearly Sale":"4"==n.parent.context.$implicit.value.fk_frequency_id?"Fortnightly Sale":"5"==n.parent.context.$implicit.value.fk_frequency_id?"Daily Sale":"6"==n.parent.context.$implicit.value.fk_frequency_id?"Quarterly Sale":"7"==n.parent.context.$implicit.value.fk_frequency_id?"Monthly Sale":"","","number");l(n,55,0,null!=n.parent.context.$implicit.get("rate_per_unit").value);l(n,72,0,"annual_sale_value");l(n,75,0,"Annual Sales","number","");l(n,79,0,null!=n.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,42,1,[uS._32(n,45).required?"":null,uS._32(n,50).ngClassUntouched,uS._32(n,50).ngClassTouched,uS._32(n,50).ngClassPristine,uS._32(n,50).ngClassDirty,uS._32(n,50).ngClassValid,uS._32(n,50).ngClassInvalid,uS._32(n,50).ngClassPending,uS._32(n,51)._isServer,uS._32(n,51).id,uS._32(n,51).placeholder,uS._32(n,51).disabled,uS._32(n,51).required,uS._32(n,51).readonly,uS._32(n,51)._ariaDescribedby||null,uS._32(n,51).errorState,uS._32(n,51).required.toString()]);l(n,58,1,[uS._32(n,59)._control.errorState,uS._32(n,59)._control.errorState,uS._32(n,59)._canLabelFloat,uS._32(n,59)._shouldLabelFloat(),uS._32(n,59)._hideControlPlaceholder(),uS._32(n,59)._control.disabled,uS._32(n,59)._control.focused,"primary"==uS._32(n,59).color,"accent"==uS._32(n,59).color,"warn"==uS._32(n,59).color,uS._32(n,59)._shouldForward("untouched"),uS._32(n,59)._shouldForward("touched"),uS._32(n,59)._shouldForward("pristine"),uS._32(n,59)._shouldForward("dirty"),uS._32(n,59)._shouldForward("valid"),uS._32(n,59)._shouldForward("invalid"),uS._32(n,59)._shouldForward("pending")]);l(n,68,1,[uS._32(n,74).ngClassUntouched,uS._32(n,74).ngClassTouched,uS._32(n,74).ngClassPristine,uS._32(n,74).ngClassDirty,uS._32(n,74).ngClassValid,uS._32(n,74).ngClassInvalid,uS._32(n,74).ngClassPending,uS._32(n,75)._isServer,uS._32(n,75).id,uS._32(n,75).placeholder,uS._32(n,75).disabled,uS._32(n,75).required,uS._32(n,75).readonly,uS._32(n,75)._ariaDescribedby||null,uS._32(n,75).errorState,uS._32(n,75).required.toString()])})}function Wb(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[103,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords[n.parent.parent.parent.context.index])})}function Eb(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,99,{_control:0}),uS._38(335544320,100,{_placeholderChild:0}),uS._38(335544320,101,{_labelChild:0}),uS._38(603979776,102,{_errorChildren:1}),uS._38(603979776,103,{_hintChildren:1}),uS._38(603979776,104,{_prefixChildren:1}),uS._38(603979776,105,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,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 Per Unit"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.salesMarginAmtCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[99,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Wb)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"margin_per_uom");l(n,17,0,"Margin Per Unit","number");l(n,21,0,""!=n.parent.parent.context.$implicit.get("rate_per_unit").value&&null!=n.parent.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function jb(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[110,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.marginFinalAmtInwords[n.parent.parent.context.index])})}function $b(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,49,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,92,{_control:0}),uS._38(335544320,93,{_placeholderChild:0}),uS._38(335544320,94,{_labelChild:0}),uS._38(603979776,95,{_errorChildren:1}),uS._38(603979776,96,{_hintChildren:1}),uS._38(603979776,97,{_prefixChildren:1}),uS._38(603979776,98,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Gross Margin %"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesMarginPerCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[92,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Eb)),uS._17(24,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,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,cT.b,cT.a)),uS._17(27,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,106,{_control:0}),uS._38(335544320,107,{_placeholderChild:0}),uS._38(335544320,108,{_labelChild:0}),uS._38(603979776,109,{_errorChildren:1}),uS._38(603979776,110,{_hintChildren:1}),uS._38(603979776,111,{_prefixChildren:1}),uS._38(603979776,112,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(36,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_final_value"],["matInput",""],["name","margin_final_value"],["placeholder","Considered Margin 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!==uS._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,43)._onInput()&&u}return u},null,null)),uS._17(37,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(38,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(40,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(42,16384,null,0,xS.s,[xS.r],null,null),uS._17(43,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[106,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,jb)),uS._17(47,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){l(n,16,0,"margin_per");l(n,19,0,"Gross Margin %","number");l(n,24,0,"1"==n.parent.context.$implicit.value.sales_type);l(n,40,0,"margin_final_value");l(n,43,0,"Considered Margin Amount","number","");l(n,47,0,""!=n.parent.context.$implicit.get("rate_per_unit").value&&null!=n.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19)._isServer,uS._32(n,19).id,uS._32(n,19).placeholder,uS._32(n,19).disabled,uS._32(n,19).required,uS._32(n,19).readonly,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19).errorState,uS._32(n,19).required.toString()]);l(n,26,1,[uS._32(n,27)._control.errorState,uS._32(n,27)._control.errorState,uS._32(n,27)._canLabelFloat,uS._32(n,27)._shouldLabelFloat(),uS._32(n,27)._hideControlPlaceholder(),uS._32(n,27)._control.disabled,uS._32(n,27)._control.focused,"primary"==uS._32(n,27).color,"accent"==uS._32(n,27).color,"warn"==uS._32(n,27).color,uS._32(n,27)._shouldForward("untouched"),uS._32(n,27)._shouldForward("touched"),uS._32(n,27)._shouldForward("pristine"),uS._32(n,27)._shouldForward("dirty"),uS._32(n,27)._shouldForward("valid"),uS._32(n,27)._shouldForward("invalid"),uS._32(n,27)._shouldForward("pending")]);l(n,36,1,[uS._32(n,42).ngClassUntouched,uS._32(n,42).ngClassTouched,uS._32(n,42).ngClassPristine,uS._32(n,42).ngClassDirty,uS._32(n,42).ngClassValid,uS._32(n,42).ngClassInvalid,uS._32(n,42).ngClassPending,uS._32(n,43)._isServer,uS._32(n,43).id,uS._32(n,43).placeholder,uS._32(n,43).disabled,uS._32(n,43).required,uS._32(n,43).readonly,uS._32(n,43)._ariaDescribedby||null,uS._32(n,43).errorState,uS._32(n,43).required.toString()])})}function Bb(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Rb(l){return uS._42(0,[(l()(),uS._18(0,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,null,null,null)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,120,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(9,0,null,0,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(20,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","sales_item"],["placeholder","Product/Services"],["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!==uS._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,26)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(21,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(23,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(25,16384,null,0,xS.s,[xS.r],null,null),uS._17(26,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,9,{options:1}),uS._38(603979776,10,{optionGroups:1}),uS._38(335544320,11,{customTrigger:0}),uS._37(2048,[[2,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,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!==uS._32(l,34)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,34)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(34,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Fb)),uS._17(38,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(40,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!==uS._32(l,41)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,41)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(41,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Others"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,xb)),uS._17(47,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(49,0,null,0,10,"mat-radio-group",[["class","example-radio-group mat-radio-group"],["formControlName","sales_type"],["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.changeOptions(l.context.index,e)&&u}return u},null,null)),uS._17(50,1064960,null,1,uO.b,[uS.i],null,{change:"change"}),uS._38(603979776,19,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(53,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(55,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,kb)),uS._17(58,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,qb)),uS._17(62,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(65,0,null,0,10,"div",[],null,null,null,null,null)),uS._17(66,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ob)),uS._17(70,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Nb)),uS._17(74,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,$b)),uS._17(78,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(80,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,cT.b,cT.a)),uS._17(81,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,113,{_control:0}),uS._38(335544320,114,{_placeholderChild:0}),uS._38(335544320,115,{_labelChild:0}),uS._38(603979776,116,{_errorChildren:1}),uS._38(603979776,117,{_hintChildren:1}),uS._38(603979776,118,{_prefixChildren:1}),uS._38(603979776,119,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(90,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["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!==uS._32(l,91)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,91).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,91)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,91)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,96)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,96)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,96)._onInput()&&u}return u},null,null)),uS._17(91,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(93,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(95,16384,null,0,xS.s,[xS.r],null,null),uS._17(96,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[113,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(100,0,null,0,23,"ion-buttons",[],null,null,null,null,null)),uS._17(101,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,120,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(104,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(105,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(107,0,null,null,7,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(108,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(110,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,l.context.$implicit.value)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(112,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(113,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(116,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""],["text-right",""]],null,null,null,null,null)),uS._17(117,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Bb)),uS._17(120,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"");l(n,23,0,"sales_item");l(n,26,0,"Product/Services","");l(n,38,0,e.product_and_services);l(n,41,0,"Others");l(n,47,0,"Others"==n.context.$implicit.controls.sales_item.value);l(n,53,0,"sales_type");l(n,58,0,e.check_type);l(n,62,0,"1"==n.context.$implicit.value.sales_type);l(n,66,0,n.context.$implicit.value.sales_type);l(n,70,0,1);l(n,74,0,2);l(n,78,0,!0===e.margin_calculation_status);l(n,93,0,"comments");l(n,96,0,"Remarks");l(n,113,0,"optblue","md-trash");l(n,120,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,20,1,[uS._32(n,21).required?"":null,uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending,uS._32(n,26).id,uS._32(n,26).tabIndex,uS._32(n,26)._ariaLabel,uS._32(n,26).ariaLabelledby,uS._32(n,26).required.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).errorState,uS._32(n,26).panelOpen?uS._32(n,26)._optionIds:null,uS._32(n,26).multiple,uS._32(n,26)._ariaDescribedby||null,uS._32(n,26)._getAriaActiveDescendant(),uS._32(n,26).disabled,uS._32(n,26).errorState,uS._32(n,26).required]);l(n,33,0,uS._32(n,34)._getTabIndex(),uS._32(n,34).selected,uS._32(n,34).multiple,uS._32(n,34).active,uS._32(n,34).id,uS._32(n,34).selected.toString(),uS._32(n,34).disabled.toString(),uS._32(n,34).disabled);l(n,40,0,uS._32(n,41)._getTabIndex(),uS._32(n,41).selected,uS._32(n,41).multiple,uS._32(n,41).active,uS._32(n,41).id,uS._32(n,41).selected.toString(),uS._32(n,41).disabled.toString(),uS._32(n,41).disabled);l(n,49,0,uS._32(n,55).ngClassUntouched,uS._32(n,55).ngClassTouched,uS._32(n,55).ngClassPristine,uS._32(n,55).ngClassDirty,uS._32(n,55).ngClassValid,uS._32(n,55).ngClassInvalid,uS._32(n,55).ngClassPending);l(n,80,1,[uS._32(n,81)._control.errorState,uS._32(n,81)._control.errorState,uS._32(n,81)._canLabelFloat,uS._32(n,81)._shouldLabelFloat(),uS._32(n,81)._hideControlPlaceholder(),uS._32(n,81)._control.disabled,uS._32(n,81)._control.focused,"primary"==uS._32(n,81).color,"accent"==uS._32(n,81).color,"warn"==uS._32(n,81).color,uS._32(n,81)._shouldForward("untouched"),uS._32(n,81)._shouldForward("touched"),uS._32(n,81)._shouldForward("pristine"),uS._32(n,81)._shouldForward("dirty"),uS._32(n,81)._shouldForward("valid"),uS._32(n,81)._shouldForward("invalid"),uS._32(n,81)._shouldForward("pending")]);l(n,90,1,[uS._32(n,95).ngClassUntouched,uS._32(n,95).ngClassTouched,uS._32(n,95).ngClassPristine,uS._32(n,95).ngClassDirty,uS._32(n,95).ngClassValid,uS._32(n,95).ngClassInvalid,uS._32(n,95).ngClassPending,uS._32(n,96)._isServer,uS._32(n,96).id,uS._32(n,96).placeholder,uS._32(n,96).disabled,uS._32(n,96).required,uS._32(n,96).readonly,uS._32(n,96)._ariaDescribedby||null,uS._32(n,96).errorState,uS._32(n,96).required.toString()]);l(n,112,0,uS._32(n,113)._hidden)})}function Ub(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.assessedForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function Mb(l){return uS._42(0,[uS._34(0,wI.u,[]),(l()(),uS._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,wb)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(22,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(23,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(25,0,null,1,19,"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!==uS._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,27).onReset()&&u}return u},null,null)),uS._17(26,16384,null,0,xS.B,[],null,null),uS._17(27,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(29,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,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)),uS._17(32,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(34,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Rb)),uS._17(37,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(47,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(48,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ub)),uS._17(51,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-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.assessedForm);l(n,32,0,"salesCalItemwise");l(n,37,0,e.assessedForm.get("salesCalItemwise").controls);l(n,51,0,!e.complete_status)},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,22,0,uS._32(n,23).statusbarPadding,uS._32(n,23)._hasRefresher);l(n,25,0,uS._32(n,29).ngClassUntouched,uS._32(n,29).ngClassTouched,uS._32(n,29).ngClassPristine,uS._32(n,29).ngClassDirty,uS._32(n,29).ngClassValid,uS._32(n,29).ngClassInvalid,uS._32(n,29).ngClassPending);l(n,31,0,uS._32(n,34).ngClassUntouched,uS._32(n,34).ngClassTouched,uS._32(n,34).ngClassPristine,uS._32(n,34).ngClassDirty,uS._32(n,34).ngClassValid,uS._32(n,34).ngClassInvalid,uS._32(n,34).ngClassPending)})}function Kb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["House Hold Expense"]))],null,null)}function Hb(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[13,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function Gb(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[23,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Yb(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[30,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function zb(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Qb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Total Household Expenses :"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),uS._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(15,null,[" ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 Jb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,151,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,145,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(9,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,24)._onInput()&&u}return u},null,null)),uS._17(19,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(21,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[2,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(28,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,cT.b,cT.a)),uS._17(29,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,9,{_control:0}),uS._38(335544320,10,{_placeholderChild:0}),uS._38(335544320,11,{_labelChild:0}),uS._38(603979776,12,{_errorChildren:1}),uS._38(603979776,13,{_hintChildren:1}),uS._38(603979776,14,{_prefixChildren:1}),uS._38(603979776,15,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,39)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,40).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,40).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,40).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,45)._onInput()&&u}if("keyup"===n){t.houseExpensecalculat(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),uS._17(39,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(40,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(42,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(44,16384,null,0,xS.s,[xS.r],null,null),uS._17(45,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[9,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Hb)),uS._17(49,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(52,0,null,0,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,cT.b,cT.a)),uS._17(53,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,16,{_control:0}),uS._38(335544320,17,{_placeholderChild:0}),uS._38(335544320,18,{_labelChild:0}),uS._38(603979776,19,{_errorChildren:1}),uS._38(603979776,20,{_hintChildren:1}),uS._38(603979776,21,{_prefixChildren:1}),uS._38(603979776,22,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(62,0,null,1,17,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,66)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,66)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,66)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.houseExpensecalculat(l.context.index,l.context.$implicit.value)&&u}return u},LO.b,LO.a)),uS._17(63,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(65,16384,null,0,xS.s,[xS.r],null,null),uS._17(66,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,23,{options:1}),uS._38(603979776,24,{optionGroups:1}),uS._38(335544320,25,{customTrigger:0}),uS._37(2048,[[16,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(73,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!==uS._32(l,74)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,74)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(74,8437760,[[23,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Gb)),uS._17(78,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(82,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,cT.b,cT.a)),uS._17(83,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,26,{_control:0}),uS._38(335544320,27,{_placeholderChild:0}),uS._38(335544320,28,{_labelChild:0}),uS._38(603979776,29,{_errorChildren:1}),uS._38(603979776,30,{_hintChildren:1}),uS._38(603979776,31,{_prefixChildren:1}),uS._38(603979776,32,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(92,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!==uS._32(l,93)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,93).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,93)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,93)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,94).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,94).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,94).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,99)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,99)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,99)._onInput()&&u}return u},null,null)),uS._17(93,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(94,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(96,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(98,16384,null,0,xS.s,[xS.r],null,null),uS._17(99,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[26,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Yb)),uS._17(103,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(106,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,cT.b,cT.a)),uS._17(107,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,33,{_control:0}),uS._38(335544320,34,{_placeholderChild:0}),uS._38(335544320,35,{_labelChild:0}),uS._38(603979776,36,{_errorChildren:1}),uS._38(603979776,37,{_hintChildren:1}),uS._38(603979776,38,{_prefixChildren:1}),uS._38(603979776,39,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(116,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["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!==uS._32(l,117)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,117).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,117)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,117)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,122)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,122)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,122)._onInput()&&u}return u},null,null)),uS._17(117,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(119,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(121,16384,null,0,xS.s,[xS.r],null,null),uS._17(122,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[33,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(126,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(127,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,40,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(130,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(131,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(133,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,l.context.$implicit.value)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(136,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(140,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),uS._17(141,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zb)),uS._17(144,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n \n \n "])),(l()(),uS._40(-1,0,["\n \n \n "])),(l()(),uS._13(16777216,null,0,1,null,Qb)),uS._17(149,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-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,49,0,null!=n.context.$implicit.get("expense_value").value);l(n,63,0,"fk_frequency_id");l(n,66,0,"Frequency");l(n,78,0,e.m_freqOfPurchase);l(n,96,0,"annual_expense_value");l(n,99,0,"Annual Expenses","number","");l(n,103,0,null!=n.context.$implicit.get("annual_expense_value").value);l(n,119,0,"comments");l(n,122,0,"Remarks");l(n,136,0,"optblue","md-trash");l(n,144,0,n.context.last);l(n,149,0,n.context.last&&null!=e.grandExpenseTotal)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,8,1,[uS._32(n,9)._control.errorState,uS._32(n,9)._control.errorState,uS._32(n,9)._canLabelFloat,uS._32(n,9)._shouldLabelFloat(),uS._32(n,9)._hideControlPlaceholder(),uS._32(n,9)._control.disabled,uS._32(n,9)._control.focused,"primary"==uS._32(n,9).color,"accent"==uS._32(n,9).color,"warn"==uS._32(n,9).color,uS._32(n,9)._shouldForward("untouched"),uS._32(n,9)._shouldForward("touched"),uS._32(n,9)._shouldForward("pristine"),uS._32(n,9)._shouldForward("dirty"),uS._32(n,9)._shouldForward("valid"),uS._32(n,9)._shouldForward("invalid"),uS._32(n,9)._shouldForward("pending")]);l(n,18,1,[uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._isServer,uS._32(n,24).id,uS._32(n,24).placeholder,uS._32(n,24).disabled,uS._32(n,24).required,uS._32(n,24).readonly,uS._32(n,24)._ariaDescribedby||null,uS._32(n,24).errorState,uS._32(n,24).required.toString()]);l(n,28,1,[uS._32(n,29)._control.errorState,uS._32(n,29)._control.errorState,uS._32(n,29)._canLabelFloat,uS._32(n,29)._shouldLabelFloat(),uS._32(n,29)._hideControlPlaceholder(),uS._32(n,29)._control.disabled,uS._32(n,29)._control.focused,"primary"==uS._32(n,29).color,"accent"==uS._32(n,29).color,"warn"==uS._32(n,29).color,uS._32(n,29)._shouldForward("untouched"),uS._32(n,29)._shouldForward("touched"),uS._32(n,29)._shouldForward("pristine"),uS._32(n,29)._shouldForward("dirty"),uS._32(n,29)._shouldForward("valid"),uS._32(n,29)._shouldForward("invalid"),uS._32(n,29)._shouldForward("pending")]);l(n,38,1,[uS._32(n,44).ngClassUntouched,uS._32(n,44).ngClassTouched,uS._32(n,44).ngClassPristine,uS._32(n,44).ngClassDirty,uS._32(n,44).ngClassValid,uS._32(n,44).ngClassInvalid,uS._32(n,44).ngClassPending,uS._32(n,45)._isServer,uS._32(n,45).id,uS._32(n,45).placeholder,uS._32(n,45).disabled,uS._32(n,45).required,uS._32(n,45).readonly,uS._32(n,45)._ariaDescribedby||null,uS._32(n,45).errorState,uS._32(n,45).required.toString()]);l(n,52,1,[uS._32(n,53)._control.errorState,uS._32(n,53)._control.errorState,uS._32(n,53)._canLabelFloat,uS._32(n,53)._shouldLabelFloat(),uS._32(n,53)._hideControlPlaceholder(),uS._32(n,53)._control.disabled,uS._32(n,53)._control.focused,"primary"==uS._32(n,53).color,"accent"==uS._32(n,53).color,"warn"==uS._32(n,53).color,uS._32(n,53)._shouldForward("untouched"),uS._32(n,53)._shouldForward("touched"),uS._32(n,53)._shouldForward("pristine"),uS._32(n,53)._shouldForward("dirty"),uS._32(n,53)._shouldForward("valid"),uS._32(n,53)._shouldForward("invalid"),uS._32(n,53)._shouldForward("pending")]);l(n,62,1,[uS._32(n,65).ngClassUntouched,uS._32(n,65).ngClassTouched,uS._32(n,65).ngClassPristine,uS._32(n,65).ngClassDirty,uS._32(n,65).ngClassValid,uS._32(n,65).ngClassInvalid,uS._32(n,65).ngClassPending,uS._32(n,66).id,uS._32(n,66).tabIndex,uS._32(n,66)._ariaLabel,uS._32(n,66).ariaLabelledby,uS._32(n,66).required.toString(),uS._32(n,66).disabled.toString(),uS._32(n,66).errorState,uS._32(n,66).panelOpen?uS._32(n,66)._optionIds:null,uS._32(n,66).multiple,uS._32(n,66)._ariaDescribedby||null,uS._32(n,66)._getAriaActiveDescendant(),uS._32(n,66).disabled,uS._32(n,66).errorState,uS._32(n,66).required]);l(n,73,0,uS._32(n,74)._getTabIndex(),uS._32(n,74).selected,uS._32(n,74).multiple,uS._32(n,74).active,uS._32(n,74).id,uS._32(n,74).selected.toString(),uS._32(n,74).disabled.toString(),uS._32(n,74).disabled);l(n,82,1,[uS._32(n,83)._control.errorState,uS._32(n,83)._control.errorState,uS._32(n,83)._canLabelFloat,uS._32(n,83)._shouldLabelFloat(),uS._32(n,83)._hideControlPlaceholder(),uS._32(n,83)._control.disabled,uS._32(n,83)._control.focused,"primary"==uS._32(n,83).color,"accent"==uS._32(n,83).color,"warn"==uS._32(n,83).color,uS._32(n,83)._shouldForward("untouched"),uS._32(n,83)._shouldForward("touched"),uS._32(n,83)._shouldForward("pristine"),uS._32(n,83)._shouldForward("dirty"),uS._32(n,83)._shouldForward("valid"),uS._32(n,83)._shouldForward("invalid"),uS._32(n,83)._shouldForward("pending")]);l(n,92,1,[uS._32(n,98).ngClassUntouched,uS._32(n,98).ngClassTouched,uS._32(n,98).ngClassPristine,uS._32(n,98).ngClassDirty,uS._32(n,98).ngClassValid,uS._32(n,98).ngClassInvalid,uS._32(n,98).ngClassPending,uS._32(n,99)._isServer,uS._32(n,99).id,uS._32(n,99).placeholder,uS._32(n,99).disabled,uS._32(n,99).required,uS._32(n,99).readonly,uS._32(n,99)._ariaDescribedby||null,uS._32(n,99).errorState,uS._32(n,99).required.toString()]);l(n,106,1,[uS._32(n,107)._control.errorState,uS._32(n,107)._control.errorState,uS._32(n,107)._canLabelFloat,uS._32(n,107)._shouldLabelFloat(),uS._32(n,107)._hideControlPlaceholder(),uS._32(n,107)._control.disabled,uS._32(n,107)._control.focused,"primary"==uS._32(n,107).color,"accent"==uS._32(n,107).color,"warn"==uS._32(n,107).color,uS._32(n,107)._shouldForward("untouched"),uS._32(n,107)._shouldForward("touched"),uS._32(n,107)._shouldForward("pristine"),uS._32(n,107)._shouldForward("dirty"),uS._32(n,107)._shouldForward("valid"),uS._32(n,107)._shouldForward("invalid"),uS._32(n,107)._shouldForward("pending")]);l(n,116,1,[uS._32(n,121).ngClassUntouched,uS._32(n,121).ngClassTouched,uS._32(n,121).ngClassPristine,uS._32(n,121).ngClassDirty,uS._32(n,121).ngClassValid,uS._32(n,121).ngClassInvalid,uS._32(n,121).ngClassPending,uS._32(n,122)._isServer,uS._32(n,122).id,uS._32(n,122).placeholder,uS._32(n,122).disabled,uS._32(n,122).required,uS._32(n,122).readonly,uS._32(n,122)._ariaDescribedby||null,uS._32(n,122).errorState,uS._32(n,122).required.toString()]);l(n,135,0,uS._32(n,136)._hidden)})}function Zb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveHouseExpenseData(t.houseHoldForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function Xb(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Kb)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(21,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(22,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(24,0,null,1,19,"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!==uS._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,26).onReset()&&u}return u},null,null)),uS._17(25,16384,null,0,xS.B,[],null,null),uS._17(26,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(28,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(31,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(33,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jb)),uS._17(36,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(46,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(47,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zb)),uS._17(50,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-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,50,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,22).statusbarPadding,uS._32(n,22)._hasRefresher);l(n,24,0,uS._32(n,28).ngClassUntouched,uS._32(n,28).ngClassTouched,uS._32(n,28).ngClassPristine,uS._32(n,28).ngClassDirty,uS._32(n,28).ngClassValid,uS._32(n,28).ngClassInvalid,uS._32(n,28).ngClassPending);l(n,30,0,uS._32(n,33).ngClassUntouched,uS._32(n,33).ngClassTouched,uS._32(n,33).ngClassPristine,uS._32(n,33).ngClassDirty,uS._32(n,33).ngClassValid,uS._32(n,33).ngClassInvalid,uS._32(n,33).ngClassPending)})}function lv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Item-wise Purchase Calculation"]))],null,null)}function nv(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function ev(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,12,{_control:0}),uS._38(335544320,13,{_placeholderChild:0}),uS._38(335544320,14,{_labelChild:0}),uS._38(603979776,15,{_errorChildren:1}),uS._38(603979776,16,{_hintChildren:1}),uS._38(603979776,17,{_prefixChildren:1}),uS._38(603979776,18,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_purchase_item"],["matInput",""],["placeholder","Other Raw Material/Trading 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],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[12,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_purchase_item");l(n,16,0,"Other Raw Material/Trading Item")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function uv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-radio-button",[["class","example-radio-button mat-radio-button"],["color","primary"],["style","padding-top:10px;padding-bottom: 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!==uS._32(l,1)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(1,4440064,[[19,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.type_id)},function(l,n){l(n,0,0,uS._32(n,1).checked,uS._32(n,1).disabled,uS._32(n,1).id);l(n,2,0,n.context.$implicit.type_name)})}function tv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,24,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_qty"],["matInput",""],["name","purchase_qty"],["placeholder","Purchase Quantity"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.purchaseCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(15,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[20,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"");l(n,18,0,"purchase_qty");l(n,21,0,"Purchase Quantity","","number")},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()])})}function av(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[34,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function iv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(12,0,null,1,17,"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!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,34,{options:1}),uS._38(603979776,35,{optionGroups:1}),uS._38(335544320,36,{customTrigger:0}),uS._37(2048,[[27,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[34,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,av)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,13,0,"fk_uom_id");l(n,16,0,"UOM");l(n,28,0,e.UOM)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled)})}function ov(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,37,{_control:0}),uS._38(335544320,38,{_placeholderChild:0}),uS._38(335544320,39,{_labelChild:0}),uS._38(603979776,40,{_errorChildren:1}),uS._38(603979776,41,{_hintChildren:1}),uS._38(603979776,42,{_prefixChildren:1}),uS._38(603979776,43,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","uom_other"],["matInput",""],["placeholder","Other 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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[37,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"uom_other");l(n,16,0,"Other UOM")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function rv(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[48,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.RateOfPurchase[n.parent.parent.parent.context.index])})}function _v(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,44,{_control:0}),uS._38(335544320,45,{_placeholderChild:0}),uS._38(335544320,46,{_labelChild:0}),uS._38(603979776,47,{_errorChildren:1}),uS._38(603979776,48,{_hintChildren:1}),uS._38(603979776,49,{_prefixChildren:1}),uS._38(603979776,50,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["name","rate_per_unit"],["placeholder","Rate / Unit of Purchase"],["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,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}if("keyup"===n){t.inWords(e.target.value,l.parent.parent.context.index,1);u=!1!==t.purchaseCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(14,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(15,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[44,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,rv)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"");l(n,18,0,"rate_per_unit");l(n,21,0,"Rate / Unit of Purchase","","number");l(n,25,0,null!=n.parent.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()])})}function dv(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[58,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function sv(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[65,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AnnualPurchase[n.parent.parent.context.index])})}function cv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,63,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_v)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,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,cT.b,cT.a)),uS._17(8,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,51,{_control:0}),uS._38(335544320,52,{_placeholderChild:0}),uS._38(335544320,53,{_labelChild:0}),uS._38(603979776,54,{_errorChildren:1}),uS._38(603979776,55,{_hintChildren:1}),uS._38(603979776,56,{_prefixChildren:1}),uS._38(603979776,57,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(17,0,null,1,17,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.purchaseCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},LO.b,LO.a)),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,58,{options:1}),uS._38(603979776,59,{optionGroups:1}),uS._38(335544320,60,{customTrigger:0}),uS._37(2048,[[51,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[58,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,dv)),uS._17(33,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(38,0,null,null,24,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(40,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,cT.b,cT.a)),uS._17(41,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,61,{_control:0}),uS._38(335544320,62,{_placeholderChild:0}),uS._38(335544320,63,{_labelChild:0}),uS._38(603979776,64,{_errorChildren:1}),uS._38(603979776,65,{_hintChildren:1}),uS._38(603979776,66,{_prefixChildren:1}),uS._38(603979776,67,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(50,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"],["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!==uS._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,56)._onInput()&&u}return u},null,null)),uS._17(51,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(53,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(55,16384,null,0,xS.s,[xS.r],null,null),uS._17(56,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[61,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,sv)),uS._17(60,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"1"==n.parent.context.$implicit.value.purchase_type);l(n,18,0,"fk_frequency_id");l(n,21,0,"Frequency");l(n,33,0,e.m_freqOfPurchase);l(n,53,0,"annual_purchase_value");l(n,56,0,"Annual Purchase","text","");l(n,60,0,null!=n.parent.context.$implicit.get("annual_purchase_value").value)},function(l,n){l(n,7,1,[uS._32(n,8)._control.errorState,uS._32(n,8)._control.errorState,uS._32(n,8)._canLabelFloat,uS._32(n,8)._shouldLabelFloat(),uS._32(n,8)._hideControlPlaceholder(),uS._32(n,8)._control.disabled,uS._32(n,8)._control.focused,"primary"==uS._32(n,8).color,"accent"==uS._32(n,8).color,"warn"==uS._32(n,8).color,uS._32(n,8)._shouldForward("untouched"),uS._32(n,8)._shouldForward("touched"),uS._32(n,8)._shouldForward("pristine"),uS._32(n,8)._shouldForward("dirty"),uS._32(n,8)._shouldForward("valid"),uS._32(n,8)._shouldForward("invalid"),uS._32(n,8)._shouldForward("pending")]);l(n,17,1,[uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,40,1,[uS._32(n,41)._control.errorState,uS._32(n,41)._control.errorState,uS._32(n,41)._canLabelFloat,uS._32(n,41)._shouldLabelFloat(),uS._32(n,41)._hideControlPlaceholder(),uS._32(n,41)._control.disabled,uS._32(n,41)._control.focused,"primary"==uS._32(n,41).color,"accent"==uS._32(n,41).color,"warn"==uS._32(n,41).color,uS._32(n,41)._shouldForward("untouched"),uS._32(n,41)._shouldForward("touched"),uS._32(n,41)._shouldForward("pristine"),uS._32(n,41)._shouldForward("dirty"),uS._32(n,41)._shouldForward("valid"),uS._32(n,41)._shouldForward("invalid"),uS._32(n,41)._shouldForward("pending")]);l(n,50,1,[uS._32(n,55).ngClassUntouched,uS._32(n,55).ngClassTouched,uS._32(n,55).ngClassPristine,uS._32(n,55).ngClassDirty,uS._32(n,55).ngClassValid,uS._32(n,55).ngClassInvalid,uS._32(n,55).ngClassPending,uS._32(n,56)._isServer,uS._32(n,56).id,uS._32(n,56).placeholder,uS._32(n,56).disabled,uS._32(n,56).required,uS._32(n,56).readonly,uS._32(n,56)._ariaDescribedby||null,uS._32(n,56).errorState,uS._32(n,56).required.toString()])})}function mv(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[75,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function pv(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[82,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.RateOfPurchase[n.parent.parent.context.index])})}function fv(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[89,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AnnualPurchase[n.parent.parent.context.index])})}function hv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,81,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,68,{_control:0}),uS._38(335544320,69,{_placeholderChild:0}),uS._38(335544320,70,{_labelChild:0}),uS._38(603979776,71,{_errorChildren:1}),uS._38(603979776,72,{_hintChildren:1}),uS._38(603979776,73,{_prefixChildren:1}),uS._38(603979776,74,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(12,0,null,1,17,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.purchaseCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},LO.b,LO.a)),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,75,{options:1}),uS._38(603979776,76,{optionGroups:1}),uS._38(335544320,77,{customTrigger:0}),uS._37(2048,[[68,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,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!==uS._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,24)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(24,8437760,[[75,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,mv)),uS._17(28,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,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,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,78,{_control:0}),uS._38(335544320,79,{_placeholderChild:0}),uS._38(335544320,80,{_labelChild:0}),uS._38(603979776,81,{_errorChildren:1}),uS._38(603979776,82,{_hintChildren:1}),uS._38(603979776,83,{_prefixChildren:1}),uS._38(603979776,84,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,51)._onInput()&&u}if("keyup"===n){u=!1!==t.purchaseCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(43,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(44,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(45,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(48,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(50,16384,null,0,xS.s,[xS.r],null,null),uS._17(51,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[78,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,pv)),uS._17(55,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,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,cT.b,cT.a)),uS._17(59,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,85,{_control:0}),uS._38(335544320,86,{_placeholderChild:0}),uS._38(335544320,87,{_labelChild:0}),uS._38(603979776,88,{_errorChildren:1}),uS._38(603979776,89,{_hintChildren:1}),uS._38(603979776,90,{_prefixChildren:1}),uS._38(603979776,91,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(68,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_purchase_value"],["matInput",""],["placeholder","Annual Purchase"],["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!==uS._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,69)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,70).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,70).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,70).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,75)._onInput()&&u}return u},null,null)),uS._17(69,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(70,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(72,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(74,16384,null,0,xS.s,[xS.r],null,null),uS._17(75,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[85,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,fv)),uS._17(79,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"fk_frequency_id");l(n,16,0,"Frequency");l(n,28,0,e.m_freqOfPurchase);l(n,45,0,"");l(n,48,0,"rate_per_unit");l(n,51,0,"1"==n.parent.context.$implicit.value.fk_frequency_id?"Other purchase":"2"==n.parent.context.$implicit.value.fk_frequency_id?"Yearly purchase":"3"==n.parent.context.$implicit.value.fk_frequency_id?"Half Yearly purchase":"4"==n.parent.context.$implicit.value.fk_frequency_id?"Fortnightly purchase":"5"==n.parent.context.$implicit.value.fk_frequency_id?"Daily purchase":"6"==n.parent.context.$implicit.value.fk_frequency_id?"Quarterly purchase":"7"==n.parent.context.$implicit.value.fk_frequency_id?"Monthly purchase":"","","number");l(n,55,0,null!=n.parent.context.$implicit.get("rate_per_unit").value);l(n,72,0,"annual_purchase_value");l(n,75,0,"Annual Purchase","number","");l(n,79,0,null!=n.parent.context.$implicit.get("annual_purchase_value").value)},function(l,n){l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required]);l(n,23,0,uS._32(n,24)._getTabIndex(),uS._32(n,24).selected,uS._32(n,24).multiple,uS._32(n,24).active,uS._32(n,24).id,uS._32(n,24).selected.toString(),uS._32(n,24).disabled.toString(),uS._32(n,24).disabled);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,42,1,[uS._32(n,45).required?"":null,uS._32(n,50).ngClassUntouched,uS._32(n,50).ngClassTouched,uS._32(n,50).ngClassPristine,uS._32(n,50).ngClassDirty,uS._32(n,50).ngClassValid,uS._32(n,50).ngClassInvalid,uS._32(n,50).ngClassPending,uS._32(n,51)._isServer,uS._32(n,51).id,uS._32(n,51).placeholder,uS._32(n,51).disabled,uS._32(n,51).required,uS._32(n,51).readonly,uS._32(n,51)._ariaDescribedby||null,uS._32(n,51).errorState,uS._32(n,51).required.toString()]);l(n,58,1,[uS._32(n,59)._control.errorState,uS._32(n,59)._control.errorState,uS._32(n,59)._canLabelFloat,uS._32(n,59)._shouldLabelFloat(),uS._32(n,59)._hideControlPlaceholder(),uS._32(n,59)._control.disabled,uS._32(n,59)._control.focused,"primary"==uS._32(n,59).color,"accent"==uS._32(n,59).color,"warn"==uS._32(n,59).color,uS._32(n,59)._shouldForward("untouched"),uS._32(n,59)._shouldForward("touched"),uS._32(n,59)._shouldForward("pristine"),uS._32(n,59)._shouldForward("dirty"),uS._32(n,59)._shouldForward("valid"),uS._32(n,59)._shouldForward("invalid"),uS._32(n,59)._shouldForward("pending")]);l(n,68,1,[uS._32(n,74).ngClassUntouched,uS._32(n,74).ngClassTouched,uS._32(n,74).ngClassPristine,uS._32(n,74).ngClassDirty,uS._32(n,74).ngClassValid,uS._32(n,74).ngClassInvalid,uS._32(n,74).ngClassPending,uS._32(n,75)._isServer,uS._32(n,75).id,uS._32(n,75).placeholder,uS._32(n,75).disabled,uS._32(n,75).required,uS._32(n,75).readonly,uS._32(n,75)._ariaDescribedby||null,uS._32(n,75).errorState,uS._32(n,75).required.toString()])})}function gv(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function bv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Grand Total:"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),uS._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(15,null,[" ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 vv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,123,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,117,"mat-card",[["class","box mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._18(8,0,null,0,41,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(11,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","purchase_item"],["placeholder","Raw Material/Trading Item"],["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!==uS._32(l,27)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,27)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,27)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(22,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(24,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(26,16384,null,0,xS.s,[xS.r],null,null),uS._17(27,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,9,{options:1}),uS._38(603979776,10,{optionGroups:1}),uS._38(335544320,11,{customTrigger:0}),uS._37(2048,[[2,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(34,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!==uS._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,35)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(35,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,nv)),uS._17(39,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,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!==uS._32(l,42)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,42)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(42,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Others"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ev)),uS._17(48,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(51,0,null,0,10,"mat-radio-group",[["class","example-radio-group mat-radio-group"],["formControlName","purchase_type"],["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.changeOptions(l.context.index,e)&&u}return u},null,null)),uS._17(52,1064960,null,1,uO.b,[uS.i],null,{change:"change"}),uS._38(603979776,19,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(55,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(57,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,uv)),uS._17(60,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,tv)),uS._17(64,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,iv)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,ov)),uS._17(70,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,cv)),uS._17(73,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,hv)),uS._17(76,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(78,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,cT.b,cT.a)),uS._17(79,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,92,{_control:0}),uS._38(335544320,93,{_placeholderChild:0}),uS._38(335544320,94,{_labelChild:0}),uS._38(603979776,95,{_errorChildren:1}),uS._38(603979776,96,{_hintChildren:1}),uS._38(603979776,97,{_prefixChildren:1}),uS._38(603979776,98,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(88,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["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!==uS._32(l,89)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,89).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,89)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,89)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,94)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,94)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,94)._onInput()&&u}return u},null,null)),uS._17(89,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(91,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(93,16384,null,0,xS.s,[xS.r],null,null),uS._17(94,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[92,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n \n \n "])),(l()(),uS._18(98,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(99,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,99,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(102,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(103,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(105,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,l.context.$implicit.value)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(107,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(108,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(112,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),uS._17(113,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gv)),uS._17(116,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n \n \n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,bv)),uS._17(121,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"");l(n,24,0,"purchase_item");l(n,27,0,"Raw Material/Trading Item","");l(n,39,0,e.productListData);l(n,42,0,"Others");l(n,48,0,"Others"==n.context.$implicit.value.purchase_item);l(n,55,0,"purchase_type");l(n,60,0,e.check_type);l(n,64,0,"1"==n.context.$implicit.value.purchase_type);l(n,67,0,"1"==n.context.$implicit.value.purchase_type);l(n,70,0,1==n.context.$implicit.get("fk_uom_id").value);l(n,73,0,"1"==n.context.$implicit.value.purchase_type);l(n,76,0,"2"==n.context.$implicit.value.purchase_type);l(n,91,0,"comments");l(n,94,0,"Remarks");l(n,108,0,"optblue","md-trash");l(n,116,0,n.context.last);l(n,121,0,n.context.last&&null!=e.grandpurchaseTotal)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,10,1,[uS._32(n,11)._control.errorState,uS._32(n,11)._control.errorState,uS._32(n,11)._canLabelFloat,uS._32(n,11)._shouldLabelFloat(),uS._32(n,11)._hideControlPlaceholder(),uS._32(n,11)._control.disabled,uS._32(n,11)._control.focused,"primary"==uS._32(n,11).color,"accent"==uS._32(n,11).color,"warn"==uS._32(n,11).color,uS._32(n,11)._shouldForward("untouched"),uS._32(n,11)._shouldForward("touched"),uS._32(n,11)._shouldForward("pristine"),uS._32(n,11)._shouldForward("dirty"),uS._32(n,11)._shouldForward("valid"),uS._32(n,11)._shouldForward("invalid"),uS._32(n,11)._shouldForward("pending")]);l(n,21,1,[uS._32(n,22).required?"":null,uS._32(n,26).ngClassUntouched,uS._32(n,26).ngClassTouched,uS._32(n,26).ngClassPristine,uS._32(n,26).ngClassDirty,uS._32(n,26).ngClassValid,uS._32(n,26).ngClassInvalid,uS._32(n,26).ngClassPending,uS._32(n,27).id,uS._32(n,27).tabIndex,uS._32(n,27)._ariaLabel,uS._32(n,27).ariaLabelledby,uS._32(n,27).required.toString(),uS._32(n,27).disabled.toString(),uS._32(n,27).errorState,uS._32(n,27).panelOpen?uS._32(n,27)._optionIds:null,uS._32(n,27).multiple,uS._32(n,27)._ariaDescribedby||null,uS._32(n,27)._getAriaActiveDescendant(),uS._32(n,27).disabled,uS._32(n,27).errorState,uS._32(n,27).required]);l(n,34,0,uS._32(n,35)._getTabIndex(),uS._32(n,35).selected,uS._32(n,35).multiple,uS._32(n,35).active,uS._32(n,35).id,uS._32(n,35).selected.toString(),uS._32(n,35).disabled.toString(),uS._32(n,35).disabled);l(n,41,0,uS._32(n,42)._getTabIndex(),uS._32(n,42).selected,uS._32(n,42).multiple,uS._32(n,42).active,uS._32(n,42).id,uS._32(n,42).selected.toString(),uS._32(n,42).disabled.toString(),uS._32(n,42).disabled);l(n,51,0,uS._32(n,57).ngClassUntouched,uS._32(n,57).ngClassTouched,uS._32(n,57).ngClassPristine,uS._32(n,57).ngClassDirty,uS._32(n,57).ngClassValid,uS._32(n,57).ngClassInvalid,uS._32(n,57).ngClassPending);l(n,78,1,[uS._32(n,79)._control.errorState,uS._32(n,79)._control.errorState,uS._32(n,79)._canLabelFloat,uS._32(n,79)._shouldLabelFloat(),uS._32(n,79)._hideControlPlaceholder(),uS._32(n,79)._control.disabled,uS._32(n,79)._control.focused,"primary"==uS._32(n,79).color,"accent"==uS._32(n,79).color,"warn"==uS._32(n,79).color,uS._32(n,79)._shouldForward("untouched"),uS._32(n,79)._shouldForward("touched"),uS._32(n,79)._shouldForward("pristine"),uS._32(n,79)._shouldForward("dirty"),uS._32(n,79)._shouldForward("valid"),uS._32(n,79)._shouldForward("invalid"),uS._32(n,79)._shouldForward("pending")]);l(n,88,1,[uS._32(n,93).ngClassUntouched,uS._32(n,93).ngClassTouched,uS._32(n,93).ngClassPristine,uS._32(n,93).ngClassDirty,uS._32(n,93).ngClassValid,uS._32(n,93).ngClassInvalid,uS._32(n,93).ngClassPending,uS._32(n,94)._isServer,uS._32(n,94).id,uS._32(n,94).placeholder,uS._32(n,94).disabled,uS._32(n,94).required,uS._32(n,94).readonly,uS._32(n,94)._ariaDescribedby||null,uS._32(n,94).errorState,uS._32(n,94).required.toString()]);l(n,107,0,uS._32(n,108)._hidden)})}function yv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepurchaseData(t.rawMaterialForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function Cv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,lv)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(22,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(23,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(25,0,null,1,19,"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!==uS._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,27).onReset()&&u}return u},null,null)),uS._17(26,16384,null,0,xS.B,[],null,null),uS._17(27,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(29,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,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)),uS._17(32,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(34,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vv)),uS._17(37,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(47,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(48,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yv)),uS._17(51,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-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,27,0,e.rawMaterialForm);l(n,32,0,"purchase");l(n,37,0,e.rawMaterialForm.get("purchase").controls);l(n,51,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,22,0,uS._32(n,23).statusbarPadding,uS._32(n,23)._hasRefresher);l(n,25,0,uS._32(n,29).ngClassUntouched,uS._32(n,29).ngClassTouched,uS._32(n,29).ngClassPristine,uS._32(n,29).ngClassDirty,uS._32(n,29).ngClassValid,uS._32(n,29).ngClassInvalid,uS._32(n,29).ngClassPending);l(n,31,0,uS._32(n,34).ngClassUntouched,uS._32(n,34).ngClassTouched,uS._32(n,34).ngClassPristine,uS._32(n,34).ngClassDirty,uS._32(n,34).ngClassValid,uS._32(n,34).ngClassInvalid,uS._32(n,34).ngClassPending)})}function wv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Fv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function xv(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function kv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function Sv(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function Iv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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},rT.d,rT.a)),uS._17(4,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,kv)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(0,[["nopurchaseData",2]],0,0,null,Sv)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(11,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(12,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(14,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["PURCHASE ITEM WISE"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.purchaseData,uS._32(n,9));l(n,12,0,"logo-android")},function(l,n){l(n,11,0,uS._32(n,12)._hidden)})}function qv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function Pv(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function Dv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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},rT.d,rT.a)),uS._17(4,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,qv)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(0,[["nopurchaseData",2]],0,0,null,Pv)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(11,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(12,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(14,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["PURCHASE BILL WISE"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.purchaseBillData,uS._32(n,9));l(n,12,0,"logo-android")},function(l,n){l(n,11,0,uS._32(n,12)._hidden)})}function Tv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function Ov(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function Lv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function Av(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],null,null)}function Vv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,14,"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(11)&&u}return u},rT.d,rT.a)),uS._17(4,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["--"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n \n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["SUMMARY"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,13,0,"logo-android")},function(l,n){l(n,12,0,uS._32(n,13)._hidden)})}function Nv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,90,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,86,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(3,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),uS._17(6,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._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},rT.d,rT.a)),uS._17(9,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Fv)),uS._17(12,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(0,[["noSalesData",2]],0,0,null,xv)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(17,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(19,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["SALES"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Iv)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Dv)),uS._17(28,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),uS._17(32,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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},rT.d,rT.a)),uS._17(35,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Tv)),uS._17(38,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(0,[["nobusinessData",2]],0,0,null,Ov)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(42,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(43,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(45,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["BUSINESS EXPENSE"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(50,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),uS._17(51,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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},rT.d,rT.a)),uS._17(54,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Lv)),uS._17(57,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(0,[["nohouseExpenseData",2]],0,0,null,Av)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(61,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(62,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(64,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["HOUSE HOLD"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Vv)),uS._17(72,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(74,0,null,null,13,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),uS._17(75,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(77,0,null,null,9,"mat-card",[["class","mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(12)&&u}return u},rT.d,rT.a)),uS._17(78,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(81,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(82,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(84,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["IMAGES"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,e.salesData,uS._32(n,14));l(n,17,0,"logo-android");l(n,25,0,1==e.grossprofit.mode&&1==e.grossprofit.purchase_type);l(n,28,0,1==e.grossprofit.mode&&2==e.grossprofit.purchase_type);l(n,38,0,e.businessData,uS._32(n,40));l(n,43,0,"logo-android");l(n,57,0,e.houseExpenseData,uS._32(n,59));l(n,62,0,"logo-android");l(n,72,0,e.finalAccess);l(n,82,0,"md-camera")},function(l,n){l(n,16,0,uS._32(n,17)._hidden);l(n,42,0,uS._32(n,43)._hidden);l(n,61,0,uS._32(n,62)._hidden);l(n,81,0,uS._32(n,82)._hidden)})}function Wv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,wv)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(21,0,null,null,75,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(22,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(24,0,null,1,66,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),uS._17(25,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,16777216,null,null,61,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(30,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],{expanded:[0,"expanded"]},null),uS._38(335544320,2,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,34)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,34)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(34,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(35,{collapsedHeight:0,expandedHeight:1}),uS._35(36,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(38,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(39,16384,null,0,ZO.f,[],null,null),(l()(),uS._40(-1,null,["\n Purchase Calculation\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(43,0,null,1,45,"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!==uS._32(l,45).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,45).onReset()&&u}return u},null,null)),uS._17(44,16384,null,0,xS.B,[],null,null),uS._17(45,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(47,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(49,0,null,null,28,"mat-list",[["class","mat-list"],["style","width: 100%"]],null,null,null,lO.d,lO.a)),uS._17(50,49152,null,0,nO.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(52,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Purchase Detail Available"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(55,0,null,0,21,"mat-radio-group",[["class","radio mat-radio-group"],["formControlName","purchase_type"],["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)),uS._17(56,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,3,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(59,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(61,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(63,0,null,null,2,"mat-radio-button",[["class","radio 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!==uS._32(l,64)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(64,4440064,[[3,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Purchase Item Wise"])),(l()(),uS._18(66,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(68,0,null,null,2,"mat-radio-button",[["class","radio 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!==uS._32(l,69)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(69,4440064,[[3,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Purchase Bill Wise"])),(l()(),uS._18(71,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(73,0,null,null,2,"mat-radio-button",[["class","radio mat-radio-button"],["value","0"]],[[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!==uS._32(l,74)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(74,4440064,[[3,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Not Available"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(79,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(81,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(82,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(84,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveAssessedForm(t.assessedForm.value)&&u}return u},AT.b,AT.a)),uS._17(85,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],round:[1,"round"],full:[2,"full"]},null),(l()(),uS._40(-1,0,[" Proceed"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(92,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Nv)),uS._17(95,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(98,0,null,null,6,"ion-footer",[],null,null,null,null,null)),uS._17(99,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(101,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.presentConfirm()&&u}return u},AT.b,AT.a)),uS._17(102,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],block:[1,"block"]},null),(l()(),uS._40(-1,0,["Complete"])),(l()(),uS._40(-1,null,["\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,30,0,!0);l(n,45,0,e.assessedForm);l(n,59,0,"purchase_type");l(n,64,0,"1");l(n,69,0,"2");l(n,74,0,"0");l(n,85,0,"optblue","","");l(n,95,0,e.assessedProcess&&e.grossAccess);l(n,102,0,"optblue","")},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,22).statusbarPadding,uS._32(n,22)._hasRefresher);l(n,28,0,uS._32(n,30).expanded,uS._32(n,30)._hasSpacing());l(n,33,0,uS._32(n,34).panel._headerId,uS._32(n,34).panel.disabled?-1:0,uS._32(n,34)._getPanelId(),uS._32(n,34)._isExpanded(),uS._32(n,34).panel.disabled,uS._32(n,34)._isExpanded(),l(n,36,0,uS._32(n,34)._getExpandedState(),l(n,35,0,uS._32(n,34).collapsedHeight,uS._32(n,34).expandedHeight)));l(n,43,0,uS._32(n,47).ngClassUntouched,uS._32(n,47).ngClassTouched,uS._32(n,47).ngClassPristine,uS._32(n,47).ngClassDirty,uS._32(n,47).ngClassValid,uS._32(n,47).ngClassInvalid,uS._32(n,47).ngClassPending);l(n,55,0,uS._32(n,61).ngClassUntouched,uS._32(n,61).ngClassTouched,uS._32(n,61).ngClassPristine,uS._32(n,61).ngClassDirty,uS._32(n,61).ngClassValid,uS._32(n,61).ngClassInvalid,uS._32(n,61).ngClassPending);l(n,63,0,uS._32(n,64).checked,uS._32(n,64).disabled,uS._32(n,64).id);l(n,68,0,uS._32(n,69).checked,uS._32(n,69).disabled,uS._32(n,69).id);l(n,73,0,uS._32(n,74).checked,uS._32(n,74).disabled,uS._32(n,74).id)})}function Ev(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["style","padding:10px;width:100%"]],[[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!==uS._32(l,1)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(1,4440064,[[2,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),uS._40(2,0,[" \n ",""])),(l()(),uS._18(3,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.bounce_id)},function(l,n){l(n,0,0,uS._32(n,1).checked,uS._32(n,1).disabled,uS._32(n,1).id);l(n,2,0,n.context.$implicit.bounce_reason_name)})}function jv(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","bounce_reason_others"],["placeholder","Please Specify the Reason"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.bounce_reason_others=e)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[2,xS.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[3,4]],mT.c,null,[fT.b])],function(l,n){l(n,13,0,"bounce_reason_others",n.component.bounce_reason_others);l(n,16,0,"Please Specify the Reason")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function $v(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(16,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(17,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Bounced Reject Reason"])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(22,0,null,null,46,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(23,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(26,0,null,1,41,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(27,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(29,0,null,0,37,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(30,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(34,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Reason to Reject"])),(l()(),uS._18(36,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(38,0,null,null,11,"mat-radio-group",[["class","mat-radio-group"],["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,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.bounce_reason=e)&&u}return u},null,null)),uS._17(39,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,2,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(42,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[2,xS.q]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(44,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ev)),uS._17(47,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._18(48,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jv)),uS._17(53,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(55,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(56,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(59,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},AT.b,AT.a)),uS._17(60,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(65,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n \n"])),(l()(),uS._40(-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,42,0,e.bounce_reason);l(n,47,0,e.bounseMaster);l(n,53,0,"1"==e.bounce_reason);l(n,60,0,"optblue","")},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,22,0,uS._32(n,23).statusbarPadding,uS._32(n,23)._hasRefresher);l(n,38,0,uS._32(n,44).ngClassUntouched,uS._32(n,44).ngClassTouched,uS._32(n,44).ngClassPristine,uS._32(n,44).ngClassDirty,uS._32(n,44).ngClassValid,uS._32(n,44).ngClassInvalid,uS._32(n,44).ngClassPending)})}function Bv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Business Expense"]))],null,null)}function Rv(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.expense_item_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.expense_item)})}function Uv(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[16,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function Mv(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[26,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Kv(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[33,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function Hv(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function Gv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Total Business Expenses:"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),uS._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(15,null,[" ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 Yv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,161,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,155,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(8,0,null,0,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,cT.b,cT.a)),uS._17(9,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(18,0,null,1,17,"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!==uS._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,22)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,9,{options:1}),uS._38(603979776,10,{optionGroups:1}),uS._38(335544320,11,{customTrigger:0}),uS._37(2048,[[2,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(29,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!==uS._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,30)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(30,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Rv)),uS._17(34,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(38,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,cT.b,cT.a)),uS._17(39,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,12,{_control:0}),uS._38(335544320,13,{_placeholderChild:0}),uS._38(335544320,14,{_labelChild:0}),uS._38(603979776,15,{_errorChildren:1}),uS._38(603979776,16,{_hintChildren:1}),uS._38(603979776,17,{_prefixChildren:1}),uS._38(603979776,18,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(48,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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,49)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,49).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,49)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,49)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,50).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,50).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,55)._onInput()&&u}if("keyup"===n){t.businessCalculation(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),uS._17(49,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(50,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(52,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(54,16384,null,0,xS.s,[xS.r],null,null),uS._17(55,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[12,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Uv)),uS._17(59,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(62,0,null,0,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,cT.b,cT.a)),uS._17(63,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,19,{_control:0}),uS._38(335544320,20,{_placeholderChild:0}),uS._38(335544320,21,{_labelChild:0}),uS._38(603979776,22,{_errorChildren:1}),uS._38(603979776,23,{_hintChildren:1}),uS._38(603979776,24,{_prefixChildren:1}),uS._38(603979776,25,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(72,0,null,1,17,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,76)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,76)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,76)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.businessCalculation(l.context.index,l.context.$implicit.value)&&u}return u},LO.b,LO.a)),uS._17(73,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(75,16384,null,0,xS.s,[xS.r],null,null),uS._17(76,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,26,{options:1}),uS._38(603979776,27,{optionGroups:1}),uS._38(335544320,28,{customTrigger:0}),uS._37(2048,[[19,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(83,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!==uS._32(l,84)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,84)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(84,8437760,[[26,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Mv)),uS._17(88,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(92,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,cT.b,cT.a)),uS._17(93,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,29,{_control:0}),uS._38(335544320,30,{_placeholderChild:0}),uS._38(335544320,31,{_labelChild:0}),uS._38(603979776,32,{_errorChildren:1}),uS._38(603979776,33,{_hintChildren:1}),uS._38(603979776,34,{_prefixChildren:1}),uS._38(603979776,35,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(102,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!==uS._32(l,103)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,103).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,103)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,103)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,104).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,104).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,104).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,109)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,109)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,109)._onInput()&&u}return u},null,null)),uS._17(103,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(104,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(106,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(108,16384,null,0,xS.s,[xS.r],null,null),uS._17(109,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[29,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Kv)),uS._17(113,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(116,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,cT.b,cT.a)),uS._17(117,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,36,{_control:0}),uS._38(335544320,37,{_placeholderChild:0}),uS._38(335544320,38,{_labelChild:0}),uS._38(603979776,39,{_errorChildren:1}),uS._38(603979776,40,{_hintChildren:1}),uS._38(603979776,41,{_prefixChildren:1}),uS._38(603979776,42,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(126,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["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!==uS._32(l,127)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,127).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,127)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,127)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,132)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,132)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,132)._onInput()&&u}return u},null,null)),uS._17(127,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(129,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(131,16384,null,0,xS.s,[xS.r],null,null),uS._17(132,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[36,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(136,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(137,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,43,{_buttons:1}),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(140,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(141,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(143,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,l.context.$implicit.value)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(145,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(146,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(150,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),uS._17(151,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._13(16777216,null,null,1,null,Hv)),uS._17(154,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n \n \n "])),(l()(),uS._40(-1,0,["\n\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Gv)),uS._17(159,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,19,0,"expense_item_id");l(n,22,0,"Buiness Expense");l(n,34,0,e.businessExpenses);l(n,52,0,"expense_value");l(n,55,0,"Amount (Rs)","number");l(n,59,0,null!=n.context.$implicit.get("expense_value").value);l(n,73,0,"fk_frequency_id");l(n,76,0,"Frequency");l(n,88,0,e.m_freqOfPurchase);l(n,106,0,"annual_expenses_value");l(n,109,0,"Annual Expenses","number","");l(n,113,0,null!=n.context.$implicit.get("annual_expenses_value").value);l(n,129,0,"comments");l(n,132,0,"Remarks");l(n,146,0,"optblue","md-trash");l(n,154,0,n.context.last);l(n,159,0,n.context.last&&null!=e.grandExpenseTotal)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,8,1,[uS._32(n,9)._control.errorState,uS._32(n,9)._control.errorState,uS._32(n,9)._canLabelFloat,uS._32(n,9)._shouldLabelFloat(),uS._32(n,9)._hideControlPlaceholder(),uS._32(n,9)._control.disabled,uS._32(n,9)._control.focused,"primary"==uS._32(n,9).color,"accent"==uS._32(n,9).color,"warn"==uS._32(n,9).color,uS._32(n,9)._shouldForward("untouched"),uS._32(n,9)._shouldForward("touched"),uS._32(n,9)._shouldForward("pristine"),uS._32(n,9)._shouldForward("dirty"),uS._32(n,9)._shouldForward("valid"),uS._32(n,9)._shouldForward("invalid"),uS._32(n,9)._shouldForward("pending")]);l(n,18,1,[uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22).id,uS._32(n,22).tabIndex,uS._32(n,22)._ariaLabel,uS._32(n,22).ariaLabelledby,uS._32(n,22).required.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).errorState,uS._32(n,22).panelOpen?uS._32(n,22)._optionIds:null,uS._32(n,22).multiple,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22)._getAriaActiveDescendant(),uS._32(n,22).disabled,uS._32(n,22).errorState,uS._32(n,22).required]);l(n,29,0,uS._32(n,30)._getTabIndex(),uS._32(n,30).selected,uS._32(n,30).multiple,uS._32(n,30).active,uS._32(n,30).id,uS._32(n,30).selected.toString(),uS._32(n,30).disabled.toString(),uS._32(n,30).disabled);l(n,38,1,[uS._32(n,39)._control.errorState,uS._32(n,39)._control.errorState,uS._32(n,39)._canLabelFloat,uS._32(n,39)._shouldLabelFloat(),uS._32(n,39)._hideControlPlaceholder(),uS._32(n,39)._control.disabled,uS._32(n,39)._control.focused,"primary"==uS._32(n,39).color,"accent"==uS._32(n,39).color,"warn"==uS._32(n,39).color,uS._32(n,39)._shouldForward("untouched"),uS._32(n,39)._shouldForward("touched"),uS._32(n,39)._shouldForward("pristine"),uS._32(n,39)._shouldForward("dirty"),uS._32(n,39)._shouldForward("valid"),uS._32(n,39)._shouldForward("invalid"),uS._32(n,39)._shouldForward("pending")]);l(n,48,1,[uS._32(n,54).ngClassUntouched,uS._32(n,54).ngClassTouched,uS._32(n,54).ngClassPristine,uS._32(n,54).ngClassDirty,uS._32(n,54).ngClassValid,uS._32(n,54).ngClassInvalid,uS._32(n,54).ngClassPending,uS._32(n,55)._isServer,uS._32(n,55).id,uS._32(n,55).placeholder,uS._32(n,55).disabled,uS._32(n,55).required,uS._32(n,55).readonly,uS._32(n,55)._ariaDescribedby||null,uS._32(n,55).errorState,uS._32(n,55).required.toString()]);l(n,62,1,[uS._32(n,63)._control.errorState,uS._32(n,63)._control.errorState,uS._32(n,63)._canLabelFloat,uS._32(n,63)._shouldLabelFloat(),uS._32(n,63)._hideControlPlaceholder(),uS._32(n,63)._control.disabled,uS._32(n,63)._control.focused,"primary"==uS._32(n,63).color,"accent"==uS._32(n,63).color,"warn"==uS._32(n,63).color,uS._32(n,63)._shouldForward("untouched"),uS._32(n,63)._shouldForward("touched"),uS._32(n,63)._shouldForward("pristine"),uS._32(n,63)._shouldForward("dirty"),uS._32(n,63)._shouldForward("valid"),uS._32(n,63)._shouldForward("invalid"),uS._32(n,63)._shouldForward("pending")]);l(n,72,1,[uS._32(n,75).ngClassUntouched,uS._32(n,75).ngClassTouched,uS._32(n,75).ngClassPristine,uS._32(n,75).ngClassDirty,uS._32(n,75).ngClassValid,uS._32(n,75).ngClassInvalid,uS._32(n,75).ngClassPending,uS._32(n,76).id,uS._32(n,76).tabIndex,uS._32(n,76)._ariaLabel,uS._32(n,76).ariaLabelledby,uS._32(n,76).required.toString(),uS._32(n,76).disabled.toString(),uS._32(n,76).errorState,uS._32(n,76).panelOpen?uS._32(n,76)._optionIds:null,uS._32(n,76).multiple,uS._32(n,76)._ariaDescribedby||null,uS._32(n,76)._getAriaActiveDescendant(),uS._32(n,76).disabled,uS._32(n,76).errorState,uS._32(n,76).required]);l(n,83,0,uS._32(n,84)._getTabIndex(),uS._32(n,84).selected,uS._32(n,84).multiple,uS._32(n,84).active,uS._32(n,84).id,uS._32(n,84).selected.toString(),uS._32(n,84).disabled.toString(),uS._32(n,84).disabled);l(n,92,1,[uS._32(n,93)._control.errorState,uS._32(n,93)._control.errorState,uS._32(n,93)._canLabelFloat,uS._32(n,93)._shouldLabelFloat(),uS._32(n,93)._hideControlPlaceholder(),uS._32(n,93)._control.disabled,uS._32(n,93)._control.focused,"primary"==uS._32(n,93).color,"accent"==uS._32(n,93).color,"warn"==uS._32(n,93).color,uS._32(n,93)._shouldForward("untouched"),uS._32(n,93)._shouldForward("touched"),uS._32(n,93)._shouldForward("pristine"),uS._32(n,93)._shouldForward("dirty"),uS._32(n,93)._shouldForward("valid"),uS._32(n,93)._shouldForward("invalid"),uS._32(n,93)._shouldForward("pending")]);l(n,102,1,[uS._32(n,108).ngClassUntouched,uS._32(n,108).ngClassTouched,uS._32(n,108).ngClassPristine,uS._32(n,108).ngClassDirty,uS._32(n,108).ngClassValid,uS._32(n,108).ngClassInvalid,uS._32(n,108).ngClassPending,uS._32(n,109)._isServer,uS._32(n,109).id,uS._32(n,109).placeholder,uS._32(n,109).disabled,uS._32(n,109).required,uS._32(n,109).readonly,uS._32(n,109)._ariaDescribedby||null,uS._32(n,109).errorState,uS._32(n,109).required.toString()]);l(n,116,1,[uS._32(n,117)._control.errorState,uS._32(n,117)._control.errorState,uS._32(n,117)._canLabelFloat,uS._32(n,117)._shouldLabelFloat(),uS._32(n,117)._hideControlPlaceholder(),uS._32(n,117)._control.disabled,uS._32(n,117)._control.focused,"primary"==uS._32(n,117).color,"accent"==uS._32(n,117).color,"warn"==uS._32(n,117).color,uS._32(n,117)._shouldForward("untouched"),uS._32(n,117)._shouldForward("touched"),uS._32(n,117)._shouldForward("pristine"),uS._32(n,117)._shouldForward("dirty"),uS._32(n,117)._shouldForward("valid"),uS._32(n,117)._shouldForward("invalid"),uS._32(n,117)._shouldForward("pending")]);l(n,126,1,[uS._32(n,131).ngClassUntouched,uS._32(n,131).ngClassTouched,uS._32(n,131).ngClassPristine,uS._32(n,131).ngClassDirty,uS._32(n,131).ngClassValid,uS._32(n,131).ngClassInvalid,uS._32(n,131).ngClassPending,uS._32(n,132)._isServer,uS._32(n,132).id,uS._32(n,132).placeholder,uS._32(n,132).disabled,uS._32(n,132).required,uS._32(n,132).readonly,uS._32(n,132)._ariaDescribedby||null,uS._32(n,132).errorState,uS._32(n,132).required.toString()]);l(n,145,0,uS._32(n,146)._hidden)})}function zv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveBusinessData(t.BuissnessForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Qv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Bv)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(21,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(22,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(24,0,null,1,19,"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!==uS._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,26).onReset()&&u}return u},null,null)),uS._17(25,16384,null,0,xS.B,[],null,null),uS._17(26,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(28,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(31,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(33,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Yv)),uS._17(36,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(46,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(47,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,zv)),uS._17(50,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-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,50,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,22).statusbarPadding,uS._32(n,22)._hasRefresher);l(n,24,0,uS._32(n,28).ngClassUntouched,uS._32(n,28).ngClassTouched,uS._32(n,28).ngClassPristine,uS._32(n,28).ngClassDirty,uS._32(n,28).ngClassValid,uS._32(n,28).ngClassInvalid,uS._32(n,28).ngClassPending);l(n,30,0,uS._32(n,33).ngClassUntouched,uS._32(n,33).ngClassTouched,uS._32(n,33).ngClassPristine,uS._32(n,33).ngClassDirty,uS._32(n,33).ngClassValid,uS._32(n,33).ngClassInvalid,uS._32(n,33).ngClassPending)})}function Jv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Zv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Xv(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ly(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function ny(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function ey(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Xv)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ly)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ny)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function uy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ey)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function ty(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function ay(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function iy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ty)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ay)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function oy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,iy)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function ry(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function _y(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zv)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,uy)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,oy)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,ry)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function dy(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,13,{_control:0}),uS._38(335544320,14,{_placeholderChild:0}),uS._38(335544320,15,{_labelChild:0}),uS._38(603979776,16,{_errorChildren:1}),uS._38(603979776,17,{_hintChildren:1}),uS._38(603979776,18,{_prefixChildren:1}),uS._38(603979776,19,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(16,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(17,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[13,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(28,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,38)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,45)._onInput()&&u}return u},null,null)),uS._17(38,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(39,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(42,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(44,16384,null,0,xS.s,[xS.r],null,null),uS._17(45,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[20,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,17).required?"":null,uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()]);l(n,27,1,[uS._32(n,28)._control.errorState,uS._32(n,28)._control.errorState,uS._32(n,28)._canLabelFloat,uS._32(n,28)._shouldLabelFloat(),uS._32(n,28)._hideControlPlaceholder(),uS._32(n,28)._control.disabled,uS._32(n,28)._control.focused,"primary"==uS._32(n,28).color,"accent"==uS._32(n,28).color,"warn"==uS._32(n,28).color,uS._32(n,28)._shouldForward("untouched"),uS._32(n,28)._shouldForward("touched"),uS._32(n,28)._shouldForward("pristine"),uS._32(n,28)._shouldForward("dirty"),uS._32(n,28)._shouldForward("valid"),uS._32(n,28)._shouldForward("invalid"),uS._32(n,28)._shouldForward("pending")]);l(n,37,1,[uS._32(n,39).required?"":null,uS._32(n,44).ngClassUntouched,uS._32(n,44).ngClassTouched,uS._32(n,44).ngClassPristine,uS._32(n,44).ngClassDirty,uS._32(n,44).ngClassValid,uS._32(n,44).ngClassInvalid,uS._32(n,44).ngClassPending,uS._32(n,45)._isServer,uS._32(n,45).id,uS._32(n,45).placeholder,uS._32(n,45).disabled,uS._32(n,45).required,uS._32(n,45).readonly,uS._32(n,45)._ariaDescribedby||null,uS._32(n,45).errorState,uS._32(n,45).required.toString()])})}function sy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dy)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function cy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(9,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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,22,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,23)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedLoanChanges(e)&&u}return u},LO.b,LO.a)),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,10,{options:1}),uS._38(603979776,11,{optionGroups:1}),uS._38(335544320,12,{customTrigger:0}),uS._37(2048,[[3,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(30,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!==uS._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,31)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(31,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(34,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!==uS._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,35)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(35,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,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!==uS._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,39)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(39,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,sy)),uS._17(45,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(48,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(49,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(51,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,cT.b,cT.a)),uS._17(52,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(62,16384,[[29,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(65,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!==uS._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,66)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,71)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,71)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,71)._onInput()&&u}return u},null,null)),uS._17(66,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(68,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(70,16384,null,0,xS.s,[xS.r],null,null),uS._17(71,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[27,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(76,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(77,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.representativeForm);l(n,20,0,"lender_representative_accompany");l(n,23,0,"Did the lender representative accompany the PD officer for PD?");l(n,35,0,"Yes");l(n,39,0,"No");l(n,45,0,"Yes"==e.representativeForm.controls.lender_representative_accompany.value);l(n,68,0,"representative_remarks");l(n,71,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23).id,uS._32(n,23).tabIndex,uS._32(n,23)._ariaLabel,uS._32(n,23).ariaLabelledby,uS._32(n,23).required.toString(),uS._32(n,23).disabled.toString(),uS._32(n,23).errorState,uS._32(n,23).panelOpen?uS._32(n,23)._optionIds:null,uS._32(n,23).multiple,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23)._getAriaActiveDescendant(),uS._32(n,23).disabled,uS._32(n,23).errorState,uS._32(n,23).required]);l(n,30,0,uS._32(n,31)._getTabIndex(),uS._32(n,31).selected,uS._32(n,31).multiple,uS._32(n,31).active,uS._32(n,31).id,uS._32(n,31).selected.toString(),uS._32(n,31).disabled.toString(),uS._32(n,31).disabled);l(n,34,0,uS._32(n,35)._getTabIndex(),uS._32(n,35).selected,uS._32(n,35).multiple,uS._32(n,35).active,uS._32(n,35).id,uS._32(n,35).selected.toString(),uS._32(n,35).disabled.toString(),uS._32(n,35).disabled);l(n,38,0,uS._32(n,39)._getTabIndex(),uS._32(n,39).selected,uS._32(n,39).multiple,uS._32(n,39).active,uS._32(n,39).id,uS._32(n,39).selected.toString(),uS._32(n,39).disabled.toString(),uS._32(n,39).disabled);l(n,51,1,[uS._32(n,52)._control.errorState,uS._32(n,52)._control.errorState,uS._32(n,52)._canLabelFloat,uS._32(n,52)._shouldLabelFloat(),uS._32(n,52)._hideControlPlaceholder(),uS._32(n,52)._control.disabled,uS._32(n,52)._control.focused,"primary"==uS._32(n,52).color,"accent"==uS._32(n,52).color,"warn"==uS._32(n,52).color,uS._32(n,52)._shouldForward("untouched"),uS._32(n,52)._shouldForward("touched"),uS._32(n,52)._shouldForward("pristine"),uS._32(n,52)._shouldForward("dirty"),uS._32(n,52)._shouldForward("valid"),uS._32(n,52)._shouldForward("invalid"),uS._32(n,52)._shouldForward("pending")]);l(n,65,1,[uS._32(n,70).ngClassUntouched,uS._32(n,70).ngClassTouched,uS._32(n,70).ngClassPristine,uS._32(n,70).ngClassDirty,uS._32(n,70).ngClassValid,uS._32(n,70).ngClassInvalid,uS._32(n,70).ngClassPending,uS._32(n,71)._isServer,uS._32(n,71).id,uS._32(n,71).placeholder,uS._32(n,71).disabled,uS._32(n,71).required,uS._32(n,71).readonly,uS._32(n,71)._ariaDescribedby||null,uS._32(n,71).errorState,uS._32(n,71).required.toString()])})}function my(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.sumbitData(t.representativeForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function py(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Jv)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(20,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(21,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(23,16384,null,0,xS.s,[xS.r],null,null),uS._17(24,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,28).onClick()&&u}return u},jT.b,jT.a)),uS._17(28,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,32).onClick()&&u}return u},jT.b,jT.a)),uS._17(32,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(37,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(38,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(40,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(41,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_y)),uS._17(44,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,cy)),uS._17(47,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(50,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(51,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,34,{_mainButton:0}),uS._38(603979776,35,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(55,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(56,49152,[[34,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(57,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(58,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(61,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(62,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,my)),uS._17(65,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\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,21,0,e.tab);l(n,24,0,"optblue");l(n,28,0,"0");l(n,32,0,"1");l(n,41,0,e.tab);l(n,44,0,"1");l(n,47,0,"0");l(n,56,0,"optblue");l(n,58,0,"md-camera");l(n,65,0,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,20,0,uS._32(n,23).ngClassUntouched,uS._32(n,23).ngClassTouched,uS._32(n,23).ngClassPristine,uS._32(n,23).ngClassDirty,uS._32(n,23).ngClassValid,uS._32(n,23).ngClassInvalid,uS._32(n,23).ngClassPending,uS._32(n,24)._disabled);l(n,27,0,uS._32(n,28)._disabled,uS._32(n,28).isActive,uS._32(n,28).isActive);l(n,31,0,uS._32(n,32)._disabled,uS._32(n,32).isActive,uS._32(n,32).isActive);l(n,37,0,uS._32(n,38).statusbarPadding,uS._32(n,38)._hasRefresher);l(n,57,0,uS._32(n,58)._hidden)})}function fy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function hy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function gy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function by(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function vy(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function yy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gy)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,by)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vy)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function Cy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yy)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function wy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Fy(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function xy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wy)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Fy)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function ky(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xy)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Sy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Iy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hy)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Cy)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,ky)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Sy)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function qy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"ion-icon",[["name","school"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(5,null,["\n ",""]))],function(l,n){l(n,3,0,"school")},function(l,n){l(n,2,0,uS._32(n,3)._hidden);l(n,5,0,n.parent.context.$implicit.get("qualification_name").value)})}function Py(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"ion-icon",[["name","copy"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(4,null,["  ","\n "])),uS._36(5,1)],function(l,n){l(n,3,0,"copy")},function(l,n){l(n,2,0,uS._32(n,3)._hidden);l(n,4,0,uS._41(n,4,0,l(n,5,0,uS._32(n.parent.parent.parent,0),n.parent.context.$implicit.get("course_name").value)))})}function Dy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,86,"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,EL.b,EL.a)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),uS._17(4,49152,null,2,jL.a,[[2,XD.a],MD.a,uS.O,uS.p,uS.H],null,null),uS._38(335544320,5,{item:0}),uS._38(603979776,6,{_itemOptions:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,0,30,"ion-item",[["class","item item-block"]],null,null,null,OD.b,OD.a)),uS._17(9,1097728,[[5,4]],3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,7,{contentLabel:0}),uS._38(603979776,8,{_buttons:1}),uS._38(603979776,9,{_icons:1}),uS._17(13,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(15,0,null,1,14,"ion-label",[],null,null,null,null,null)),uS._17(16,16384,[[7,4]],0,SO.a,[VD.a,uS.p,uS.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,2,"h2",[["style","font-size: 18px !important;"]],null,null,null,null,null)),(l()(),uS._40(19,null,["",""])),uS._36(20,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,3,"p",[],null,null,null,null,null)),(l()(),uS._40(23,null,["Age : ","  \n "])),(l()(),uS._13(16777216,null,null,1,null,qy)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Py)),uS._17(28,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(32,0,null,4,5,"button",[["align","end"],["clear",""],["ion-button",""],["item-end",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editIndividuals(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(33,1097728,[[8,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{small:[0,"small"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(35,0,null,0,1,"ion-icon",[["name","md-create"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(36,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(40,0,null,1,45,"ion-item-options",[["side","right"]],null,null,null,null,null)),uS._17(41,16384,[[6,4]],0,$L.a,[uS.p,MD.a],{side:[0,"side"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(43,0,null,null,34,"ion-list",[],null,null,null,null,null)),uS._17(44,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(46,0,null,null,30,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(47,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(49,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),uS._17(50,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(52,0,null,null,1,"p",[["style","font-size: 11px !important;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Person"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(55,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!==uS._32(l,56)._click(e)&&u}return u},BL.b,BL.a)),uS._17(56,1228800,null,0,RL.a,[VD.a,AD.a,[2,LD.a],uS.p,uS.O],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[RL.a]),uS._17(58,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(60,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(63,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),uS._17(64,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(66,0,null,null,1,"p",[["style","font-size: 12px !important;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Applicant"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(69,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!==uS._32(l,70)._click(e)&&u}return u},BL.b,BL.a)),uS._17(70,1228800,null,0,RL.a,[VD.a,AD.a,[2,LD.a],uS.p,uS.O],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[RL.a]),uS._17(72,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(74,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(79,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},AT.b,AT.a)),uS._17(80,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(82,0,null,0,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(83,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,""!=n.context.$implicit.get("qualification_name").value);l(n,28,0,""!=n.context.$implicit.get("course_name").value);l(n,33,0,"","");l(n,36,0,"md-create");l(n,41,0,"right");l(n,56,0,"dark");l(n,58,0,"is_person_met");l(n,70,0,"dark");l(n,72,0,"is_applicant");l(n,80,0,"danger");l(n,83,0,"trash")},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,19,0,uS._41(n,19,0,l(n,20,0,uS._32(n.parent.parent,0),n.context.$implicit.get("applicant_name").value)));l(n,23,0,n.context.$implicit.get("age").value);l(n,35,0,uS._32(n,36)._hidden);l(n,55,0,uS._32(n,56)._disabled,uS._32(n,60).ngClassUntouched,uS._32(n,60).ngClassTouched,uS._32(n,60).ngClassPristine,uS._32(n,60).ngClassDirty,uS._32(n,60).ngClassValid,uS._32(n,60).ngClassInvalid,uS._32(n,60).ngClassPending);l(n,69,0,uS._32(n,70)._disabled,uS._32(n,74).ngClassUntouched,uS._32(n,74).ngClassTouched,uS._32(n,74).ngClassPristine,uS._32(n,74).ngClassDirty,uS._32(n,74).ngClassValid,uS._32(n,74).ngClassInvalid,uS._32(n,74).ngClassPending);l(n,82,0,uS._32(n,83)._hidden)})}function Ty(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","person-add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"person-add")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function Oy(l){return uS._42(0,[(l()(),uS._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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),uS._40(-1,0,["Close\n   "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,4)._hidden)})}function Ly(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(1,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Add Name of Person(s) Met and Individual Loan Applicant(s)"]))],null,null)}function Ay(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(1,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Update Name of Person(s) Met and Individual Loan Applicant(s)"]))],null,null)}function Vy(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ny(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[23,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Name\n is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Wy(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[30,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Age\n is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Ey(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[41,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.qualification_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.qualification_name)})}function jy(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[37,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Qualification\n is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function $y(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,44,{_control:0}),uS._38(335544320,45,{_placeholderChild:0}),uS._38(335544320,46,{_labelChild:0}),uS._38(603979776,47,{_errorChildren:1}),uS._38(603979776,48,{_hintChildren:1}),uS._38(603979776,49,{_prefixChildren:1}),uS._38(603979776,50,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[44,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function By(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$y)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"4"!=n.parent.context.$implicit.get("qualification").value&&"6"!=n.parent.context.$implicit.get("qualification").value)},null)}function Ry(l){return uS._42(0,[(l()(),uS._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.addParticular(1,l.parent.context.$implicit)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["Add"]))],function(l,n){l(n,1,0,"optblue")},null)}function Uy(l){return uS._42(0,[(l()(),uS._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.update(1,l.parent.context.$implicit)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["Update"]))],function(l,n){l(n,1,0,"optblue")},null)}function My(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,150,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,10,{_control:0}),uS._38(335544320,11,{_placeholderChild:0}),uS._38(335544320,12,{_labelChild:0}),uS._38(603979776,13,{_errorChildren:1}),uS._38(603979776,14,{_hintChildren:1}),uS._38(603979776,15,{_prefixChildren:1}),uS._38(603979776,16,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,17,"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!==uS._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,19)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(16,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(18,16384,null,0,xS.s,[xS.r],null,null),uS._17(19,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,17,{options:1}),uS._38(603979776,18,{optionGroups:1}),uS._38(335544320,19,{customTrigger:0}),uS._37(2048,[[10,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(26,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!==uS._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,27)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(27,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Vy)),uS._17(31,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(35,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,cT.b,cT.a)),uS._17(36,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,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!==uS._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,51)._onInput()&&u}return u},null,null)),uS._17(46,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(48,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(50,16384,null,0,xS.s,[xS.r],null,null),uS._17(51,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[20,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Ny)),uS._17(55,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,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,cT.b,cT.a)),uS._17(59,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(68,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!==uS._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,69)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,70).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,70).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,70).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,75)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,75)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,75)._onInput()&&u}return u},null,null)),uS._17(69,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(70,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(72,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(74,16384,null,0,xS.s,[xS.r],null,null),uS._17(75,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[27,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Wy)),uS._17(79,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(82,0,null,null,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,cT.b,cT.a)),uS._17(83,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,34,{_control:0}),uS._38(335544320,35,{_placeholderChild:0}),uS._38(335544320,36,{_labelChild:0}),uS._38(603979776,37,{_errorChildren:1}),uS._38(603979776,38,{_hintChildren:1}),uS._38(603979776,39,{_prefixChildren:1}),uS._38(603979776,40,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(92,0,null,1,17,"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!==uS._32(l,96)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,96)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,96)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(93,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(95,16384,null,0,xS.s,[xS.r],null,null),uS._17(96,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,41,{options:1}),uS._38(603979776,42,{optionGroups:1}),uS._38(335544320,43,{customTrigger:0}),uS._37(2048,[[34,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(103,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!==uS._32(l,104)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,104)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(104,8437760,[[41,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ey)),uS._17(108,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,jy)),uS._17(112,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,By)),uS._17(116,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(118,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,oO.b,oO.a)),uS._17(119,4374528,null,0,rO.b,[uS.p,uS.i,bT.j,[8,null],[2,rO.a]],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[rO.b]),uS._17(121,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(123,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,0,["Is Person Met"])),(l()(),uS._18(125,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(127,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(129,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,oO.b,oO.a)),uS._17(130,4374528,null,0,rO.b,[uS.p,uS.i,bT.j,[8,null],[2,rO.a]],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[rO.b]),uS._17(132,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(134,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,0,["Is Applicant"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(137,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(138,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(140,0,null,null,8,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),uS._17(141,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ry)),uS._17(144,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Uy)),uS._17(147,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,16,0,"applicant_title_name");l(n,19,0,"Title");l(n,31,0,e.titleList);l(n,48,0,"applicant_name");l(n,51,0,"Name of the Person","text");l(n,55,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,72,0,"age");l(n,75,0,"Person Age","number");l(n,79,0,null==n.context.$implicit.controls.age.errors?null:n.context.$implicit.controls.age.errors.required);l(n,93,0,"qualification");l(n,96,0,"Qualification");l(n,108,0,e.qualificationList);l(n,112,0,null==n.context.$implicit.controls.qualification.errors?null:n.context.$implicit.controls.qualification.errors.required);l(n,116,0,""!==n.context.$implicit.get("qualification").value);l(n,119,0,"primary");l(n,121,0,"is_person_met");l(n,130,0,"primary");l(n,132,0,"is_applicant");l(n,144,0,e.addIndi);l(n,147,0,!e.addIndi)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,18).ngClassUntouched,uS._32(n,18).ngClassTouched,uS._32(n,18).ngClassPristine,uS._32(n,18).ngClassDirty,uS._32(n,18).ngClassValid,uS._32(n,18).ngClassInvalid,uS._32(n,18).ngClassPending,uS._32(n,19).id,uS._32(n,19).tabIndex,uS._32(n,19)._ariaLabel,uS._32(n,19).ariaLabelledby,uS._32(n,19).required.toString(),uS._32(n,19).disabled.toString(),uS._32(n,19).errorState,uS._32(n,19).panelOpen?uS._32(n,19)._optionIds:null,uS._32(n,19).multiple,uS._32(n,19)._ariaDescribedby||null,uS._32(n,19)._getAriaActiveDescendant(),uS._32(n,19).disabled,uS._32(n,19).errorState,uS._32(n,19).required]);l(n,26,0,uS._32(n,27)._getTabIndex(),uS._32(n,27).selected,uS._32(n,27).multiple,uS._32(n,27).active,uS._32(n,27).id,uS._32(n,27).selected.toString(),uS._32(n,27).disabled.toString(),uS._32(n,27).disabled);l(n,35,1,[uS._32(n,36)._control.errorState,uS._32(n,36)._control.errorState,uS._32(n,36)._canLabelFloat,uS._32(n,36)._shouldLabelFloat(),uS._32(n,36)._hideControlPlaceholder(),uS._32(n,36)._control.disabled,uS._32(n,36)._control.focused,"primary"==uS._32(n,36).color,"accent"==uS._32(n,36).color,"warn"==uS._32(n,36).color,uS._32(n,36)._shouldForward("untouched"),uS._32(n,36)._shouldForward("touched"),uS._32(n,36)._shouldForward("pristine"),uS._32(n,36)._shouldForward("dirty"),uS._32(n,36)._shouldForward("valid"),uS._32(n,36)._shouldForward("invalid"),uS._32(n,36)._shouldForward("pending")]);l(n,45,1,[uS._32(n,50).ngClassUntouched,uS._32(n,50).ngClassTouched,uS._32(n,50).ngClassPristine,uS._32(n,50).ngClassDirty,uS._32(n,50).ngClassValid,uS._32(n,50).ngClassInvalid,uS._32(n,50).ngClassPending,uS._32(n,51)._isServer,uS._32(n,51).id,uS._32(n,51).placeholder,uS._32(n,51).disabled,uS._32(n,51).required,uS._32(n,51).readonly,uS._32(n,51)._ariaDescribedby||null,uS._32(n,51).errorState,uS._32(n,51).required.toString()]);l(n,58,1,[uS._32(n,59)._control.errorState,uS._32(n,59)._control.errorState,uS._32(n,59)._canLabelFloat,uS._32(n,59)._shouldLabelFloat(),uS._32(n,59)._hideControlPlaceholder(),uS._32(n,59)._control.disabled,uS._32(n,59)._control.focused,"primary"==uS._32(n,59).color,"accent"==uS._32(n,59).color,"warn"==uS._32(n,59).color,uS._32(n,59)._shouldForward("untouched"),uS._32(n,59)._shouldForward("touched"),uS._32(n,59)._shouldForward("pristine"),uS._32(n,59)._shouldForward("dirty"),uS._32(n,59)._shouldForward("valid"),uS._32(n,59)._shouldForward("invalid"),uS._32(n,59)._shouldForward("pending")]);l(n,68,1,[uS._32(n,74).ngClassUntouched,uS._32(n,74).ngClassTouched,uS._32(n,74).ngClassPristine,uS._32(n,74).ngClassDirty,uS._32(n,74).ngClassValid,uS._32(n,74).ngClassInvalid,uS._32(n,74).ngClassPending,uS._32(n,75)._isServer,uS._32(n,75).id,uS._32(n,75).placeholder,uS._32(n,75).disabled,uS._32(n,75).required,uS._32(n,75).readonly,uS._32(n,75)._ariaDescribedby||null,uS._32(n,75).errorState,uS._32(n,75).required.toString()]);l(n,82,1,[uS._32(n,83)._control.errorState,uS._32(n,83)._control.errorState,uS._32(n,83)._canLabelFloat,uS._32(n,83)._shouldLabelFloat(),uS._32(n,83)._hideControlPlaceholder(),uS._32(n,83)._control.disabled,uS._32(n,83)._control.focused,"primary"==uS._32(n,83).color,"accent"==uS._32(n,83).color,"warn"==uS._32(n,83).color,uS._32(n,83)._shouldForward("untouched"),uS._32(n,83)._shouldForward("touched"),uS._32(n,83)._shouldForward("pristine"),uS._32(n,83)._shouldForward("dirty"),uS._32(n,83)._shouldForward("valid"),uS._32(n,83)._shouldForward("invalid"),uS._32(n,83)._shouldForward("pending")]);l(n,92,1,[uS._32(n,95).ngClassUntouched,uS._32(n,95).ngClassTouched,uS._32(n,95).ngClassPristine,uS._32(n,95).ngClassDirty,uS._32(n,95).ngClassValid,uS._32(n,95).ngClassInvalid,uS._32(n,95).ngClassPending,uS._32(n,96).id,uS._32(n,96).tabIndex,uS._32(n,96)._ariaLabel,uS._32(n,96).ariaLabelledby,uS._32(n,96).required.toString(),uS._32(n,96).disabled.toString(),uS._32(n,96).errorState,uS._32(n,96).panelOpen?uS._32(n,96)._optionIds:null,uS._32(n,96).multiple,uS._32(n,96)._ariaDescribedby||null,uS._32(n,96)._getAriaActiveDescendant(),uS._32(n,96).disabled,uS._32(n,96).errorState,uS._32(n,96).required]);l(n,103,0,uS._32(n,104)._getTabIndex(),uS._32(n,104).selected,uS._32(n,104).multiple,uS._32(n,104).active,uS._32(n,104).id,uS._32(n,104).selected.toString(),uS._32(n,104).disabled.toString(),uS._32(n,104).disabled);l(n,118,1,[uS._32(n,119).id,uS._32(n,119).indeterminate,uS._32(n,119).checked,uS._32(n,119).disabled,"before"==uS._32(n,119).labelPosition,uS._32(n,123).ngClassUntouched,uS._32(n,123).ngClassTouched,uS._32(n,123).ngClassPristine,uS._32(n,123).ngClassDirty,uS._32(n,123).ngClassValid,uS._32(n,123).ngClassInvalid,uS._32(n,123).ngClassPending]);l(n,129,1,[uS._32(n,130).id,uS._32(n,130).indeterminate,uS._32(n,130).checked,uS._32(n,130).disabled,"before"==uS._32(n,130).labelPosition,uS._32(n,134).ngClassUntouched,uS._32(n,134).ngClassTouched,uS._32(n,134).ngClassPristine,uS._32(n,134).ngClassDirty,uS._32(n,134).ngClassValid,uS._32(n,134).ngClassInvalid,uS._32(n,134).ngClassPending])})}function Ky(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,8,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(3,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ly)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ay)),uS._17(9,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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)),uS._17(14,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(16,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,My)),uS._17(19,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,e.addIndi);l(n,9,0,!e.addIndi);l(n,14,0,"individuals");l(n,19,0,e.generalForm.controls.individuals.controls)},function(l,n){l(n,13,0,uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending)})}function Hy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,57,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Number of Years for which rental income is being received"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(10,0,null,0,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,cT.b,cT.a)),uS._17(11,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,51,{_control:0}),uS._38(335544320,52,{_placeholderChild:0}),uS._38(335544320,53,{_labelChild:0}),uS._38(603979776,54,{_errorChildren:1}),uS._38(603979776,55,{_hintChildren:1}),uS._38(603979776,56,{_prefixChildren:1}),uS._38(603979776,57,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(20,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_income_rcv_in_years"],["matInput",""],["placeholder","Year"],["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!==uS._32(l,21)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,21)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,21)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,22).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,22).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,22).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,29)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,29)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,29)._onInput()&&u}return u},null,null)),uS._17(21,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(22,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(23,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(26,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(28,16384,null,0,xS.s,[xS.r],null,null),uS._17(29,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[51,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),uS._17(33,16384,[[54,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Please Enter Correct Year"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(37,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,cT.b,cT.a)),uS._17(38,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,58,{_control:0}),uS._38(335544320,59,{_placeholderChild:0}),uS._38(335544320,60,{_labelChild:0}),uS._38(603979776,61,{_errorChildren:1}),uS._38(603979776,62,{_hintChildren:1}),uS._38(603979776,63,{_prefixChildren:1}),uS._38(603979776,64,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(47,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_income_rcv_in_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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,48)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,49).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,49).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,49).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,54)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYearforBusiness(e.target.value,"",2)&&u}return u},null,null)),uS._17(48,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(49,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(51,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(53,16384,null,0,xS.s,[xS.r],null,null),uS._17(54,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[58,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,23,0,"");l(n,26,0,"rental_income_rcv_in_years");l(n,29,0,"Year","","number");l(n,51,0,"rental_income_rcv_in_month");l(n,54,0,"Month","number")},function(l,n){l(n,10,1,[uS._32(n,11)._control.errorState,uS._32(n,11)._control.errorState,uS._32(n,11)._canLabelFloat,uS._32(n,11)._shouldLabelFloat(),uS._32(n,11)._hideControlPlaceholder(),uS._32(n,11)._control.disabled,uS._32(n,11)._control.focused,"primary"==uS._32(n,11).color,"accent"==uS._32(n,11).color,"warn"==uS._32(n,11).color,uS._32(n,11)._shouldForward("untouched"),uS._32(n,11)._shouldForward("touched"),uS._32(n,11)._shouldForward("pristine"),uS._32(n,11)._shouldForward("dirty"),uS._32(n,11)._shouldForward("valid"),uS._32(n,11)._shouldForward("invalid"),uS._32(n,11)._shouldForward("pending")]);l(n,20,1,[uS._32(n,23).required?"":null,uS._32(n,28).ngClassUntouched,uS._32(n,28).ngClassTouched,uS._32(n,28).ngClassPristine,uS._32(n,28).ngClassDirty,uS._32(n,28).ngClassValid,uS._32(n,28).ngClassInvalid,uS._32(n,28).ngClassPending,uS._32(n,29)._isServer,uS._32(n,29).id,uS._32(n,29).placeholder,uS._32(n,29).disabled,uS._32(n,29).required,uS._32(n,29).readonly,uS._32(n,29)._ariaDescribedby||null,uS._32(n,29).errorState,uS._32(n,29).required.toString()]);l(n,32,0,uS._32(n,33).id);l(n,37,1,[uS._32(n,38)._control.errorState,uS._32(n,38)._control.errorState,uS._32(n,38)._canLabelFloat,uS._32(n,38)._shouldLabelFloat(),uS._32(n,38)._hideControlPlaceholder(),uS._32(n,38)._control.disabled,uS._32(n,38)._control.focused,"primary"==uS._32(n,38).color,"accent"==uS._32(n,38).color,"warn"==uS._32(n,38).color,uS._32(n,38)._shouldForward("untouched"),uS._32(n,38)._shouldForward("touched"),uS._32(n,38)._shouldForward("pristine"),uS._32(n,38)._shouldForward("dirty"),uS._32(n,38)._shouldForward("valid"),uS._32(n,38)._shouldForward("invalid"),uS._32(n,38)._shouldForward("pending")]);l(n,47,1,[uS._32(n,53).ngClassUntouched,uS._32(n,53).ngClassTouched,uS._32(n,53).ngClassPristine,uS._32(n,53).ngClassDirty,uS._32(n,53).ngClassValid,uS._32(n,53).ngClassInvalid,uS._32(n,53).ngClassPending,uS._32(n,54)._isServer,uS._32(n,54).id,uS._32(n,54).placeholder,uS._32(n,54).disabled,uS._32(n,54).required,uS._32(n,54).readonly,uS._32(n,54)._ariaDescribedby||null,uS._32(n,54).errorState,uS._32(n,54).required.toString()])})}function Gy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_entity_type_name").value)})}function Yy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_entity_type_other").value+"-Others")})}function zy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["","\n Years"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_years").value)})}function Qy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["","\n Months"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_month").value)})}function Jy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,85,"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,EL.b,EL.a)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),uS._17(4,49152,null,2,jL.a,[[2,XD.a],MD.a,uS.O,uS.p,uS.H],null,null),uS._38(335544320,65,{item:0}),uS._38(603979776,66,{_itemOptions:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,0,43,"ion-item",[["class","item item-block"]],null,null,null,OD.b,OD.a)),uS._17(9,1097728,[[65,4]],3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,67,{contentLabel:0}),uS._38(603979776,68,{_buttons:1}),uS._38(603979776,69,{_icons:1}),uS._17(13,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(16,0,null,1,25,"ion-label",[],null,null,null,null,null)),uS._17(17,16384,[[67,4]],0,SO.a,[VD.a,uS.p,uS.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,2,"h2",[["h2",""],["style","font-size: 18px !important;"]],null,null,null,null,null)),(l()(),uS._40(20,null,["",""])),uS._36(21,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,5,"p",[["style","font-size: 14px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,[" "])),(l()(),uS._13(16777216,null,null,1,null,Gy)),uS._17(26,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._13(16777216,null,null,1,null,Yy)),uS._17(28,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(30,0,null,null,10,"p",[["style","font-size: 14px;"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,1,"ion-icon",[["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(33,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["  "])),(l()(),uS._13(16777216,null,null,1,null,zy)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" "])),(l()(),uS._13(16777216,null,null,1,null,Qy)),uS._17(39,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(45,0,null,4,5,"button",[["align","end"],["clear",""],["ion-button",""],["item-end",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editCompanies(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(46,1097728,[[68,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{small:[0,"small"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(48,0,null,0,1,"ion-icon",[["name","md-create"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(49,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(53,0,null,1,31,"ion-item-options",[["slide","right"]],null,null,null,null,null)),uS._17(54,16384,[[66,4]],0,$L.a,[uS.p,MD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(56,0,null,null,20,"ion-list",[],null,null,null,null,null)),uS._17(57,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(59,0,null,null,16,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(60,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(62,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),uS._17(63,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(65,0,null,null,1,"p",[["style","font-size: 11px !important;text-align: center"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Company Applicant"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(68,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_company_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!==uS._32(l,69)._click(e)&&u}return u},BL.b,BL.a)),uS._17(69,1228800,null,0,RL.a,[VD.a,AD.a,[2,LD.a],uS.p,uS.O],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[RL.a]),uS._17(71,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(73,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(78,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,2)&&u}return u},AT.b,AT.a)),uS._17(79,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(81,0,null,0,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(82,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,26,0,1!=n.context.$implicit.get("business_entity_type").value);l(n,28,0,1==n.context.$implicit.get("business_entity_type").value);l(n,33,0,"md-calendar");l(n,36,0,""!=n.context.$implicit.get("business_years").value&&0!=n.context.$implicit.get("business_years").value);l(n,39,0,""!=n.context.$implicit.get("business_month").value&&0!=n.context.$implicit.get("business_month").value);l(n,46,0,"","");l(n,49,0,"md-create");l(n,69,0,"dark");l(n,71,0,"is_company_applicant");l(n,79,0,"danger");l(n,82,0,"trash")},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,20,0,uS._41(n,20,0,l(n,21,0,uS._32(n.parent.parent.parent,0),n.context.$implicit.get("company_name").value)));l(n,32,0,uS._32(n,33)._hidden);l(n,48,0,uS._32(n,49)._hidden);l(n,68,0,uS._32(n,69)._disabled,uS._32(n,73).ngClassUntouched,uS._32(n,73).ngClassTouched,uS._32(n,73).ngClassPristine,uS._32(n,73).ngClassDirty,uS._32(n,73).ngClassValid,uS._32(n,73).ngClassInvalid,uS._32(n,73).ngClassPending);l(n,81,0,uS._32(n,82)._hidden)})}function Zy(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"add")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function Xy(l){return uS._42(0,[(l()(),uS._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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),uS._40(-1,0,["Close\n   "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,4)._hidden)})}function lC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(1,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,[" Add Company/Firm"]))],null,null)}function nC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(1,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["Update Company/Firm"]))],null,null)}function eC(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[73,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Company\n Name is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function uC(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[84,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(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,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.business_entity_type_name)})}function tC(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[80,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Business\n Entity Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function aC(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,87,{_control:0}),uS._38(335544320,88,{_placeholderChild:0}),uS._38(335544320,89,{_labelChild:0}),uS._38(603979776,90,{_errorChildren:1}),uS._38(603979776,91,{_hintChildren:1}),uS._38(603979776,92,{_prefixChildren:1}),uS._38(603979776,93,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[87,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function iC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.addParticular(2,t.indi)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["Add"]))],function(l,n){l(n,1,0,"optblue")},null)}function oC(l){return uS._42(0,[(l()(),uS._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.update(2)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["Update"]))],function(l,n){l(n,1,0,"optblue")},null)}function rC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,164,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,70,{_control:0}),uS._38(335544320,71,{_placeholderChild:0}),uS._38(335544320,72,{_labelChild:0}),uS._38(603979776,73,{_errorChildren:1}),uS._38(603979776,74,{_hintChildren:1}),uS._38(603979776,75,{_prefixChildren:1}),uS._38(603979776,76,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,3,2,"mat-label",[["color","primary"],["stacked",""]],null,null,null,null,null)),uS._17(16,16384,[[72,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Company / Firm"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,27)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(21,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(24,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(26,16384,null,0,xS.s,[xS.r],null,null),uS._17(27,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{required:[0,"required"],type:[1,"type"]},null),uS._37(2048,[[70,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,eC)),uS._17(31,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,oO.b,oO.a)),uS._17(35,4374528,null,0,rO.b,[uS.p,uS.i,bT.j,[8,null],[2,rO.a]],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[rO.b]),uS._17(37,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(39,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,0,["Is\n Applicant"])),(l()(),uS._18(41,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._18(43,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(45,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,cT.b,cT.a)),uS._17(46,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,77,{_control:0}),uS._38(335544320,78,{_placeholderChild:0}),uS._38(335544320,79,{_labelChild:0}),uS._38(603979776,80,{_errorChildren:1}),uS._38(603979776,81,{_hintChildren:1}),uS._38(603979776,82,{_prefixChildren:1}),uS._38(603979776,83,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(55,0,null,1,19,"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!==uS._32(l,61)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,61)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,61)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(56,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(58,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(60,16384,null,0,xS.s,[xS.r],null,null),uS._17(61,2080768,[[2,4],["focusBusiness",4]],3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,84,{options:1}),uS._38(603979776,85,{optionGroups:1}),uS._38(335544320,86,{customTrigger:0}),uS._37(2048,[[77,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(68,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!==uS._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,69)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(69,8437760,[[84,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,uC)),uS._17(73,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,tC)),uS._17(77,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,aC)),uS._17(81,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(83,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Number of Years For Which The Business Has Been Running"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(86,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,cT.b,cT.a)),uS._17(87,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,94,{_control:0}),uS._38(335544320,95,{_placeholderChild:0}),uS._38(335544320,96,{_labelChild:0}),uS._38(603979776,97,{_errorChildren:1}),uS._38(603979776,98,{_hintChildren:1}),uS._38(603979776,99,{_prefixChildren:1}),uS._38(603979776,100,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(96,0,null,1,8,"input",[["autocomplete","off"],["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!==uS._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,97)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,98).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,98).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,98).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,103)._onInput()&&u}return u},null,null)),uS._17(97,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(98,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(100,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(102,16384,null,0,xS.s,[xS.r],null,null),uS._17(103,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[94,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(107,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,cT.b,cT.a)),uS._17(108,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,101,{_control:0}),uS._38(335544320,102,{_placeholderChild:0}),uS._38(335544320,103,{_labelChild:0}),uS._38(603979776,104,{_errorChildren:1}),uS._38(603979776,105,{_hintChildren:1}),uS._38(603979776,106,{_prefixChildren:1}),uS._38(603979776,107,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(117,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,118)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,118).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,118)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,118)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,119).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,119).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,119).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,124)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,124)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,124)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYearforBusiness(e.target.value,l.context.index,1)&&u}return u},null,null)),uS._17(118,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(119,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(121,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(123,16384,null,0,xS.s,[xS.r],null,null),uS._17(124,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[101,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(128,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,cT.b,cT.a)),uS._17(129,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,108,{_control:0}),uS._38(335544320,109,{_placeholderChild:0}),uS._38(335544320,110,{_labelChild:0}),uS._38(603979776,111,{_errorChildren:1}),uS._38(603979776,112,{_hintChildren:1}),uS._38(603979776,113,{_prefixChildren:1}),uS._38(603979776,114,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(138,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,t=l.component;if("input"===n){u=!1!==uS._32(l,139)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,139).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,139)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,139)._compositionEnd(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,140)._onInput(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,140)._onChange()&&u}if("blur"===n){u=!1!==uS._32(l,140)._onTouched()&&u}if("keydown"===n){u=!1!==uS._32(l,140)._onKeydown(e)&&u}if("blur"===n){u=!1!==uS._32(l,147)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,147)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,147)._onInput()&&u}if("dateChange"===n){u=!1!==t.getDateObjects(e.target.value,l.context.index)&&u}return u},null,null)),uS._17(139,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(140,1196032,null,0,UL.g,[uS.p,[2,pT.c],[2,pT.g],[2,mT.b]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},{dateChange:"dateChange"}),uS._37(1024,null,xS.p,function(l){return[l]},[UL.g]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,UL.g]),uS._17(143,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(145,16384,null,0,xS.s,[xS.r],null,null),uS._37(2048,null,fT.a,null,[UL.g]),uS._17(147,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[2,fT.a]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[108,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(151,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(152,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(154,0,null,null,8,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),uS._17(155,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,iC)),uS._17(158,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,oC)),uS._17(161,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,56,0,"");l(n,58,0,"business_entity_type");l(n,61,0,"Business Entity Type","");l(n,73,0,e.businessEntityTypeList);l(n,77,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,81,0,1==n.context.$implicit.value.business_entity_type);l(n,100,0,"business_years");l(n,103,0,"Year","number");l(n,121,0,"business_month");l(n,124,0,"Month","number");l(n,140,0,e.picker,e.maxDate);l(n,143,0,"business_date_object");l(n,147,0,"Enter Date of Formation, If Available","date");l(n,158,0,e.addComp);l(n,161,0,!e.addComp)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,19,1,[uS._32(n,21).required?"":null,uS._32(n,26).ngClassUntouched,uS._32(n,26).ngClassTouched,uS._32(n,26).ngClassPristine,uS._32(n,26).ngClassDirty,uS._32(n,26).ngClassValid,uS._32(n,26).ngClassInvalid,uS._32(n,26).ngClassPending,uS._32(n,27)._isServer,uS._32(n,27).id,uS._32(n,27).placeholder,uS._32(n,27).disabled,uS._32(n,27).required,uS._32(n,27).readonly,uS._32(n,27)._ariaDescribedby||null,uS._32(n,27).errorState,uS._32(n,27).required.toString()]);l(n,34,1,[uS._32(n,35).id,uS._32(n,35).indeterminate,uS._32(n,35).checked,uS._32(n,35).disabled,"before"==uS._32(n,35).labelPosition,uS._32(n,39).ngClassUntouched,uS._32(n,39).ngClassTouched,uS._32(n,39).ngClassPristine,uS._32(n,39).ngClassDirty,uS._32(n,39).ngClassValid,uS._32(n,39).ngClassInvalid,uS._32(n,39).ngClassPending]);l(n,45,1,[uS._32(n,46)._control.errorState,uS._32(n,46)._control.errorState,uS._32(n,46)._canLabelFloat,uS._32(n,46)._shouldLabelFloat(),uS._32(n,46)._hideControlPlaceholder(),uS._32(n,46)._control.disabled,uS._32(n,46)._control.focused,"primary"==uS._32(n,46).color,"accent"==uS._32(n,46).color,"warn"==uS._32(n,46).color,uS._32(n,46)._shouldForward("untouched"),uS._32(n,46)._shouldForward("touched"),uS._32(n,46)._shouldForward("pristine"),uS._32(n,46)._shouldForward("dirty"),uS._32(n,46)._shouldForward("valid"),uS._32(n,46)._shouldForward("invalid"),uS._32(n,46)._shouldForward("pending")]);l(n,55,1,[uS._32(n,56).required?"":null,uS._32(n,60).ngClassUntouched,uS._32(n,60).ngClassTouched,uS._32(n,60).ngClassPristine,uS._32(n,60).ngClassDirty,uS._32(n,60).ngClassValid,uS._32(n,60).ngClassInvalid,uS._32(n,60).ngClassPending,uS._32(n,61).id,uS._32(n,61).tabIndex,uS._32(n,61)._ariaLabel,uS._32(n,61).ariaLabelledby,uS._32(n,61).required.toString(),uS._32(n,61).disabled.toString(),uS._32(n,61).errorState,uS._32(n,61).panelOpen?uS._32(n,61)._optionIds:null,uS._32(n,61).multiple,uS._32(n,61)._ariaDescribedby||null,uS._32(n,61)._getAriaActiveDescendant(),uS._32(n,61).disabled,uS._32(n,61).errorState,uS._32(n,61).required]);l(n,68,0,uS._32(n,69)._getTabIndex(),uS._32(n,69).selected,uS._32(n,69).multiple,uS._32(n,69).active,uS._32(n,69).id,uS._32(n,69).selected.toString(),uS._32(n,69).disabled.toString(),uS._32(n,69).disabled);l(n,86,1,[uS._32(n,87)._control.errorState,uS._32(n,87)._control.errorState,uS._32(n,87)._canLabelFloat,uS._32(n,87)._shouldLabelFloat(),uS._32(n,87)._hideControlPlaceholder(),uS._32(n,87)._control.disabled,uS._32(n,87)._control.focused,"primary"==uS._32(n,87).color,"accent"==uS._32(n,87).color,"warn"==uS._32(n,87).color,uS._32(n,87)._shouldForward("untouched"),uS._32(n,87)._shouldForward("touched"),uS._32(n,87)._shouldForward("pristine"),uS._32(n,87)._shouldForward("dirty"),uS._32(n,87)._shouldForward("valid"),uS._32(n,87)._shouldForward("invalid"),uS._32(n,87)._shouldForward("pending")]);l(n,96,1,[uS._32(n,102).ngClassUntouched,uS._32(n,102).ngClassTouched,uS._32(n,102).ngClassPristine,uS._32(n,102).ngClassDirty,uS._32(n,102).ngClassValid,uS._32(n,102).ngClassInvalid,uS._32(n,102).ngClassPending,uS._32(n,103)._isServer,uS._32(n,103).id,uS._32(n,103).placeholder,uS._32(n,103).disabled,uS._32(n,103).required,uS._32(n,103).readonly,uS._32(n,103)._ariaDescribedby||null,uS._32(n,103).errorState,uS._32(n,103).required.toString()]);l(n,107,1,[uS._32(n,108)._control.errorState,uS._32(n,108)._control.errorState,uS._32(n,108)._canLabelFloat,uS._32(n,108)._shouldLabelFloat(),uS._32(n,108)._hideControlPlaceholder(),uS._32(n,108)._control.disabled,uS._32(n,108)._control.focused,"primary"==uS._32(n,108).color,"accent"==uS._32(n,108).color,"warn"==uS._32(n,108).color,uS._32(n,108)._shouldForward("untouched"),uS._32(n,108)._shouldForward("touched"),uS._32(n,108)._shouldForward("pristine"),uS._32(n,108)._shouldForward("dirty"),uS._32(n,108)._shouldForward("valid"),uS._32(n,108)._shouldForward("invalid"),uS._32(n,108)._shouldForward("pending")]);l(n,117,1,[uS._32(n,123).ngClassUntouched,uS._32(n,123).ngClassTouched,uS._32(n,123).ngClassPristine,uS._32(n,123).ngClassDirty,uS._32(n,123).ngClassValid,uS._32(n,123).ngClassInvalid,uS._32(n,123).ngClassPending,uS._32(n,124)._isServer,uS._32(n,124).id,uS._32(n,124).placeholder,uS._32(n,124).disabled,uS._32(n,124).required,uS._32(n,124).readonly,uS._32(n,124)._ariaDescribedby||null,uS._32(n,124).errorState,uS._32(n,124).required.toString()]);l(n,128,1,[uS._32(n,129)._control.errorState,uS._32(n,129)._control.errorState,uS._32(n,129)._canLabelFloat,uS._32(n,129)._shouldLabelFloat(),uS._32(n,129)._hideControlPlaceholder(),uS._32(n,129)._control.disabled,uS._32(n,129)._control.focused,"primary"==uS._32(n,129).color,"accent"==uS._32(n,129).color,"warn"==uS._32(n,129).color,uS._32(n,129)._shouldForward("untouched"),uS._32(n,129)._shouldForward("touched"),uS._32(n,129)._shouldForward("pristine"),uS._32(n,129)._shouldForward("dirty"),uS._32(n,129)._shouldForward("valid"),uS._32(n,129)._shouldForward("invalid"),uS._32(n,129)._shouldForward("pending")]);l(n,138,1,[!0,(null==uS._32(n,140)._datepicker?null:uS._32(n,140)._datepicker.opened)&&uS._32(n,140)._datepicker.id||null,uS._32(n,140).min?uS._32(n,140)._dateAdapter.toIso8601(uS._32(n,140).min):null,uS._32(n,140).max?uS._32(n,140)._dateAdapter.toIso8601(uS._32(n,140).max):null,uS._32(n,140).disabled,uS._32(n,145).ngClassUntouched,uS._32(n,145).ngClassTouched,uS._32(n,145).ngClassPristine,uS._32(n,145).ngClassDirty,uS._32(n,145).ngClassValid,uS._32(n,145).ngClassInvalid,uS._32(n,145).ngClassPending,uS._32(n,147)._isServer,uS._32(n,147).id,uS._32(n,147).placeholder,uS._32(n,147).disabled,uS._32(n,147).required,uS._32(n,147).readonly,uS._32(n,147)._ariaDescribedby||null,uS._32(n,147).errorState,uS._32(n,147).required.toString()])})}function _C(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,8,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(3,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._13(16777216,null,1,1,null,lC)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._13(16777216,null,1,1,null,nC)),uS._17(9,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,[["comp",1]],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)),uS._17(13,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(15,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rC)),uS._17(18,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,e.addComp);l(n,9,0,!e.addComp);l(n,13,0,"companies");l(n,18,0,e.generalForm.controls.companies.controls)},function(l,n){l(n,12,0,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending)})}function dC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,43,"mat-card",[["class","mat-card"],["style","padding: 0px 10px !important;"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"h6",[["padding",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,[" Company/Firm "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,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)),uS._17(7,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(9,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,5,"ion-list",[],null,null,null,null,null)),uS._17(12,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jy)),uS._17(15,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(20,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(21,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(24,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,11,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),uS._17(27,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,7,"div",[["class","btn1"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zy)),uS._17(32,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Xy)),uS._17(35,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,_C)),uS._17(41,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,"company_value");l(n,15,0,e.generalForm.controls.company_value.controls);l(n,32,0,!e.h_companies);l(n,35,0,e.h_companies);l(n,41,0,e.h_companies)},function(l,n){l(n,6,0,uS._32(n,9).ngClassUntouched,uS._32(n,9).ngClassTouched,uS._32(n,9).ngClassPristine,uS._32(n,9).ngClassDirty,uS._32(n,9).ngClassValid,uS._32(n,9).ngClassInvalid,uS._32(n,9).ngClassPending)})}function sC(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[122,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.applicant_name)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function cC(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[132,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.name+"\n Of")))})}function mC(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[142,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function pC(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,135,{_control:0}),uS._38(335544320,136,{_placeholderChild:0}),uS._38(335544320,137,{_labelChild:0}),uS._38(603979776,138,{_errorChildren:1}),uS._38(603979776,139,{_hintChildren:1}),uS._38(603979776,140,{_prefixChildren:1}),uS._38(603979776,141,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,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!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,142,{options:1}),uS._38(603979776,143,{optionGroups:1}),uS._38(335544320,144,{customTrigger:0}),uS._37(2048,[[135,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(21,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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[142,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,mC)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[142,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,[" Not Applicable "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"relation_to");l(n,14,0,"RelationTo");l(n,26,0,e.individualsList);l(n,29,0,"0")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled)})}function fC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,78,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,0,null,null,72,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(6,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(9,null,["Applicant ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,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,cT.b,cT.a)),uS._17(12,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,115,{_control:0}),uS._38(335544320,116,{_placeholderChild:0}),uS._38(335544320,117,{_labelChild:0}),uS._38(603979776,118,{_errorChildren:1}),uS._38(603979776,119,{_hintChildren:1}),uS._38(603979776,120,{_prefixChildren:1}),uS._38(603979776,121,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,0,null,1,17,"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!==uS._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,25)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,122,{options:1}),uS._38(603979776,123,{optionGroups:1}),uS._38(335544320,124,{customTrigger:0}),uS._37(2048,[[115,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,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!==uS._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,33)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(33,8437760,[[122,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,sC)),uS._17(37,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(41,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,cT.b,cT.a)),uS._17(42,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,125,{_control:0}),uS._38(335544320,126,{_placeholderChild:0}),uS._38(335544320,127,{_labelChild:0}),uS._38(603979776,128,{_errorChildren:1}),uS._38(603979776,129,{_hintChildren:1}),uS._38(603979776,130,{_prefixChildren:1}),uS._38(603979776,131,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(51,0,null,1,21,"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!==uS._32(l,55)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,55)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,55)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(52,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(54,16384,null,0,xS.s,[xS.r],null,null),uS._17(55,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,132,{options:1}),uS._38(603979776,133,{optionGroups:1}),uS._38(335544320,134,{customTrigger:0}),uS._37(2048,[[125,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(62,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!==uS._32(l,63)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,63)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(63,8437760,[[132,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,cC)),uS._17(67,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(69,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!==uS._32(l,70)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,70)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(70,8437760,[[132,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,[" Not Applicable "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,pC)),uS._17(76,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"applicant_name");l(n,25,0,"Applicant");l(n,37,0,e.fulldata);l(n,52,0,"relationship");l(n,55,0,"Relation");l(n,67,0,e.relationShipList);l(n,70,0,"0");l(n,76,0,0!=n.context.$implicit.controls.relationship.value)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,11,1,[uS._32(n,12)._control.errorState,uS._32(n,12)._control.errorState,uS._32(n,12)._canLabelFloat,uS._32(n,12)._shouldLabelFloat(),uS._32(n,12)._hideControlPlaceholder(),uS._32(n,12)._control.disabled,uS._32(n,12)._control.focused,"primary"==uS._32(n,12).color,"accent"==uS._32(n,12).color,"warn"==uS._32(n,12).color,uS._32(n,12)._shouldForward("untouched"),uS._32(n,12)._shouldForward("touched"),uS._32(n,12)._shouldForward("pristine"),uS._32(n,12)._shouldForward("dirty"),uS._32(n,12)._shouldForward("valid"),uS._32(n,12)._shouldForward("invalid"),uS._32(n,12)._shouldForward("pending")]);l(n,21,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25).id,uS._32(n,25).tabIndex,uS._32(n,25)._ariaLabel,uS._32(n,25).ariaLabelledby,uS._32(n,25).required.toString(),uS._32(n,25).disabled.toString(),uS._32(n,25).errorState,uS._32(n,25).panelOpen?uS._32(n,25)._optionIds:null,uS._32(n,25).multiple,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25)._getAriaActiveDescendant(),uS._32(n,25).disabled,uS._32(n,25).errorState,uS._32(n,25).required]);l(n,32,0,uS._32(n,33)._getTabIndex(),uS._32(n,33).selected,uS._32(n,33).multiple,uS._32(n,33).active,uS._32(n,33).id,uS._32(n,33).selected.toString(),uS._32(n,33).disabled.toString(),uS._32(n,33).disabled);l(n,41,1,[uS._32(n,42)._control.errorState,uS._32(n,42)._control.errorState,uS._32(n,42)._canLabelFloat,uS._32(n,42)._shouldLabelFloat(),uS._32(n,42)._hideControlPlaceholder(),uS._32(n,42)._control.disabled,uS._32(n,42)._control.focused,"primary"==uS._32(n,42).color,"accent"==uS._32(n,42).color,"warn"==uS._32(n,42).color,uS._32(n,42)._shouldForward("untouched"),uS._32(n,42)._shouldForward("touched"),uS._32(n,42)._shouldForward("pristine"),uS._32(n,42)._shouldForward("dirty"),uS._32(n,42)._shouldForward("valid"),uS._32(n,42)._shouldForward("invalid"),uS._32(n,42)._shouldForward("pending")]);l(n,51,1,[uS._32(n,54).ngClassUntouched,uS._32(n,54).ngClassTouched,uS._32(n,54).ngClassPristine,uS._32(n,54).ngClassDirty,uS._32(n,54).ngClassValid,uS._32(n,54).ngClassInvalid,uS._32(n,54).ngClassPending,uS._32(n,55).id,uS._32(n,55).tabIndex,uS._32(n,55)._ariaLabel,uS._32(n,55).ariaLabelledby,uS._32(n,55).required.toString(),uS._32(n,55).disabled.toString(),uS._32(n,55).errorState,uS._32(n,55).panelOpen?uS._32(n,55)._optionIds:null,uS._32(n,55).multiple,uS._32(n,55)._ariaDescribedby||null,uS._32(n,55)._getAriaActiveDescendant(),uS._32(n,55).disabled,uS._32(n,55).errorState,uS._32(n,55).required]);l(n,62,0,uS._32(n,63)._getTabIndex(),uS._32(n,63).selected,uS._32(n,63).multiple,uS._32(n,63).active,uS._32(n,63).id,uS._32(n,63).selected.toString(),uS._32(n,63).disabled.toString(),uS._32(n,63).disabled);l(n,69,0,uS._32(n,70)._getTabIndex(),uS._32(n,70).selected,uS._32(n,70).multiple,uS._32(n,70).active,uS._32(n,70).id,uS._32(n,70).selected.toString(),uS._32(n,70).disabled.toString(),uS._32(n,70).disabled)})}function hC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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,rT.d,rT.a)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(8,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(9,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(11,0,null,1,2,"mat-card-title",[["class","mat-card-title"],["style","font-size:16px;font-weight:bold"]],null,null,null,null,null)),uS._17(12,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,[" Relationship Between Individuals"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,fC)),uS._17(17,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"persons_with_relationships");l(n,17,0,e.generalForm.controls.persons_with_relationships.controls)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function gC(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[152,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function bC(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[162,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function vC(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[172,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.company_order_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.company_name)))})}function yC(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,165,{_control:0}),uS._38(335544320,166,{_placeholderChild:0}),uS._38(335544320,167,{_labelChild:0}),uS._38(603979776,168,{_errorChildren:1}),uS._38(603979776,169,{_hintChildren:1}),uS._38(603979776,170,{_prefixChildren:1}),uS._38(603979776,171,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,21,"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!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,172,{options:1}),uS._38(603979776,173,{optionGroups:1}),uS._38(335544320,174,{customTrigger:0}),uS._37(2048,[[165,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(21,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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[172,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,vC)),uS._17(26,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[172,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,[" Not Applicable "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"relation_to_company");l(n,14,0,"Relation to");l(n,26,0,e.companyList);l(n,29,0,"0")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled)})}function CC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,81,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(6,null,["Applicant ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,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,cT.b,cT.a)),uS._17(9,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,145,{_control:0}),uS._38(335544320,146,{_placeholderChild:0}),uS._38(335544320,147,{_labelChild:0}),uS._38(603979776,148,{_errorChildren:1}),uS._38(603979776,149,{_hintChildren:1}),uS._38(603979776,150,{_prefixChildren:1}),uS._38(603979776,151,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(18,0,null,1,17,"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!==uS._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,22)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,152,{options:1}),uS._38(603979776,153,{optionGroups:1}),uS._38(335544320,154,{customTrigger:0}),uS._37(2048,[[145,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(29,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!==uS._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,30)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(30,8437760,[[152,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,gC)),uS._17(34,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(38,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,cT.b,cT.a)),uS._17(39,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,155,{_control:0}),uS._38(335544320,156,{_placeholderChild:0}),uS._38(335544320,157,{_labelChild:0}),uS._38(603979776,158,{_errorChildren:1}),uS._38(603979776,159,{_hintChildren:1}),uS._38(603979776,160,{_prefixChildren:1}),uS._38(603979776,161,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(48,0,null,1,21,"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!==uS._32(l,52)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,52)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,52)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(49,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(51,16384,null,0,xS.s,[xS.r],null,null),uS._17(52,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,162,{options:1}),uS._38(603979776,163,{optionGroups:1}),uS._38(335544320,164,{customTrigger:0}),uS._37(2048,[[155,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(59,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!==uS._32(l,60)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,60)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(60,8437760,[[162,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,bC)),uS._17(64,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(66,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!==uS._32(l,67)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,67)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(67,8437760,[[162,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,[" Not Applicable "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yC)),uS._17(73,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(75,0,null,null,5,"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},AT.b,AT.a)),uS._17(76,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"],clear:[2,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(78,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(79,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,19,0,"applicant_name");l(n,22,0,"Applicant Name");l(n,34,0,e.individualsListBothCase);l(n,49,0,"company_relationship");l(n,52,0,"Company Relation");l(n,64,0,e.companyRelationShipList);l(n,67,0,"0");l(n,73,0,""!=n.context.$implicit.controls.company_relationship.value);l(n,76,0,"optblue","","");l(n,79,0,"md-trash")},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[uS._32(n,9)._control.errorState,uS._32(n,9)._control.errorState,uS._32(n,9)._canLabelFloat,uS._32(n,9)._shouldLabelFloat(),uS._32(n,9)._hideControlPlaceholder(),uS._32(n,9)._control.disabled,uS._32(n,9)._control.focused,"primary"==uS._32(n,9).color,"accent"==uS._32(n,9).color,"warn"==uS._32(n,9).color,uS._32(n,9)._shouldForward("untouched"),uS._32(n,9)._shouldForward("touched"),uS._32(n,9)._shouldForward("pristine"),uS._32(n,9)._shouldForward("dirty"),uS._32(n,9)._shouldForward("valid"),uS._32(n,9)._shouldForward("invalid"),uS._32(n,9)._shouldForward("pending")]);l(n,18,1,[uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22).id,uS._32(n,22).tabIndex,uS._32(n,22)._ariaLabel,uS._32(n,22).ariaLabelledby,uS._32(n,22).required.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).errorState,uS._32(n,22).panelOpen?uS._32(n,22)._optionIds:null,uS._32(n,22).multiple,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22)._getAriaActiveDescendant(),uS._32(n,22).disabled,uS._32(n,22).errorState,uS._32(n,22).required]);l(n,29,0,uS._32(n,30)._getTabIndex(),uS._32(n,30).selected,uS._32(n,30).multiple,uS._32(n,30).active,uS._32(n,30).id,uS._32(n,30).selected.toString(),uS._32(n,30).disabled.toString(),uS._32(n,30).disabled);l(n,38,1,[uS._32(n,39)._control.errorState,uS._32(n,39)._control.errorState,uS._32(n,39)._canLabelFloat,uS._32(n,39)._shouldLabelFloat(),uS._32(n,39)._hideControlPlaceholder(),uS._32(n,39)._control.disabled,uS._32(n,39)._control.focused,"primary"==uS._32(n,39).color,"accent"==uS._32(n,39).color,"warn"==uS._32(n,39).color,uS._32(n,39)._shouldForward("untouched"),uS._32(n,39)._shouldForward("touched"),uS._32(n,39)._shouldForward("pristine"),uS._32(n,39)._shouldForward("dirty"),uS._32(n,39)._shouldForward("valid"),uS._32(n,39)._shouldForward("invalid"),uS._32(n,39)._shouldForward("pending")]);l(n,48,1,[uS._32(n,51).ngClassUntouched,uS._32(n,51).ngClassTouched,uS._32(n,51).ngClassPristine,uS._32(n,51).ngClassDirty,uS._32(n,51).ngClassValid,uS._32(n,51).ngClassInvalid,uS._32(n,51).ngClassPending,uS._32(n,52).id,uS._32(n,52).tabIndex,uS._32(n,52)._ariaLabel,uS._32(n,52).ariaLabelledby,uS._32(n,52).required.toString(),uS._32(n,52).disabled.toString(),uS._32(n,52).errorState,uS._32(n,52).panelOpen?uS._32(n,52)._optionIds:null,uS._32(n,52).multiple,uS._32(n,52)._ariaDescribedby||null,uS._32(n,52)._getAriaActiveDescendant(),uS._32(n,52).disabled,uS._32(n,52).errorState,uS._32(n,52).required]);l(n,59,0,uS._32(n,60)._getTabIndex(),uS._32(n,60).selected,uS._32(n,60).multiple,uS._32(n,60).active,uS._32(n,60).id,uS._32(n,60).selected.toString(),uS._32(n,60).disabled.toString(),uS._32(n,60).disabled);l(n,66,0,uS._32(n,67)._getTabIndex(),uS._32(n,67).selected,uS._32(n,67).multiple,uS._32(n,67).active,uS._32(n,67).id,uS._32(n,67).selected.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).disabled);l(n,78,0,uS._32(n,79)._hidden)})}function wC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,35,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(8,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(9,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(11,0,null,1,2,"mat-card-title",[["class","mat-card-title"],["style","font-size:16px;font-weight:bold"]],null,null,null,null,null)),uS._17(12,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,[" Relationship of Individuals to Company / Firm"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,CC)),uS._17(17,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._18(20,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(22,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(23,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._18(25,0,null,null,7,"ion-col",[["class","col"],["style","text-align: center;"]],null,null,null,null,null)),uS._17(26,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,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},hT.b,hT.a)),uS._17(29,180224,null,0,gT.b,[uS.p,kS.a,bT.j],null,null),uS._17(30,16384,null,0,gT.f,[],null,null),(l()(),uS._40(-1,0,["Add\n More Company Relation"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"company_with_relationships");l(n,17,0,e.generalForm.controls.company_with_relationships.controls)},function(l,n){l(n,3,0,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending);l(n,28,0,uS._32(n,29).disabled||null)})}function FC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,95,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,41,"mat-card",[["class","mat-card"],["style","padding: 0px 10px !important;"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(9,0,null,0,1,"h6",[["padding",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Name of Person(s) Met and Individual Loan Applicant(s)"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,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)),uS._17(13,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(15,16384,null,0,xS.t,[xS.c],null,null),uS._17(16,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Dy)),uS._17(19,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(22,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(24,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(25,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(27,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(28,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(30,0,null,null,11,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),uS._17(31,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,0,null,null,7,"div",[["class","btn"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ty)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Oy)),uS._17(39,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Ky)),uS._17(45,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hy)),uS._17(51,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,dC)),uS._17(55,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hC)),uS._17(61,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,wC)),uS._17(64,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(66,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(67,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(69,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,cT.b,cT.a)),uS._17(70,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,175,{_control:0}),uS._38(335544320,176,{_placeholderChild:0}),uS._38(335544320,177,{_labelChild:0}),uS._38(603979776,178,{_errorChildren:1}),uS._38(603979776,179,{_hintChildren:1}),uS._38(603979776,180,{_prefixChildren:1}),uS._38(603979776,181,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(79,0,[[1,0],["remark",1]],1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["focus","true"],["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!==uS._32(l,80)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,80).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,80)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,80)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,85)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,85)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,85)._onInput()&&u}return u},null,null)),uS._17(80,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(82,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(84,16384,null,0,xS.s,[xS.r],null,null),uS._17(85,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[175,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(90,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(91,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.generalForm);l(n,13,0,"list_value");l(n,19,0,e.generalForm.controls.list_value.controls);l(n,36,0,!e.buttonClick);l(n,39,0,e.buttonClick);l(n,45,0,e.buttonClick);l(n,51,0,"SE-RI"==e.customer_segment_abbr);l(n,55,0,"SE-RI"!=e.customer_segment_abbr);l(n,61,0,e.generalForm.controls.persons_with_relationships.length>1);l(n,64,0,"SE-RI"!=e.customer_segment_abbr);l(n,82,0,"general_remark");l(n,85,0,"Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,12,0,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending);l(n,69,1,[uS._32(n,70)._control.errorState,uS._32(n,70)._control.errorState,uS._32(n,70)._canLabelFloat,uS._32(n,70)._shouldLabelFloat(),uS._32(n,70)._hideControlPlaceholder(),uS._32(n,70)._control.disabled,uS._32(n,70)._control.focused,"primary"==uS._32(n,70).color,"accent"==uS._32(n,70).color,"warn"==uS._32(n,70).color,uS._32(n,70)._shouldForward("untouched"),uS._32(n,70)._shouldForward("touched"),uS._32(n,70)._shouldForward("pristine"),uS._32(n,70)._shouldForward("dirty"),uS._32(n,70)._shouldForward("valid"),uS._32(n,70)._shouldForward("invalid"),uS._32(n,70)._shouldForward("pending")]);l(n,79,1,[uS._32(n,84).ngClassUntouched,uS._32(n,84).ngClassTouched,uS._32(n,84).ngClassPristine,uS._32(n,84).ngClassDirty,uS._32(n,84).ngClassValid,uS._32(n,84).ngClassInvalid,uS._32(n,84).ngClassPending,uS._32(n,85)._isServer,uS._32(n,85).id,uS._32(n,85).placeholder,uS._32(n,85).disabled,uS._32(n,85).required,uS._32(n,85).readonly,uS._32(n,85)._ariaDescribedby||null,uS._32(n,85).errorState,uS._32(n,85).required.toString()])})}function xC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.generalForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function kC(l){return uS._42(0,[uS._34(0,wI.u,[]),uS._38(671088640,1,{nameField:0}),uS._38(671088640,2,{focus_business_entity:0}),(l()(),uS._18(3,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(4,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(6,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(7,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,11).toggle()&&u}return u},AT.b,AT.a)),uS._17(10,1097728,[[3,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(11,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(12,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,fy)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(24,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(26,16384,null,0,xS.s,[xS.r],null,null),uS._17(27,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,4,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(30,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,31).onClick()&&u}return u},jT.b,jT.a)),uS._17(31,114688,[[4,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,35).onClick()&&u}return u},jT.b,jT.a)),uS._17(35,114688,[[4,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(40,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(41,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,0,null,1,9,"div",[],null,null,null,null,null)),uS._17(44,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Iy)),uS._17(47,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,FC)),uS._17(50,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(54,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(55,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,182,{_mainButton:0}),uS._38(603979776,183,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(59,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(60,49152,[[182,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(61,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(62,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(65,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(66,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xC)),uS._17(69,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,24,0,e.tab);l(n,27,0,"optblue");l(n,31,0,"0");l(n,35,0,"1");l(n,44,0,e.tab);l(n,47,0,"1");l(n,50,0,"0");l(n,60,0,"optblue");l(n,62,0,"md-camera");l(n,69,0,!e.complete_status)},function(l,n){l(n,6,0,uS._32(n,7)._hidden,uS._32(n,7)._sbPadding);l(n,9,0,uS._32(n,11).isHidden);l(n,15,0,uS._32(n,16)._hidden);l(n,23,0,uS._32(n,26).ngClassUntouched,uS._32(n,26).ngClassTouched,uS._32(n,26).ngClassPristine,uS._32(n,26).ngClassDirty,uS._32(n,26).ngClassValid,uS._32(n,26).ngClassInvalid,uS._32(n,26).ngClassPending,uS._32(n,27)._disabled);l(n,30,0,uS._32(n,31)._disabled,uS._32(n,31).isActive,uS._32(n,31).isActive);l(n,34,0,uS._32(n,35)._disabled,uS._32(n,35).isActive,uS._32(n,35).isActive);l(n,40,0,uS._32(n,41).statusbarPadding,uS._32(n,41)._hasRefresher);l(n,61,0,uS._32(n,62)._hidden)})}function SC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Other Applicant Details Added"]))],null,null)}function IC(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function qC(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}return u},null,null)),uS._17(16,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[2,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(25,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-6",""]],null,null,null,null,null)),uS._17(26,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,IC)),uS._17(29,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-1",""]],null,null,null,null,null)),uS._17(33,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(38,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()]);l(n,37,0,uS._32(n,38)._hidden)})}function PC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,14,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(6,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(7,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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},AT.b,AT.a)),uS._17(11,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),(l()(),uS._40(-1,0,["Close"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,SC)),uS._17(16,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._18(20,0,null,null,32,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(21,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,25).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,25).onReset()&&u}return u},null,null)),uS._17(24,16384,null,0,xS.B,[],null,null),uS._17(25,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(27,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(30,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(33,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(35,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qC)),uS._17(38,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(42,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(43,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(46,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.otherForm.value)&&u}return u},AT.b,AT.a)),uS._17(47,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,20,0,uS._32(n,21).statusbarPadding,uS._32(n,21)._hasRefresher);l(n,23,0,uS._32(n,27).ngClassUntouched,uS._32(n,27).ngClassTouched,uS._32(n,27).ngClassPristine,uS._32(n,27).ngClassDirty,uS._32(n,27).ngClassValid,uS._32(n,27).ngClassInvalid,uS._32(n,27).ngClassPending);l(n,32,0,uS._32(n,35).ngClassUntouched,uS._32(n,35).ngClassTouched,uS._32(n,35).ngClassPristine,uS._32(n,35).ngClassDirty,uS._32(n,35).ngClassValid,uS._32(n,35).ngClassInvalid,uS._32(n,35).ngClassPending)})}function DC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Neighbourhood Details"]))],null,null)}function TC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function OC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function LC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function AC(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function VC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,OC)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,LC)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,AC)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function NC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,VC)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function WC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function EC(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function jC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,WC)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,EC)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function $C(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jC)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function BC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function RC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,TC)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,NC)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,$C)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,BC)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function UC(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[6,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Neighbourhood Name is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function MC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[13,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Please Choose"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function KC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[23,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Year is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function HC(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_do_know_in_year"],["matInput",""],["placeholder","Years"],["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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[20,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,KC)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,[" \n "]))],function(l,n){l(n,14,0,"how_long_do_know_in_year");l(n,17,0,"Years","number");l(n,21,0,(null==n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.errors?null:n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.errors.required)||n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.touched)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function GC(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,27,{_control:0}),uS._38(335544320,28,{_placeholderChild:0}),uS._38(335544320,29,{_labelChild:0}),uS._38(603979776,30,{_errorChildren:1}),uS._38(603979776,31,{_hintChildren:1}),uS._38(603979776,32,{_prefixChildren:1}),uS._38(603979776,33,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_do_know_in_month"],["matInput",""],["placeholder","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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.parent.parent.context.$implicit,e.target.value,1)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[27,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"how_long_do_know_in_month");l(n,17,0,"Months","number")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()])})}function YC(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[41,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function zC(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[42,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,YC)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function QC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[37,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["pick atleast one organisation owner"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function JC(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,34,{_control:0}),uS._38(335544320,35,{_placeholderChild:0}),uS._38(335544320,36,{_labelChild:0}),uS._38(603979776,37,{_errorChildren:1}),uS._38(603979776,38,{_hintChildren:1}),uS._38(603979776,39,{_prefixChildren:1}),uS._38(603979776,40,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(11,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","organisation_owner"],["multiple",""],["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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getOtherOrganisationOwner(e.value,l.parent.parent.parent.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,41,{options:1}),uS._38(603979776,42,{optionGroups:1}),uS._38(335544320,43,{customTrigger:0}),uS._37(2048,[[34,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,zC)),uS._17(23,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,QC)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,[" \n "]))],function(l,n){var e=n.component;l(n,13,0,"organisation_owner");l(n,16,0,"Who is the owner of the organisation?","",e.compareObjects);l(n,23,0,e.mergeCompanyApplicant);l(n,27,0,(null==n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors?null:n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors.required)||n.parent.parent.parent.context.$implicit.controls.organisation_owner.touched)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,11,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16).id,uS._32(n,16).tabIndex,uS._32(n,16)._ariaLabel,uS._32(n,16).ariaLabelledby,uS._32(n,16).required.toString(),uS._32(n,16).disabled.toString(),uS._32(n,16).errorState,uS._32(n,16).panelOpen?uS._32(n,16)._optionIds:null,uS._32(n,16).multiple,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16)._getAriaActiveDescendant(),uS._32(n,16).disabled,uS._32(n,16).errorState,uS._32(n,16).required])})}function ZC(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[47,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["organisation owner is required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function XC(l){return uS._42(0,[(l()(),uS._18(0,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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,44,{_control:0}),uS._38(335544320,45,{_placeholderChild:0}),uS._38(335544320,46,{_labelChild:0}),uS._38(603979776,47,{_errorChildren:1}),uS._38(603979776,48,{_hintChildren:1}),uS._38(603979776,49,{_prefixChildren:1}),uS._38(603979776,50,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[44,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,ZC)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,[" \n "]))],function(l,n){l(n,13,0,"other_organisation_owner");l(n,16,0,"Specify Owner name","text");l(n,20,0,(null==n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors?null:n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors.required)||n.parent.parent.parent.context.$implicit.controls.organisation_owner.touched)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function lw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Who is the owner of the organisation?"]))],null,null)}function nw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,JC)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,XC)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,lw)),uS._17(9,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(10,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,7,"label",[["color","primary"],["float-right",""],["style","font-size: 13px;font-weight: bold"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Do not know  \n "])),(l()(),uS._18(14,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","did_not_know_the_owner"],["style","zoom: 0.9;"]],[[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},YL.b,YL.a)),uS._17(15,1228800,null,0,zL.a,[uS.p,kS.a,bT.j,uS.i,[8,null]],{color:[0,"color"]},{change:"change"}),uS._37(1024,null,xS.q,function(l){return[l]},[zL.a]),uS._17(17,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(19,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,!e.isDisplay2[n.parent.parent.context.index]);l(n,6,0,e.isOrganisationOwner[n.parent.parent.context.index]);l(n,9,0,e.isDisplay2[n.parent.parent.context.index]);l(n,15,0,"primary");l(n,17,0,"did_not_know_the_owner")},function(l,n){l(n,14,1,[uS._32(n,15).id,uS._32(n,15).checked,uS._32(n,15).disabled,"before"==uS._32(n,15).labelPosition,uS._32(n,19).ngClassUntouched,uS._32(n,19).ngClassTouched,uS._32(n,19).ngClassPristine,uS._32(n,19).ngClassDirty,uS._32(n,19).ngClassValid,uS._32(n,19).ngClassInvalid,uS._32(n,19).ngClassPending])})}function ew(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,32,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,0,null,null,20,"div",[["appearance","outline"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(6,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["As per you how long has this business been in operation? "])),(l()(),uS._18(8,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,7,"label",[["color","primary"],["float-right",""],["style","font-size: 13px;font-weight: bold"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Do not know  \n "])),(l()(),uS._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.9;"]],[[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},YL.b,YL.a)),uS._17(13,1228800,null,0,zL.a,[uS.p,kS.a,bT.j,uS.i,[8,null]],{color:[0,"color"]},{change:"change"}),uS._37(1024,null,xS.q,function(l){return[l]},[zL.a]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,HC)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,GC)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,nw)),uS._17(29,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(30,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._18(31,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-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,29,0,""!=n.parent.context.$implicit.controls.do_know.value)},function(l,n){l(n,12,1,[uS._32(n,13).id,uS._32(n,13).checked,uS._32(n,13).disabled,"before"==uS._32(n,13).labelPosition,uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending])})}function uw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeneighbourhood(l.parent.context.index)&&u}return u},null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function tw(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function aw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,91,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(6,null,["Neighbour Details ",""])),(l()(),uS._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(9,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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[3,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,UC)),uS._17(29,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,36,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(33,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,10,{_control:0}),uS._38(335544320,11,{_placeholderChild:0}),uS._38(335544320,12,{_labelChild:0}),uS._38(603979776,13,{_errorChildren:1}),uS._38(603979776,14,{_hintChildren:1}),uS._38(603979776,15,{_prefixChildren:1}),uS._38(603979776,16,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,0,null,1,22,"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!==uS._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,46)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(43,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(45,16384,null,0,xS.s,[xS.r],null,null),uS._17(46,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,17,{options:1}),uS._38(603979776,18,{optionGroups:1}),uS._38(335544320,19,{customTrigger:0}),uS._37(2048,[[10,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(53,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!==uS._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,54)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(54,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(57,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!==uS._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,58)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(58,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(61,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!==uS._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,62)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(62,8437760,[[17,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,MC)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ew)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(73,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(74,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,51,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(77,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(78,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,uw)),uS._17(81,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(84,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(85,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,tw)),uS._17(88,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"neighbourhood_name");l(n,25,0,"Neighbour Name","text");l(n,29,0,(null==n.context.$implicit.controls.neighbourhood_name.errors?null:n.context.$implicit.controls.neighbourhood_name.errors.required)||n.context.$implicit.controls.neighbourhood_name.touched);l(n,43,0,"do_know");l(n,46,0,"Do you know about the applicants or their business?");l(n,58,0,"Yes");l(n,62,0,"No");l(n,67,0,(null==n.context.$implicit.controls.do_know.errors?null:n.context.$implicit.controls.do_know.errors.required)||n.context.$implicit.controls.do_know.touched);l(n,71,0,""!=n.context.$implicit.controls.do_know.value);l(n,81,0,e.neighbourhoodForm.controls.neighbourhood_list.controls.length>1);l(n,88,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()]);l(n,32,1,[uS._32(n,33)._control.errorState,uS._32(n,33)._control.errorState,uS._32(n,33)._canLabelFloat,uS._32(n,33)._shouldLabelFloat(),uS._32(n,33)._hideControlPlaceholder(),uS._32(n,33)._control.disabled,uS._32(n,33)._control.focused,"primary"==uS._32(n,33).color,"accent"==uS._32(n,33).color,"warn"==uS._32(n,33).color,uS._32(n,33)._shouldForward("untouched"),uS._32(n,33)._shouldForward("touched"),uS._32(n,33)._shouldForward("pristine"),uS._32(n,33)._shouldForward("dirty"),uS._32(n,33)._shouldForward("valid"),uS._32(n,33)._shouldForward("invalid"),uS._32(n,33)._shouldForward("pending")]);l(n,42,1,[uS._32(n,45).ngClassUntouched,uS._32(n,45).ngClassTouched,uS._32(n,45).ngClassPristine,uS._32(n,45).ngClassDirty,uS._32(n,45).ngClassValid,uS._32(n,45).ngClassInvalid,uS._32(n,45).ngClassPending,uS._32(n,46).id,uS._32(n,46).tabIndex,uS._32(n,46)._ariaLabel,uS._32(n,46).ariaLabelledby,uS._32(n,46).required.toString(),uS._32(n,46).disabled.toString(),uS._32(n,46).errorState,uS._32(n,46).panelOpen?uS._32(n,46)._optionIds:null,uS._32(n,46).multiple,uS._32(n,46)._ariaDescribedby||null,uS._32(n,46)._getAriaActiveDescendant(),uS._32(n,46).disabled,uS._32(n,46).errorState,uS._32(n,46).required]);l(n,53,0,uS._32(n,54)._getTabIndex(),uS._32(n,54).selected,uS._32(n,54).multiple,uS._32(n,54).active,uS._32(n,54).id,uS._32(n,54).selected.toString(),uS._32(n,54).disabled.toString(),uS._32(n,54).disabled);l(n,57,0,uS._32(n,58)._getTabIndex(),uS._32(n,58).selected,uS._32(n,58).multiple,uS._32(n,58).active,uS._32(n,58).id,uS._32(n,58).selected.toString(),uS._32(n,58).disabled.toString(),uS._32(n,58).disabled);l(n,61,0,uS._32(n,62)._getTabIndex(),uS._32(n,62).selected,uS._32(n,62).multiple,uS._32(n,62).active,uS._32(n,62).id,uS._32(n,62).selected.toString(),uS._32(n,62).disabled.toString(),uS._32(n,62).disabled)})}function iw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,aw)),uS._17(9,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-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,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending)})}function ow(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[55,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Status is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function rw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,49,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,45,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,42,"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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,52,{_control:0}),uS._38(335544320,53,{_placeholderChild:0}),uS._38(335544320,54,{_labelChild:0}),uS._38(603979776,55,{_errorChildren:1}),uS._38(603979776,56,{_hintChildren:1}),uS._38(603979776,57,{_prefixChildren:1}),uS._38(603979776,58,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,1,28,"mat-select",[["class","mat-select"],["formControlName","neighbourhood_status"],["placeholder","Status of the check as per PD officer?"],["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!==uS._32(l,21)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,21)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,21)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(16,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,59,{options:1}),uS._38(603979776,60,{optionGroups:1}),uS._38(335544320,61,{customTrigger:0}),uS._37(2048,[[52,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[59,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,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!==uS._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,33)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(33,8437760,[[59,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Positive"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(36,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!==uS._32(l,37)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,37)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(37,8437760,[[59,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Negative"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(40,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Could not verify"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,41)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,41)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(41,8437760,[[59,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Could not verify"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,ow)),uS._17(46,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"");l(n,18,0,"neighbourhood_status");l(n,21,0,"Status of the check as per PD officer?","");l(n,33,0,"Positive");l(n,37,0,"Negative");l(n,41,0,"Could not verify");l(n,46,0,(null==e.neighbourhoodForm.controls.neighbourhood_status.errors?null:e.neighbourhoodForm.controls.neighbourhood_status.errors.required)||e.neighbourhoodForm.controls.neighbourhood_status.touched)},function(l,n){l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,16).required?"":null,uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21).id,uS._32(n,21).tabIndex,uS._32(n,21)._ariaLabel,uS._32(n,21).ariaLabelledby,uS._32(n,21).required.toString(),uS._32(n,21).disabled.toString(),uS._32(n,21).errorState,uS._32(n,21).panelOpen?uS._32(n,21)._optionIds:null,uS._32(n,21).multiple,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21)._getAriaActiveDescendant(),uS._32(n,21).disabled,uS._32(n,21).errorState,uS._32(n,21).required]);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,32,0,uS._32(n,33)._getTabIndex(),uS._32(n,33).selected,uS._32(n,33).multiple,uS._32(n,33).active,uS._32(n,33).id,uS._32(n,33).selected.toString(),uS._32(n,33).disabled.toString(),uS._32(n,33).disabled);l(n,36,0,uS._32(n,37)._getTabIndex(),uS._32(n,37).selected,uS._32(n,37).multiple,uS._32(n,37).active,uS._32(n,37).id,uS._32(n,37).selected.toString(),uS._32(n,37).disabled.toString(),uS._32(n,37).disabled);l(n,40,0,uS._32(n,41)._getTabIndex(),uS._32(n,41).selected,uS._32(n,41).multiple,uS._32(n,41).active,uS._32(n,41).id,uS._32(n,41).selected.toString(),uS._32(n,41).disabled.toString(),uS._32(n,41).disabled)})}function _w(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[72,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Enter Valid Mobile Number. "]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function dw(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,[" Enter valid Mobile Number"]))],null,null)}function sw(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[104,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relation_with_business_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.relation_with_business_name)))})}function cw(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,107,{_control:0}),uS._38(335544320,108,{_placeholderChild:0}),uS._38(335544320,109,{_labelChild:0}),uS._38(603979776,110,{_errorChildren:1}),uS._38(603979776,111,{_hintChildren:1}),uS._38(603979776,112,{_prefixChildren:1}),uS._38(603979776,113,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[107,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others");l(n,16,0,"Others","text")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function mw(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[142,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function pw(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,145,{_control:0}),uS._38(335544320,146,{_placeholderChild:0}),uS._38(335544320,147,{_labelChild:0}),uS._38(603979776,148,{_errorChildren:1}),uS._38(603979776,149,{_hintChildren:1}),uS._38(603979776,150,{_prefixChildren:1}),uS._38(603979776,151,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[145,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function fw(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[159,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function hw(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,162,{_control:0}),uS._38(335544320,163,{_placeholderChild:0}),uS._38(335544320,164,{_labelChild:0}),uS._38(603979776,165,{_errorChildren:1}),uS._38(603979776,166,{_hintChildren:1}),uS._38(603979776,167,{_prefixChildren:1}),uS._38(603979776,168,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[162,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function gw(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function bw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,313,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(6,null,["Reference Details #",""])),(l()(),uS._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(10,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,62,{_control:0}),uS._38(335544320,63,{_placeholderChild:0}),uS._38(335544320,64,{_labelChild:0}),uS._38(603979776,65,{_errorChildren:1}),uS._38(603979776,66,{_hintChildren:1}),uS._38(603979776,67,{_prefixChildren:1}),uS._38(603979776,68,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[62,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(30,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,69,{_control:0}),uS._38(335544320,70,{_placeholderChild:0}),uS._38(335544320,71,{_labelChild:0}),uS._38(603979776,72,{_errorChildren:1}),uS._38(603979776,73,{_hintChildren:1}),uS._38(603979776,74,{_prefixChildren:1}),uS._38(603979776,75,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,40)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,41).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,41).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,41).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,46)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(40,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(41,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(43,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(45,16384,null,0,xS.s,[xS.r],null,null),uS._17(46,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[69,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,_w)),uS._17(50,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,[" \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,dw)),uS._17(54,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(56,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" Landline Number"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(60,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,76,{_control:0}),uS._38(335544320,77,{_placeholderChild:0}),uS._38(335544320,78,{_labelChild:0}),uS._38(603979776,79,{_errorChildren:1}),uS._38(603979776,80,{_hintChildren:1}),uS._38(603979776,81,{_prefixChildren:1}),uS._38(603979776,82,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,70)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,70).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,70)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,70)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,71).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,71).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,71).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,79)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,79)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,79)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(70,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(71,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(72,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(73,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(76,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(78,16384,null,0,xS.s,[xS.r],null,null),uS._17(79,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[76,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(84,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,83,{_control:0}),uS._38(335544320,84,{_placeholderChild:0}),uS._38(335544320,85,{_labelChild:0}),uS._38(603979776,86,{_errorChildren:1}),uS._38(603979776,87,{_hintChildren:1}),uS._38(603979776,88,{_prefixChildren:1}),uS._38(603979776,89,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,94)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,94).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,94)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,94)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,95).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,95).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,95).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,103)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(94,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(95,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(96,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(97,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(100,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(102,16384,null,0,xS.s,[xS.r],null,null),uS._17(103,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[83,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(108,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,90,{_control:0}),uS._38(335544320,91,{_placeholderChild:0}),uS._38(335544320,92,{_labelChild:0}),uS._38(603979776,93,{_errorChildren:1}),uS._38(603979776,94,{_hintChildren:1}),uS._38(603979776,95,{_prefixChildren:1}),uS._38(603979776,96,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,118)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,118).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,118)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,118)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,123)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,123)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,123)._onInput()&&u}return u},null,null)),uS._17(118,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(120,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(122,16384,null,0,xS.s,[xS.r],null,null),uS._17(123,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[90,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(128,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,97,{_control:0}),uS._38(335544320,98,{_placeholderChild:0}),uS._38(335544320,99,{_labelChild:0}),uS._38(603979776,100,{_errorChildren:1}),uS._38(603979776,101,{_hintChildren:1}),uS._38(603979776,102,{_prefixChildren:1}),uS._38(603979776,103,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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!==uS._32(l,141)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,141)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,141)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(138,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(140,16384,null,0,xS.s,[xS.r],null,null),uS._17(141,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,104,{options:1}),uS._38(603979776,105,{optionGroups:1}),uS._38(335544320,106,{customTrigger:0}),uS._37(2048,[[97,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,149)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,149)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(149,8437760,[[104,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,sw)),uS._17(153,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,cw)),uS._17(158,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(160,0,[["period_paragraph",1]],null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Period of Relationship"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(164,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,114,{_control:0}),uS._38(335544320,115,{_placeholderChild:0}),uS._38(335544320,116,{_labelChild:0}),uS._38(603979776,117,{_errorChildren:1}),uS._38(603979776,118,{_hintChildren:1}),uS._38(603979776,119,{_prefixChildren:1}),uS._38(603979776,120,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,174)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,174).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,174)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,174)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,175).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,175).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,175).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,180)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,180)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,180)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(174,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(175,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(177,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(179,16384,null,0,xS.s,[xS.r],null,null),uS._17(180,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[114,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(185,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,121,{_control:0}),uS._38(335544320,122,{_placeholderChild:0}),uS._38(335544320,123,{_labelChild:0}),uS._38(603979776,124,{_errorChildren:1}),uS._38(603979776,125,{_hintChildren:1}),uS._38(603979776,126,{_prefixChildren:1}),uS._38(603979776,127,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,195)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,195).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,195)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,195)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,196).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,196).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,196).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,201)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,201)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,201)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value,2)&&u}return u},null,null)),uS._17(195,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(196,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(198,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(200,16384,null,0,xS.s,[xS.r],null,null),uS._17(201,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[121,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(205,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,cT.b,cT.a)),uS._17(206,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,128,{_control:0}),uS._38(335544320,129,{_placeholderChild:0}),uS._38(335544320,130,{_labelChild:0}),uS._38(603979776,131,{_errorChildren:1}),uS._38(603979776,132,{_hintChildren:1}),uS._38(603979776,133,{_prefixChildren:1}),uS._38(603979776,134,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,216)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,216).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,216)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,216)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,221)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,221)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,221)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),uS._17(216,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(218,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(220,16384,null,0,xS.s,[xS.r],null,null),uS._17(221,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[128,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(226,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,cT.b,cT.a)),uS._17(227,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,135,{_control:0}),uS._38(335544320,136,{_placeholderChild:0}),uS._38(335544320,137,{_labelChild:0}),uS._38(603979776,138,{_errorChildren:1}),uS._38(603979776,139,{_hintChildren:1}),uS._38(603979776,140,{_prefixChildren:1}),uS._38(603979776,141,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(236,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!==uS._32(l,240)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,240)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,240)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(237,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(239,16384,null,0,xS.s,[xS.r],null,null),uS._17(240,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,142,{options:1}),uS._38(603979776,143,{optionGroups:1}),uS._38(335544320,144,{customTrigger:0}),uS._37(2048,[[135,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(247,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!==uS._32(l,248)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,248)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(248,8437760,[[142,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,mw)),uS._17(252,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,pw)),uS._17(257,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(259,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,cT.b,cT.a)),uS._17(260,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,152,{_control:0}),uS._38(335544320,153,{_placeholderChild:0}),uS._38(335544320,154,{_labelChild:0}),uS._38(603979776,155,{_errorChildren:1}),uS._38(603979776,156,{_hintChildren:1}),uS._38(603979776,157,{_prefixChildren:1}),uS._38(603979776,158,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(269,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!==uS._32(l,273)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,273)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,273)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(270,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(272,16384,null,0,xS.s,[xS.r],null,null),uS._17(273,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,159,{options:1}),uS._38(603979776,160,{optionGroups:1}),uS._38(335544320,161,{customTrigger:0}),uS._37(2048,[[152,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(280,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!==uS._32(l,281)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,281)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(281,8437760,[[159,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,fw)),uS._17(285,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hw)),uS._17(290,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(292,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(293,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,169,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(296,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(297,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(299,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(301,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(302,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(306,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(307,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gw)),uS._17(310,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,237,0,"business_volume_unit");l(n,240,0,"Unit");l(n,252,0,e.frequency);l(n,257,0,1==n.context.$implicit.controls.business_volume_unit.value);l(n,270,0,"reference_final_remarks");l(n,273,0,"Final remarks of PD officer on Reference Check done");l(n,285,0,e.finalRemarksList);l(n,290,0,""!=n.context.$implicit.controls.reference_final_remarks.value);l(n,302,0,"optblue","md-trash");l(n,310,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,9,1,[uS._32(n,10)._control.errorState,uS._32(n,10)._control.errorState,uS._32(n,10)._canLabelFloat,uS._32(n,10)._shouldLabelFloat(),uS._32(n,10)._hideControlPlaceholder(),uS._32(n,10)._control.disabled,uS._32(n,10)._control.focused,"primary"==uS._32(n,10).color,"accent"==uS._32(n,10).color,"warn"==uS._32(n,10).color,uS._32(n,10)._shouldForward("untouched"),uS._32(n,10)._shouldForward("touched"),uS._32(n,10)._shouldForward("pristine"),uS._32(n,10)._shouldForward("dirty"),uS._32(n,10)._shouldForward("valid"),uS._32(n,10)._shouldForward("invalid"),uS._32(n,10)._shouldForward("pending")]);l(n,19,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()]);l(n,29,1,[uS._32(n,30)._control.errorState,uS._32(n,30)._control.errorState,uS._32(n,30)._canLabelFloat,uS._32(n,30)._shouldLabelFloat(),uS._32(n,30)._hideControlPlaceholder(),uS._32(n,30)._control.disabled,uS._32(n,30)._control.focused,"primary"==uS._32(n,30).color,"accent"==uS._32(n,30).color,"warn"==uS._32(n,30).color,uS._32(n,30)._shouldForward("untouched"),uS._32(n,30)._shouldForward("touched"),uS._32(n,30)._shouldForward("pristine"),uS._32(n,30)._shouldForward("dirty"),uS._32(n,30)._shouldForward("valid"),uS._32(n,30)._shouldForward("invalid"),uS._32(n,30)._shouldForward("pending")]);l(n,39,1,[uS._32(n,45).ngClassUntouched,uS._32(n,45).ngClassTouched,uS._32(n,45).ngClassPristine,uS._32(n,45).ngClassDirty,uS._32(n,45).ngClassValid,uS._32(n,45).ngClassInvalid,uS._32(n,45).ngClassPending,uS._32(n,46)._isServer,uS._32(n,46).id,uS._32(n,46).placeholder,uS._32(n,46).disabled,uS._32(n,46).required,uS._32(n,46).readonly,uS._32(n,46)._ariaDescribedby||null,uS._32(n,46).errorState,uS._32(n,46).required.toString()]);l(n,59,1,[uS._32(n,60)._control.errorState,uS._32(n,60)._control.errorState,uS._32(n,60)._canLabelFloat,uS._32(n,60)._shouldLabelFloat(),uS._32(n,60)._hideControlPlaceholder(),uS._32(n,60)._control.disabled,uS._32(n,60)._control.focused,"primary"==uS._32(n,60).color,"accent"==uS._32(n,60).color,"warn"==uS._32(n,60).color,uS._32(n,60)._shouldForward("untouched"),uS._32(n,60)._shouldForward("touched"),uS._32(n,60)._shouldForward("pristine"),uS._32(n,60)._shouldForward("dirty"),uS._32(n,60)._shouldForward("valid"),uS._32(n,60)._shouldForward("invalid"),uS._32(n,60)._shouldForward("pending")]);l(n,69,1,[uS._32(n,72).minlength?uS._32(n,72).minlength:null,uS._32(n,73).maxlength?uS._32(n,73).maxlength:null,uS._32(n,78).ngClassUntouched,uS._32(n,78).ngClassTouched,uS._32(n,78).ngClassPristine,uS._32(n,78).ngClassDirty,uS._32(n,78).ngClassValid,uS._32(n,78).ngClassInvalid,uS._32(n,78).ngClassPending,uS._32(n,79)._isServer,uS._32(n,79).id,uS._32(n,79).placeholder,uS._32(n,79).disabled,uS._32(n,79).required,uS._32(n,79).readonly,uS._32(n,79)._ariaDescribedby||null,uS._32(n,79).errorState,uS._32(n,79).required.toString()]);l(n,83,1,[uS._32(n,84)._control.errorState,uS._32(n,84)._control.errorState,uS._32(n,84)._canLabelFloat,uS._32(n,84)._shouldLabelFloat(),uS._32(n,84)._hideControlPlaceholder(),uS._32(n,84)._control.disabled,uS._32(n,84)._control.focused,"primary"==uS._32(n,84).color,"accent"==uS._32(n,84).color,"warn"==uS._32(n,84).color,uS._32(n,84)._shouldForward("untouched"),uS._32(n,84)._shouldForward("touched"),uS._32(n,84)._shouldForward("pristine"),uS._32(n,84)._shouldForward("dirty"),uS._32(n,84)._shouldForward("valid"),uS._32(n,84)._shouldForward("invalid"),uS._32(n,84)._shouldForward("pending")]);l(n,93,1,[uS._32(n,96).minlength?uS._32(n,96).minlength:null,uS._32(n,97).maxlength?uS._32(n,97).maxlength:null,uS._32(n,102).ngClassUntouched,uS._32(n,102).ngClassTouched,uS._32(n,102).ngClassPristine,uS._32(n,102).ngClassDirty,uS._32(n,102).ngClassValid,uS._32(n,102).ngClassInvalid,uS._32(n,102).ngClassPending,uS._32(n,103)._isServer,uS._32(n,103).id,uS._32(n,103).placeholder,uS._32(n,103).disabled,uS._32(n,103).required,uS._32(n,103).readonly,uS._32(n,103)._ariaDescribedby||null,uS._32(n,103).errorState,uS._32(n,103).required.toString()]);l(n,107,1,[uS._32(n,108)._control.errorState,uS._32(n,108)._control.errorState,uS._32(n,108)._canLabelFloat,uS._32(n,108)._shouldLabelFloat(),uS._32(n,108)._hideControlPlaceholder(),uS._32(n,108)._control.disabled,uS._32(n,108)._control.focused,"primary"==uS._32(n,108).color,"accent"==uS._32(n,108).color,"warn"==uS._32(n,108).color,uS._32(n,108)._shouldForward("untouched"),uS._32(n,108)._shouldForward("touched"),uS._32(n,108)._shouldForward("pristine"),uS._32(n,108)._shouldForward("dirty"),uS._32(n,108)._shouldForward("valid"),uS._32(n,108)._shouldForward("invalid"),uS._32(n,108)._shouldForward("pending")]);l(n,117,1,[uS._32(n,122).ngClassUntouched,uS._32(n,122).ngClassTouched,uS._32(n,122).ngClassPristine,uS._32(n,122).ngClassDirty,uS._32(n,122).ngClassValid,uS._32(n,122).ngClassInvalid,uS._32(n,122).ngClassPending,uS._32(n,123)._isServer,uS._32(n,123).id,uS._32(n,123).placeholder,uS._32(n,123).disabled,uS._32(n,123).required,uS._32(n,123).readonly,uS._32(n,123)._ariaDescribedby||null,uS._32(n,123).errorState,uS._32(n,123).required.toString()]);l(n,127,1,[uS._32(n,128)._control.errorState,uS._32(n,128)._control.errorState,uS._32(n,128)._canLabelFloat,uS._32(n,128)._shouldLabelFloat(),uS._32(n,128)._hideControlPlaceholder(),uS._32(n,128)._control.disabled,uS._32(n,128)._control.focused,"primary"==uS._32(n,128).color,"accent"==uS._32(n,128).color,"warn"==uS._32(n,128).color,uS._32(n,128)._shouldForward("untouched"),uS._32(n,128)._shouldForward("touched"),uS._32(n,128)._shouldForward("pristine"),uS._32(n,128)._shouldForward("dirty"),uS._32(n,128)._shouldForward("valid"),uS._32(n,128)._shouldForward("invalid"),uS._32(n,128)._shouldForward("pending")]);l(n,137,1,[uS._32(n,140).ngClassUntouched,uS._32(n,140).ngClassTouched,uS._32(n,140).ngClassPristine,uS._32(n,140).ngClassDirty,uS._32(n,140).ngClassValid,uS._32(n,140).ngClassInvalid,uS._32(n,140).ngClassPending,uS._32(n,141).id,uS._32(n,141).tabIndex,uS._32(n,141)._ariaLabel,uS._32(n,141).ariaLabelledby,uS._32(n,141).required.toString(),uS._32(n,141).disabled.toString(),uS._32(n,141).errorState,uS._32(n,141).panelOpen?uS._32(n,141)._optionIds:null,uS._32(n,141).multiple,uS._32(n,141)._ariaDescribedby||null,uS._32(n,141)._getAriaActiveDescendant(),uS._32(n,141).disabled,uS._32(n,141).errorState,uS._32(n,141).required]);l(n,148,0,uS._32(n,149)._getTabIndex(),uS._32(n,149).selected,uS._32(n,149).multiple,uS._32(n,149).active,uS._32(n,149).id,uS._32(n,149).selected.toString(),uS._32(n,149).disabled.toString(),uS._32(n,149).disabled);l(n,163,1,[uS._32(n,164)._control.errorState,uS._32(n,164)._control.errorState,uS._32(n,164)._canLabelFloat,uS._32(n,164)._shouldLabelFloat(),uS._32(n,164)._hideControlPlaceholder(),uS._32(n,164)._control.disabled,uS._32(n,164)._control.focused,"primary"==uS._32(n,164).color,"accent"==uS._32(n,164).color,"warn"==uS._32(n,164).color,uS._32(n,164)._shouldForward("untouched"),uS._32(n,164)._shouldForward("touched"),uS._32(n,164)._shouldForward("pristine"),uS._32(n,164)._shouldForward("dirty"),uS._32(n,164)._shouldForward("valid"),uS._32(n,164)._shouldForward("invalid"),uS._32(n,164)._shouldForward("pending")]);l(n,173,1,[uS._32(n,179).ngClassUntouched,uS._32(n,179).ngClassTouched,uS._32(n,179).ngClassPristine,uS._32(n,179).ngClassDirty,uS._32(n,179).ngClassValid,uS._32(n,179).ngClassInvalid,uS._32(n,179).ngClassPending,uS._32(n,180)._isServer,uS._32(n,180).id,uS._32(n,180).placeholder,uS._32(n,180).disabled,uS._32(n,180).required,uS._32(n,180).readonly,uS._32(n,180)._ariaDescribedby||null,uS._32(n,180).errorState,uS._32(n,180).required.toString()]);l(n,184,1,[uS._32(n,185)._control.errorState,uS._32(n,185)._control.errorState,uS._32(n,185)._canLabelFloat,uS._32(n,185)._shouldLabelFloat(),uS._32(n,185)._hideControlPlaceholder(),uS._32(n,185)._control.disabled,uS._32(n,185)._control.focused,"primary"==uS._32(n,185).color,"accent"==uS._32(n,185).color,"warn"==uS._32(n,185).color,uS._32(n,185)._shouldForward("untouched"),uS._32(n,185)._shouldForward("touched"),uS._32(n,185)._shouldForward("pristine"),uS._32(n,185)._shouldForward("dirty"),uS._32(n,185)._shouldForward("valid"),uS._32(n,185)._shouldForward("invalid"),uS._32(n,185)._shouldForward("pending")]);l(n,194,1,[uS._32(n,200).ngClassUntouched,uS._32(n,200).ngClassTouched,uS._32(n,200).ngClassPristine,uS._32(n,200).ngClassDirty,uS._32(n,200).ngClassValid,uS._32(n,200).ngClassInvalid,uS._32(n,200).ngClassPending,uS._32(n,201)._isServer,uS._32(n,201).id,uS._32(n,201).placeholder,uS._32(n,201).disabled,uS._32(n,201).required,uS._32(n,201).readonly,uS._32(n,201)._ariaDescribedby||null,uS._32(n,201).errorState,uS._32(n,201).required.toString()]);l(n,205,1,[uS._32(n,206)._control.errorState,uS._32(n,206)._control.errorState,uS._32(n,206)._canLabelFloat,uS._32(n,206)._shouldLabelFloat(),uS._32(n,206)._hideControlPlaceholder(),uS._32(n,206)._control.disabled,uS._32(n,206)._control.focused,"primary"==uS._32(n,206).color,"accent"==uS._32(n,206).color,"warn"==uS._32(n,206).color,uS._32(n,206)._shouldForward("untouched"),uS._32(n,206)._shouldForward("touched"),uS._32(n,206)._shouldForward("pristine"),uS._32(n,206)._shouldForward("dirty"),uS._32(n,206)._shouldForward("valid"),uS._32(n,206)._shouldForward("invalid"),uS._32(n,206)._shouldForward("pending")]);l(n,215,1,[uS._32(n,220).ngClassUntouched,uS._32(n,220).ngClassTouched,uS._32(n,220).ngClassPristine,uS._32(n,220).ngClassDirty,uS._32(n,220).ngClassValid,uS._32(n,220).ngClassInvalid,uS._32(n,220).ngClassPending,uS._32(n,221)._isServer,uS._32(n,221).id,uS._32(n,221).placeholder,uS._32(n,221).disabled,uS._32(n,221).required,uS._32(n,221).readonly,uS._32(n,221)._ariaDescribedby||null,uS._32(n,221).errorState,uS._32(n,221).required.toString()]);l(n,226,1,[uS._32(n,227)._control.errorState,uS._32(n,227)._control.errorState,uS._32(n,227)._canLabelFloat,uS._32(n,227)._shouldLabelFloat(),uS._32(n,227)._hideControlPlaceholder(),uS._32(n,227)._control.disabled,uS._32(n,227)._control.focused,"primary"==uS._32(n,227).color,"accent"==uS._32(n,227).color,"warn"==uS._32(n,227).color,uS._32(n,227)._shouldForward("untouched"),uS._32(n,227)._shouldForward("touched"),uS._32(n,227)._shouldForward("pristine"),uS._32(n,227)._shouldForward("dirty"),uS._32(n,227)._shouldForward("valid"),uS._32(n,227)._shouldForward("invalid"),uS._32(n,227)._shouldForward("pending")]);l(n,236,1,[uS._32(n,239).ngClassUntouched,uS._32(n,239).ngClassTouched,uS._32(n,239).ngClassPristine,uS._32(n,239).ngClassDirty,uS._32(n,239).ngClassValid,uS._32(n,239).ngClassInvalid,uS._32(n,239).ngClassPending,uS._32(n,240).id,uS._32(n,240).tabIndex,uS._32(n,240)._ariaLabel,uS._32(n,240).ariaLabelledby,uS._32(n,240).required.toString(),uS._32(n,240).disabled.toString(),uS._32(n,240).errorState,uS._32(n,240).panelOpen?uS._32(n,240)._optionIds:null,uS._32(n,240).multiple,uS._32(n,240)._ariaDescribedby||null,uS._32(n,240)._getAriaActiveDescendant(),uS._32(n,240).disabled,uS._32(n,240).errorState,uS._32(n,240).required]);l(n,247,0,uS._32(n,248)._getTabIndex(),uS._32(n,248).selected,uS._32(n,248).multiple,uS._32(n,248).active,uS._32(n,248).id,uS._32(n,248).selected.toString(),uS._32(n,248).disabled.toString(),uS._32(n,248).disabled);l(n,259,1,[uS._32(n,260)._control.errorState,uS._32(n,260)._control.errorState,uS._32(n,260)._canLabelFloat,uS._32(n,260)._shouldLabelFloat(),uS._32(n,260)._hideControlPlaceholder(),uS._32(n,260)._control.disabled,uS._32(n,260)._control.focused,"primary"==uS._32(n,260).color,"accent"==uS._32(n,260).color,"warn"==uS._32(n,260).color,uS._32(n,260)._shouldForward("untouched"),uS._32(n,260)._shouldForward("touched"),uS._32(n,260)._shouldForward("pristine"),uS._32(n,260)._shouldForward("dirty"),uS._32(n,260)._shouldForward("valid"),uS._32(n,260)._shouldForward("invalid"),uS._32(n,260)._shouldForward("pending")]);l(n,269,1,[uS._32(n,272).ngClassUntouched,uS._32(n,272).ngClassTouched,uS._32(n,272).ngClassPristine,uS._32(n,272).ngClassDirty,uS._32(n,272).ngClassValid,uS._32(n,272).ngClassInvalid,uS._32(n,272).ngClassPending,uS._32(n,273).id,uS._32(n,273).tabIndex,uS._32(n,273)._ariaLabel,uS._32(n,273).ariaLabelledby,uS._32(n,273).required.toString(),uS._32(n,273).disabled.toString(),uS._32(n,273).errorState,uS._32(n,273).panelOpen?uS._32(n,273)._optionIds:null,uS._32(n,273).multiple,uS._32(n,273)._ariaDescribedby||null,uS._32(n,273)._getAriaActiveDescendant(),uS._32(n,273).disabled,uS._32(n,273).errorState,uS._32(n,273).required]);l(n,280,0,uS._32(n,281)._getTabIndex(),uS._32(n,281).selected,uS._32(n,281).multiple,uS._32(n,281).active,uS._32(n,281).id,uS._32(n,281).selected.toString(),uS._32(n,281).disabled.toString(),uS._32(n,281).disabled);l(n,301,0,uS._32(n,302)._hidden)})}function vw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._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)),uS._17(4,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(6,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,bw)),uS._17(9,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,6).ngClassUntouched,uS._32(n,6).ngClassTouched,uS._32(n,6).ngClassPristine,uS._32(n,6).ngClassDirty,uS._32(n,6).ngClassValid,uS._32(n,6).ngClassInvalid,uS._32(n,6).ngClassPending)})}function yw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size:13px"]],[[1,"id",0]],null,null,null,null)),uS._17(1,16384,[[173,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Remarks is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function Cw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,49,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,iw)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rw)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,vw)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(17,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(19,0,null,0,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,cT.b,cT.a)),uS._17(20,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,170,{_control:0}),uS._38(335544320,171,{_placeholderChild:0}),uS._38(335544320,172,{_labelChild:0}),uS._38(603979776,173,{_errorChildren:1}),uS._38(603979776,174,{_hintChildren:1}),uS._38(603979776,175,{_prefixChildren:1}),uS._38(603979776,176,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(29,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","neighbour_reference_remark"],["matInput",""],["name","neighbour_reference_remark"],["placeholder","Remarks"],["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!==uS._32(l,30)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,30).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,30)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,30)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,37)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,37)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,37)._onInput()&&u}return u},null,null)),uS._17(30,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(31,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(34,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(36,16384,null,0,xS.s,[xS.r],null,null),uS._17(37,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),uS._37(2048,[[170,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,yw)),uS._17(41,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(45,0,null,null,3,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(46,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.neighbourhoodForm);l(n,8,0,0==e.neighbourhoodForm.get("check_type").value);l(n,11,0,0==e.neighbourhoodForm.controls.check_type.value);l(n,14,0,1==e.neighbourhoodForm.get("check_type").value);l(n,31,0,"");l(n,34,0,"neighbour_reference_remark");l(n,37,0,"Remarks","","text");l(n,41,0,null==e.neighbourhoodForm.controls.neighbour_reference_remark.errors?null:e.neighbourhoodForm.controls.neighbour_reference_remark.errors.required)},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,19,1,[uS._32(n,20)._control.errorState,uS._32(n,20)._control.errorState,uS._32(n,20)._canLabelFloat,uS._32(n,20)._shouldLabelFloat(),uS._32(n,20)._hideControlPlaceholder(),uS._32(n,20)._control.disabled,uS._32(n,20)._control.focused,"primary"==uS._32(n,20).color,"accent"==uS._32(n,20).color,"warn"==uS._32(n,20).color,uS._32(n,20)._shouldForward("untouched"),uS._32(n,20)._shouldForward("touched"),uS._32(n,20)._shouldForward("pristine"),uS._32(n,20)._shouldForward("dirty"),uS._32(n,20)._shouldForward("valid"),uS._32(n,20)._shouldForward("invalid"),uS._32(n,20)._shouldForward("pending")]);l(n,29,1,[uS._32(n,31).required?"":null,uS._32(n,36).ngClassUntouched,uS._32(n,36).ngClassTouched,uS._32(n,36).ngClassPristine,uS._32(n,36).ngClassDirty,uS._32(n,36).ngClassValid,uS._32(n,36).ngClassInvalid,uS._32(n,36).ngClassPending,uS._32(n,37)._isServer,uS._32(n,37).id,uS._32(n,37).placeholder,uS._32(n,37).disabled,uS._32(n,37).required,uS._32(n,37).readonly,uS._32(n,37)._ariaDescribedby||null,uS._32(n,37).errorState,uS._32(n,37).required.toString()])})}function ww(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.neighbourhoodForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Fw(l){return uS._42(0,[uS._34(0,wI.u,[]),(l()(),uS._18(1,0,null,null,36,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,DC)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,3,["\n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(23,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(25,16384,null,0,xS.s,[xS.r],null,null),uS._17(26,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,30).onClick()&&u}return u},jT.b,jT.a)),uS._17(30,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(33,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,34).onClick()&&u}return u},jT.b,jT.a)),uS._17(34,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(39,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(40,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(43,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,RC)),uS._17(46,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Cw)),uS._17(49,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(52,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(53,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,177,{_mainButton:0}),uS._38(603979776,178,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(57,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(58,49152,[[177,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(59,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(60,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(63,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(64,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ww)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,23,0,e.tab);l(n,26,0,"optblue");l(n,30,0,"0");l(n,34,0,"1");l(n,43,0,e.tab);l(n,46,0,"1");l(n,49,0,"0");l(n,58,0,"optblue");l(n,60,0,"md-camera");l(n,67,0,!e.complete_status)},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,22,0,uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending,uS._32(n,26)._disabled);l(n,29,0,uS._32(n,30)._disabled,uS._32(n,30).isActive,uS._32(n,30).isActive);l(n,33,0,uS._32(n,34)._disabled,uS._32(n,34).isActive,uS._32(n,34).isActive);l(n,39,0,uS._32(n,40).statusbarPadding,uS._32(n,40)._hasRefresher);l(n,59,0,uS._32(n,60)._hidden)})}function xw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function kw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function Sw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Iw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function qw(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Pw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Sw)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Iw)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qw)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function Dw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pw)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Tw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Ow(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Lw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Tw)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Ow)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Aw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Lw)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Vw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Nw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,kw)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Dw)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Aw)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Vw)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Ww(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.customer_behaviour_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,1==n.context.$implicit.customer_behaviour_id?"Other Negative Behaviour":n.context.$implicit.description)})}function Ew(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[6,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Customer Behaviour\n is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function jw(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,13,{_control:0}),uS._38(335544320,14,{_placeholderChild:0}),uS._38(335544320,15,{_labelChild:0}),uS._38(603979776,16,{_errorChildren:1}),uS._38(603979776,17,{_hintChildren:1}),uS._38(603979776,18,{_prefixChildren:1}),uS._38(603979776,19,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[13,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function $w(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[37,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pdofficer_recommendation_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.pdofficer_recommendation)})}function Bw(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,40,{_control:0}),uS._38(335544320,41,{_placeholderChild:0}),uS._38(335544320,42,{_labelChild:0}),uS._38(603979776,43,{_errorChildren:1}),uS._38(603979776,44,{_hintChildren:1}),uS._38(603979776,45,{_prefixChildren:1}),uS._38(603979776,46,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_pd_officers_recommendation"],["matInput",""],["placeholder","Specify PD Officers Recommendation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[40,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_pd_officers_recommendation");l(n,16,0,"Specify PD Officers Recommendation")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Rw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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.removeRecomendationPositive(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,uS._32(n,6)._hidden)})}function Uw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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.addRecomendationPositive()&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,uS._32(n,6)._hidden)})}function Mw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,39,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,47,{_control:0}),uS._38(335544320,48,{_placeholderChild:0}),uS._38(335544320,49,{_labelChild:0}),uS._38(603979776,50,{_errorChildren:1}),uS._38(603979776,51,{_hintChildren:1}),uS._38(603979776,52,{_prefixChildren:1}),uS._38(603979776,53,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),uS._17(16,16384,[[48,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["Reason for Marking PD Status as Positive"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_positive"],["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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],null,null),uS._37(2048,[[47,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(30,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,54,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Rw)),uS._17(34,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Uw)),uS._17(37,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_positive"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_positive").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,19,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()])})}function Kw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,7,"div",[["formArrayName","recommendation_positive"]],[[2,"ng-untouched",null],[2,"ng-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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mw)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_positive");l(n,8,0,e._finalRemarkForm.get("recommendation_positive").controls)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function Hw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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.removeRecomendationNegative(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,uS._32(n,6)._hidden)})}function Gw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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.addRecomendationNegative()&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,uS._32(n,6)._hidden)})}function Yw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,39,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,55,{_control:0}),uS._38(335544320,56,{_placeholderChild:0}),uS._38(335544320,57,{_labelChild:0}),uS._38(603979776,58,{_errorChildren:1}),uS._38(603979776,59,{_hintChildren:1}),uS._38(603979776,60,{_prefixChildren:1}),uS._38(603979776,61,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),uS._17(16,16384,[[56,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["Reasons for marking PD status as Negative"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_negative"],["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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],null,null),uS._37(2048,[[55,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(30,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,62,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hw)),uS._17(34,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Gw)),uS._17(37,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_negative"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_negative").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,19,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()])})}function zw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,7,"div",[["formArrayName","recommendation_negative"]],[[2,"ng-untouched",null],[2,"ng-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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Yw)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_negative");l(n,8,0,e._finalRemarkForm.get("recommendation_negative").controls)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function Qw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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.removeRecomendationCreditRefer(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,uS._32(n,6)._hidden)})}function Jw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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.addRecomendationCreditRefer()&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,uS._32(n,6)._hidden)})}function Zw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,39,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,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,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,63,{_control:0}),uS._38(335544320,64,{_placeholderChild:0}),uS._38(335544320,65,{_labelChild:0}),uS._38(603979776,66,{_errorChildren:1}),uS._38(603979776,67,{_hintChildren:1}),uS._38(603979776,68,{_prefixChildren:1}),uS._38(603979776,69,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),uS._17(16,16384,[[64,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["Reasons for marking PD status as Refer to Credit"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_refer_to_credit"],["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!==uS._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}return u},null,null)),uS._17(20,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],null,null),uS._37(2048,[[63,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(30,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,70,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Qw)),uS._17(34,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Jw)),uS._17(37,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_refer_to_credit"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_refer_to_credit").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,19,1,[uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()])})}function Xw(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,7,"div",[["formArrayName","recommendation_refer_to_credit"]],[[2,"ng-untouched",null],[2,"ng-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)),uS._17(3,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Zw)),uS._17(8,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_refer_to_credit");l(n,8,0,e._finalRemarkForm.get("recommendation_refer_to_credit").controls)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending)})}function lF(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[78,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function nF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["required",""]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,81,{_control:0}),uS._38(335544320,82,{_placeholderChild:0}),uS._38(335544320,83,{_labelChild:0}),uS._38(603979776,84,{_errorChildren:1}),uS._38(603979776,85,{_hintChildren:1}),uS._38(603979776,86,{_prefixChildren:1}),uS._38(603979776,87,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_transport"],["matInput",""],["placeholder","Specify the Mode of Transport"],["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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[81,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n"]))],function(l,n){l(n,13,0,"others_transport");l(n,16,0,"Specify the Mode of Transport","text")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function eF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,233,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,42,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(7,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(9,0,null,0,38,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(10,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,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,cT.b,cT.a)),uS._17(13,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(22,0,null,1,17,"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!==uS._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,26)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(23,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(25,16384,null,0,xS.s,[xS.r],null,null),uS._17(26,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,10,{options:1}),uS._38(603979776,11,{optionGroups:1}),uS._38(335544320,12,{customTrigger:0}),uS._37(2048,[[3,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,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!==uS._32(l,34)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,34)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(34,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ww)),uS._17(38,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,Ew)),uS._17(42,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jw)),uS._17(46,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(50,0,null,null,150,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(51,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(53,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(54,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n Location\n "])),(l()(),uS._18(56,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(58,0,null,0,141,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(59,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(61,0,null,null,44,"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,cT.b,cT.a)),uS._17(62,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(71,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),uS._17(72,16384,[[21,4]],0,mT.g,[],null,null),(l()(),uS._40(-1,null,["Is the location of the business / profession suited to the nature of business / service provided? "])),(l()(),uS._18(74,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(76,0,null,1,28,"mat-select",[["class","mat-select"],["formControlName","is_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!==uS._32(l,82)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,82)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,82)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(77,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(79,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(81,16384,null,0,xS.s,[xS.r],null,null),uS._17(82,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{required:[0,"required"]},null),uS._38(603979776,27,{options:1}),uS._38(603979776,28,{optionGroups:1}),uS._38(335544320,29,{customTrigger:0}),uS._37(2048,[[20,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(89,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!==uS._32(l,90)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,90)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(90,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,[" \n \n "])),(l()(),uS._18(93,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!==uS._32(l,94)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,94)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(94,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Well Suited"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(97,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!==uS._32(l,98)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,98)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(98,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Fairly Suited"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(101,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!==uS._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,102)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(102,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Not Suited"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(107,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,cT.b,cT.a)),uS._17(108,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,30,{_control:0}),uS._38(335544320,31,{_placeholderChild:0}),uS._38(335544320,32,{_labelChild:0}),uS._38(603979776,33,{_errorChildren:1}),uS._38(603979776,34,{_hintChildren:1}),uS._38(603979776,35,{_prefixChildren:1}),uS._38(603979776,36,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(117,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","pd_officers_recommendation"],["placeholder","PD Officers Recommendation"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,123)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,123)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,123)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.RecommendationChange(e.value)&&u}return u},LO.b,LO.a)),uS._17(118,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(120,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(122,16384,null,0,xS.s,[xS.r],null,null),uS._17(123,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,37,{options:1}),uS._38(603979776,38,{optionGroups:1}),uS._38(335544320,39,{customTrigger:0}),uS._37(2048,[[30,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(130,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!==uS._32(l,131)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,131)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(131,8437760,[[37,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,[" \n "])),(l()(),uS._13(16777216,null,1,1,null,$w)),uS._17(135,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Bw)),uS._17(140,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._13(16777216,null,null,1,null,Kw)),uS._17(143,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._13(16777216,null,null,1,null,zw)),uS._17(146,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._13(16777216,null,null,1,null,Xw)),uS._17(149,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(150,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(152,0,null,null,9,"mat-label",[["float-right",""]],null,null,null,null,null)),uS._17(153,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Was the PD Address Outside Geographic Limit (OGL)\n "])),(l()(),uS._18(155,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","was_the_pd_address_ogl"]],[[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,null,YL.b,YL.a)),uS._17(156,1228800,null,0,zL.a,[uS.p,kS.a,bT.j,uS.i,[8,null]],{color:[0,"color"]},null),uS._37(1024,null,xS.q,function(l){return[l]},[zL.a]),uS._17(158,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(160,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(162,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(164,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,cT.b,cT.a)),uS._17(165,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,71,{_control:0}),uS._38(335544320,72,{_placeholderChild:0}),uS._38(335544320,73,{_labelChild:0}),uS._38(603979776,74,{_errorChildren:1}),uS._38(603979776,75,{_hintChildren:1}),uS._38(603979776,76,{_prefixChildren:1}),uS._38(603979776,77,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(174,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","mode_of_transport_during_visit"],["placeholder","Mode Of Transport used to visit the PD 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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,180)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,180)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,180)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setValidation()&&u}return u},LO.b,LO.a)),uS._17(175,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(177,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(179,16384,null,0,xS.s,[xS.r],null,null),uS._17(180,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,78,{options:1}),uS._38(603979776,79,{optionGroups:1}),uS._38(335544320,80,{customTrigger:0}),uS._37(2048,[[71,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(187,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!==uS._32(l,188)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,188)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(188,8437760,[[78,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,lF)),uS._17(192,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._13(16777216,null,null,1,null,nF)),uS._17(197,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(202,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(203,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(205,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,cT.b,cT.a)),uS._17(206,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,88,{_control:0}),uS._38(335544320,89,{_placeholderChild:0}),uS._38(335544320,90,{_labelChild:0}),uS._38(603979776,91,{_errorChildren:1}),uS._38(603979776,92,{_hintChildren:1}),uS._38(603979776,93,{_prefixChildren:1}),uS._38(603979776,94,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(215,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(216,16384,[[90,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Other Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(219,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","final_form_remarks"],["matInput",""],["placeholder","Other 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!==uS._32(l,220)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,220).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,220)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,220)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,225)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,225)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,225)._onInput()&&u}return u},null,null)),uS._17(220,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(222,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(224,16384,null,0,xS.s,[xS.r],null,null),uS._17(225,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[88,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(230,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(231,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,2,0,e._finalRemarkForm);l(n,23,0,"final_custormer_remark_type");l(n,26,0,"Customer Behaviour");l(n,38,0,e.m_remarkTypeCustomerBehaviour);l(n,42,0,null==e._finalRemarkForm.controls.final_custormer_remark_type.errors?null:e._finalRemarkForm.controls.final_custormer_remark_type.errors.required);l(n,46,0,1==e._finalRemarkForm.controls.final_custormer_remark_type.value);l(n,77,0,"");l(n,79,0,"is_service_provided");l(n,82,0,"");l(n,94,0,"well_suited");l(n,98,0,"fairly_suited");l(n,102,0,"not_suited");l(n,118,0,"");l(n,120,0,"pd_officers_recommendation");l(n,123,0,"PD Officers Recommendation","");l(n,135,0,e.m_recommendationList);l(n,140,0,1==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,143,0,2==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,146,0,3==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,149,0,4==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,156,0,"primary");l(n,158,0,"was_the_pd_address_ogl");l(n,175,0,"");l(n,177,0,"mode_of_transport_during_visit");l(n,180,0,"Mode Of Transport used to visit the PD Address","");l(n,192,0,e.mode_of_transport_values);l(n,197,0,"others"==e._finalRemarkForm.value.mode_of_transport_during_visit);l(n,222,0,"final_form_remarks");l(n,225,0,"Other Remarks")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,12,1,[uS._32(n,13)._control.errorState,uS._32(n,13)._control.errorState,uS._32(n,13)._canLabelFloat,uS._32(n,13)._shouldLabelFloat(),uS._32(n,13)._hideControlPlaceholder(),uS._32(n,13)._control.disabled,uS._32(n,13)._control.focused,"primary"==uS._32(n,13).color,"accent"==uS._32(n,13).color,"warn"==uS._32(n,13).color,uS._32(n,13)._shouldForward("untouched"),uS._32(n,13)._shouldForward("touched"),uS._32(n,13)._shouldForward("pristine"),uS._32(n,13)._shouldForward("dirty"),uS._32(n,13)._shouldForward("valid"),uS._32(n,13)._shouldForward("invalid"),uS._32(n,13)._shouldForward("pending")]);l(n,22,1,[uS._32(n,25).ngClassUntouched,uS._32(n,25).ngClassTouched,uS._32(n,25).ngClassPristine,uS._32(n,25).ngClassDirty,uS._32(n,25).ngClassValid,uS._32(n,25).ngClassInvalid,uS._32(n,25).ngClassPending,uS._32(n,26).id,uS._32(n,26).tabIndex,uS._32(n,26)._ariaLabel,uS._32(n,26).ariaLabelledby,uS._32(n,26).required.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).errorState,uS._32(n,26).panelOpen?uS._32(n,26)._optionIds:null,uS._32(n,26).multiple,uS._32(n,26)._ariaDescribedby||null,uS._32(n,26)._getAriaActiveDescendant(),uS._32(n,26).disabled,uS._32(n,26).errorState,uS._32(n,26).required]);l(n,33,0,uS._32(n,34)._getTabIndex(),uS._32(n,34).selected,uS._32(n,34).multiple,uS._32(n,34).active,uS._32(n,34).id,uS._32(n,34).selected.toString(),uS._32(n,34).disabled.toString(),uS._32(n,34).disabled);l(n,61,1,[uS._32(n,62)._control.errorState,uS._32(n,62)._control.errorState,uS._32(n,62)._canLabelFloat,uS._32(n,62)._shouldLabelFloat(),uS._32(n,62)._hideControlPlaceholder(),uS._32(n,62)._control.disabled,uS._32(n,62)._control.focused,"primary"==uS._32(n,62).color,"accent"==uS._32(n,62).color,"warn"==uS._32(n,62).color,uS._32(n,62)._shouldForward("untouched"),uS._32(n,62)._shouldForward("touched"),uS._32(n,62)._shouldForward("pristine"),uS._32(n,62)._shouldForward("dirty"),uS._32(n,62)._shouldForward("valid"),uS._32(n,62)._shouldForward("invalid"),uS._32(n,62)._shouldForward("pending")]);l(n,76,1,[uS._32(n,77).required?"":null,uS._32(n,81).ngClassUntouched,uS._32(n,81).ngClassTouched,uS._32(n,81).ngClassPristine,uS._32(n,81).ngClassDirty,uS._32(n,81).ngClassValid,uS._32(n,81).ngClassInvalid,uS._32(n,81).ngClassPending,uS._32(n,82).id,uS._32(n,82).tabIndex,uS._32(n,82)._ariaLabel,uS._32(n,82).ariaLabelledby,uS._32(n,82).required.toString(),uS._32(n,82).disabled.toString(),uS._32(n,82).errorState,uS._32(n,82).panelOpen?uS._32(n,82)._optionIds:null,uS._32(n,82).multiple,uS._32(n,82)._ariaDescribedby||null,uS._32(n,82)._getAriaActiveDescendant(),uS._32(n,82).disabled,uS._32(n,82).errorState,uS._32(n,82).required]);l(n,89,0,uS._32(n,90)._getTabIndex(),uS._32(n,90).selected,uS._32(n,90).multiple,uS._32(n,90).active,uS._32(n,90).id,uS._32(n,90).selected.toString(),uS._32(n,90).disabled.toString(),uS._32(n,90).disabled);l(n,93,0,uS._32(n,94)._getTabIndex(),uS._32(n,94).selected,uS._32(n,94).multiple,uS._32(n,94).active,uS._32(n,94).id,uS._32(n,94).selected.toString(),uS._32(n,94).disabled.toString(),uS._32(n,94).disabled);l(n,97,0,uS._32(n,98)._getTabIndex(),uS._32(n,98).selected,uS._32(n,98).multiple,uS._32(n,98).active,uS._32(n,98).id,uS._32(n,98).selected.toString(),uS._32(n,98).disabled.toString(),uS._32(n,98).disabled);l(n,101,0,uS._32(n,102)._getTabIndex(),uS._32(n,102).selected,uS._32(n,102).multiple,uS._32(n,102).active,uS._32(n,102).id,uS._32(n,102).selected.toString(),uS._32(n,102).disabled.toString(),uS._32(n,102).disabled);l(n,107,1,[uS._32(n,108)._control.errorState,uS._32(n,108)._control.errorState,uS._32(n,108)._canLabelFloat,uS._32(n,108)._shouldLabelFloat(),uS._32(n,108)._hideControlPlaceholder(),uS._32(n,108)._control.disabled,uS._32(n,108)._control.focused,"primary"==uS._32(n,108).color,"accent"==uS._32(n,108).color,"warn"==uS._32(n,108).color,uS._32(n,108)._shouldForward("untouched"),uS._32(n,108)._shouldForward("touched"),uS._32(n,108)._shouldForward("pristine"),uS._32(n,108)._shouldForward("dirty"),uS._32(n,108)._shouldForward("valid"),uS._32(n,108)._shouldForward("invalid"),uS._32(n,108)._shouldForward("pending")]);l(n,117,1,[uS._32(n,118).required?"":null,uS._32(n,122).ngClassUntouched,uS._32(n,122).ngClassTouched,uS._32(n,122).ngClassPristine,uS._32(n,122).ngClassDirty,uS._32(n,122).ngClassValid,uS._32(n,122).ngClassInvalid,uS._32(n,122).ngClassPending,uS._32(n,123).id,uS._32(n,123).tabIndex,uS._32(n,123)._ariaLabel,uS._32(n,123).ariaLabelledby,uS._32(n,123).required.toString(),uS._32(n,123).disabled.toString(),uS._32(n,123).errorState,uS._32(n,123).panelOpen?uS._32(n,123)._optionIds:null,uS._32(n,123).multiple,uS._32(n,123)._ariaDescribedby||null,uS._32(n,123)._getAriaActiveDescendant(),uS._32(n,123).disabled,uS._32(n,123).errorState,uS._32(n,123).required]);l(n,130,0,uS._32(n,131)._getTabIndex(),uS._32(n,131).selected,uS._32(n,131).multiple,uS._32(n,131).active,uS._32(n,131).id,uS._32(n,131).selected.toString(),uS._32(n,131).disabled.toString(),uS._32(n,131).disabled);l(n,155,1,[uS._32(n,156).id,uS._32(n,156).checked,uS._32(n,156).disabled,"before"==uS._32(n,156).labelPosition,uS._32(n,160).ngClassUntouched,uS._32(n,160).ngClassTouched,uS._32(n,160).ngClassPristine,uS._32(n,160).ngClassDirty,uS._32(n,160).ngClassValid,uS._32(n,160).ngClassInvalid,uS._32(n,160).ngClassPending]);l(n,164,1,[uS._32(n,165)._control.errorState,uS._32(n,165)._control.errorState,uS._32(n,165)._canLabelFloat,uS._32(n,165)._shouldLabelFloat(),uS._32(n,165)._hideControlPlaceholder(),uS._32(n,165)._control.disabled,uS._32(n,165)._control.focused,"primary"==uS._32(n,165).color,"accent"==uS._32(n,165).color,"warn"==uS._32(n,165).color,uS._32(n,165)._shouldForward("untouched"),uS._32(n,165)._shouldForward("touched"),uS._32(n,165)._shouldForward("pristine"),uS._32(n,165)._shouldForward("dirty"),uS._32(n,165)._shouldForward("valid"),uS._32(n,165)._shouldForward("invalid"),uS._32(n,165)._shouldForward("pending")]);l(n,174,1,[uS._32(n,175).required?"":null,uS._32(n,179).ngClassUntouched,uS._32(n,179).ngClassTouched,uS._32(n,179).ngClassPristine,uS._32(n,179).ngClassDirty,uS._32(n,179).ngClassValid,uS._32(n,179).ngClassInvalid,uS._32(n,179).ngClassPending,uS._32(n,180).id,uS._32(n,180).tabIndex,uS._32(n,180)._ariaLabel,uS._32(n,180).ariaLabelledby,uS._32(n,180).required.toString(),uS._32(n,180).disabled.toString(),uS._32(n,180).errorState,uS._32(n,180).panelOpen?uS._32(n,180)._optionIds:null,uS._32(n,180).multiple,uS._32(n,180)._ariaDescribedby||null,uS._32(n,180)._getAriaActiveDescendant(),uS._32(n,180).disabled,uS._32(n,180).errorState,uS._32(n,180).required]);l(n,187,0,uS._32(n,188)._getTabIndex(),uS._32(n,188).selected,uS._32(n,188).multiple,uS._32(n,188).active,uS._32(n,188).id,uS._32(n,188).selected.toString(),uS._32(n,188).disabled.toString(),uS._32(n,188).disabled);l(n,205,1,[uS._32(n,206)._control.errorState,uS._32(n,206)._control.errorState,uS._32(n,206)._canLabelFloat,uS._32(n,206)._shouldLabelFloat(),uS._32(n,206)._hideControlPlaceholder(),uS._32(n,206)._control.disabled,uS._32(n,206)._control.focused,"primary"==uS._32(n,206).color,"accent"==uS._32(n,206).color,"warn"==uS._32(n,206).color,uS._32(n,206)._shouldForward("untouched"),uS._32(n,206)._shouldForward("touched"),uS._32(n,206)._shouldForward("pristine"),uS._32(n,206)._shouldForward("dirty"),uS._32(n,206)._shouldForward("valid"),uS._32(n,206)._shouldForward("invalid"),uS._32(n,206)._shouldForward("pending")]);l(n,219,1,[uS._32(n,224).ngClassUntouched,uS._32(n,224).ngClassTouched,uS._32(n,224).ngClassPristine,uS._32(n,224).ngClassDirty,uS._32(n,224).ngClassValid,uS._32(n,224).ngClassInvalid,uS._32(n,224).ngClassPending,uS._32(n,225)._isServer,uS._32(n,225).id,uS._32(n,225).placeholder,uS._32(n,225).disabled,uS._32(n,225).required,uS._32(n,225).readonly,uS._32(n,225)._ariaDescribedby||null,uS._32(n,225).errorState,uS._32(n,225).required.toString()])})}function uF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function tF(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(1,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,xw)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(22,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,29).onClick()&&u}return u},jT.b,jT.a)),uS._17(29,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,33).onClick()&&u}return u},jT.b,jT.a)),uS._17(33,114688,[[2,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(38,0,null,null,22,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(39,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(41,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(42,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Nw)),uS._17(45,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n \n"])),(l()(),uS._13(16777216,null,null,1,null,eF)),uS._17(48,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(51,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(52,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,95,{_mainButton:0}),uS._38(603979776,96,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(56,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(57,49152,[[95,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(58,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(59,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(62,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(63,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,uF)),uS._17(66,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-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,22,0,e.tab);l(n,25,0,"optblue");l(n,29,0,"0");l(n,33,0,"1");l(n,42,0,e.tab);l(n,45,0,"1");l(n,48,0,"0");l(n,57,0,"optblue");l(n,59,0,"md-camera");l(n,66,0,!e.complete_status)},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,21,0,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._disabled);l(n,28,0,uS._32(n,29)._disabled,uS._32(n,29).isActive,uS._32(n,29).isActive);l(n,32,0,uS._32(n,33)._disabled,uS._32(n,33).isActive,uS._32(n,33).isActive);l(n,38,0,uS._32(n,39).statusbarPadding,uS._32(n,39)._hasRefresher);l(n,58,0,uS._32(n,59)._hidden)})}function aF(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(7,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(8,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(9,0,["",""])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(13,0,null,null,2,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(14,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n\n"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,5,0,"optblue")},function(l,n){var e=n.component;l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,9,0,e.FormId.form_name);l(n,13,0,uS._32(n,14).statusbarPadding,uS._32(n,14)._hasRefresher)})}function iF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function oF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[["class","ribbon answered"]],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.parent.context.index+1)})}function rF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[["class","ribbon notanswered"]],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.parent.context.index+1)})}function _F(l){return uS._42(0,[(l()(),uS._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.parent.context.$implicit,l.parent.parent.context.$implicit)&&u}return u},rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,oF)),uS._17(5,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,rF)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(10,0,null,0,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(13,null,["",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.isAnswered);l(n,8,0,!n.parent.context.$implicit.isAnswered)},function(l,n){l(n,13,0,n.parent.context.$implicit.form_name)})}function dF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,_F)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,1==n.context.$implicit.isAnswerable)},null)}function sF(l){return uS._42(0,[(l()(),uS._18(0,16777216,null,null,17,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(2,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],{expanded:[0,"expanded"]},null),uS._38(335544320,1,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(5,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!==uS._32(l,6)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,6)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(6,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(7,{collapsedHeight:0,expandedHeight:1}),uS._35(8,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(10,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(11,16384,null,0,ZO.f,[],null,null),(l()(),uS._40(12,null,["\n ","\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,dF)),uS._17(16,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(0,null,null,0))],function(l,n){l(n,2,0,0==n.component.count);l(n,16,0,n.context.$implicit.form_status)},function(l,n){l(n,0,0,uS._32(n,2).expanded,uS._32(n,2)._hasSpacing());l(n,5,0,uS._32(n,6).panel._headerId,uS._32(n,6).panel.disabled?-1:0,uS._32(n,6)._getPanelId(),uS._32(n,6)._isExpanded(),uS._32(n,6).panel.disabled,uS._32(n,6)._isExpanded(),l(n,8,0,uS._32(n,6)._getExpandedState(),l(n,7,0,uS._32(n,6).collapsedHeight,uS._32(n,6).expandedHeight)));l(n,12,0,n.context.$implicit.company_name)})}function cF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),uS._17(1,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,sF)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.existCompanyList)},null)}function mF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(2,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),uS._18(3,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Business Related Information is Not Available.Please Check General Information"])),(l()(),uS._40(-1,null,["\n \n "]))],null,null)}function pF(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,iF)),uS._17(9,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(13,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(14,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,cF)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,mF)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,13,0,uS._32(n,14).statusbarPadding,uS._32(n,14)._hasRefresher)})}function fF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formDetails.form_name)})}function hF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function gF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function bF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function vF(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function yF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gF)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,bF)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vF)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function CF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,yF)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function wF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function FF(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function xF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wF)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,FF)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function kF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xF)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function SF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function IF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hF)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,CF)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n\n "])),(l()(),uS._13(16777216,null,null,1,null,kF)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,SF)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function qF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),uS._40(1,null,["",""])),uS._36(2,1)],null,function(l,n){l(n,1,0,uS._41(n,1,0,l(n,2,0,uS._32(n.parent.parent.parent.parent,0),n.parent.context.$implicit.get("address_label").value)))})}function PF(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[41,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Remark is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function DF(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,38,{_control:0}),uS._38(335544320,39,{_placeholderChild:0}),uS._38(335544320,40,{_labelChild:0}),uS._38(603979776,41,{_errorChildren:1}),uS._38(603979776,42,{_hintChildren:1}),uS._38(603979776,43,{_prefixChildren:1}),uS._38(603979776,44,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,[[1,0],["remarksFocus",1]],1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_pd_visited_remark"],["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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[38,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,PF)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,[" \n "]))],function(l,n){l(n,12,0,"");l(n,15,0,"business_pd_visited_remark");l(n,18,0,"Remarks","");l(n,23,0,(null==n.parent.parent.context.$implicit.controls.business_pd_visited_remark.errors?null:n.parent.parent.context.$implicit.controls.business_pd_visited_remark.errors.required)||n.parent.parent.context.$implicit.controls.business_pd_visited_remark.touched)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,12).required?"":null,uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()])})}function TF(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[59,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.RentAmtInwordsForAddress[n.parent.parent.parent.parent.context.index])})}function OF(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,55,{_control:0}),uS._38(335544320,56,{_placeholderChild:0}),uS._38(335544320,57,{_labelChild:0}),uS._38(603979776,58,{_errorChildren:1}),uS._38(603979776,59,{_hintChildren:1}),uS._38(603979776,60,{_prefixChildren:1}),uS._38(603979776,61,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.parent.context.index,9)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[55,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,TF)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(22,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(23,16384,[[58,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Monthly Rent Amount Required"])),(l()(),uS._40(-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.parent.parent.context.$implicit.get("business_monthly_rented_amt").value)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()]);l(n,22,0,uS._32(n,23).id)})}function LF(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[66,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.appxMarketAmtInwordsForAddress[n.parent.parent.parent.parent.context.index])})}function AF(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[76,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function VF(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[77,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,AF)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function NF(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,79,{_control:0}),uS._38(335544320,80,{_placeholderChild:0}),uS._38(335544320,81,{_labelChild:0}),uS._38(603979776,82,{_errorChildren:1}),uS._38(603979776,83,{_hintChildren:1}),uS._38(603979776,84,{_prefixChildren:1}),uS._38(603979776,85,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[79,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function WF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,119,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(4,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,cT.b,cT.a)),uS._17(5,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,62,{_control:0}),uS._38(335544320,63,{_placeholderChild:0}),uS._38(335544320,64,{_labelChild:0}),uS._38(603979776,65,{_errorChildren:1}),uS._38(603979776,66,{_hintChildren:1}),uS._38(603979776,67,{_prefixChildren:1}),uS._38(603979776,68,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(14,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,t=l.component;if("input"===n){u=!1!==uS._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.parent.context.index,10)&&u}return u},null,null)),uS._17(15,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(16,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(18,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(20,16384,null,0,xS.s,[xS.r],null,null),uS._17(21,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[62,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,LF)),uS._17(25,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(28,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,cT.b,cT.a)),uS._17(29,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,69,{_control:0}),uS._38(335544320,70,{_placeholderChild:0}),uS._38(335544320,71,{_labelChild:0}),uS._38(603979776,72,{_errorChildren:1}),uS._38(603979776,73,{_hintChildren:1}),uS._38(603979776,74,{_prefixChildren:1}),uS._38(603979776,75,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,43)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.parent.parent.context.$implicit,8)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(40,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(42,16384,null,0,xS.s,[xS.r],null,null),uS._17(43,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,76,{options:1}),uS._38(603979776,77,{optionGroups:1}),uS._38(335544320,78,{customTrigger:0}),uS._37(2048,[[69,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,VF)),uS._17(50,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(53,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(54,16384,[[72,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Asset Owned by Required"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,NF)),uS._17(61,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(64,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,cT.b,cT.a)),uS._17(65,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,86,{_control:0}),uS._38(335544320,87,{_placeholderChild:0}),uS._38(335544320,88,{_labelChild:0}),uS._38(603979776,89,{_errorChildren:1}),uS._38(603979776,90,{_hintChildren:1}),uS._38(603979776,91,{_prefixChildren:1}),uS._38(603979776,92,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(75,16384,[[88,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Approx Vintage"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(78,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_vintage"],["matInput",""],["maxlength","2"],["minlength","1"],["placeholder","eg.99"],["type","tel"]],[[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,t=l.component;if("input"===n){u=!1!==uS._32(l,79)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,79).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,79)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,79)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,87)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.parent.parent.context.index,3)&&u}return u},null,null)),uS._17(79,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(80,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(81,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(84,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(86,16384,null,0,xS.s,[xS.r],null,null),uS._17(87,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[86,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(92,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,cT.b,cT.a)),uS._17(93,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,93,{_control:0}),uS._38(335544320,94,{_placeholderChild:0}),uS._38(335544320,95,{_labelChild:0}),uS._38(603979776,96,{_errorChildren:1}),uS._38(603979776,97,{_hintChildren:1}),uS._38(603979776,98,{_prefixChildren:1}),uS._38(603979776,99,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(102,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(103,16384,[[95,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Purchase Year"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(106,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,t=l.component;if("input"===n){u=!1!==uS._32(l,107)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,107).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,107)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,107)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,115)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,115)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,115)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.parent.parent.context.index,4)&&u}return u},null,null)),uS._17(107,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(108,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(109,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(112,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(114,16384,null,0,xS.s,[xS.r],null,null),uS._17(115,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[93,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,18,0,"business_approximate_market_value");l(n,21,0,"Approximate Market Value","number");l(n,25,0,""!=n.parent.parent.parent.context.$implicit.get("business_approximate_market_value").value);l(n,40,0,"business_name_of_the_owner");l(n,43,0,"Asset Owned by","",e.compareObjects);l(n,50,0,e.mergeCompanyApplicant);l(n,61,0,e.isOtherOwnerForAddress);l(n,80,0,"1");l(n,81,0,"2");l(n,84,0,"business_vintage");l(n,87,0,"eg.99","tel");l(n,108,0,"4");l(n,109,0,"4");l(n,112,0,"business_purchase_year");l(n,115,0,"YYYY eg.2018","numbers")},function(l,n){l(n,4,1,[uS._32(n,5)._control.errorState,uS._32(n,5)._control.errorState,uS._32(n,5)._canLabelFloat,uS._32(n,5)._shouldLabelFloat(),uS._32(n,5)._hideControlPlaceholder(),uS._32(n,5)._control.disabled,uS._32(n,5)._control.focused,"primary"==uS._32(n,5).color,"accent"==uS._32(n,5).color,"warn"==uS._32(n,5).color,uS._32(n,5)._shouldForward("untouched"),uS._32(n,5)._shouldForward("touched"),uS._32(n,5)._shouldForward("pristine"),uS._32(n,5)._shouldForward("dirty"),uS._32(n,5)._shouldForward("valid"),uS._32(n,5)._shouldForward("invalid"),uS._32(n,5)._shouldForward("pending")]);l(n,14,1,[uS._32(n,20).ngClassUntouched,uS._32(n,20).ngClassTouched,uS._32(n,20).ngClassPristine,uS._32(n,20).ngClassDirty,uS._32(n,20).ngClassValid,uS._32(n,20).ngClassInvalid,uS._32(n,20).ngClassPending,uS._32(n,21)._isServer,uS._32(n,21).id,uS._32(n,21).placeholder,uS._32(n,21).disabled,uS._32(n,21).required,uS._32(n,21).readonly,uS._32(n,21)._ariaDescribedby||null,uS._32(n,21).errorState,uS._32(n,21).required.toString()]);l(n,28,1,[uS._32(n,29)._control.errorState,uS._32(n,29)._control.errorState,uS._32(n,29)._canLabelFloat,uS._32(n,29)._shouldLabelFloat(),uS._32(n,29)._hideControlPlaceholder(),uS._32(n,29)._control.disabled,uS._32(n,29)._control.focused,"primary"==uS._32(n,29).color,"accent"==uS._32(n,29).color,"warn"==uS._32(n,29).color,uS._32(n,29)._shouldForward("untouched"),uS._32(n,29)._shouldForward("touched"),uS._32(n,29)._shouldForward("pristine"),uS._32(n,29)._shouldForward("dirty"),uS._32(n,29)._shouldForward("valid"),uS._32(n,29)._shouldForward("invalid"),uS._32(n,29)._shouldForward("pending")]);l(n,38,1,[uS._32(n,42).ngClassUntouched,uS._32(n,42).ngClassTouched,uS._32(n,42).ngClassPristine,uS._32(n,42).ngClassDirty,uS._32(n,42).ngClassValid,uS._32(n,42).ngClassInvalid,uS._32(n,42).ngClassPending,uS._32(n,43).id,uS._32(n,43).tabIndex,uS._32(n,43)._ariaLabel,uS._32(n,43).ariaLabelledby,uS._32(n,43).required.toString(),uS._32(n,43).disabled.toString(),uS._32(n,43).errorState,uS._32(n,43).panelOpen?uS._32(n,43)._optionIds:null,uS._32(n,43).multiple,uS._32(n,43)._ariaDescribedby||null,uS._32(n,43)._getAriaActiveDescendant(),uS._32(n,43).disabled,uS._32(n,43).errorState,uS._32(n,43).required]);l(n,53,0,uS._32(n,54).id);l(n,64,1,[uS._32(n,65)._control.errorState,uS._32(n,65)._control.errorState,uS._32(n,65)._canLabelFloat,uS._32(n,65)._shouldLabelFloat(),uS._32(n,65)._hideControlPlaceholder(),uS._32(n,65)._control.disabled,uS._32(n,65)._control.focused,"primary"==uS._32(n,65).color,"accent"==uS._32(n,65).color,"warn"==uS._32(n,65).color,uS._32(n,65)._shouldForward("untouched"),uS._32(n,65)._shouldForward("touched"),uS._32(n,65)._shouldForward("pristine"),uS._32(n,65)._shouldForward("dirty"),uS._32(n,65)._shouldForward("valid"),uS._32(n,65)._shouldForward("invalid"),uS._32(n,65)._shouldForward("pending")]);l(n,78,1,[uS._32(n,80).minlength?uS._32(n,80).minlength:null,uS._32(n,81).maxlength?uS._32(n,81).maxlength:null,uS._32(n,86).ngClassUntouched,uS._32(n,86).ngClassTouched,uS._32(n,86).ngClassPristine,uS._32(n,86).ngClassDirty,uS._32(n,86).ngClassValid,uS._32(n,86).ngClassInvalid,uS._32(n,86).ngClassPending,uS._32(n,87)._isServer,uS._32(n,87).id,uS._32(n,87).placeholder,uS._32(n,87).disabled,uS._32(n,87).required,uS._32(n,87).readonly,uS._32(n,87)._ariaDescribedby||null,uS._32(n,87).errorState,uS._32(n,87).required.toString()]);l(n,92,1,[uS._32(n,93)._control.errorState,uS._32(n,93)._control.errorState,uS._32(n,93)._canLabelFloat,uS._32(n,93)._shouldLabelFloat(),uS._32(n,93)._hideControlPlaceholder(),uS._32(n,93)._control.disabled,uS._32(n,93)._control.focused,"primary"==uS._32(n,93).color,"accent"==uS._32(n,93).color,"warn"==uS._32(n,93).color,uS._32(n,93)._shouldForward("untouched"),uS._32(n,93)._shouldForward("touched"),uS._32(n,93)._shouldForward("pristine"),uS._32(n,93)._shouldForward("dirty"),uS._32(n,93)._shouldForward("valid"),uS._32(n,93)._shouldForward("invalid"),uS._32(n,93)._shouldForward("pending")]);l(n,106,1,[uS._32(n,108).minlength?uS._32(n,108).minlength:null,uS._32(n,109).maxlength?uS._32(n,109).maxlength:null,uS._32(n,114).ngClassUntouched,uS._32(n,114).ngClassTouched,uS._32(n,114).ngClassPristine,uS._32(n,114).ngClassDirty,uS._32(n,114).ngClassValid,uS._32(n,114).ngClassInvalid,uS._32(n,114).ngClassPending,uS._32(n,115)._isServer,uS._32(n,115).id,uS._32(n,115).placeholder,uS._32(n,115).disabled,uS._32(n,115).required,uS._32(n,115).readonly,uS._32(n,115)._ariaDescribedby||null,uS._32(n,115).errorState,uS._32(n,115).required.toString()])})}function EF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Is There a Loan Existing Against This Asset?"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,100,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,14)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(14,4440064,[[100,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(18,4440064,[[100,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,13,0,uS._32(n,14).checked,uS._32(n,14).disabled,uS._32(n,14).id);l(n,17,0,uS._32(n,18).checked,uS._32(n,18).disabled,uS._32(n,18).id)})}function jF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,50,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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,cT.b,cT.a)),uS._17(4,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,45,{_control:0}),uS._38(335544320,46,{_placeholderChild:0}),uS._38(335544320,47,{_labelChild:0}),uS._38(603979776,48,{_errorChildren:1}),uS._38(603979776,49,{_hintChildren:1}),uS._38(603979776,50,{_prefixChildren:1}),uS._38(603979776,51,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(13,0,null,1,22,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,17)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,17)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,17)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.parent.context.$implicit,7)&&u}return u},LO.b,LO.a)),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,52,{options:1}),uS._38(603979776,53,{optionGroups:1}),uS._38(335544320,54,{customTrigger:0}),uS._37(2048,[[45,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(24,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!==uS._32(l,25)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,25)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(25,8437760,[[52,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,29)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(29,8437760,[[52,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Owned"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,33)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,33)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(33,8437760,[[52,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Rented"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,OF)),uS._17(39,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,WF)),uS._17(42,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(45,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,EF)),uS._17(48,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "]))],function(l,n){l(n,14,0,"business_ownership_type");l(n,17,0,"Ownership Type");l(n,29,0,"owned");l(n,33,0,"rented");l(n,39,0,"rented"==n.parent.parent.context.$implicit.get("business_ownership_type").value);l(n,42,0,"owned"==n.parent.parent.context.$implicit.get("business_ownership_type").value);l(n,48,0,"owned"==n.parent.parent.context.$implicit.get("business_ownership_type").value)},function(l,n){l(n,3,1,[uS._32(n,4)._control.errorState,uS._32(n,4)._control.errorState,uS._32(n,4)._canLabelFloat,uS._32(n,4)._shouldLabelFloat(),uS._32(n,4)._hideControlPlaceholder(),uS._32(n,4)._control.disabled,uS._32(n,4)._control.focused,"primary"==uS._32(n,4).color,"accent"==uS._32(n,4).color,"warn"==uS._32(n,4).color,uS._32(n,4)._shouldForward("untouched"),uS._32(n,4)._shouldForward("touched"),uS._32(n,4)._shouldForward("pristine"),uS._32(n,4)._shouldForward("dirty"),uS._32(n,4)._shouldForward("valid"),uS._32(n,4)._shouldForward("invalid"),uS._32(n,4)._shouldForward("pending")]);l(n,13,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17).id,uS._32(n,17).tabIndex,uS._32(n,17)._ariaLabel,uS._32(n,17).ariaLabelledby,uS._32(n,17).required.toString(),uS._32(n,17).disabled.toString(),uS._32(n,17).errorState,uS._32(n,17).panelOpen?uS._32(n,17)._optionIds:null,uS._32(n,17).multiple,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17)._getAriaActiveDescendant(),uS._32(n,17).disabled,uS._32(n,17).errorState,uS._32(n,17).required]);l(n,24,0,uS._32(n,25)._getTabIndex(),uS._32(n,25).selected,uS._32(n,25).multiple,uS._32(n,25).active,uS._32(n,25).id,uS._32(n,25).selected.toString(),uS._32(n,25).disabled.toString(),uS._32(n,25).disabled);l(n,28,0,uS._32(n,29)._getTabIndex(),uS._32(n,29).selected,uS._32(n,29).multiple,uS._32(n,29).active,uS._32(n,29).id,uS._32(n,29).selected.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).disabled);l(n,32,0,uS._32(n,33)._getTabIndex(),uS._32(n,33).selected,uS._32(n,33).multiple,uS._32(n,33).active,uS._32(n,33).id,uS._32(n,33).selected.toString(),uS._32(n,33).disabled.toString(),uS._32(n,33).disabled)})}function $F(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,92,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["How long has business been operated from this premise?"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:46%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(6,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,14,{_control:0}),uS._38(335544320,15,{_placeholderChild:0}),uS._38(335544320,16,{_labelChild:0}),uS._38(603979776,17,{_errorChildren:1}),uS._38(603979776,18,{_hintChildren:1}),uS._38(603979776,19,{_prefixChildren:1}),uS._38(603979776,20,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,16)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,17).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,17).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,22)._onInput()&&u}if("change"===n){u=!1!==t.checkWithExistBusinessYear(e.target.value,l.parent.context.index)&&u}return u},null,null)),uS._17(16,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(17,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[14,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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)),uS._17(26,16384,[[18,4]],0,mT.e,[],null,null),(l()(),uS._40(27,null,["",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,null,["   \n "])),(l()(),uS._18(30,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:46%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(31,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,21,{_control:0}),uS._38(335544320,22,{_placeholderChild:0}),uS._38(335544320,23,{_labelChild:0}),uS._38(603979776,24,{_errorChildren:1}),uS._38(603979776,25,{_hintChildren:1}),uS._38(603979776,26,{_prefixChildren:1}),uS._38(603979776,27,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,41)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,42).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,42).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,42).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,47)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,47)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,47)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(e.target.value,l.parent.context.index)&&u}return u},null,null)),uS._17(41,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(42,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(44,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(46,16384,null,0,xS.s,[xS.r],null,null),uS._17(47,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[21,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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)),uS._17(51,16384,[[25,4]],0,mT.e,[],null,null),(l()(),uS._40(52,null,["",""])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(55,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,cT.b,cT.a)),uS._17(56,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,28,{_control:0}),uS._38(335544320,29,{_placeholderChild:0}),uS._38(335544320,30,{_labelChild:0}),uS._38(603979776,31,{_errorChildren:1}),uS._38(603979776,32,{_hintChildren:1}),uS._38(603979776,33,{_prefixChildren:1}),uS._38(603979776,34,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==uS._32(l,69)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,69)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,69)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,"",11,l.parent.context.index)&&u}return u},LO.b,LO.a)),uS._17(66,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(68,16384,null,0,xS.s,[xS.r],null,null),uS._17(69,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,35,{options:1}),uS._38(603979776,36,{optionGroups:1}),uS._38(335544320,37,{customTrigger:0}),uS._37(2048,[[28,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,77)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,77)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(77,8437760,[[35,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,81)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,81)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(81,8437760,[[35,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,DF)),uS._17(88,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,jF)),uS._17(91,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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[n.parent.context.index]?e.placeholderName[n.parent.context.index]:"Was any business activity seen at the Address Type during PD visit?");l(n,77,0,"yes");l(n,81,0,"no");l(n,88,0,""!=n.parent.context.$implicit.get("business_is_pd_visited").value);l(n,91,0,"yes"==n.parent.context.$implicit.get("business_address_availability").value)},function(l,n){var e=n.component;l(n,5,1,[uS._32(n,6)._control.errorState,uS._32(n,6)._control.errorState,uS._32(n,6)._canLabelFloat,uS._32(n,6)._shouldLabelFloat(),uS._32(n,6)._hideControlPlaceholder(),uS._32(n,6)._control.disabled,uS._32(n,6)._control.focused,"primary"==uS._32(n,6).color,"accent"==uS._32(n,6).color,"warn"==uS._32(n,6).color,uS._32(n,6)._shouldForward("untouched"),uS._32(n,6)._shouldForward("touched"),uS._32(n,6)._shouldForward("pristine"),uS._32(n,6)._shouldForward("dirty"),uS._32(n,6)._shouldForward("valid"),uS._32(n,6)._shouldForward("invalid"),uS._32(n,6)._shouldForward("pending")]);l(n,15,1,[uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22)._isServer,uS._32(n,22).id,uS._32(n,22).placeholder,uS._32(n,22).disabled,uS._32(n,22).required,uS._32(n,22).readonly,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22).errorState,uS._32(n,22).required.toString()]);l(n,25,0,"end"==uS._32(n,26).align,uS._32(n,26).id,null);l(n,27,0,e.yearErrorMessage[n.parent.context.index]);l(n,30,1,[uS._32(n,31)._control.errorState,uS._32(n,31)._control.errorState,uS._32(n,31)._canLabelFloat,uS._32(n,31)._shouldLabelFloat(),uS._32(n,31)._hideControlPlaceholder(),uS._32(n,31)._control.disabled,uS._32(n,31)._control.focused,"primary"==uS._32(n,31).color,"accent"==uS._32(n,31).color,"warn"==uS._32(n,31).color,uS._32(n,31)._shouldForward("untouched"),uS._32(n,31)._shouldForward("touched"),uS._32(n,31)._shouldForward("pristine"),uS._32(n,31)._shouldForward("dirty"),uS._32(n,31)._shouldForward("valid"),uS._32(n,31)._shouldForward("invalid"),uS._32(n,31)._shouldForward("pending")]);l(n,40,1,[uS._32(n,46).ngClassUntouched,uS._32(n,46).ngClassTouched,uS._32(n,46).ngClassPristine,uS._32(n,46).ngClassDirty,uS._32(n,46).ngClassValid,uS._32(n,46).ngClassInvalid,uS._32(n,46).ngClassPending,uS._32(n,47)._isServer,uS._32(n,47).id,uS._32(n,47).placeholder,uS._32(n,47).disabled,uS._32(n,47).required,uS._32(n,47).readonly,uS._32(n,47)._ariaDescribedby||null,uS._32(n,47).errorState,uS._32(n,47).required.toString()]);l(n,50,0,"end"==uS._32(n,51).align,uS._32(n,51).id,null);l(n,52,0,e.monthErrorMessage[n.parent.context.index]);l(n,55,1,[uS._32(n,56)._control.errorState,uS._32(n,56)._control.errorState,uS._32(n,56)._canLabelFloat,uS._32(n,56)._shouldLabelFloat(),uS._32(n,56)._hideControlPlaceholder(),uS._32(n,56)._control.disabled,uS._32(n,56)._control.focused,"primary"==uS._32(n,56).color,"accent"==uS._32(n,56).color,"warn"==uS._32(n,56).color,uS._32(n,56)._shouldForward("untouched"),uS._32(n,56)._shouldForward("touched"),uS._32(n,56)._shouldForward("pristine"),uS._32(n,56)._shouldForward("dirty"),uS._32(n,56)._shouldForward("valid"),uS._32(n,56)._shouldForward("invalid"),uS._32(n,56)._shouldForward("pending")]);l(n,65,1,[uS._32(n,68).ngClassUntouched,uS._32(n,68).ngClassTouched,uS._32(n,68).ngClassPristine,uS._32(n,68).ngClassDirty,uS._32(n,68).ngClassValid,uS._32(n,68).ngClassInvalid,uS._32(n,68).ngClassPending,uS._32(n,69).id,uS._32(n,69).tabIndex,uS._32(n,69)._ariaLabel,uS._32(n,69).ariaLabelledby,uS._32(n,69).required.toString(),uS._32(n,69).disabled.toString(),uS._32(n,69).errorState,uS._32(n,69).panelOpen?uS._32(n,69)._optionIds:null,uS._32(n,69).multiple,uS._32(n,69)._ariaDescribedby||null,uS._32(n,69)._getAriaActiveDescendant(),uS._32(n,69).disabled,uS._32(n,69).errorState,uS._32(n,69).required]);l(n,76,0,uS._32(n,77)._getTabIndex(),uS._32(n,77).selected,uS._32(n,77).multiple,uS._32(n,77).active,uS._32(n,77).id,uS._32(n,77).selected.toString(),uS._32(n,77).disabled.toString(),uS._32(n,77).disabled);l(n,80,0,uS._32(n,81)._getTabIndex(),uS._32(n,81).selected,uS._32(n,81).multiple,uS._32(n,81).active,uS._32(n,81).id,uS._32(n,81).selected.toString(),uS._32(n,81).disabled.toString(),uS._32(n,81).disabled)})}function BF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,62,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,56,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(8,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(9,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(11,0,null,1,8,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(12,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,4,"h5",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Address Details "])),(l()(),uS._13(16777216,null,null,1,null,qF)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(22,0,null,0,38,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(23,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(25,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,cT.b,cT.a)),uS._17(26,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,4,{_control:0}),uS._38(335544320,5,{_placeholderChild:0}),uS._38(335544320,6,{_labelChild:0}),uS._38(603979776,7,{_errorChildren:1}),uS._38(603979776,8,{_hintChildren:1}),uS._38(603979776,9,{_prefixChildren:1}),uS._38(603979776,10,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(35,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,41)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,41)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,41)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,"",1,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(36,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(38,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(40,16384,null,0,xS.s,[xS.r],null,null),uS._17(41,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,11,{options:1}),uS._38(603979776,12,{optionGroups:1}),uS._38(335544320,13,{customTrigger:0}),uS._37(2048,[[4,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(48,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!==uS._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,49)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(49,8437760,[[11,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(52,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!==uS._32(l,53)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,53)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(53,8437760,[[11,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$F)),uS._17(59,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,17,0,null!=n.context.$implicit.get("address_label").value);l(n,36,0,"");l(n,38,0,"business_address_availability");l(n,41,0,"Is this the business address ? ","");l(n,49,0,"yes");l(n,53,0,"no");l(n,59,0,"yes"==n.context.$implicit.get("business_address_availability").value)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,25,1,[uS._32(n,26)._control.errorState,uS._32(n,26)._control.errorState,uS._32(n,26)._canLabelFloat,uS._32(n,26)._shouldLabelFloat(),uS._32(n,26)._hideControlPlaceholder(),uS._32(n,26)._control.disabled,uS._32(n,26)._control.focused,"primary"==uS._32(n,26).color,"accent"==uS._32(n,26).color,"warn"==uS._32(n,26).color,uS._32(n,26)._shouldForward("untouched"),uS._32(n,26)._shouldForward("touched"),uS._32(n,26)._shouldForward("pristine"),uS._32(n,26)._shouldForward("dirty"),uS._32(n,26)._shouldForward("valid"),uS._32(n,26)._shouldForward("invalid"),uS._32(n,26)._shouldForward("pending")]);l(n,35,1,[uS._32(n,36).required?"":null,uS._32(n,40).ngClassUntouched,uS._32(n,40).ngClassTouched,uS._32(n,40).ngClassPristine,uS._32(n,40).ngClassDirty,uS._32(n,40).ngClassValid,uS._32(n,40).ngClassInvalid,uS._32(n,40).ngClassPending,uS._32(n,41).id,uS._32(n,41).tabIndex,uS._32(n,41)._ariaLabel,uS._32(n,41).ariaLabelledby,uS._32(n,41).required.toString(),uS._32(n,41).disabled.toString(),uS._32(n,41).errorState,uS._32(n,41).panelOpen?uS._32(n,41)._optionIds:null,uS._32(n,41).multiple,uS._32(n,41)._ariaDescribedby||null,uS._32(n,41)._getAriaActiveDescendant(),uS._32(n,41).disabled,uS._32(n,41).errorState,uS._32(n,41).required]);l(n,48,0,uS._32(n,49)._getTabIndex(),uS._32(n,49).selected,uS._32(n,49).multiple,uS._32(n,49).active,uS._32(n,49).id,uS._32(n,49).selected.toString(),uS._32(n,49).disabled.toString(),uS._32(n,49).disabled);l(n,52,0,uS._32(n,53)._getTabIndex(),uS._32(n,53).selected,uS._32(n,53).multiple,uS._32(n,53).active,uS._32(n,53).id,uS._32(n,53).selected.toString(),uS._32(n,53).disabled.toString(),uS._32(n,53).disabled)})}function RF(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[108,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),uS._40(2,0,["\n ",""])),uS._36(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,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent,0),n.context.$implicit.name)))})}function UF(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[118,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.address_type_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.address_type)))})}function MF(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,121,{_control:0}),uS._38(335544320,122,{_placeholderChild:0}),uS._38(335544320,123,{_labelChild:0}),uS._38(603979776,124,{_errorChildren:1}),uS._38(603979776,125,{_hintChildren:1}),uS._38(603979776,126,{_prefixChildren:1}),uS._38(603979776,127,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[121,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function KF(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,128,{_control:0}),uS._38(335544320,129,{_placeholderChild:0}),uS._38(335544320,130,{_labelChild:0}),uS._38(603979776,131,{_errorChildren:1}),uS._38(603979776,132,{_hintChildren:1}),uS._38(603979776,133,{_prefixChildren:1}),uS._38(603979776,134,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[128,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function HF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,39,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(8,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,111,{_control:0}),uS._38(335544320,112,{_placeholderChild:0}),uS._38(335544320,113,{_labelChild:0}),uS._38(603979776,114,{_errorChildren:1}),uS._38(603979776,115,{_hintChildren:1}),uS._38(603979776,116,{_prefixChildren:1}),uS._38(603979776,117,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,22)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,118,{options:1}),uS._38(603979776,119,{optionGroups:1}),uS._38(335544320,120,{customTrigger:0}),uS._37(2048,[[111,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,UF)),uS._17(29,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,MF)),uS._17(34,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,KF)),uS._17(37,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,7,1,[uS._32(n,8)._control.errorState,uS._32(n,8)._control.errorState,uS._32(n,8)._canLabelFloat,uS._32(n,8)._shouldLabelFloat(),uS._32(n,8)._hideControlPlaceholder(),uS._32(n,8)._control.disabled,uS._32(n,8)._control.focused,"primary"==uS._32(n,8).color,"accent"==uS._32(n,8).color,"warn"==uS._32(n,8).color,uS._32(n,8)._shouldForward("untouched"),uS._32(n,8)._shouldForward("touched"),uS._32(n,8)._shouldForward("pristine"),uS._32(n,8)._shouldForward("dirty"),uS._32(n,8)._shouldForward("valid"),uS._32(n,8)._shouldForward("invalid"),uS._32(n,8)._shouldForward("pending")]);l(n,17,1,[uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22).id,uS._32(n,22).tabIndex,uS._32(n,22)._ariaLabel,uS._32(n,22).ariaLabelledby,uS._32(n,22).required.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).errorState,uS._32(n,22).panelOpen?uS._32(n,22)._optionIds:null,uS._32(n,22).multiple,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22)._getAriaActiveDescendant(),uS._32(n,22).disabled,uS._32(n,22).errorState,uS._32(n,22).required])})}function GF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,HF)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function YF(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[142,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.vehicle_type_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.vehicle_type_name)})}function zF(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,145,{_control:0}),uS._38(335544320,146,{_placeholderChild:0}),uS._38(335544320,147,{_labelChild:0}),uS._38(603979776,148,{_errorChildren:1}),uS._38(603979776,149,{_hintChildren:1}),uS._38(603979776,150,{_prefixChildren:1}),uS._38(603979776,151,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[145,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function QF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(8,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,135,{_control:0}),uS._38(335544320,136,{_placeholderChild:0}),uS._38(335544320,137,{_labelChild:0}),uS._38(603979776,138,{_errorChildren:1}),uS._38(603979776,139,{_hintChildren:1}),uS._38(603979776,140,{_prefixChildren:1}),uS._38(603979776,141,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,22)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,142,{options:1}),uS._38(603979776,143,{optionGroups:1}),uS._38(335544320,144,{customTrigger:0}),uS._37(2048,[[135,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,YF)),uS._17(29,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,zF)),uS._17(34,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(37,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,152,{_control:0}),uS._38(335544320,153,{_placeholderChild:0}),uS._38(335544320,154,{_labelChild:0}),uS._38(603979776,155,{_errorChildren:1}),uS._38(603979776,156,{_hintChildren:1}),uS._38(603979776,157,{_prefixChildren:1}),uS._38(603979776,158,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,47)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,47).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,47)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,47)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,52)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,52)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,52)._onInput()&&u}return u},null,null)),uS._17(47,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(49,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(51,16384,null,0,xS.s,[xS.r],null,null),uS._17(52,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[152,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,7,1,[uS._32(n,8)._control.errorState,uS._32(n,8)._control.errorState,uS._32(n,8)._canLabelFloat,uS._32(n,8)._shouldLabelFloat(),uS._32(n,8)._hideControlPlaceholder(),uS._32(n,8)._control.disabled,uS._32(n,8)._control.focused,"primary"==uS._32(n,8).color,"accent"==uS._32(n,8).color,"warn"==uS._32(n,8).color,uS._32(n,8)._shouldForward("untouched"),uS._32(n,8)._shouldForward("touched"),uS._32(n,8)._shouldForward("pristine"),uS._32(n,8)._shouldForward("dirty"),uS._32(n,8)._shouldForward("valid"),uS._32(n,8)._shouldForward("invalid"),uS._32(n,8)._shouldForward("pending")]);l(n,17,1,[uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22).id,uS._32(n,22).tabIndex,uS._32(n,22)._ariaLabel,uS._32(n,22).ariaLabelledby,uS._32(n,22).required.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).errorState,uS._32(n,22).panelOpen?uS._32(n,22)._optionIds:null,uS._32(n,22).multiple,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22)._getAriaActiveDescendant(),uS._32(n,22).disabled,uS._32(n,22).errorState,uS._32(n,22).required]);l(n,36,1,[uS._32(n,37)._control.errorState,uS._32(n,37)._control.errorState,uS._32(n,37)._canLabelFloat,uS._32(n,37)._shouldLabelFloat(),uS._32(n,37)._hideControlPlaceholder(),uS._32(n,37)._control.disabled,uS._32(n,37)._control.focused,"primary"==uS._32(n,37).color,"accent"==uS._32(n,37).color,"warn"==uS._32(n,37).color,uS._32(n,37)._shouldForward("untouched"),uS._32(n,37)._shouldForward("touched"),uS._32(n,37)._shouldForward("pristine"),uS._32(n,37)._shouldForward("dirty"),uS._32(n,37)._shouldForward("valid"),uS._32(n,37)._shouldForward("invalid"),uS._32(n,37)._shouldForward("pending")]);l(n,46,1,[uS._32(n,51).ngClassUntouched,uS._32(n,51).ngClassTouched,uS._32(n,51).ngClassPristine,uS._32(n,51).ngClassDirty,uS._32(n,51).ngClassValid,uS._32(n,51).ngClassInvalid,uS._32(n,51).ngClassPending,uS._32(n,52)._isServer,uS._32(n,52).id,uS._32(n,52).placeholder,uS._32(n,52).disabled,uS._32(n,52).required,uS._32(n,52).readonly,uS._32(n,52)._ariaDescribedby||null,uS._32(n,52).errorState,uS._32(n,52).required.toString()])})}function JF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,QF)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function ZF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,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,cT.b,cT.a)),uS._17(8,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,159,{_control:0}),uS._38(335544320,160,{_placeholderChild:0}),uS._38(335544320,161,{_labelChild:0}),uS._38(603979776,162,{_errorChildren:1}),uS._38(603979776,163,{_hintChildren:1}),uS._38(603979776,164,{_prefixChildren:1}),uS._38(603979776,165,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(17,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","equipment_manufacturing_description"],["matInput",""],["placeholder","Description"],["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!==uS._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,25)._onInput()&&u}return u},null,null)),uS._17(18,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(19,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(22,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(24,16384,null,0,xS.s,[xS.r],null,null),uS._17(25,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._37(2048,[[159,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,19,0,"");l(n,22,0,"equipment_manufacturing_description");l(n,25,0,"Description","")},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,7,1,[uS._32(n,8)._control.errorState,uS._32(n,8)._control.errorState,uS._32(n,8)._canLabelFloat,uS._32(n,8)._shouldLabelFloat(),uS._32(n,8)._hideControlPlaceholder(),uS._32(n,8)._control.disabled,uS._32(n,8)._control.focused,"primary"==uS._32(n,8).color,"accent"==uS._32(n,8).color,"warn"==uS._32(n,8).color,uS._32(n,8)._shouldForward("untouched"),uS._32(n,8)._shouldForward("touched"),uS._32(n,8)._shouldForward("pristine"),uS._32(n,8)._shouldForward("dirty"),uS._32(n,8)._shouldForward("valid"),uS._32(n,8)._shouldForward("invalid"),uS._32(n,8)._shouldForward("pending")]);l(n,17,1,[uS._32(n,19).required?"":null,uS._32(n,24).ngClassUntouched,uS._32(n,24).ngClassTouched,uS._32(n,24).ngClassPristine,uS._32(n,24).ngClassDirty,uS._32(n,24).ngClassValid,uS._32(n,24).ngClassInvalid,uS._32(n,24).ngClassPending,uS._32(n,25)._isServer,uS._32(n,25).id,uS._32(n,25).placeholder,uS._32(n,25).disabled,uS._32(n,25).required,uS._32(n,25).readonly,uS._32(n,25)._ariaDescribedby||null,uS._32(n,25).errorState,uS._32(n,25).required.toString()])})}function XF(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ZF)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function lx(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[169,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Description is Required"]))],null,function(l,n){l(n,0,0,uS._32(n,1).id)})}function nx(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[180,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ",""])),uS._36(3,1)],function(l,n){l(n,1,0,n.context.$implicit.value)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,uS._41(n,2,0,l(n,3,0,uS._32(n.parent.parent.parent.parent.parent.parent,0),n.context.$implicit.viewValue)))})}function ex(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,57,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,54,"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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,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,cT.b,cT.a)),uS._17(8,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,166,{_control:0}),uS._38(335544320,167,{_placeholderChild:0}),uS._38(335544320,168,{_labelChild:0}),uS._38(603979776,169,{_errorChildren:1}),uS._38(603979776,170,{_hintChildren:1}),uS._38(603979776,171,{_prefixChildren:1}),uS._38(603979776,172,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}return u},null,null)),uS._17(18,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[166,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,5,1,null,lx)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,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,cT.b,cT.a)),uS._17(32,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,173,{_control:0}),uS._38(335544320,174,{_placeholderChild:0}),uS._38(335544320,175,{_labelChild:0}),uS._38(603979776,176,{_errorChildren:1}),uS._38(603979776,177,{_hintChildren:1}),uS._38(603979776,178,{_prefixChildren:1}),uS._38(603979776,179,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,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!==uS._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,46)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(43,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(45,16384,null,0,xS.s,[xS.r],null,null),uS._17(46,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,180,{options:1}),uS._38(603979776,181,{optionGroups:1}),uS._38(335544320,182,{customTrigger:0}),uS._37(2048,[[173,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,nx)),uS._17(53,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,27,0,""!=n.context.$implicit.controls.any_other_assets.value||(null==n.context.$implicit.controls.any_other_assets.errors?null:n.context.$implicit.controls.any_other_assets.errors.required)||n.context.$implicit.controls.any_other_assets.touched);l(n,43,0,"any_other_asset_loan");l(n,46,0,"Is there any asset loan?");l(n,53,0,e.m_any_asset_loan_type)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,7,1,[uS._32(n,8)._control.errorState,uS._32(n,8)._control.errorState,uS._32(n,8)._canLabelFloat,uS._32(n,8)._shouldLabelFloat(),uS._32(n,8)._hideControlPlaceholder(),uS._32(n,8)._control.disabled,uS._32(n,8)._control.focused,"primary"==uS._32(n,8).color,"accent"==uS._32(n,8).color,"warn"==uS._32(n,8).color,uS._32(n,8)._shouldForward("untouched"),uS._32(n,8)._shouldForward("touched"),uS._32(n,8)._shouldForward("pristine"),uS._32(n,8)._shouldForward("dirty"),uS._32(n,8)._shouldForward("valid"),uS._32(n,8)._shouldForward("invalid"),uS._32(n,8)._shouldForward("pending")]);l(n,17,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()]);l(n,31,1,[uS._32(n,32)._control.errorState,uS._32(n,32)._control.errorState,uS._32(n,32)._canLabelFloat,uS._32(n,32)._shouldLabelFloat(),uS._32(n,32)._hideControlPlaceholder(),uS._32(n,32)._control.disabled,uS._32(n,32)._control.focused,"primary"==uS._32(n,32).color,"accent"==uS._32(n,32).color,"warn"==uS._32(n,32).color,uS._32(n,32)._shouldForward("untouched"),uS._32(n,32)._shouldForward("touched"),uS._32(n,32)._shouldForward("pristine"),uS._32(n,32)._shouldForward("dirty"),uS._32(n,32)._shouldForward("valid"),uS._32(n,32)._shouldForward("invalid"),uS._32(n,32)._shouldForward("pending")]);l(n,41,1,[uS._32(n,45).ngClassUntouched,uS._32(n,45).ngClassTouched,uS._32(n,45).ngClassPristine,uS._32(n,45).ngClassDirty,uS._32(n,45).ngClassValid,uS._32(n,45).ngClassInvalid,uS._32(n,45).ngClassPending,uS._32(n,46).id,uS._32(n,46).tabIndex,uS._32(n,46)._ariaLabel,uS._32(n,46).ariaLabelledby,uS._32(n,46).required.toString(),uS._32(n,46).disabled.toString(),uS._32(n,46).errorState,uS._32(n,46).panelOpen?uS._32(n,46)._optionIds:null,uS._32(n,46).multiple,uS._32(n,46)._ariaDescribedby||null,uS._32(n,46)._getAriaActiveDescendant(),uS._32(n,46).disabled,uS._32(n,46).errorState,uS._32(n,46).required])})}function ux(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ex)),uS._17(3,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function tx(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,183,{_control:0}),uS._38(335544320,184,{_placeholderChild:0}),uS._38(335544320,185,{_labelChild:0}),uS._38(603979776,186,{_errorChildren:1}),uS._38(603979776,187,{_hintChildren:1}),uS._38(603979776,188,{_prefixChildren:1}),uS._38(603979776,189,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.$implicit,3)&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,190,{options:1}),uS._38(603979776,191,{optionGroups:1}),uS._38(335544320,192,{customTrigger:0}),uS._37(2048,[[183,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,23)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,23)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(23,8437760,[[190,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Owned"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,27)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(27,8437760,[[190,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Rented"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,22,0,uS._32(n,23)._getTabIndex(),uS._32(n,23).selected,uS._32(n,23).multiple,uS._32(n,23).active,uS._32(n,23).id,uS._32(n,23).selected.toString(),uS._32(n,23).disabled.toString(),uS._32(n,23).disabled);l(n,26,0,uS._32(n,27)._getTabIndex(),uS._32(n,27).selected,uS._32(n,27).multiple,uS._32(n,27).active,uS._32(n,27).id,uS._32(n,27).selected.toString(),uS._32(n,27).disabled.toString(),uS._32(n,27).disabled)})}function ax(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[197,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["\n "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.RentAmtInwords[n.parent.parent.context.index])})}function ix(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,193,{_control:0}),uS._38(335544320,194,{_placeholderChild:0}),uS._38(335544320,195,{_labelChild:0}),uS._38(603979776,196,{_errorChildren:1}),uS._38(603979776,197,{_hintChildren:1}),uS._38(603979776,198,{_prefixChildren:1}),uS._38(603979776,199,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_monthly_rented_amt"],["matInput",""],["placeholder","Monthly 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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,3)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[193,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,ax)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),uS._17(24,16384,[[196,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Monthly Rent Amount Required"])),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,14,0,"business_monthly_rented_amt");l(n,17,0,"Monthly Rent Amount","number");l(n,21,0,""!=n.parent.context.$implicit.get("business_monthly_rented_amt").value)},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()]);l(n,23,0,uS._32(n,24).id)})}function ox(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[204,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.appxMarketAmtInwords[n.parent.parent.parent.context.index])})}function rx(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,200,{_control:0}),uS._38(335544320,201,{_placeholderChild:0}),uS._38(335544320,202,{_labelChild:0}),uS._38(603979776,203,{_errorChildren:1}),uS._38(603979776,204,{_hintChildren:1}),uS._38(603979776,205,{_prefixChildren:1}),uS._38(603979776,206,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.context.index,2)&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(12,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(14,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(16,16384,null,0,xS.s,[xS.r],null,null),uS._17(17,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[200,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,ox)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:14px"]],[[1,"id",0]],null,null,null,null)),uS._17(24,16384,[[203,4]],0,mT.a,[],null,null),(l()(),uS._40(-1,null,["Approximate Market Value Required"])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,16).ngClassUntouched,uS._32(n,16).ngClassTouched,uS._32(n,16).ngClassPristine,uS._32(n,16).ngClassDirty,uS._32(n,16).ngClassValid,uS._32(n,16).ngClassInvalid,uS._32(n,16).ngClassPending,uS._32(n,17)._isServer,uS._32(n,17).id,uS._32(n,17).placeholder,uS._32(n,17).disabled,uS._32(n,17).required,uS._32(n,17).readonly,uS._32(n,17)._ariaDescribedby||null,uS._32(n,17).errorState,uS._32(n,17).required.toString()]);l(n,23,0,uS._32(n,24).id)})}function _x(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[214,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function dx(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[215,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,_x)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function sx(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,217,{_control:0}),uS._38(335544320,218,{_placeholderChild:0}),uS._38(335544320,219,{_labelChild:0}),uS._38(603979776,220,{_errorChildren:1}),uS._38(603979776,221,{_hintChildren:1}),uS._38(603979776,222,{_prefixChildren:1}),uS._38(603979776,223,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[217,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function cx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,94,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rx)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(7,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,207,{_control:0}),uS._38(335544320,208,{_placeholderChild:0}),uS._38(335544320,209,{_labelChild:0}),uS._38(603979776,210,{_errorChildren:1}),uS._38(603979776,211,{_hintChildren:1}),uS._38(603979776,212,{_prefixChildren:1}),uS._38(603979776,213,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,22)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.$implicit,4)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),uS._38(603979776,214,{options:1}),uS._38(603979776,215,{optionGroups:1}),uS._38(335544320,216,{customTrigger:0}),uS._37(2048,[[207,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,dx)),uS._17(29,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,sx)),uS._17(34,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(37,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,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,cT.b,cT.a)),uS._17(40,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,224,{_control:0}),uS._38(335544320,225,{_placeholderChild:0}),uS._38(335544320,226,{_labelChild:0}),uS._38(603979776,227,{_errorChildren:1}),uS._38(603979776,228,{_hintChildren:1}),uS._38(603979776,229,{_prefixChildren:1}),uS._38(603979776,230,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(49,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(50,16384,[[226,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Approx Vintage"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(53,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_vintage"],["matInput",""],["maxlength","2"],["minlength","1"],["placeholder","eg.99"],["type","tel"]],[[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,t=l.component;if("input"===n){u=!1!==uS._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,54)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,62)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,62)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,62)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),uS._17(54,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(55,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(56,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(59,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(61,16384,null,0,xS.s,[xS.r],null,null),uS._17(62,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[224,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(66,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,cT.b,cT.a)),uS._17(67,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,231,{_control:0}),uS._38(335544320,232,{_placeholderChild:0}),uS._38(335544320,233,{_labelChild:0}),uS._38(603979776,234,{_errorChildren:1}),uS._38(603979776,235,{_hintChildren:1}),uS._38(603979776,236,{_prefixChildren:1}),uS._38(603979776,237,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(76,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(77,16384,[[233,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Purchase Year"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(80,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,t=l.component;if("input"===n){u=!1!==uS._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,90)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,90)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,90)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,2)&&u}return u},null,null)),uS._17(81,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(82,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._17(83,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(84,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n){return[l,n]},[xS.o,xS.n]),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(87,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(89,16384,null,0,xS.s,[xS.r],null,null),uS._17(90,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[231,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,55,0,"1");l(n,56,0,"2");l(n,59,0,"business_vintage");l(n,62,0,"eg.99","tel");l(n,83,0,"4");l(n,84,0,"4");l(n,87,0,"business_purchase_year");l(n,90,0,"YYYY eg.2018","number")},function(l,n){l(n,6,1,[uS._32(n,7)._control.errorState,uS._32(n,7)._control.errorState,uS._32(n,7)._canLabelFloat,uS._32(n,7)._shouldLabelFloat(),uS._32(n,7)._hideControlPlaceholder(),uS._32(n,7)._control.disabled,uS._32(n,7)._control.focused,"primary"==uS._32(n,7).color,"accent"==uS._32(n,7).color,"warn"==uS._32(n,7).color,uS._32(n,7)._shouldForward("untouched"),uS._32(n,7)._shouldForward("touched"),uS._32(n,7)._shouldForward("pristine"),uS._32(n,7)._shouldForward("dirty"),uS._32(n,7)._shouldForward("valid"),uS._32(n,7)._shouldForward("invalid"),uS._32(n,7)._shouldForward("pending")]);l(n,17,1,[uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22).id,uS._32(n,22).tabIndex,uS._32(n,22)._ariaLabel,uS._32(n,22).ariaLabelledby,uS._32(n,22).required.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).errorState,uS._32(n,22).panelOpen?uS._32(n,22)._optionIds:null,uS._32(n,22).multiple,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22)._getAriaActiveDescendant(),uS._32(n,22).disabled,uS._32(n,22).errorState,uS._32(n,22).required]);l(n,39,1,[uS._32(n,40)._control.errorState,uS._32(n,40)._control.errorState,uS._32(n,40)._canLabelFloat,uS._32(n,40)._shouldLabelFloat(),uS._32(n,40)._hideControlPlaceholder(),uS._32(n,40)._control.disabled,uS._32(n,40)._control.focused,"primary"==uS._32(n,40).color,"accent"==uS._32(n,40).color,"warn"==uS._32(n,40).color,uS._32(n,40)._shouldForward("untouched"),uS._32(n,40)._shouldForward("touched"),uS._32(n,40)._shouldForward("pristine"),uS._32(n,40)._shouldForward("dirty"),uS._32(n,40)._shouldForward("valid"),uS._32(n,40)._shouldForward("invalid"),uS._32(n,40)._shouldForward("pending")]);l(n,53,1,[uS._32(n,55).minlength?uS._32(n,55).minlength:null,uS._32(n,56).maxlength?uS._32(n,56).maxlength:null,uS._32(n,61).ngClassUntouched,uS._32(n,61).ngClassTouched,uS._32(n,61).ngClassPristine,uS._32(n,61).ngClassDirty,uS._32(n,61).ngClassValid,uS._32(n,61).ngClassInvalid,uS._32(n,61).ngClassPending,uS._32(n,62)._isServer,uS._32(n,62).id,uS._32(n,62).placeholder,uS._32(n,62).disabled,uS._32(n,62).required,uS._32(n,62).readonly,uS._32(n,62)._ariaDescribedby||null,uS._32(n,62).errorState,uS._32(n,62).required.toString()]);l(n,66,1,[uS._32(n,67)._control.errorState,uS._32(n,67)._control.errorState,uS._32(n,67)._canLabelFloat,uS._32(n,67)._shouldLabelFloat(),uS._32(n,67)._hideControlPlaceholder(),uS._32(n,67)._control.disabled,uS._32(n,67)._control.focused,"primary"==uS._32(n,67).color,"accent"==uS._32(n,67).color,"warn"==uS._32(n,67).color,uS._32(n,67)._shouldForward("untouched"),uS._32(n,67)._shouldForward("touched"),uS._32(n,67)._shouldForward("pristine"),uS._32(n,67)._shouldForward("dirty"),uS._32(n,67)._shouldForward("valid"),uS._32(n,67)._shouldForward("invalid"),uS._32(n,67)._shouldForward("pending")]);l(n,80,1,[uS._32(n,83).minlength?uS._32(n,83).minlength:null,uS._32(n,84).maxlength?uS._32(n,84).maxlength:null,uS._32(n,89).ngClassUntouched,uS._32(n,89).ngClassTouched,uS._32(n,89).ngClassPristine,uS._32(n,89).ngClassDirty,uS._32(n,89).ngClassValid,uS._32(n,89).ngClassInvalid,uS._32(n,89).ngClassPending,uS._32(n,90)._isServer,uS._32(n,90).id,uS._32(n,90).placeholder,uS._32(n,90).disabled,uS._32(n,90).required,uS._32(n,90).readonly,uS._32(n,90)._ariaDescribedby||null,uS._32(n,90).errorState,uS._32(n,90).required.toString()])})}function mx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Is There a Loan Existing Against This Asset?"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(6,1064960,null,1,uO.b,[uS.i],null,null),uS._38(603979776,238,{_radios:1}),uS._37(1024,null,xS.q,function(l){return[l]},[uO.b]),uS._17(9,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(11,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,14)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(14,4440064,[[238,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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!==uS._32(l,18)._inputElement.nativeElement.focus()&&u}return u},eO.b,eO.a)),uS._17(18,4440064,[[238,4]],0,uO.a,[[2,uO.b],uS.p,uS.i,bT.j,tO.d],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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,uS._32(n,11).ngClassUntouched,uS._32(n,11).ngClassTouched,uS._32(n,11).ngClassPristine,uS._32(n,11).ngClassDirty,uS._32(n,11).ngClassValid,uS._32(n,11).ngClassInvalid,uS._32(n,11).ngClassPending);l(n,13,0,uS._32(n,14).checked,uS._32(n,14).disabled,uS._32(n,14).id);l(n,17,0,uS._32(n,18).checked,uS._32(n,18).disabled,uS._32(n,18).id)})}function px(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function fx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"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},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"add-circle")},function(l,n){l(n,3,0,uS._32(n,4)._hidden)})}function hx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,108,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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)),uS._17(3,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(5,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(8,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(10,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(11,16384,null,0,_T.h,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(14,null,["Other Assets Used in Business # ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,33,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(19,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(21,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,cT.b,cT.a)),uS._17(22,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,101,{_control:0}),uS._38(335544320,102,{_placeholderChild:0}),uS._38(335544320,103,{_labelChild:0}),uS._38(603979776,104,{_errorChildren:1}),uS._38(603979776,105,{_hintChildren:1}),uS._38(603979776,106,{_prefixChildren:1}),uS._38(603979776,107,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(31,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","business_assets_mode"],["placeholder","Asset 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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,35)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,35)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,35)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAssetsType(e,l.context.index)&&u}return u},LO.b,LO.a)),uS._17(32,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(34,16384,null,0,xS.s,[xS.r],null,null),uS._17(35,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,108,{options:1}),uS._38(603979776,109,{optionGroups:1}),uS._38(335544320,110,{customTrigger:0}),uS._37(2048,[[101,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(42,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!==uS._32(l,43)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,43)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(43,8437760,[[108,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,RF)),uS._17(47,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(53,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)),uS._17(54,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(56,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,GF)),uS._17(59,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,JF)),uS._17(63,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,XF)),uS._17(67,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ux)),uS._17(71,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,tx)),uS._17(75,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n\n\n "])),(l()(),uS._13(16777216,null,null,1,null,ix)),uS._17(78,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,cx)),uS._17(81,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,mx)),uS._17(85,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(88,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(89,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,239,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(92,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(93,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,px)),uS._17(96,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(99,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(100,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,fx)),uS._17(103,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(104,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(107,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,32,0,"business_assets_mode");l(n,35,0,"Asset Type");l(n,47,0,e.m_assets_type);l(n,54,0,"business_details");l(n,59,0,2==n.context.$implicit.get("business_assets_mode").value);l(n,63,0,3==n.context.$implicit.get("business_assets_mode").value);l(n,67,0,4==n.context.$implicit.get("business_assets_mode").value);l(n,71,0,1==n.context.$implicit.get("business_assets_mode").value);l(n,75,0,""!=n.context.$implicit.get("business_assets_mode").value);l(n,78,0,""!=n.context.$implicit.get("business_assets_mode").value&&"rented"==n.context.$implicit.get("business_ownership_type").value);l(n,81,0,""!=n.context.$implicit.get("business_assets_mode").value&&"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,85,0,""!=n.context.$implicit.get("business_assets_mode").value&&"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,96,0,n.context.index>0);l(n,103,0,n.context.last)},function(l,n){l(n,2,0,uS._32(n,5).ngClassUntouched,uS._32(n,5).ngClassTouched,uS._32(n,5).ngClassPristine,uS._32(n,5).ngClassDirty,uS._32(n,5).ngClassValid,uS._32(n,5).ngClassInvalid,uS._32(n,5).ngClassPending);l(n,14,0,n.context.index+1);l(n,21,1,[uS._32(n,22)._control.errorState,uS._32(n,22)._control.errorState,uS._32(n,22)._canLabelFloat,uS._32(n,22)._shouldLabelFloat(),uS._32(n,22)._hideControlPlaceholder(),uS._32(n,22)._control.disabled,uS._32(n,22)._control.focused,"primary"==uS._32(n,22).color,"accent"==uS._32(n,22).color,"warn"==uS._32(n,22).color,uS._32(n,22)._shouldForward("untouched"),uS._32(n,22)._shouldForward("touched"),uS._32(n,22)._shouldForward("pristine"),uS._32(n,22)._shouldForward("dirty"),uS._32(n,22)._shouldForward("valid"),uS._32(n,22)._shouldForward("invalid"),uS._32(n,22)._shouldForward("pending")]);l(n,31,1,[uS._32(n,34).ngClassUntouched,uS._32(n,34).ngClassTouched,uS._32(n,34).ngClassPristine,uS._32(n,34).ngClassDirty,uS._32(n,34).ngClassValid,uS._32(n,34).ngClassInvalid,uS._32(n,34).ngClassPending,uS._32(n,35).id,uS._32(n,35).tabIndex,uS._32(n,35)._ariaLabel,uS._32(n,35).ariaLabelledby,uS._32(n,35).required.toString(),uS._32(n,35).disabled.toString(),uS._32(n,35).errorState,uS._32(n,35).panelOpen?uS._32(n,35)._optionIds:null,uS._32(n,35).multiple,uS._32(n,35)._ariaDescribedby||null,uS._32(n,35)._getAriaActiveDescendant(),uS._32(n,35).disabled,uS._32(n,35).errorState,uS._32(n,35).required]);l(n,42,0,uS._32(n,43)._getTabIndex(),uS._32(n,43).selected,uS._32(n,43).multiple,uS._32(n,43).active,uS._32(n,43).id,uS._32(n,43).selected.toString(),uS._32(n,43).disabled.toString(),uS._32(n,43).disabled);l(n,53,0,uS._32(n,56).ngClassUntouched,uS._32(n,56).ngClassTouched,uS._32(n,56).ngClassPristine,uS._32(n,56).ngClassDirty,uS._32(n,56).ngClassValid,uS._32(n,56).ngClassInvalid,uS._32(n,56).ngClassPending)})}function gx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,55,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,7,"div",[["formArrayName","business_assets_for_address"]],[[2,"ng-untouched",null],[2,"ng-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)),uS._17(7,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(9,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,BF)),uS._17(12,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(15,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(16,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(18,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)),uS._17(19,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(21,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,hx)),uS._17(24,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(28,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(29,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(31,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,cT.b,cT.a)),uS._17(32,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,240,{_control:0}),uS._38(335544320,241,{_placeholderChild:0}),uS._38(335544320,242,{_labelChild:0}),uS._38(603979776,243,{_errorChildren:1}),uS._38(603979776,244,{_hintChildren:1}),uS._38(603979776,245,{_prefixChildren:1}),uS._38(603979776,246,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(41,0,null,3,2,"mat-label",[],null,null,null,null,null)),uS._17(42,16384,[[242,4]],0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Remarks"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(45,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!==uS._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,51)._onInput()&&u}return u},null,null)),uS._17(46,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(48,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(50,16384,null,0,xS.s,[xS.r],null,null),uS._17(51,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],null,null),uS._37(2048,[[240,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,2,0,e._businessAssetsQuesFrom);l(n,7,0,"business_assets_for_address");l(n,12,0,e._businessAssetsQuesFrom.controls.business_assets_for_address.controls);l(n,19,0,"business_assets_details");l(n,24,0,e._businessAssetsQuesFrom.controls.business_assets_details.controls);l(n,48,0,"business_assets_form_remark"),l(n,51,0)},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,6,0,uS._32(n,9).ngClassUntouched,uS._32(n,9).ngClassTouched,uS._32(n,9).ngClassPristine,uS._32(n,9).ngClassDirty,uS._32(n,9).ngClassValid,uS._32(n,9).ngClassInvalid,uS._32(n,9).ngClassPending);l(n,18,0,uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending);l(n,31,1,[uS._32(n,32)._control.errorState,uS._32(n,32)._control.errorState,uS._32(n,32)._canLabelFloat,uS._32(n,32)._shouldLabelFloat(),uS._32(n,32)._hideControlPlaceholder(),uS._32(n,32)._control.disabled,uS._32(n,32)._control.focused,"primary"==uS._32(n,32).color,"accent"==uS._32(n,32).color,"warn"==uS._32(n,32).color,uS._32(n,32)._shouldForward("untouched"),uS._32(n,32)._shouldForward("touched"),uS._32(n,32)._shouldForward("pristine"),uS._32(n,32)._shouldForward("dirty"),uS._32(n,32)._shouldForward("valid"),uS._32(n,32)._shouldForward("invalid"),uS._32(n,32)._shouldForward("pending")]);l(n,45,1,[uS._32(n,50).ngClassUntouched,uS._32(n,50).ngClassTouched,uS._32(n,50).ngClassPristine,uS._32(n,50).ngClassDirty,uS._32(n,50).ngClassValid,uS._32(n,50).ngClassInvalid,uS._32(n,50).ngClassPending,uS._32(n,51)._isServer,uS._32(n,51).id,uS._32(n,51).placeholder,uS._32(n,51).disabled,uS._32(n,51).required,uS._32(n,51).readonly,uS._32(n,51)._ariaDescribedby||null,uS._32(n,51).errorState,uS._32(n,51).required.toString()])})}function bx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,gx)),uS._17(3,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,e.apiLoadFinish&&e.loadDetails)},null)}function vx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,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},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function yx(l){return uS._42(0,[uS._34(0,wI.u,[]),uS._38(671088640,1,{focusRemark:0}),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(3,0,null,null,35,"ion-header",[],null,null,null,null,null)),uS._17(4,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(6,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(7,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,11).toggle()&&u}return u},AT.b,AT.a)),uS._17(10,1097728,[[2,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(11,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(12,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,2,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,fF)),uS._17(20,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(24,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(26,16384,null,0,xS.s,[xS.r],null,null),uS._17(27,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,3,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(30,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,31).onClick()&&u}return u},jT.b,jT.a)),uS._17(31,114688,[[3,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,35).onClick()&&u}return u},jT.b,jT.a)),uS._17(35,114688,[[3,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(40,0,null,null,24,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(41,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(43,0,null,1,9,"div",[],null,null,null,null,null)),uS._17(44,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,IF)),uS._17(47,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._13(16777216,null,null,1,null,bx)),uS._17(50,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(55,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(56,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,247,{_mainButton:0}),uS._38(603979776,248,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(60,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(61,49152,[[247,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(62,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(63,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(66,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(67,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,vx)),uS._17(70,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,24,0,e.tab);l(n,27,0,"optblue");l(n,31,0,"0");l(n,35,0,"1");l(n,44,0,e.tab);l(n,47,0,"1");l(n,50,0,"0");l(n,61,0,"optblue");l(n,63,0,"md-camera");l(n,70,0,!e.complete_status)},function(l,n){l(n,6,0,uS._32(n,7)._hidden,uS._32(n,7)._sbPadding);l(n,9,0,uS._32(n,11).isHidden);l(n,15,0,uS._32(n,16)._hidden);l(n,23,0,uS._32(n,26).ngClassUntouched,uS._32(n,26).ngClassTouched,uS._32(n,26).ngClassPristine,uS._32(n,26).ngClassDirty,uS._32(n,26).ngClassValid,uS._32(n,26).ngClassInvalid,uS._32(n,26).ngClassPending,uS._32(n,27)._disabled);l(n,30,0,uS._32(n,31)._disabled,uS._32(n,31).isActive,uS._32(n,31).isActive);l(n,34,0,uS._32(n,35)._disabled,uS._32(n,35).isActive,uS._32(n,35).isActive);l(n,40,0,uS._32(n,41).statusbarPadding,uS._32(n,41)._hasRefresher);l(n,62,0,uS._32(n,63)._hidden)})}function Cx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function wx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Fx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function xx(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function kx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,wx)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Fx)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,xx)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function Sx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,kx)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(14,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Ix(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function qx(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Px(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ix)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,qx)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Dx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(8,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Px)),uS._17(11,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,11,0,n.component.imageBucket)},null)}function Tx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function Ox(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(3,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(4,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Cx)),uS._17(7,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Sx)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._13(16777216,null,null,1,null,Dx)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Tx)),uS._17(19,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,10,0,e.imageDisplay.length>0);l(n,13,0,e.imageBucket.length>0);l(n,19,0,e.imageBucket.length>0)},null)}function Lx(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[10,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ax(l){return uS._42(0,[(l()(),uS._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,OO.d,OO.a)),uS._17(1,49152,[[11,4]],0,pT.s,[],{label:[0,"label"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Lx)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-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,uS._32(n,1).disabled,uS._32(n,1).disabled.toString(),uS._32(n,1)._labelId)})}function Vx(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,13,{_control:0}),uS._38(335544320,14,{_placeholderChild:0}),uS._38(335544320,15,{_labelChild:0}),uS._38(603979776,16,{_errorChildren:1}),uS._38(603979776,17,{_hintChildren:1}),uS._38(603979776,18,{_prefixChildren:1}),uS._38(603979776,19,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[13,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Nx(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function Wx(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,31,{_control:0}),uS._38(335544320,32,{_placeholderChild:0}),uS._38(335544320,33,{_labelChild:0}),uS._38(603979776,34,{_errorChildren:1}),uS._38(603979776,35,{_hintChildren:1}),uS._38(603979776,36,{_prefixChildren:1}),uS._38(603979776,37,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[31,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Ex(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[45,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function jx(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,48,{_control:0}),uS._38(335544320,49,{_placeholderChild:0}),uS._38(335544320,50,{_labelChild:0}),uS._38(603979776,51,{_errorChildren:1}),uS._38(603979776,52,{_hintChildren:1}),uS._38(603979776,53,{_prefixChildren:1}),uS._38(603979776,54,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,55,{options:1}),uS._38(603979776,56,{optionGroups:1}),uS._38(335544320,57,{customTrigger:0}),uS._37(2048,[[48,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[55,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(26,8437760,[[55,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,25,0,uS._32(n,26)._getTabIndex(),uS._32(n,26).selected,uS._32(n,26).multiple,uS._32(n,26).active,uS._32(n,26).id,uS._32(n,26).selected.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).disabled)})}function $x(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,58,{_control:0}),uS._38(335544320,59,{_placeholderChild:0}),uS._38(335544320,60,{_labelChild:0}),uS._38(603979776,61,{_errorChildren:1}),uS._38(603979776,62,{_hintChildren:1}),uS._38(603979776,63,{_prefixChildren:1}),uS._38(603979776,64,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._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!==uS._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,14)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(11,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(13,16384,null,0,xS.s,[xS.r],null,null),uS._17(14,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,65,{options:1}),uS._38(603979776,66,{optionGroups:1}),uS._38(335544320,67,{customTrigger:0}),uS._37(2048,[[58,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,22)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(22,8437760,[[65,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Yes"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,26)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(26,8437760,[[65,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["No"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,30)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(30,8437760,[[65,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["NA"])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,13).ngClassUntouched,uS._32(n,13).ngClassTouched,uS._32(n,13).ngClassPristine,uS._32(n,13).ngClassDirty,uS._32(n,13).ngClassValid,uS._32(n,13).ngClassInvalid,uS._32(n,13).ngClassPending,uS._32(n,14).id,uS._32(n,14).tabIndex,uS._32(n,14)._ariaLabel,uS._32(n,14).ariaLabelledby,uS._32(n,14).required.toString(),uS._32(n,14).disabled.toString(),uS._32(n,14).errorState,uS._32(n,14).panelOpen?uS._32(n,14)._optionIds:null,uS._32(n,14).multiple,uS._32(n,14)._ariaDescribedby||null,uS._32(n,14)._getAriaActiveDescendant(),uS._32(n,14).disabled,uS._32(n,14).errorState,uS._32(n,14).required]);l(n,21,0,uS._32(n,22)._getTabIndex(),uS._32(n,22).selected,uS._32(n,22).multiple,uS._32(n,22).active,uS._32(n,22).id,uS._32(n,22).selected.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).disabled);l(n,25,0,uS._32(n,26)._getTabIndex(),uS._32(n,26).selected,uS._32(n,26).multiple,uS._32(n,26).active,uS._32(n,26).id,uS._32(n,26).selected.toString(),uS._32(n,26).disabled.toString(),uS._32(n,26).disabled);l(n,29,0,uS._32(n,30)._getTabIndex(),uS._32(n,30).selected,uS._32(n,30).multiple,uS._32(n,30).active,uS._32(n,30).id,uS._32(n,30).selected.toString(),uS._32(n,30).disabled.toString(),uS._32(n,30).disabled)})}function Bx(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[72,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.parent.context.index])})}function Rx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,29,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(3,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["Limit In case of OD / CC account, What is the Limit"])),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(7,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,68,{_control:0}),uS._38(335544320,69,{_placeholderChild:0}),uS._38(335544320,70,{_labelChild:0}),uS._38(603979776,71,{_errorChildren:1}),uS._38(603979776,72,{_hintChildren:1}),uS._38(603979776,73,{_prefixChildren:1}),uS._38(603979776,74,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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,t=l.component;if("input"===n){u=!1!==uS._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,1)&&u}return u},null,null)),uS._17(17,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(18,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(20,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(22,16384,null,0,xS.s,[xS.r],null,null),uS._17(23,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[68,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Bx)),uS._17(27,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-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,[uS._32(n,7)._control.errorState,uS._32(n,7)._control.errorState,uS._32(n,7)._canLabelFloat,uS._32(n,7)._shouldLabelFloat(),uS._32(n,7)._hideControlPlaceholder(),uS._32(n,7)._control.disabled,uS._32(n,7)._control.focused,"primary"==uS._32(n,7).color,"accent"==uS._32(n,7).color,"warn"==uS._32(n,7).color,uS._32(n,7)._shouldForward("untouched"),uS._32(n,7)._shouldForward("touched"),uS._32(n,7)._shouldForward("pristine"),uS._32(n,7)._shouldForward("dirty"),uS._32(n,7)._shouldForward("valid"),uS._32(n,7)._shouldForward("invalid"),uS._32(n,7)._shouldForward("pending")]);l(n,16,1,[uS._32(n,22).ngClassUntouched,uS._32(n,22).ngClassTouched,uS._32(n,22).ngClassPristine,uS._32(n,22).ngClassDirty,uS._32(n,22).ngClassValid,uS._32(n,22).ngClassInvalid,uS._32(n,22).ngClassPending,uS._32(n,23)._isServer,uS._32(n,23).id,uS._32(n,23).placeholder,uS._32(n,23).disabled,uS._32(n,23).required,uS._32(n,23).readonly,uS._32(n,23)._ariaDescribedby||null,uS._32(n,23).errorState,uS._32(n,23).required.toString()])})}function Ux(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(6,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,6,0,"optblue","add-circle")},function(l,n){l(n,5,0,uS._32(n,6)._hidden)})}function Mx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,224,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),uS._17(4,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,16777216,null,null,217,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(8,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],{expanded:[0,"expanded"]},null),uS._38(335544320,2,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,12)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(12,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(13,{collapsedHeight:0,expandedHeight:1}),uS._35(14,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(16,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(17,16384,null,0,ZO.f,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),uS._40(20,null,["Banking Details ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n \n \n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(25,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,3,{_control:0}),uS._38(335544320,4,{_placeholderChild:0}),uS._38(335544320,5,{_labelChild:0}),uS._38(603979776,6,{_errorChildren:1}),uS._38(603979776,7,{_hintChildren:1}),uS._38(603979776,8,{_prefixChildren:1}),uS._38(603979776,9,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,39)._onBlur()&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(36,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(38,16384,null,0,xS.s,[xS.r],null,null),uS._17(39,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),uS._38(603979776,10,{options:1}),uS._38(603979776,11,{optionGroups:1}),uS._38(335544320,12,{customTrigger:0}),uS._37(2048,[[3,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ax)),uS._17(46,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._13(16777216,null,1,1,null,Vx)),uS._17(51,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(53,0,null,1,46,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,cT.b,cT.a)),uS._17(54,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,20,{_control:0}),uS._38(335544320,21,{_placeholderChild:0}),uS._38(335544320,22,{_labelChild:0}),uS._38(603979776,23,{_errorChildren:1}),uS._38(603979776,24,{_hintChildren:1}),uS._38(603979776,25,{_prefixChildren:1}),uS._38(603979776,26,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(63,0,null,1,35,"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!==uS._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,67)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(64,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(66,16384,null,0,xS.s,[xS.r],null,null),uS._17(67,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,27,{options:1}),uS._38(603979776,28,{optionGroups:1}),uS._38(335544320,29,{customTrigger:0}),uS._37(2048,[[20,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,16,"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!==uS._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,75)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(75,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(77,0,null,0,12,"ngx-mat-select-search",[["formControlName","filterCtrl"]],[[2,"mat-select-search-inside-mat-option",null],[2,"ng-untouched",null],[2,"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!==l.component.searchFun(l.context.$implicit)&&u}return u},jO.b,jO.a)),uS._17(78,4440064,null,1,mD.a,[AO.c,uS.i,[2,pT.t]],{placeholderLabel:[0,"placeholderLabel"],noEntriesFoundLabel:[1,"noEntriesFoundLabel"]},null),uS._38(335544320,30,{clearIcon:0}),uS._37(1024,null,xS.q,function(l){return[l]},[mD.a]),uS._17(81,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(83,16384,null,0,xS.s,[xS.r],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,0,3,"ion-icon",[["name","md-close"],["ngxMatSelectSearchClear",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(86,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),uS._17(87,16384,[[30,4]],0,mD.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(92,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!==uS._32(l,93)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,93)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(93,8437760,[[27,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Nx)),uS._17(97,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._13(16777216,null,1,1,null,Wx)),uS._17(102,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(104,0,null,1,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(106,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,cT.b,cT.a)),uS._17(107,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,38,{_control:0}),uS._38(335544320,39,{_placeholderChild:0}),uS._38(335544320,40,{_labelChild:0}),uS._38(603979776,41,{_errorChildren:1}),uS._38(603979776,42,{_hintChildren:1}),uS._38(603979776,43,{_prefixChildren:1}),uS._38(603979776,44,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._18(116,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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,121)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAccTypeChanges(e.value,l.context.index)&&u}return u},LO.b,LO.a)),uS._37(6144,null,pT.l,null,[AO.c]),uS._17(118,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(120,16384,null,0,xS.s,[xS.r],null,null),uS._17(121,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,45,{options:1}),uS._38(603979776,46,{optionGroups:1}),uS._38(335544320,47,{customTrigger:0}),uS._37(2048,[[38,4]],mT.c,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Ex)),uS._17(128,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n \n \n \n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,jx)),uS._17(134,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(136,0,null,1,4,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,$x)),uS._17(139,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Rx)),uS._17(144,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(151,0,null,1,54,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(153,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Approximate Vintage of the Account"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(156,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,cT.b,cT.a)),uS._17(157,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,75,{_control:0}),uS._38(335544320,76,{_placeholderChild:0}),uS._38(335544320,77,{_labelChild:0}),uS._38(603979776,78,{_errorChildren:1}),uS._38(603979776,79,{_hintChildren:1}),uS._38(603979776,80,{_prefixChildren:1}),uS._38(603979776,81,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(166,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,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,167)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,167).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,167)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,167)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,168).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,168).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,168).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,173)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,173)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,173)._onInput()&&u}if("change"===n){u=!1!==t.checkWithExistBusinessYear(l.context.$implicit,e.target.value,l.context.index)&&u}return u},null,null)),uS._17(167,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(168,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(170,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(172,16384,null,0,xS.s,[xS.r],null,null),uS._17(173,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[75,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(176,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)),uS._17(177,16384,[[79,4]],0,mT.e,[],null,null),(l()(),uS._40(178,null,["",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(181,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,cT.b,cT.a)),uS._17(182,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,82,{_control:0}),uS._38(335544320,83,{_placeholderChild:0}),uS._38(335544320,84,{_labelChild:0}),uS._38(603979776,85,{_errorChildren:1}),uS._38(603979776,86,{_hintChildren:1}),uS._38(603979776,87,{_prefixChildren:1}),uS._38(603979776,88,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(191,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,t=l.component;if("input"===n){u=!1!==uS._32(l,192)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,192).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,192)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,192)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,193).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,193).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,193).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,198)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,198)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,198)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value,l.context.index)&&u}return u},null,null)),uS._17(192,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(193,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(195,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(197,16384,null,0,xS.s,[xS.r],null,null),uS._17(198,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[82,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(201,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)),uS._17(202,16384,[[86,4]],0,mT.e,[],null,null),(l()(),uS._40(203,null,["",""])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(207,0,null,1,15,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(208,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,89,{_buttons:1}),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(211,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(212,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(214,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(216,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(217,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ux)),uS._17(221,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-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,64,0,"bank_name");l(n,67,0,"Bank Name");l(n,78,0,"Search Bank by Name","No Matching Result");l(n,81,0,"filterCtrl");l(n,86,0,"md-close");l(n,97,0,e.m_btLenderListValue);l(n,102,0,1==n.context.$implicit.get("bank_name").value);l(n,118,0,"account_type");l(n,121,0,"Bank Account Type ");l(n,128,0,e.accountType);l(n,134,0,"SAL"!=e.pd_cus_segment);l(n,139,0,e.salaryField);l(n,144,0,e.limitCaseFlag[n.context.index]);l(n,170,0,"vintage_year");l(n,173,0,"Year","number");l(n,195,0,"vintage_month");l(n,198,0,"Month","number");l(n,217,0,"optblue","md-trash");l(n,221,0,n.context.last)},function(l,n){var e=n.component;l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,6,0,uS._32(n,8).expanded,uS._32(n,8)._hasSpacing());l(n,11,0,uS._32(n,12).panel._headerId,uS._32(n,12).panel.disabled?-1:0,uS._32(n,12)._getPanelId(),uS._32(n,12)._isExpanded(),uS._32(n,12).panel.disabled,uS._32(n,12)._isExpanded(),l(n,14,0,uS._32(n,12)._getExpandedState(),l(n,13,0,uS._32(n,12).collapsedHeight,uS._32(n,12).expandedHeight)));l(n,20,0,n.context.index+1);l(n,24,1,[uS._32(n,25)._control.errorState,uS._32(n,25)._control.errorState,uS._32(n,25)._canLabelFloat,uS._32(n,25)._shouldLabelFloat(),uS._32(n,25)._hideControlPlaceholder(),uS._32(n,25)._control.disabled,uS._32(n,25)._control.focused,"primary"==uS._32(n,25).color,"accent"==uS._32(n,25).color,"warn"==uS._32(n,25).color,uS._32(n,25)._shouldForward("untouched"),uS._32(n,25)._shouldForward("touched"),uS._32(n,25)._shouldForward("pristine"),uS._32(n,25)._shouldForward("dirty"),uS._32(n,25)._shouldForward("valid"),uS._32(n,25)._shouldForward("invalid"),uS._32(n,25)._shouldForward("pending")]);l(n,34,1,[uS._32(n,38).ngClassUntouched,uS._32(n,38).ngClassTouched,uS._32(n,38).ngClassPristine,uS._32(n,38).ngClassDirty,uS._32(n,38).ngClassValid,uS._32(n,38).ngClassInvalid,uS._32(n,38).ngClassPending,uS._32(n,39).id,uS._32(n,39).tabIndex,uS._32(n,39)._ariaLabel,uS._32(n,39).ariaLabelledby,uS._32(n,39).required.toString(),uS._32(n,39).disabled.toString(),uS._32(n,39).errorState,uS._32(n,39).panelOpen?uS._32(n,39)._optionIds:null,uS._32(n,39).multiple,uS._32(n,39)._ariaDescribedby||null,uS._32(n,39)._getAriaActiveDescendant(),uS._32(n,39).disabled,uS._32(n,39).errorState,uS._32(n,39).required]);l(n,53,1,[uS._32(n,54)._control.errorState,uS._32(n,54)._control.errorState,uS._32(n,54)._canLabelFloat,uS._32(n,54)._shouldLabelFloat(),uS._32(n,54)._hideControlPlaceholder(),uS._32(n,54)._control.disabled,uS._32(n,54)._control.focused,"primary"==uS._32(n,54).color,"accent"==uS._32(n,54).color,"warn"==uS._32(n,54).color,uS._32(n,54)._shouldForward("untouched"),uS._32(n,54)._shouldForward("touched"),uS._32(n,54)._shouldForward("pristine"),uS._32(n,54)._shouldForward("dirty"),uS._32(n,54)._shouldForward("valid"),uS._32(n,54)._shouldForward("invalid"),uS._32(n,54)._shouldForward("pending")]);l(n,63,1,[uS._32(n,66).ngClassUntouched,uS._32(n,66).ngClassTouched,uS._32(n,66).ngClassPristine,uS._32(n,66).ngClassDirty,uS._32(n,66).ngClassValid,uS._32(n,66).ngClassInvalid,uS._32(n,66).ngClassPending,uS._32(n,67).id,uS._32(n,67).tabIndex,uS._32(n,67)._ariaLabel,uS._32(n,67).ariaLabelledby,uS._32(n,67).required.toString(),uS._32(n,67).disabled.toString(),uS._32(n,67).errorState,uS._32(n,67).panelOpen?uS._32(n,67)._optionIds:null,uS._32(n,67).multiple,uS._32(n,67)._ariaDescribedby||null,uS._32(n,67)._getAriaActiveDescendant(),uS._32(n,67).disabled,uS._32(n,67).errorState,uS._32(n,67).required]);l(n,74,0,uS._32(n,75)._getTabIndex(),uS._32(n,75).selected,uS._32(n,75).multiple,uS._32(n,75).active,uS._32(n,75).id,uS._32(n,75).selected.toString(),uS._32(n,75).disabled.toString(),uS._32(n,75).disabled);l(n,77,0,uS._32(n,78).isInsideMatOption,uS._32(n,83).ngClassUntouched,uS._32(n,83).ngClassTouched,uS._32(n,83).ngClassPristine,uS._32(n,83).ngClassDirty,uS._32(n,83).ngClassValid,uS._32(n,83).ngClassInvalid,uS._32(n,83).ngClassPending);l(n,85,0,uS._32(n,86)._hidden);l(n,92,0,uS._32(n,93)._getTabIndex(),uS._32(n,93).selected,uS._32(n,93).multiple,uS._32(n,93).active,uS._32(n,93).id,uS._32(n,93).selected.toString(),uS._32(n,93).disabled.toString(),uS._32(n,93).disabled);l(n,106,1,[uS._32(n,107)._control.errorState,uS._32(n,107)._control.errorState,uS._32(n,107)._canLabelFloat,uS._32(n,107)._shouldLabelFloat(),uS._32(n,107)._hideControlPlaceholder(),uS._32(n,107)._control.disabled,uS._32(n,107)._control.focused,"primary"==uS._32(n,107).color,"accent"==uS._32(n,107).color,"warn"==uS._32(n,107).color,uS._32(n,107)._shouldForward("untouched"),uS._32(n,107)._shouldForward("touched"),uS._32(n,107)._shouldForward("pristine"),uS._32(n,107)._shouldForward("dirty"),uS._32(n,107)._shouldForward("valid"),uS._32(n,107)._shouldForward("invalid"),uS._32(n,107)._shouldForward("pending")]);l(n,116,1,[uS._32(n,120).ngClassUntouched,uS._32(n,120).ngClassTouched,uS._32(n,120).ngClassPristine,uS._32(n,120).ngClassDirty,uS._32(n,120).ngClassValid,uS._32(n,120).ngClassInvalid,uS._32(n,120).ngClassPending,uS._32(n,121).id,uS._32(n,121).tabIndex,uS._32(n,121)._ariaLabel,uS._32(n,121).ariaLabelledby,uS._32(n,121).required.toString(),uS._32(n,121).disabled.toString(),uS._32(n,121).errorState,uS._32(n,121).panelOpen?uS._32(n,121)._optionIds:null,uS._32(n,121).multiple,uS._32(n,121)._ariaDescribedby||null,uS._32(n,121)._getAriaActiveDescendant(),uS._32(n,121).disabled,uS._32(n,121).errorState,uS._32(n,121).required]);l(n,156,1,[uS._32(n,157)._control.errorState,uS._32(n,157)._control.errorState,uS._32(n,157)._canLabelFloat,uS._32(n,157)._shouldLabelFloat(),uS._32(n,157)._hideControlPlaceholder(),uS._32(n,157)._control.disabled,uS._32(n,157)._control.focused,"primary"==uS._32(n,157).color,"accent"==uS._32(n,157).color,"warn"==uS._32(n,157).color,uS._32(n,157)._shouldForward("untouched"),uS._32(n,157)._shouldForward("touched"),uS._32(n,157)._shouldForward("pristine"),uS._32(n,157)._shouldForward("dirty"),uS._32(n,157)._shouldForward("valid"),uS._32(n,157)._shouldForward("invalid"),uS._32(n,157)._shouldForward("pending")]);l(n,166,1,[uS._32(n,172).ngClassUntouched,uS._32(n,172).ngClassTouched,uS._32(n,172).ngClassPristine,uS._32(n,172).ngClassDirty,uS._32(n,172).ngClassValid,uS._32(n,172).ngClassInvalid,uS._32(n,172).ngClassPending,uS._32(n,173)._isServer,uS._32(n,173).id,uS._32(n,173).placeholder,uS._32(n,173).disabled,uS._32(n,173).required,uS._32(n,173).readonly,uS._32(n,173)._ariaDescribedby||null,uS._32(n,173).errorState,uS._32(n,173).required.toString()]);l(n,176,0,"end"==uS._32(n,177).align,uS._32(n,177).id,null);l(n,178,0,e.yearErrorMessage[n.context.index]);l(n,181,1,[uS._32(n,182)._control.errorState,uS._32(n,182)._control.errorState,uS._32(n,182)._canLabelFloat,uS._32(n,182)._shouldLabelFloat(),uS._32(n,182)._hideControlPlaceholder(),uS._32(n,182)._control.disabled,uS._32(n,182)._control.focused,"primary"==uS._32(n,182).color,"accent"==uS._32(n,182).color,"warn"==uS._32(n,182).color,uS._32(n,182)._shouldForward("untouched"),uS._32(n,182)._shouldForward("touched"),uS._32(n,182)._shouldForward("pristine"),uS._32(n,182)._shouldForward("dirty"),uS._32(n,182)._shouldForward("valid"),uS._32(n,182)._shouldForward("invalid"),uS._32(n,182)._shouldForward("pending")]);l(n,191,1,[uS._32(n,197).ngClassUntouched,uS._32(n,197).ngClassTouched,uS._32(n,197).ngClassPristine,uS._32(n,197).ngClassDirty,uS._32(n,197).ngClassValid,uS._32(n,197).ngClassInvalid,uS._32(n,197).ngClassPending,uS._32(n,198)._isServer,uS._32(n,198).id,uS._32(n,198).placeholder,uS._32(n,198).disabled,uS._32(n,198).required,uS._32(n,198).readonly,uS._32(n,198)._ariaDescribedby||null,uS._32(n,198).errorState,uS._32(n,198).required.toString()]);l(n,201,0,"end"==uS._32(n,202).align,uS._32(n,202).id,null);l(n,203,0,e.monthErrorMessage[n.context.index]);l(n,216,0,uS._32(n,217)._hidden)})}function Kx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,44,"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!==uS._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,2).onReset()&&u}return u},null,null)),uS._17(1,16384,null,0,xS.B,[],null,null),uS._17(2,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(4,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,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)),uS._17(7,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(9,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mx)),uS._17(12,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._18(15,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(16,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(18,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,cT.b,cT.a)),uS._17(19,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,90,{_control:0}),uS._38(335544320,91,{_placeholderChild:0}),uS._38(335544320,92,{_labelChild:0}),uS._38(603979776,93,{_errorChildren:1}),uS._38(603979776,94,{_hintChildren:1}),uS._38(603979776,95,{_prefixChildren:1}),uS._38(603979776,96,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(28,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","banking_form_remark"],["matInput",""],["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!==uS._32(l,29)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,29).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,29)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,29)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,34)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,34)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,34)._onInput()&&u}return u},null,null)),uS._17(29,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(31,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(33,16384,null,0,xS.s,[xS.r],null,null),uS._17(34,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[90,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(40,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e.bankingForm);l(n,7,0,"itemRows");l(n,12,0,e.bankingForm.controls.itemRows.controls);l(n,31,0,"banking_form_remark");l(n,34,0,"Remarks","text")},function(l,n){l(n,0,0,uS._32(n,4).ngClassUntouched,uS._32(n,4).ngClassTouched,uS._32(n,4).ngClassPristine,uS._32(n,4).ngClassDirty,uS._32(n,4).ngClassValid,uS._32(n,4).ngClassInvalid,uS._32(n,4).ngClassPending);l(n,6,0,uS._32(n,9).ngClassUntouched,uS._32(n,9).ngClassTouched,uS._32(n,9).ngClassPristine,uS._32(n,9).ngClassDirty,uS._32(n,9).ngClassValid,uS._32(n,9).ngClassInvalid,uS._32(n,9).ngClassPending);l(n,18,1,[uS._32(n,19)._control.errorState,uS._32(n,19)._control.errorState,uS._32(n,19)._canLabelFloat,uS._32(n,19)._shouldLabelFloat(),uS._32(n,19)._hideControlPlaceholder(),uS._32(n,19)._control.disabled,uS._32(n,19)._control.focused,"primary"==uS._32(n,19).color,"accent"==uS._32(n,19).color,"warn"==uS._32(n,19).color,uS._32(n,19)._shouldForward("untouched"),uS._32(n,19)._shouldForward("touched"),uS._32(n,19)._shouldForward("pristine"),uS._32(n,19)._shouldForward("dirty"),uS._32(n,19)._shouldForward("valid"),uS._32(n,19)._shouldForward("invalid"),uS._32(n,19)._shouldForward("pending")]);l(n,28,1,[uS._32(n,33).ngClassUntouched,uS._32(n,33).ngClassTouched,uS._32(n,33).ngClassPristine,uS._32(n,33).ngClassDirty,uS._32(n,33).ngClassValid,uS._32(n,33).ngClassInvalid,uS._32(n,33).ngClassPending,uS._32(n,34)._isServer,uS._32(n,34).id,uS._32(n,34).placeholder,uS._32(n,34).disabled,uS._32(n,34).required,uS._32(n,34).readonly,uS._32(n,34)._ariaDescribedby||null,uS._32(n,34).errorState,uS._32(n,34).required.toString()])})}function Hx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdBank(t.bankingForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){l(n,3,0,"optblue","")},null)}function Gx(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(1,0,null,null,26,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(7,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(8,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(9,0,["",""])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,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.tab=e)&&u}return u},null,null)),uS._17(13,671744,null,0,xS.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),uS._37(2048,null,xS.r,null,[xS.v]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,1196032,null,1,ET.a,[VD.a,uS.p,uS.O,[2,xS.r]],{color:[0,"color"]},null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[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!==uS._32(l,20).onClick()&&u}return u},jT.b,jT.a)),uS._17(20,114688,[[1,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Form\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[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!==uS._32(l,24).onClick()&&u}return u},jT.b,jT.a)),uS._17(24,114688,[[1,4]],0,$T.a,[],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["\n Pictures\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(29,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(30,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,0,null,1,8,"div",[],null,null,null,null,null)),uS._17(33,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ox)),uS._17(36,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Kx)),uS._17(39,278528,null,0,wI.p,[uS._1,uS.W,wI.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(44,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,97,{_mainButton:0}),uS._38(603979776,98,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(48,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(49,49152,[[97,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(50,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(51,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(54,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(55,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hx)),uS._17(58,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,13,0,e.tab);l(n,16,0,"optblue");l(n,20,0,"0");l(n,24,0,"1");l(n,33,0,e.tab);l(n,36,0,"1");l(n,39,0,"0");l(n,49,0,"optblue");l(n,51,0,"md-camera");l(n,58,0,!e.complete_status)},function(l,n){var e=n.component;l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,9,0,e.formDetails.form_name);l(n,12,0,uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._disabled);l(n,19,0,uS._32(n,20)._disabled,uS._32(n,20).isActive,uS._32(n,20).isActive);l(n,23,0,uS._32(n,24)._disabled,uS._32(n,24).isActive,uS._32(n,24).isActive);l(n,29,0,uS._32(n,30).statusbarPadding,uS._32(n,30)._hasRefresher);l(n,50,0,uS._32(n,51)._hidden)})}function Yx(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Business Income"]))],null,null)}function zx(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.business_income_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.business_income_item)})}function Qx(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,12,{_control:0}),uS._38(335544320,13,{_placeholderChild:0}),uS._38(335544320,14,{_labelChild:0}),uS._38(603979776,15,{_errorChildren:1}),uS._38(603979776,16,{_hintChildren:1}),uS._38(603979776,17,{_prefixChildren:1}),uS._38(603979776,18,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[12,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function Jx(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[23,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function Zx(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[33,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Xx(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,36,{_control:0}),uS._38(335544320,37,{_placeholderChild:0}),uS._38(335544320,38,{_labelChild:0}),uS._38(603979776,39,{_errorChildren:1}),uS._38(603979776,40,{_hintChildren:1}),uS._38(603979776,41,{_prefixChildren:1}),uS._38(603979776,42,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[36,4]],mT.c,null,[fT.b]),(l()(),uS._40(-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,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function lk(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,16384,[[47,4]],0,mT.e,[],{align:[0,"align"]},null),(l()(),uS._40(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==uS._32(n,1).align,uS._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function nk(l){return uS._42(0,[(l()(),uS._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()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,uS._32(n,3)._hidden)})}function ek(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["Total Business Income:"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),uS._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),uS._40(15,null,[" ",""])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-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 uk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,166,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,160,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(6,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(8,0,null,0,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,cT.b,cT.a)),uS._17(9,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(18,0,null,1,17,"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!==uS._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,22)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(19,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(21,16384,null,0,xS.s,[xS.r],null,null),uS._17(22,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},null),uS._38(603979776,9,{options:1}),uS._38(603979776,10,{optionGroups:1}),uS._38(335544320,11,{customTrigger:0}),uS._37(2048,[[2,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(29,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!==uS._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,30)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(30,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,zx)),uS._17(34,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n\n "])),(l()(),uS._13(16777216,null,0,1,null,Qx)),uS._17(39,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(41,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,cT.b,cT.a)),uS._17(42,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,19,{_control:0}),uS._38(335544320,20,{_placeholderChild:0}),uS._38(335544320,21,{_labelChild:0}),uS._38(603979776,22,{_errorChildren:1}),uS._38(603979776,23,{_hintChildren:1}),uS._38(603979776,24,{_prefixChildren:1}),uS._38(603979776,25,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(51,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,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,52)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,52).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,52)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,52)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,57)._onInput()&&u}if("keyup"===n){t.busIncomecalculate(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),uS._17(52,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(54,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(56,16384,null,0,xS.s,[xS.r],null,null),uS._17(57,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[19,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,Jx)),uS._17(61,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(64,0,null,0,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,cT.b,cT.a)),uS._17(65,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,26,{_control:0}),uS._38(335544320,27,{_placeholderChild:0}),uS._38(335544320,28,{_labelChild:0}),uS._38(603979776,29,{_errorChildren:1}),uS._38(603979776,30,{_hintChildren:1}),uS._38(603979776,31,{_prefixChildren:1}),uS._38(603979776,32,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(74,0,null,1,17,"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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,78)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,78)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,78)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.busIncomecalculate(l.context.index,l.context.$implicit.value)&&u}return u},LO.b,LO.a)),uS._17(75,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(77,16384,null,0,xS.s,[xS.r],null,null),uS._17(78,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),uS._38(603979776,33,{options:1}),uS._38(603979776,34,{optionGroups:1}),uS._38(335544320,35,{customTrigger:0}),uS._37(2048,[[26,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(85,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!==uS._32(l,86)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,86)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(86,8437760,[[33,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Zx)),uS._17(90,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,Xx)),uS._17(95,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(97,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,cT.b,cT.a)),uS._17(98,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,43,{_control:0}),uS._38(335544320,44,{_placeholderChild:0}),uS._38(335544320,45,{_labelChild:0}),uS._38(603979776,46,{_errorChildren:1}),uS._38(603979776,47,{_hintChildren:1}),uS._38(603979776,48,{_prefixChildren:1}),uS._38(603979776,49,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(107,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!==uS._32(l,108)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,108).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,108)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,108)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,109).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,109).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,109).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,114)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,114)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,114)._onInput()&&u}return u},null,null)),uS._17(108,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(109,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(111,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(113,16384,null,0,xS.s,[xS.r],null,null),uS._17(114,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),uS._37(2048,[[43,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,7,1,null,lk)),uS._17(118,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(121,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,cT.b,cT.a)),uS._17(122,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,50,{_control:0}),uS._38(335544320,51,{_placeholderChild:0}),uS._38(335544320,52,{_labelChild:0}),uS._38(603979776,53,{_errorChildren:1}),uS._38(603979776,54,{_hintChildren:1}),uS._38(603979776,55,{_prefixChildren:1}),uS._38(603979776,56,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(131,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["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!==uS._32(l,132)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,132).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,132)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,132)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,137)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,137)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,137)._onInput()&&u}return u},null,null)),uS._17(132,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(134,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(136,16384,null,0,xS.s,[xS.r],null,null),uS._17(137,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"]},null),uS._37(2048,[[50,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(141,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(142,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,57,{_buttons:1}),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(145,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),uS._17(146,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(148,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()(),uS._40(-1,null,["\n "])),(l()(),uS._18(150,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),uS._17(151,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(155,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),uS._17(156,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._13(16777216,null,null,1,null,nk)),uS._17(159,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n \n \n \n \n "])),(l()(),uS._40(-1,0,["\n\n \n "])),(l()(),uS._13(16777216,null,0,1,null,ek)),uS._17(164,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,19,0,"business_income_id");l(n,22,0,"Buiness Income");l(n,34,0,e.businessIncome);l(n,39,0,1==n.context.$implicit.get("business_income_id").value);l(n,54,0,"income_value");l(n,57,0,"Amount (Rs)","tel");l(n,61,0,null!=n.context.$implicit.get("income_value").value);l(n,75,0,"fk_frequency_id");l(n,78,0,"Frequency");l(n,90,0,e.m_freqOfPurchase);l(n,95,0,1==n.context.$implicit.get("fk_frequency_id").value);l(n,111,0,"annual_income_value");l(n,114,0,"Annual Expenses","number","");l(n,118,0,null!=n.context.$implicit.get("annual_income_value").value);l(n,134,0,"comments");l(n,137,0,"Remarks");l(n,151,0,"optblue","md-trash");l(n,159,0,n.context.last);l(n,164,0,n.context.last&&null!=e.grandIncomeTotal)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,8,1,[uS._32(n,9)._control.errorState,uS._32(n,9)._control.errorState,uS._32(n,9)._canLabelFloat,uS._32(n,9)._shouldLabelFloat(),uS._32(n,9)._hideControlPlaceholder(),uS._32(n,9)._control.disabled,uS._32(n,9)._control.focused,"primary"==uS._32(n,9).color,"accent"==uS._32(n,9).color,"warn"==uS._32(n,9).color,uS._32(n,9)._shouldForward("untouched"),uS._32(n,9)._shouldForward("touched"),uS._32(n,9)._shouldForward("pristine"),uS._32(n,9)._shouldForward("dirty"),uS._32(n,9)._shouldForward("valid"),uS._32(n,9)._shouldForward("invalid"),uS._32(n,9)._shouldForward("pending")]);l(n,18,1,[uS._32(n,21).ngClassUntouched,uS._32(n,21).ngClassTouched,uS._32(n,21).ngClassPristine,uS._32(n,21).ngClassDirty,uS._32(n,21).ngClassValid,uS._32(n,21).ngClassInvalid,uS._32(n,21).ngClassPending,uS._32(n,22).id,uS._32(n,22).tabIndex,uS._32(n,22)._ariaLabel,uS._32(n,22).ariaLabelledby,uS._32(n,22).required.toString(),uS._32(n,22).disabled.toString(),uS._32(n,22).errorState,uS._32(n,22).panelOpen?uS._32(n,22)._optionIds:null,uS._32(n,22).multiple,uS._32(n,22)._ariaDescribedby||null,uS._32(n,22)._getAriaActiveDescendant(),uS._32(n,22).disabled,uS._32(n,22).errorState,uS._32(n,22).required]);l(n,29,0,uS._32(n,30)._getTabIndex(),uS._32(n,30).selected,uS._32(n,30).multiple,uS._32(n,30).active,uS._32(n,30).id,uS._32(n,30).selected.toString(),uS._32(n,30).disabled.toString(),uS._32(n,30).disabled);l(n,41,1,[uS._32(n,42)._control.errorState,uS._32(n,42)._control.errorState,uS._32(n,42)._canLabelFloat,uS._32(n,42)._shouldLabelFloat(),uS._32(n,42)._hideControlPlaceholder(),uS._32(n,42)._control.disabled,uS._32(n,42)._control.focused,"primary"==uS._32(n,42).color,"accent"==uS._32(n,42).color,"warn"==uS._32(n,42).color,uS._32(n,42)._shouldForward("untouched"),uS._32(n,42)._shouldForward("touched"),uS._32(n,42)._shouldForward("pristine"),uS._32(n,42)._shouldForward("dirty"),uS._32(n,42)._shouldForward("valid"),uS._32(n,42)._shouldForward("invalid"),uS._32(n,42)._shouldForward("pending")]);l(n,51,1,[uS._32(n,56).ngClassUntouched,uS._32(n,56).ngClassTouched,uS._32(n,56).ngClassPristine,uS._32(n,56).ngClassDirty,uS._32(n,56).ngClassValid,uS._32(n,56).ngClassInvalid,uS._32(n,56).ngClassPending,uS._32(n,57)._isServer,uS._32(n,57).id,uS._32(n,57).placeholder,uS._32(n,57).disabled,uS._32(n,57).required,uS._32(n,57).readonly,uS._32(n,57)._ariaDescribedby||null,uS._32(n,57).errorState,uS._32(n,57).required.toString()]);l(n,64,1,[uS._32(n,65)._control.errorState,uS._32(n,65)._control.errorState,uS._32(n,65)._canLabelFloat,uS._32(n,65)._shouldLabelFloat(),uS._32(n,65)._hideControlPlaceholder(),uS._32(n,65)._control.disabled,uS._32(n,65)._control.focused,"primary"==uS._32(n,65).color,"accent"==uS._32(n,65).color,"warn"==uS._32(n,65).color,uS._32(n,65)._shouldForward("untouched"),uS._32(n,65)._shouldForward("touched"),uS._32(n,65)._shouldForward("pristine"),uS._32(n,65)._shouldForward("dirty"),uS._32(n,65)._shouldForward("valid"),uS._32(n,65)._shouldForward("invalid"),uS._32(n,65)._shouldForward("pending")]);l(n,74,1,[uS._32(n,77).ngClassUntouched,uS._32(n,77).ngClassTouched,uS._32(n,77).ngClassPristine,uS._32(n,77).ngClassDirty,uS._32(n,77).ngClassValid,uS._32(n,77).ngClassInvalid,uS._32(n,77).ngClassPending,uS._32(n,78).id,uS._32(n,78).tabIndex,uS._32(n,78)._ariaLabel,uS._32(n,78).ariaLabelledby,uS._32(n,78).required.toString(),uS._32(n,78).disabled.toString(),uS._32(n,78).errorState,uS._32(n,78).panelOpen?uS._32(n,78)._optionIds:null,uS._32(n,78).multiple,uS._32(n,78)._ariaDescribedby||null,uS._32(n,78)._getAriaActiveDescendant(),uS._32(n,78).disabled,uS._32(n,78).errorState,uS._32(n,78).required]);l(n,85,0,uS._32(n,86)._getTabIndex(),uS._32(n,86).selected,uS._32(n,86).multiple,uS._32(n,86).active,uS._32(n,86).id,uS._32(n,86).selected.toString(),uS._32(n,86).disabled.toString(),uS._32(n,86).disabled);l(n,97,1,[uS._32(n,98)._control.errorState,uS._32(n,98)._control.errorState,uS._32(n,98)._canLabelFloat,uS._32(n,98)._shouldLabelFloat(),uS._32(n,98)._hideControlPlaceholder(),uS._32(n,98)._control.disabled,uS._32(n,98)._control.focused,"primary"==uS._32(n,98).color,"accent"==uS._32(n,98).color,"warn"==uS._32(n,98).color,uS._32(n,98)._shouldForward("untouched"),uS._32(n,98)._shouldForward("touched"),uS._32(n,98)._shouldForward("pristine"),uS._32(n,98)._shouldForward("dirty"),uS._32(n,98)._shouldForward("valid"),uS._32(n,98)._shouldForward("invalid"),uS._32(n,98)._shouldForward("pending")]);l(n,107,1,[uS._32(n,113).ngClassUntouched,uS._32(n,113).ngClassTouched,uS._32(n,113).ngClassPristine,uS._32(n,113).ngClassDirty,uS._32(n,113).ngClassValid,uS._32(n,113).ngClassInvalid,uS._32(n,113).ngClassPending,uS._32(n,114)._isServer,uS._32(n,114).id,uS._32(n,114).placeholder,uS._32(n,114).disabled,uS._32(n,114).required,uS._32(n,114).readonly,uS._32(n,114)._ariaDescribedby||null,uS._32(n,114).errorState,uS._32(n,114).required.toString()]);l(n,121,1,[uS._32(n,122)._control.errorState,uS._32(n,122)._control.errorState,uS._32(n,122)._canLabelFloat,uS._32(n,122)._shouldLabelFloat(),uS._32(n,122)._hideControlPlaceholder(),uS._32(n,122)._control.disabled,uS._32(n,122)._control.focused,"primary"==uS._32(n,122).color,"accent"==uS._32(n,122).color,"warn"==uS._32(n,122).color,uS._32(n,122)._shouldForward("untouched"),uS._32(n,122)._shouldForward("touched"),uS._32(n,122)._shouldForward("pristine"),uS._32(n,122)._shouldForward("dirty"),uS._32(n,122)._shouldForward("valid"),uS._32(n,122)._shouldForward("invalid"),uS._32(n,122)._shouldForward("pending")]);l(n,131,1,[uS._32(n,136).ngClassUntouched,uS._32(n,136).ngClassTouched,uS._32(n,136).ngClassPristine,uS._32(n,136).ngClassDirty,uS._32(n,136).ngClassValid,uS._32(n,136).ngClassInvalid,uS._32(n,136).ngClassPending,uS._32(n,137)._isServer,uS._32(n,137).id,uS._32(n,137).placeholder,uS._32(n,137).disabled,uS._32(n,137).required,uS._32(n,137).readonly,uS._32(n,137)._ariaDescribedby||null,uS._32(n,137).errorState,uS._32(n,137).required.toString()]);l(n,150,0,uS._32(n,151)._hidden)})}function tk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveBusinessData(t.BuissnessForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function ak(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,Yx)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n\n\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(21,0,null,null,27,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(22,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(24,0,null,1,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!==uS._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,26).onReset()&&u}return u},null,null)),uS._17(25,16384,null,0,xS.B,[],null,null),uS._17(26,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(28,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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)),uS._17(31,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(33,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,uk)),uS._17(36,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(39,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(40,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,tk)),uS._17(44,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,!e.complete_status)},function(l,n){l(n,3,0,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,22).statusbarPadding,uS._32(n,22)._hasRefresher);l(n,24,0,uS._32(n,28).ngClassUntouched,uS._32(n,28).ngClassTouched,uS._32(n,28).ngClassPristine,uS._32(n,28).ngClassDirty,uS._32(n,28).ngClassValid,uS._32(n,28).ngClassInvalid,uS._32(n,28).ngClassPending);l(n,30,0,uS._32(n,33).ngClassUntouched,uS._32(n,33).ngClassTouched,uS._32(n,33).ngClassPristine,uS._32(n,33).ngClassDirty,uS._32(n,33).ngClassValid,uS._32(n,33).ngClassInvalid,uS._32(n,33).ngClassPending)})}function ik(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._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,t=l.component;if("blur"===n){u=!1!==uS._32(l,4)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,4)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,4)._onInput()&&u}if("blur"===n){u=!1!==t.docnames(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null)),uS._37(6144,null,mT.c,null,[fT.b]),uS._17(4,933888,null,0,fT.b,[uS.p,kS.a,[8,null],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"File Name","","text")},function(l,n){l(n,2,0,uS._32(n,4)._isServer,uS._32(n,4).id,uS._32(n,4).placeholder,uS._32(n,4).disabled,uS._32(n,4).required,uS._32(n,4).readonly,uS._32(n,4)._ariaDescribedby||null,uS._32(n,4).errorState,uS._32(n,4).required.toString())})}function ok(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),uS._40(1,null,["\n ","\n "]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.Name)})}function rk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,14,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._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)),uS._17(4,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._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!==uS._32(l,7).onClick(e)&&u}return u},null,null)),uS._17(7,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._40(-1,null,["\n\n \n "])),(l()(),uS._13(16777216,null,null,1,null,ik)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,ok)),uS._17(13,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-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,uS._32(n,4)._hidden);l(n,6,0,uS._21(1,"",n.context.$implicit.image,""))})}function _k(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,rk)),uS._17(4,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.cameraArr)},null)}function dk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(16,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(17,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(18,0,[""," - ",""])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(22,0,null,null,43,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(23,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(25,0,null,0,9,"ion-fab",[["middle",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(26,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,2,{_mainButton:0}),uS._38(603979776,3,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._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},sO.b,sO.a)),uS._17(31,49152,[[2,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(32,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(33,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n\n "])),(l()(),uS._18(36,0,null,1,16,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(37,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(39,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(40,49152,null,0,_T.e,[],null,null),(l()(),uS._18(41,0,null,2,1,"b",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["General Images"])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._13(16777216,null,0,1,null,_k)),uS._17(45,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(47,0,null,0,4,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(48,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(54,0,null,1,10,"ion-footer",[],null,null,null,null,null)),uS._17(55,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(57,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(58,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._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},AT.b,AT.a)),uS._17(61,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["\n Save"])),(l()(),uS._40(-1,null,["\n \n \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,18,0,e.applicatentDetails.lender_full_name,e.applicatentDetails.lender_applicant_id);l(n,22,0,uS._32(n,23).statusbarPadding,uS._32(n,23)._hasRefresher);l(n,32,0,uS._32(n,33)._hidden);l(n,60,0,e.saveAccess)})}function sk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Salary Category"]))],null,null)}function ck(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(1,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(4,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,8).toggle()&&u}return u},AT.b,AT.a)),uS._17(7,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(8,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(9,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,sk)),uS._17(17,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n \n \n "])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(21,0,null,null,140,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(22,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(25,0,null,1,1,"h1",[["text-center",""]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Salary info"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._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!==uS._32(l,30).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,30).onReset()&&u}return u},null,null)),uS._17(29,16384,null,0,xS.B,[],null,null),uS._17(30,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(32,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(34,0,null,null,117,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(35,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(37,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(40,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,55)._onInput()&&u}return u},null,null)),uS._17(50,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(52,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(54,16384,null,0,xS.s,[xS.r],null,null),uS._17(55,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[2,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(60,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(63,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,9,{_control:0}),uS._38(335544320,10,{_placeholderChild:0}),uS._38(335544320,11,{_labelChild:0}),uS._38(603979776,12,{_errorChildren:1}),uS._38(603979776,13,{_hintChildren:1}),uS._38(603979776,14,{_prefixChildren:1}),uS._38(603979776,15,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,73)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,73).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,73)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,73)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,78)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,78)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,78)._onInput()&&u}return u},null,null)),uS._17(73,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(75,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(77,16384,null,0,xS.s,[xS.r],null,null),uS._17(78,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[9,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(83,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(86,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,16,{_control:0}),uS._38(335544320,17,{_placeholderChild:0}),uS._38(335544320,18,{_labelChild:0}),uS._38(603979776,19,{_errorChildren:1}),uS._38(603979776,20,{_hintChildren:1}),uS._38(603979776,21,{_prefixChildren:1}),uS._38(603979776,22,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,96)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,96).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,96)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,96)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,101)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,101)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,101)._onInput()&&u}return u},null,null)),uS._17(96,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(98,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(100,16384,null,0,xS.s,[xS.r],null,null),uS._17(101,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[16,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(106,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(109,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,23,{_control:0}),uS._38(335544320,24,{_placeholderChild:0}),uS._38(335544320,25,{_labelChild:0}),uS._38(603979776,26,{_errorChildren:1}),uS._38(603979776,27,{_hintChildren:1}),uS._38(603979776,28,{_prefixChildren:1}),uS._38(603979776,29,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,119)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,119).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,119)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,119)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,124)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,124)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,124)._onInput()&&u}return u},null,null)),uS._17(119,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(121,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(123,16384,null,0,xS.s,[xS.r],null,null),uS._17(124,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[23,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(129,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(132,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,30,{_control:0}),uS._38(335544320,31,{_placeholderChild:0}),uS._38(335544320,32,{_labelChild:0}),uS._38(603979776,33,{_errorChildren:1}),uS._38(603979776,34,{_hintChildren:1}),uS._38(603979776,35,{_prefixChildren:1}),uS._38(603979776,36,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._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!==uS._32(l,142)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,142).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,142)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,142)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,147)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,147)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,147)._onInput()&&u}return u},null,null)),uS._17(142,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(144,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(146,16384,null,0,xS.s,[xS.r],null,null),uS._17(147,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[30,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,[" \n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(153,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(154,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._18(156,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,null,null,AT.b,AT.a)),uS._17(157,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,[" Save"])),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-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,uS._32(n,4)._hidden,uS._32(n,4)._sbPadding);l(n,6,0,uS._32(n,8).isHidden);l(n,12,0,uS._32(n,13)._hidden);l(n,21,0,uS._32(n,22).statusbarPadding,uS._32(n,22)._hasRefresher);l(n,28,0,uS._32(n,32).ngClassUntouched,uS._32(n,32).ngClassTouched,uS._32(n,32).ngClassPristine,uS._32(n,32).ngClassDirty,uS._32(n,32).ngClassValid,uS._32(n,32).ngClassInvalid,uS._32(n,32).ngClassPending);l(n,39,1,[uS._32(n,40)._control.errorState,uS._32(n,40)._control.errorState,uS._32(n,40)._canLabelFloat,uS._32(n,40)._shouldLabelFloat(),uS._32(n,40)._hideControlPlaceholder(),uS._32(n,40)._control.disabled,uS._32(n,40)._control.focused,"primary"==uS._32(n,40).color,"accent"==uS._32(n,40).color,"warn"==uS._32(n,40).color,uS._32(n,40)._shouldForward("untouched"),uS._32(n,40)._shouldForward("touched"),uS._32(n,40)._shouldForward("pristine"),uS._32(n,40)._shouldForward("dirty"),uS._32(n,40)._shouldForward("valid"),uS._32(n,40)._shouldForward("invalid"),uS._32(n,40)._shouldForward("pending")]);l(n,49,1,[uS._32(n,54).ngClassUntouched,uS._32(n,54).ngClassTouched,uS._32(n,54).ngClassPristine,uS._32(n,54).ngClassDirty,uS._32(n,54).ngClassValid,uS._32(n,54).ngClassInvalid,uS._32(n,54).ngClassPending,uS._32(n,55)._isServer,uS._32(n,55).id,uS._32(n,55).placeholder,uS._32(n,55).disabled,uS._32(n,55).required,uS._32(n,55).readonly,uS._32(n,55)._ariaDescribedby||null,uS._32(n,55).errorState,uS._32(n,55).required.toString()]);l(n,62,1,[uS._32(n,63)._control.errorState,uS._32(n,63)._control.errorState,uS._32(n,63)._canLabelFloat,uS._32(n,63)._shouldLabelFloat(),uS._32(n,63)._hideControlPlaceholder(),uS._32(n,63)._control.disabled,uS._32(n,63)._control.focused,"primary"==uS._32(n,63).color,"accent"==uS._32(n,63).color,"warn"==uS._32(n,63).color,uS._32(n,63)._shouldForward("untouched"),uS._32(n,63)._shouldForward("touched"),uS._32(n,63)._shouldForward("pristine"),uS._32(n,63)._shouldForward("dirty"),uS._32(n,63)._shouldForward("valid"),uS._32(n,63)._shouldForward("invalid"),uS._32(n,63)._shouldForward("pending")]);l(n,72,1,[uS._32(n,77).ngClassUntouched,uS._32(n,77).ngClassTouched,uS._32(n,77).ngClassPristine,uS._32(n,77).ngClassDirty,uS._32(n,77).ngClassValid,uS._32(n,77).ngClassInvalid,uS._32(n,77).ngClassPending,uS._32(n,78)._isServer,uS._32(n,78).id,uS._32(n,78).placeholder,uS._32(n,78).disabled,uS._32(n,78).required,uS._32(n,78).readonly,uS._32(n,78)._ariaDescribedby||null,uS._32(n,78).errorState,uS._32(n,78).required.toString()]);l(n,85,1,[uS._32(n,86)._control.errorState,uS._32(n,86)._control.errorState,uS._32(n,86)._canLabelFloat,uS._32(n,86)._shouldLabelFloat(),uS._32(n,86)._hideControlPlaceholder(),uS._32(n,86)._control.disabled,uS._32(n,86)._control.focused,"primary"==uS._32(n,86).color,"accent"==uS._32(n,86).color,"warn"==uS._32(n,86).color,uS._32(n,86)._shouldForward("untouched"),uS._32(n,86)._shouldForward("touched"),uS._32(n,86)._shouldForward("pristine"),uS._32(n,86)._shouldForward("dirty"),uS._32(n,86)._shouldForward("valid"),uS._32(n,86)._shouldForward("invalid"),uS._32(n,86)._shouldForward("pending")]);l(n,95,1,[uS._32(n,100).ngClassUntouched,uS._32(n,100).ngClassTouched,uS._32(n,100).ngClassPristine,uS._32(n,100).ngClassDirty,uS._32(n,100).ngClassValid,uS._32(n,100).ngClassInvalid,uS._32(n,100).ngClassPending,uS._32(n,101)._isServer,uS._32(n,101).id,uS._32(n,101).placeholder,uS._32(n,101).disabled,uS._32(n,101).required,uS._32(n,101).readonly,uS._32(n,101)._ariaDescribedby||null,uS._32(n,101).errorState,uS._32(n,101).required.toString()]);l(n,108,1,[uS._32(n,109)._control.errorState,uS._32(n,109)._control.errorState,uS._32(n,109)._canLabelFloat,uS._32(n,109)._shouldLabelFloat(),uS._32(n,109)._hideControlPlaceholder(),uS._32(n,109)._control.disabled,uS._32(n,109)._control.focused,"primary"==uS._32(n,109).color,"accent"==uS._32(n,109).color,"warn"==uS._32(n,109).color,uS._32(n,109)._shouldForward("untouched"),uS._32(n,109)._shouldForward("touched"),uS._32(n,109)._shouldForward("pristine"),uS._32(n,109)._shouldForward("dirty"),uS._32(n,109)._shouldForward("valid"),uS._32(n,109)._shouldForward("invalid"),uS._32(n,109)._shouldForward("pending")]);l(n,118,1,[uS._32(n,123).ngClassUntouched,uS._32(n,123).ngClassTouched,uS._32(n,123).ngClassPristine,uS._32(n,123).ngClassDirty,uS._32(n,123).ngClassValid,uS._32(n,123).ngClassInvalid,uS._32(n,123).ngClassPending,uS._32(n,124)._isServer,uS._32(n,124).id,uS._32(n,124).placeholder,uS._32(n,124).disabled,uS._32(n,124).required,uS._32(n,124).readonly,uS._32(n,124)._ariaDescribedby||null,uS._32(n,124).errorState,uS._32(n,124).required.toString()]);l(n,131,1,[uS._32(n,132)._control.errorState,uS._32(n,132)._control.errorState,uS._32(n,132)._canLabelFloat,uS._32(n,132)._shouldLabelFloat(),uS._32(n,132)._hideControlPlaceholder(),uS._32(n,132)._control.disabled,uS._32(n,132)._control.focused,"primary"==uS._32(n,132).color,"accent"==uS._32(n,132).color,"warn"==uS._32(n,132).color,uS._32(n,132)._shouldForward("untouched"),uS._32(n,132)._shouldForward("touched"),uS._32(n,132)._shouldForward("pristine"),uS._32(n,132)._shouldForward("dirty"),uS._32(n,132)._shouldForward("valid"),uS._32(n,132)._shouldForward("invalid"),uS._32(n,132)._shouldForward("pending")]);l(n,141,1,[uS._32(n,146).ngClassUntouched,uS._32(n,146).ngClassTouched,uS._32(n,146).ngClassPristine,uS._32(n,146).ngClassDirty,uS._32(n,146).ngClassValid,uS._32(n,146).ngClassInvalid,uS._32(n,146).ngClassPending,uS._32(n,147)._isServer,uS._32(n,147).id,uS._32(n,147).placeholder,uS._32(n,147).disabled,uS._32(n,147).required,uS._32(n,147).readonly,uS._32(n,147)._ariaDescribedby||null,uS._32(n,147).errorState,uS._32(n,147).required.toString()])})}function mk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n b. Purchases\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),uS._36(10,1),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,uS._41(n,9,0,l(n,10,0,uS._32(n.parent.parent.parent,0),e.salesCustomer.purchases)))})}function pk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n b. Cost of Goods Sold\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),uS._36(10,1),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,uS._41(n,9,0,l(n,10,0,uS._32(n.parent.parent.parent,0),e.salesCustomer.cost_of_goods_sold)))})}function fk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),uS._17(1,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(5,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],null,null),uS._38(335544320,1,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(8,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!==uS._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,9)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(9,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(10,{collapsedHeight:0,expandedHeight:1}),uS._35(11,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(14,16384,null,0,ZO.f,[],null,null),(l()(),uS._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" Declared By Customer "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(20,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(23,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n a. Sales/Revenue\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(27,16384,null,0,sT.a,[],null,null),(l()(),uS._40(28,null,["\n ","\n "])),uS._36(29,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,mk)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,pk)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(39,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(41,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(42,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n c. Gross Profit / Loss(a-b)\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(45,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(46,16384,null,0,sT.a,[],null,null),(l()(),uS._40(47,null,["\n ","\n "])),uS._36(48,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(51,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(52,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(54,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(55,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n d. Business Expenses\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(59,16384,null,0,sT.a,[],null,null),(l()(),uS._40(60,null,["\n ","\n "])),uS._36(61,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(64,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(65,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(67,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(68,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n e. Net Profit / Loss(c-d)\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(71,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(72,16384,null,0,sT.a,[],null,null),(l()(),uS._40(73,null,["\n ","\n "])),uS._36(74,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(77,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(78,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(80,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(81,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n f. Household Expenses\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(84,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(85,16384,null,0,sT.a,[],null,null),(l()(),uS._40(86,null,["\n ","\n "])),uS._36(87,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(90,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(91,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(93,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(94,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n g. Disposable Income\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(97,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(98,16384,null,0,sT.a,[],null,null),(l()(),uS._40(99,null,["\n ","\n "])),uS._36(100,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(104,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(106,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(107,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n h. Net Margin %\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(111,16384,null,0,sT.a,[],null,null),(l()(),uS._40(112,null,["\n "," %\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,33,0,e.salesCustomer.purchases);l(n,36,0,e.salesCustomer.cost_of_goods_sold)},function(l,n){var e=n.component;l(n,3,0,uS._32(n,5).expanded,uS._32(n,5)._hasSpacing());l(n,8,0,uS._32(n,9).panel._headerId,uS._32(n,9).panel.disabled?-1:0,uS._32(n,9)._getPanelId(),uS._32(n,9)._isExpanded(),uS._32(n,9).panel.disabled,uS._32(n,9)._isExpanded(),l(n,11,0,uS._32(n,9)._getExpandedState(),l(n,10,0,uS._32(n,9).collapsedHeight,uS._32(n,9).expandedHeight)));l(n,28,0,uS._41(n,28,0,l(n,29,0,uS._32(n.parent.parent,0),e.salesCustomer.sales_revenue)));l(n,47,0,uS._41(n,47,0,l(n,48,0,uS._32(n.parent.parent,0),e.salesCustomer.grossprofit)));l(n,60,0,uS._41(n,60,0,l(n,61,0,uS._32(n.parent.parent,0),e.salesCustomer.business_expenses)));l(n,73,0,uS._41(n,73,0,l(n,74,0,uS._32(n.parent.parent,0),e.salesCustomer.netprofit)));l(n,86,0,uS._41(n,86,0,l(n,87,0,uS._32(n.parent.parent,0),e.salesCustomer.house_hold_expenses)));l(n,99,0,uS._41(n,99,0,l(n,100,0,uS._32(n.parent.parent,0),e.salesCustomer.disposable_income)));l(n,112,0,e.salesCustomer.netmargin)})}function hk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n b. Purchases\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),uS._36(10,1),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,uS._41(n,9,0,l(n,10,0,uS._32(n.parent.parent.parent,0),e.salesItemWise.purchases)))})}function gk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n b. Cost of Goods Sold\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),uS._36(10,1),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,uS._41(n,9,0,l(n,10,0,uS._32(n.parent.parent.parent,0),e.salesItemWise.cost_of_goods_sold)))})}function bk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),uS._17(1,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(5,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],null,null),uS._38(335544320,2,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(8,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!==uS._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,9)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(9,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(10,{collapsedHeight:0,expandedHeight:1}),uS._35(11,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(14,16384,null,0,ZO.f,[],null,null),(l()(),uS._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" As Derived from Item Wise Sales "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(20,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(23,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n a. Sales Revenue\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(27,16384,null,0,sT.a,[],null,null),(l()(),uS._40(28,null,["\n ","\n "])),uS._36(29,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,hk)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,gk)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(39,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(41,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(42,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n c. Gross Profit / Loss(a-b)\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(45,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(46,16384,null,0,sT.a,[],null,null),(l()(),uS._40(47,null,["\n ","\n "])),uS._36(48,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(51,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(52,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(54,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(55,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n d. Business Expenses\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(59,16384,null,0,sT.a,[],null,null),(l()(),uS._40(60,null,["\n ","\n "])),uS._36(61,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(64,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(65,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(67,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(68,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n e. Net Profit / Loss(c-d)\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(71,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(72,16384,null,0,sT.a,[],null,null),(l()(),uS._40(73,null,["\n ","\n "])),uS._36(74,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(77,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(78,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(80,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(81,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n f. Household Expenses\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(84,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(85,16384,null,0,sT.a,[],null,null),(l()(),uS._40(86,null,["\n ","\n "])),uS._36(87,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(90,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(91,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(93,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(94,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n g. Disposable Income\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(97,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(98,16384,null,0,sT.a,[],null,null),(l()(),uS._40(99,null,["\n ","\n "])),uS._36(100,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(104,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(106,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(107,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n h. Net Margin %\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(111,16384,null,0,sT.a,[],null,null),(l()(),uS._40(112,null,["\n "," %\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,33,0,e.salesItemWise.purchases);l(n,36,0,e.salesItemWise.cost_of_goods_sold)},function(l,n){var e=n.component;l(n,3,0,uS._32(n,5).expanded,uS._32(n,5)._hasSpacing());l(n,8,0,uS._32(n,9).panel._headerId,uS._32(n,9).panel.disabled?-1:0,uS._32(n,9)._getPanelId(),uS._32(n,9)._isExpanded(),uS._32(n,9).panel.disabled,uS._32(n,9)._isExpanded(),l(n,11,0,uS._32(n,9)._getExpandedState(),l(n,10,0,uS._32(n,9).collapsedHeight,uS._32(n,9).expandedHeight)));l(n,28,0,uS._41(n,28,0,l(n,29,0,uS._32(n.parent.parent,0),e.salesItemWise.sales_revenue)));l(n,47,0,uS._41(n,47,0,l(n,48,0,uS._32(n.parent.parent,0),e.salesItemWise.grossprofit)));l(n,60,0,uS._41(n,60,0,l(n,61,0,uS._32(n.parent.parent,0),e.salesItemWise.business_expenses)));l(n,73,0,uS._41(n,73,0,l(n,74,0,uS._32(n.parent.parent,0),e.salesItemWise.netprofit)));l(n,86,0,uS._41(n,86,0,l(n,87,0,uS._32(n.parent.parent,0),e.salesItemWise.house_hold_expenses)));l(n,99,0,uS._41(n,99,0,l(n,100,0,uS._32(n.parent.parent,0),e.salesItemWise.disposable_income)));l(n,112,0,e.salesItemWise.netmargin)})}function vk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n b. Purchases\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),uS._36(10,1),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,uS._41(n,9,0,l(n,10,0,uS._32(n.parent.parent.parent,0),e.salesMonthWise.purchases)))})}function yk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(1,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(4,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n b. Cost of Goods Sold\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(8,16384,null,0,sT.a,[],null,null),(l()(),uS._40(9,null,["\n ","\n "])),uS._36(10,1),(l()(),uS._40(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,9,0,uS._41(n,9,0,l(n,10,0,uS._32(n.parent.parent.parent,0),e.salesMonthWise.cost_of_goods_sold)))})}function Ck(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),uS._17(1,16384,null,0,ZO.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,XO.d,XO.a)),uS._37(6144,null,pT.F,null,[ZO.c]),uS._17(5,1753088,null,1,ZO.c,[[2,ZO.a],uS.i,tO.d,uS._1],null,null),uS._38(335544320,3,{_lazyContent:0}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(8,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!==uS._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==uS._32(l,9)._keydown(e)&&u}return u},XO.c,XO.b)),uS._17(9,180224,null,0,ZO.e,[ZO.c,uS.p,bT.j,uS.i],null,null),uS._35(10,{collapsedHeight:0,expandedHeight:1}),uS._35(11,{value:0,params:1}),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),uS._17(14,16384,null,0,ZO.f,[],null,null),(l()(),uS._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" As Derived from Kuchha Sales Book/Bills "])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(19,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(20,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(23,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n a. Sales Revenue\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(26,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(27,16384,null,0,sT.a,[],null,null),(l()(),uS._40(28,null,["\n ","\n "])),uS._36(29,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,vk)),uS._17(33,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,yk)),uS._17(36,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(39,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(41,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(42,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n c. Gross Profit / Loss(a-b)\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(45,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(46,16384,null,0,sT.a,[],null,null),(l()(),uS._40(47,null,["\n ","\n "])),uS._36(48,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(51,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(52,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(54,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(55,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n d. Business Expenses\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(58,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(59,16384,null,0,sT.a,[],null,null),(l()(),uS._40(60,null,["\n ","\n "])),uS._36(61,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(64,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(65,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(67,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(68,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n e. Net Profit / Loss(c-d)\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(71,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(72,16384,null,0,sT.a,[],null,null),(l()(),uS._40(73,null,["\n ","\n "])),uS._36(74,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(77,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(78,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(80,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(81,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n f. Household Expenses\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(84,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(85,16384,null,0,sT.a,[],null,null),(l()(),uS._40(86,null,["\n ","\n "])),uS._36(87,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(90,0,null,1,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(91,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(93,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(94,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n g. Disposable Income\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(97,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(98,16384,null,0,sT.a,[],null,null),(l()(),uS._40(99,null,["\n ","\n "])),uS._36(100,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(104,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(106,0,null,null,2,"ion-col",[["class","label col"]],null,null,null,null,null)),uS._17(107,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n h. Net Margin %\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(111,16384,null,0,sT.a,[],null,null),(l()(),uS._40(112,null,["\n "," %\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n \n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,33,0,e.salesMonthWise.purchases);l(n,36,0,e.salesMonthWise.cost_of_goods_sold)},function(l,n){var e=n.component;l(n,3,0,uS._32(n,5).expanded,uS._32(n,5)._hasSpacing());l(n,8,0,uS._32(n,9).panel._headerId,uS._32(n,9).panel.disabled?-1:0,uS._32(n,9)._getPanelId(),uS._32(n,9)._isExpanded(),uS._32(n,9).panel.disabled,uS._32(n,9)._isExpanded(),l(n,11,0,uS._32(n,9)._getExpandedState(),l(n,10,0,uS._32(n,9).collapsedHeight,uS._32(n,9).expandedHeight)));l(n,28,0,uS._41(n,28,0,l(n,29,0,uS._32(n.parent.parent,0),e.salesMonthWise.sales_revenue)));l(n,47,0,uS._41(n,47,0,l(n,48,0,uS._32(n.parent.parent,0),e.salesMonthWise.grossprofit)));l(n,60,0,uS._41(n,60,0,l(n,61,0,uS._32(n.parent.parent,0),e.salesMonthWise.business_expenses)));l(n,73,0,uS._41(n,73,0,l(n,74,0,uS._32(n.parent.parent,0),e.salesMonthWise.netprofit)));l(n,86,0,uS._41(n,86,0,l(n,87,0,uS._32(n.parent.parent,0),e.salesMonthWise.house_hold_expenses)));l(n,99,0,uS._41(n,99,0,l(n,100,0,uS._32(n.parent.parent,0),e.salesMonthWise.disposable_income)));l(n,112,0,e.salesMonthWise.netmargin)})}function wk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(6,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),uS._17(7,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n Considered Sales / Revenue\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(11,16384,null,0,sT.a,[],null,null),(l()(),uS._40(12,null,["\n ","\n "])),uS._36(13,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(16,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(17,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(19,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),uS._17(20,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n Considered Net Profit\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,0,null,null,3,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(24,16384,null,0,sT.a,[],null,null),(l()(),uS._40(25,null,["\n ","\n "])),uS._36(26,1),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(29,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(30,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(32,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),uS._17(33,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n Considered Net Margin %\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(36,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),uS._17(37,16384,null,0,sT.a,[],null,null),(l()(),uS._40(38,null,["\n "," %\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n \n "]))],null,function(l,n){var e=n.component;l(n,12,0,uS._41(n,12,0,l(n,13,0,uS._32(n.parent.parent,0),e.consolidatedReport.consolidated_sales_revenue)));l(n,25,0,uS._41(n,25,0,l(n,26,0,uS._32(n.parent.parent,0),e.consolidatedReport.consolidated_nerprofit)));l(n,38,0,e.consolidatedReport.consolidated_nermagin)})}function Fk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._13(16777216,null,null,1,null,fk)),uS._17(4,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(6,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,bk)),uS._17(10,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(12,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ck)),uS._17(16,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,wk)),uS._17(21,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n"]))],function(l,n){var e=n.component;l(n,4,0,null!=e.salesCustomer&&""!=e.salesCustomer);l(n,10,0,null!=e.salesItemWise&&""!=e.salesItemWise);l(n,16,0,null!=e.salesMonthWise&&""!=e.salesMonthWise);l(n,21,0,null!=e.consolidatedReport&&""!=e.consolidatedReport)},null)}function xk(l){return uS._42(0,[uS._34(0,CI,[]),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(2,0,null,null,10,"ion-header",[],null,null,null,null,null)),uS._17(3,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(6,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(8,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(9,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Summary"])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(14,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(15,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Fk)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,18,0,1==e.loadData)},function(l,n){l(n,5,0,uS._32(n,6)._hidden,uS._32(n,6)._sbPadding);l(n,14,0,uS._32(n,15).statusbarPadding,uS._32(n,15)._hasRefresher)})}function kk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(1,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Purchase Calculation as per Kutcha Records / Bills"]))],null,null)}function Sk(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function Ik(l){return uS._42(0,[(l()(),uS._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,cT.b,cT.a)),uS._17(1,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,12,{_control:0}),uS._38(335544320,13,{_placeholderChild:0}),uS._38(335544320,14,{_labelChild:0}),uS._38(603979776,15,{_errorChildren:1}),uS._38(603979776,16,{_hintChildren:1}),uS._38(603979776,17,{_prefixChildren:1}),uS._38(603979776,18,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_purchase_item"],["matInput",""],["placeholder","Other Raw Material/Trading 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!==uS._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,16)._onInput()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(13,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(15,16384,null,0,xS.s,[xS.r],null,null),uS._17(16,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[12,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_purchase_item");l(n,16,0,"Other Raw Material/Trading Item","text")},function(l,n){l(n,0,1,[uS._32(n,1)._control.errorState,uS._32(n,1)._control.errorState,uS._32(n,1)._canLabelFloat,uS._32(n,1)._shouldLabelFloat(),uS._32(n,1)._hideControlPlaceholder(),uS._32(n,1)._control.disabled,uS._32(n,1)._control.focused,"primary"==uS._32(n,1).color,"accent"==uS._32(n,1).color,"warn"==uS._32(n,1).color,uS._32(n,1)._shouldForward("untouched"),uS._32(n,1)._shouldForward("touched"),uS._32(n,1)._shouldForward("pristine"),uS._32(n,1)._shouldForward("dirty"),uS._32(n,1)._shouldForward("valid"),uS._32(n,1)._shouldForward("invalid"),uS._32(n,1)._shouldForward("pending")]);l(n,10,1,[uS._32(n,15).ngClassUntouched,uS._32(n,15).ngClassTouched,uS._32(n,15).ngClassPristine,uS._32(n,15).ngClassDirty,uS._32(n,15).ngClassValid,uS._32(n,15).ngClassInvalid,uS._32(n,15).ngClassPending,uS._32(n,16)._isServer,uS._32(n,16).id,uS._32(n,16).placeholder,uS._32(n,16).disabled,uS._32(n,16).required,uS._32(n,16).readonly,uS._32(n,16)._ariaDescribedby||null,uS._32(n,16).errorState,uS._32(n,16).required.toString()])})}function qk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-label",[["float-right",""],["style","color:gray;font-size:12px"]],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._40(2,null,[""," "," Only"]))],null,function(l,n){l(n,2,0,"₹",n.component.purchaseAmtInWords[n.parent.parent.context.index])})}function Pk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeChild(l.parent.parent.parent.context.index,l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"md-trash")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function Dk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,9,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addChild(l.parent.parent.parent.context.index,l.parent.parent.parent.context.$implicit.value)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(6,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(7,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,7,0,"add-circle")},function(l,n){l(n,6,0,uS._32(n,7)._hidden)})}function Tk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._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,cT.b,cT.a)),uS._17(3,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,19,{_control:0}),uS._38(335544320,20,{_placeholderChild:0}),uS._38(335544320,21,{_labelChild:0}),uS._38(603979776,22,{_errorChildren:1}),uS._38(603979776,23,{_hintChildren:1}),uS._38(603979776,24,{_prefixChildren:1}),uS._38(603979776,25,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_date"],["matInput",""],["placeholder","Purchase 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,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==uS._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,18)._onInput()&&u}if("dateChange"===n){u=!1!==t.purchaseCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value)&&u}return u},null,null)),uS._17(13,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(15,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(17,16384,null,0,xS.s,[xS.r],null,null),uS._17(18,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[19,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(22,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,cT.b,cT.a)),uS._17(23,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,26,{_control:0}),uS._38(335544320,27,{_placeholderChild:0}),uS._38(335544320,28,{_labelChild:0}),uS._38(603979776,29,{_errorChildren:1}),uS._38(603979776,30,{_hintChildren:1}),uS._38(603979776,31,{_prefixChildren:1}),uS._38(603979776,32,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(32,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_value"],["matInput",""],["placeholder","Bill 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,t=l.component;if("input"===n){u=!1!==uS._32(l,33)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,33).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,33)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,33)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==uS._32(l,34).onChange(e.target.value)&&u}if("input"===n){u=!1!==uS._32(l,34).onChange(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,34).onTouched()&&u}if("blur"===n){u=!1!==uS._32(l,39)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,39)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,39)._onInput()&&u}if("keyup"===n){t.purchaseCalculation(l.parent.parent.context.index,l.parent.parent.context.$implicit.value);u=!1!==t.inWords(l.parent.context.$implicit.value.purchase_value,l.parent.context.index)&&u}return u},null,null)),uS._17(33,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(34,16384,null,0,xS.A,[uS.P,uS.p],null,null),uS._37(1024,null,xS.q,function(l,n){return[l,n]},[xS.d,xS.A]),uS._17(36,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(38,16384,null,0,xS.s,[xS.r],null,null),uS._17(39,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[26,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,qk)),uS._17(44,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(46,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(47,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,33,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Pk)),uS._17(51,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Dk)),uS._17(54,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,15,0,"purchase_date");l(n,18,0,"Purchase Date","date");l(n,36,0,"purchase_value");l(n,39,0,"Bill Value","number");l(n,44,0,""!=n.parent.context.$implicit.value.purchase_value);l(n,51,0,n.parent.parent.context.$implicit.value.child.length>1);l(n,54,0,n.parent.context.last)},function(l,n){var e=n.component;l(n,2,1,[uS._32(n,3)._control.errorState,uS._32(n,3)._control.errorState,uS._32(n,3)._canLabelFloat,uS._32(n,3)._shouldLabelFloat(),uS._32(n,3)._hideControlPlaceholder(),uS._32(n,3)._control.disabled,uS._32(n,3)._control.focused,"primary"==uS._32(n,3).color,"accent"==uS._32(n,3).color,"warn"==uS._32(n,3).color,uS._32(n,3)._shouldForward("untouched"),uS._32(n,3)._shouldForward("touched"),uS._32(n,3)._shouldForward("pristine"),uS._32(n,3)._shouldForward("dirty"),uS._32(n,3)._shouldForward("valid"),uS._32(n,3)._shouldForward("invalid"),uS._32(n,3)._shouldForward("pending")]);l(n,12,1,[e.maxDate,uS._32(n,17).ngClassUntouched,uS._32(n,17).ngClassTouched,uS._32(n,17).ngClassPristine,uS._32(n,17).ngClassDirty,uS._32(n,17).ngClassValid,uS._32(n,17).ngClassInvalid,uS._32(n,17).ngClassPending,uS._32(n,18)._isServer,uS._32(n,18).id,uS._32(n,18).placeholder,uS._32(n,18).disabled,uS._32(n,18).required,uS._32(n,18).readonly,uS._32(n,18)._ariaDescribedby||null,uS._32(n,18).errorState,uS._32(n,18).required.toString()]);l(n,22,1,[uS._32(n,23)._control.errorState,uS._32(n,23)._control.errorState,uS._32(n,23)._canLabelFloat,uS._32(n,23)._shouldLabelFloat(),uS._32(n,23)._hideControlPlaceholder(),uS._32(n,23)._control.disabled,uS._32(n,23)._control.focused,"primary"==uS._32(n,23).color,"accent"==uS._32(n,23).color,"warn"==uS._32(n,23).color,uS._32(n,23)._shouldForward("untouched"),uS._32(n,23)._shouldForward("touched"),uS._32(n,23)._shouldForward("pristine"),uS._32(n,23)._shouldForward("dirty"),uS._32(n,23)._shouldForward("valid"),uS._32(n,23)._shouldForward("invalid"),uS._32(n,23)._shouldForward("pending")]);l(n,32,1,[uS._32(n,38).ngClassUntouched,uS._32(n,38).ngClassTouched,uS._32(n,38).ngClassPristine,uS._32(n,38).ngClassDirty,uS._32(n,38).ngClassValid,uS._32(n,38).ngClassInvalid,uS._32(n,38).ngClassPending,uS._32(n,39)._isServer,uS._32(n,39).id,uS._32(n,39).placeholder,uS._32(n,39).disabled,uS._32(n,39).required,uS._32(n,39).readonly,uS._32(n,39)._ariaDescribedby||null,uS._32(n,39).errorState,uS._32(n,39).required.toString()])})}function Ok(l){return uS._42(0,[(l()(),uS._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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Tk)),uS._17(6,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,1==n.context.$implicit.value.isactive)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending)})}function Lk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,3,"button",[["color","optblue"],["ion-button",""],["round",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeDailyPurchase(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"],round:[2,"round"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n Delete\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","","")},null)}function Ak(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,7,"ion-col",[["class","col"],["col-1",""],["offset-1",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,3,"button",[["color","optblue"],["ion-button",""],["round",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.addDailyPurchase(t.purchaseItemForm.controls.purchase_product.value.length)&&u}return u},AT.b,AT.a)),uS._17(4,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],small:[1,"small"],round:[2,"round"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,0,["\n Add More Purchase Product\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","","")},null)}function Vk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,96,"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)),uS._17(1,212992,null,0,xS.l,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.l]),uS._17(3,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(6,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(8,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(9,16384,null,0,_T.h,[],null,null),(l()(),uS._40(10,null,["Daily Purchase Item # ",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,0,null,null,34,"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,cT.b,cT.a)),uS._17(14,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,2,{_control:0}),uS._38(335544320,3,{_placeholderChild:0}),uS._38(335544320,4,{_labelChild:0}),uS._38(603979776,5,{_errorChildren:1}),uS._38(603979776,6,{_hintChildren:1}),uS._38(603979776,7,{_prefixChildren:1}),uS._38(603979776,8,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(23,0,null,1,23,"mat-select",[["class","mat-select"],["formControlName","purchase_item"],["placeholder","Raw Material/Trading Item"],["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!==uS._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,29)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(24,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(26,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(28,16384,null,0,xS.s,[xS.r],null,null),uS._17(29,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,9,{options:1}),uS._38(603979776,10,{optionGroups:1}),uS._38(335544320,11,{customTrigger:0}),uS._37(2048,[[2,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(36,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!==uS._32(l,37)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,37)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(37,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Sk)),uS._17(41,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(43,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!==uS._32(l,44)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,44)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(44,8437760,[[9,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(-1,0,["Others"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ik)),uS._17(50,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(52,0,null,null,11,"div",[],null,null,null,null,null)),uS._17(53,16384,null,0,wI.o,[],{ngSwitch:[0,"ngSwitch"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(55,0,null,null,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)),uS._17(56,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(58,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ok)),uS._17(61,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(65,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,cT.b,cT.a)),uS._17(66,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,34,{_control:0}),uS._38(335544320,35,{_placeholderChild:0}),uS._38(335544320,36,{_labelChild:0}),uS._38(603979776,37,{_errorChildren:1}),uS._38(603979776,38,{_hintChildren:1}),uS._38(603979776,39,{_prefixChildren:1}),uS._38(603979776,40,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(75,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["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!==uS._32(l,76)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,76).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,76)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,76)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,81)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,81)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,81)._onInput()&&u}return u},null,null)),uS._17(76,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(78,671744,null,0,xS.i,[[3,xS.c],[8,null],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(80,16384,null,0,xS.s,[xS.r],null,null),uS._17(81,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),uS._37(2048,[[34,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(85,0,null,null,10,"ion-buttons",[["end",""]],null,null,null,null,null)),uS._17(86,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,41,{_buttons:1}),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Lk)),uS._17(90,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._18(91,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ak)),uS._17(94,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,24,0,"");l(n,26,0,"purchase_item");l(n,29,0,"Raw Material/Trading Item","");l(n,41,0,e.productListData);l(n,44,0,"Others");l(n,50,0,"Others"==n.context.$implicit.value.purchase_item);l(n,53,0,n.context.$implicit.value.purchase_type);l(n,56,0,"child");l(n,61,0,n.context.$implicit.get("child").controls);l(n,78,0,"comments");l(n,81,0,"Remarks","text");l(n,90,0,e.purchaseItemForm.value.purchase_product.length>1);l(n,94,0,n.context.last)},function(l,n){l(n,0,0,uS._32(n,3).ngClassUntouched,uS._32(n,3).ngClassTouched,uS._32(n,3).ngClassPristine,uS._32(n,3).ngClassDirty,uS._32(n,3).ngClassValid,uS._32(n,3).ngClassInvalid,uS._32(n,3).ngClassPending);l(n,10,0,n.context.index+1);l(n,13,1,[uS._32(n,14)._control.errorState,uS._32(n,14)._control.errorState,uS._32(n,14)._canLabelFloat,uS._32(n,14)._shouldLabelFloat(),uS._32(n,14)._hideControlPlaceholder(),uS._32(n,14)._control.disabled,uS._32(n,14)._control.focused,"primary"==uS._32(n,14).color,"accent"==uS._32(n,14).color,"warn"==uS._32(n,14).color,uS._32(n,14)._shouldForward("untouched"),uS._32(n,14)._shouldForward("touched"),uS._32(n,14)._shouldForward("pristine"),uS._32(n,14)._shouldForward("dirty"),uS._32(n,14)._shouldForward("valid"),uS._32(n,14)._shouldForward("invalid"),uS._32(n,14)._shouldForward("pending")]);l(n,23,1,[uS._32(n,24).required?"":null,uS._32(n,28).ngClassUntouched,uS._32(n,28).ngClassTouched,uS._32(n,28).ngClassPristine,uS._32(n,28).ngClassDirty,uS._32(n,28).ngClassValid,uS._32(n,28).ngClassInvalid,uS._32(n,28).ngClassPending,uS._32(n,29).id,uS._32(n,29).tabIndex,uS._32(n,29)._ariaLabel,uS._32(n,29).ariaLabelledby,uS._32(n,29).required.toString(),uS._32(n,29).disabled.toString(),uS._32(n,29).errorState,uS._32(n,29).panelOpen?uS._32(n,29)._optionIds:null,uS._32(n,29).multiple,uS._32(n,29)._ariaDescribedby||null,uS._32(n,29)._getAriaActiveDescendant(),uS._32(n,29).disabled,uS._32(n,29).errorState,uS._32(n,29).required]);l(n,36,0,uS._32(n,37)._getTabIndex(),uS._32(n,37).selected,uS._32(n,37).multiple,uS._32(n,37).active,uS._32(n,37).id,uS._32(n,37).selected.toString(),uS._32(n,37).disabled.toString(),uS._32(n,37).disabled);l(n,43,0,uS._32(n,44)._getTabIndex(),uS._32(n,44).selected,uS._32(n,44).multiple,uS._32(n,44).active,uS._32(n,44).id,uS._32(n,44).selected.toString(),uS._32(n,44).disabled.toString(),uS._32(n,44).disabled);l(n,55,0,uS._32(n,58).ngClassUntouched,uS._32(n,58).ngClassTouched,uS._32(n,58).ngClassPristine,uS._32(n,58).ngClassDirty,uS._32(n,58).ngClassValid,uS._32(n,58).ngClassInvalid,uS._32(n,58).ngClassPending);l(n,65,1,[uS._32(n,66)._control.errorState,uS._32(n,66)._control.errorState,uS._32(n,66)._canLabelFloat,uS._32(n,66)._shouldLabelFloat(),uS._32(n,66)._hideControlPlaceholder(),uS._32(n,66)._control.disabled,uS._32(n,66)._control.focused,"primary"==uS._32(n,66).color,"accent"==uS._32(n,66).color,"warn"==uS._32(n,66).color,uS._32(n,66)._shouldForward("untouched"),uS._32(n,66)._shouldForward("touched"),uS._32(n,66)._shouldForward("pristine"),uS._32(n,66)._shouldForward("dirty"),uS._32(n,66)._shouldForward("valid"),uS._32(n,66)._shouldForward("invalid"),uS._32(n,66)._shouldForward("pending")]);l(n,75,1,[uS._32(n,80).ngClassUntouched,uS._32(n,80).ngClassTouched,uS._32(n,80).ngClassPristine,uS._32(n,80).ngClassDirty,uS._32(n,80).ngClassValid,uS._32(n,80).ngClassInvalid,uS._32(n,80).ngClassPending,uS._32(n,81)._isServer,uS._32(n,81).id,uS._32(n,81).placeholder,uS._32(n,81).disabled,uS._32(n,81).required,uS._32(n,81).readonly,uS._32(n,81)._ariaDescribedby||null,uS._32(n,81).errorState,uS._32(n,81).required.toString()])})}function Nk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,5,"span",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(2,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitDetails(t.purchaseItemForm.value)&&u}return u},AT.b,AT.a)),uS._17(3,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),uS._40(-1,0,["Save"])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","")},null)}function Wk(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._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!==uS._32(l,9).toggle()&&u}return u},AT.b,AT.a)),uS._17(8,1097728,[[1,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],null,null),uS._17(9,1064960,null,0,NT.a,[jD.a,[2,JD.a],[2,VT.a],[2,qT.a]],{menuToggle:[0,"menuToggle"]},null),uS._17(10,16384,null,1,WT.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),uS._38(603979776,1,{_buttons:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(14,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._13(16777216,null,3,1,null,kk)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(22,0,null,null,23,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(23,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(25,0,null,1,19,"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!==uS._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,27).onReset()&&u}return u},null,null)),uS._17(26,16384,null,0,xS.B,[],null,null),uS._17(27,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(29,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(31,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(32,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(34,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","purchase_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)),uS._17(35,212992,null,0,xS.f,[[3,xS.c],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.c,null,[xS.f]),uS._17(37,16384,null,0,xS.t,[xS.c],null,null),uS._17(38,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Vk)),uS._17(41,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(47,0,null,null,5,"ion-footer",[],null,null,null,null,null)),uS._17(48,16384,null,0,JT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Nk)),uS._17(51,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,[" \n"])),(l()(),uS._40(-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.purchaseItemForm);l(n,35,0,"purchase_product");l(n,41,0,e.purchaseItemForm.controls.purchase_product.controls);l(n,51,0,!e.complete_status)},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,7,0,uS._32(n,9).isHidden);l(n,13,0,uS._32(n,14)._hidden);l(n,22,0,uS._32(n,23).statusbarPadding,uS._32(n,23)._hasRefresher);l(n,25,0,uS._32(n,29).ngClassUntouched,uS._32(n,29).ngClassTouched,uS._32(n,29).ngClassPristine,uS._32(n,29).ngClassDirty,uS._32(n,29).ngClassValid,uS._32(n,29).ngClassInvalid,uS._32(n,29).ngClassPending);l(n,34,0,uS._32(n,37).ngClassUntouched,uS._32(n,37).ngClassTouched,uS._32(n,37).ngClassPristine,uS._32(n,37).ngClassDirty,uS._32(n,37).ngClassValid,uS._32(n,37).ngClassInvalid,uS._32(n,37).ngClassPending)})}function Ek(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,3,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._18(2,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["No Documents Found. Press the camera button below to capture"]))],null,null)}function jk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function $k(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeName(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Bk(l){return uS._42(0,[(l()(),uS._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.removeImg(l.parent.context.index)&&u}return u},AT.b,AT.a)),uS._17(1,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(3,147456,null,0,$D.a,[VD.a,uS.p,uS.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,uS._32(n,3)._hidden)})}function Rk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,jk)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,$k)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Bk)),uS._17(14,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name&&"dummy"!=n.context.$implicit.option);l(n,14,0,"dummy"!=n.context.$implicit.option)},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""))})}function Uk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,11,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(4,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Rk)),uS._17(7,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(9,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.imageDisplay)},null)}function Mk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"label",[],null,null,null,null,null)),(l()(),uS._18(1,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),uS._40(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.$implicit.Name)})}function Kk(l){return uS._42(0,[(l()(),uS._18(0,0,[["focusName",1]],null,0,"input",[["ion-input",""],["placeholder","Document Name"],["type","text"],["width","20px"]],null,[[null,"blur"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==l.component.changeNameForBucket(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null))],null,null)}function Hk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["no-padding",""]],null,null,null,null,null)),uS._17(1,16384,null,0,sT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,1,"img",[["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==uS._32(l,4).onClick(e)&&u}return u},null,null)),uS._17(4,16384,null,0,aO.a,[uS.p,iO.a],{src:[0,"src"]},null),(l()(),uS._18(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Mk)),uS._17(8,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._13(16777216,null,null,1,null,Kk)),uS._17(11,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(13,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.removeImgForBucket(l.context.index)&&u}return u},AT.b,AT.a)),uS._17(14,1097728,null,0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),uS._18(15,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),uS._17(16,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,8,0,""!=n.context.$implicit.Name);l(n,11,0,""==n.context.$implicit.Name);l(n,14,0,"optblue","");l(n,16,0,"md-trash")},function(l,n){l(n,3,0,uS._21(1,"",n.context.$implicit.image,""));l(n,15,0,uS._32(n,16)._hidden)})}function Gk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,19,"ion-grid",[["class","grid"]],null,null,null,null,null)),uS._17(1,16384,null,0,YT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(3,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(5,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(7,0,null,null,1,"label",[["style","font-size:14px;color:gray"]],null,null,null,null,null)),(l()(),uS._40(-1,null,["Newly Captured Pics"])),(l()(),uS._18(9,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(11,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),uS._17(12,16384,null,0,dT.a,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Hk)),uS._17(15,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(17,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),uS._40(-1,null,[" \n "])),(l()(),uS._40(-1,null,[" \n "]))],function(l,n){l(n,15,0,n.component.imageBucket)},null)}function Yk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"button",[["align","end"],["color","primary"],["ion-button",""],["secondary",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.sendImage()&&u}return u},AT.b,AT.a)),uS._17(1,1097728,[["focusName",4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,0,["save Images"]))],function(l,n){l(n,1,0,"primary")},null)}function zk(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),uS._17(2,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(5,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(7,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(8,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(-1,0,["Images For Assessed Income"])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(13,0,null,null,34,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(14,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(16,0,null,1,20,"mat-card",[["class","mat-card"]],null,null,null,rT.d,rT.a)),uS._17(17,49152,[["picContent",4]],0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._18(19,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),uS._17(20,16384,null,0,_T.c,[],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._13(16777216,null,null,1,null,Ek)),uS._17(23,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n "])),(l()(),uS._13(16777216,null,null,1,null,Uk)),uS._17(26,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n \n \n\n "])),(l()(),uS._13(16777216,null,null,1,null,Gk)),uS._17(29,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(32,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n \n "])),(l()(),uS._13(16777216,null,0,1,null,Yk)),uS._17(35,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(38,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(39,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,1,{_mainButton:0}),uS._38(603979776,2,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(43,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""],["slot","fixed"],["style","margin-bottom: 10px"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.capture()&&u}return u},sO.b,sO.a)),uS._17(44,49152,[[1,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(45,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),uS._17(46,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,23,0,0==e.imageDisplay.length&&0==e.imageBucket.length);l(n,26,0,e.imageDisplay.length>0);l(n,29,0,e.imageBucket.length>0);l(n,35,0,e.imageBucket.length>0);l(n,44,0,"optblue");l(n,46,0,"md-camera")},function(l,n){l(n,4,0,uS._32(n,5)._hidden,uS._32(n,5)._sbPadding);l(n,13,0,uS._32(n,14).statusbarPadding,uS._32(n,14)._hasRefresher);l(n,45,0,uS._32(n,46)._hidden)})}function Qk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(1,16384,null,0,mT.f,[],null,null),(l()(),uS._40(-1,null,["No Records Found.."]))],null,null)}function Jk(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,31,"mat-card",[["class","mat-card"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editDet(l.context.$implicit.rental_existing_data)&&u}return u},rT.d,rT.a)),uS._17(1,49152,null,0,_T.a,[],null,null),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(3,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,rT.c,rT.b)),uS._17(4,49152,null,0,_T.e,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(6,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),uS._17(7,16384,null,0,_T.h,[],null,null),(l()(),uS._18(8,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),uS._40(9,null,["Property ",""])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(12,0,null,0,10,"ion-icon",[["name","ios-pin-outline"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(13,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,null,["\n  "])),(l()(),uS._18(15,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(16,16384,null,0,mT.f,[],null,null),(l()(),uS._40(17,null,["",""])),(l()(),uS._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n   "])),(l()(),uS._18(20,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(21,16384,null,0,mT.f,[],null,null),(l()(),uS._40(22,null,[""," "," - ",""])),(l()(),uS._18(23,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._18(24,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(26,0,null,0,4,"mat-label",[["style","color:orangered;font-size:14px;"]],null,null,null,null,null)),uS._17(27,16384,null,0,mT.f,[],null,null),(l()(),uS._18(28,0,null,null,2,"strong",[],null,null,null,null,null)),(l()(),uS._40(29,null,["Annual Rent Amount as per Applicant : ",""])),uS._36(30,1),(l()(),uS._40(-1,0,["\n"]))],function(l,n){l(n,13,0,"ios-pin-outline")},function(l,n){l(n,9,0,n.context.index+1);l(n,12,0,uS._32(n,13)._hidden);l(n,17,0,n.context.$implicit.address);l(n,22,0,n.context.$implicit.state,n.context.$implicit.city,n.context.$implicit.pincode);l(n,29,0,uS._41(n,29,0,l(n,30,0,uS._32(n.parent,0),n.context.$implicit.applicants_rent)))})}function Zk(l){return uS._42(0,[uS._34(0,CI,[]),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._18(2,0,null,null,10,"ion-header",[],null,null,null,null,null)),uS._17(3,16384,null,0,OT.a,[VD.a,uS.p,uS.O,[2,JD.a]],null,null),(l()(),uS._40(-1,null,["\n\n "])),(l()(),uS._18(5,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,LT.b,LT.a)),uS._17(6,49152,null,0,qT.a,[YD.a,[2,JD.a],[2,ZD.a],VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._18(8,0,null,3,2,"ion-title",[],null,null,null,kT.b,kT.a)),uS._17(9,49152,null,0,ST.a,[VD.a,uS.p,uS.O,[2,IT.a],[2,qT.a]],null,null),(l()(),uS._40(10,0,["",""])),(l()(),uS._40(-1,3,["\n "])),(l()(),uS._40(-1,null,["\n\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(14,0,null,null,18,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(15,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Qk)),uS._17(18,16384,null,0,wI.k,[uS._1,uS.W],{ngIf:[0,"ngIf"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._13(16777216,null,1,1,null,Jk)),uS._17(21,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._18(23,0,null,0,8,"ion-fab",[["bottom",""],["right",""]],null,null,null,_O.b,_O.a)),uS._17(24,1228800,null,2,dO.a,[MD.a],null,null),uS._38(335544320,1,{_mainButton:0}),uS._38(603979776,2,{_fabLists:1}),(l()(),uS._40(-1,0,["\n "])),(l()(),uS._18(28,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.addMore()&&u}return u},sO.b,sO.a)),uS._17(29,49152,[[1,4]],0,cO.a,[VD.a,uS.p,uS.O],{color:[0,"color"]},null),(l()(),uS._18(30,0,null,0,1,"ion-icon",[["name","md-add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),uS._17(31,147456,null,0,$D.a,[VD.a,uS.p,uS.O],{name:[0,"name"]},null),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,18,0,0==e.existing_rental_list.length);l(n,21,0,e.existing_rental_list);l(n,29,0,"optblue");l(n,31,0,"md-add")},function(l,n){var e=n.component;l(n,5,0,uS._32(n,6)._hidden,uS._32(n,6)._sbPadding);l(n,10,0,e.form_details.form_name);l(n,14,0,uS._32(n,15).statusbarPadding,uS._32(n,15)._hasRefresher);l(n,30,0,uS._32(n,31)._hidden)})}function Xk(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[8,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.customer_segment_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.abbr)})}function lS(l){return uS._42(0,[(l()(),uS._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!==uS._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,1)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(1,8437760,[[18,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],{value:[0,"value"]},null),(l()(),uS._40(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,uS._32(n,1)._getTabIndex(),uS._32(n,1).selected,uS._32(n,1).multiple,uS._32(n,1).active,uS._32(n,1).id,uS._32(n,1).selected.toString(),uS._32(n,1).disabled.toString(),uS._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function nS(l){return uS._42(0,[(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n\n\n"])),(l()(),uS._18(2,0,null,null,126,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,zD.b,zD.a)),uS._17(3,4374528,null,0,QD.a,[VD.a,MD.a,GD.a,uS.p,uS.O,YD.a,KD.a,uS.H,[2,JD.a],[2,ZD.a]],null,null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(5,0,null,1,122,"ion-list",[["no-lines",""]],null,null,null,null,null)),uS._17(6,16384,null,0,XD.a,[VD.a,uS.p,uS.O,MD.a,HD.l,GD.a],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n"])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(10,0,null,null,100,"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!==uS._32(l,12).onSubmit(e)&&u}if("reset"===n){u=!1!==uS._32(l,12).onReset()&&u}return u},null,null)),uS._17(11,16384,null,0,xS.B,[],null,null),uS._17(12,540672,null,0,xS.k,[[8,null],[8,null]],{form:[0,"form"]},null),uS._37(2048,null,xS.c,null,[xS.k]),uS._17(14,16384,null,0,xS.t,[xS.c],null,null),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(16,0,null,null,2,"mat-label",[],null,null,null,null,null)),uS._17(17,16384,null,0,mT.f,[],null,null),(l()(),uS._40(18,null,["",""])),(l()(),uS._18(19,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._18(20,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._18(21,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(23,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,cT.b,cT.a)),uS._17(24,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,1,{_control:0}),uS._38(335544320,2,{_placeholderChild:0}),uS._38(335544320,3,{_labelChild:0}),uS._38(603979776,4,{_errorChildren:1}),uS._38(603979776,5,{_hintChildren:1}),uS._38(603979776,6,{_prefixChildren:1}),uS._38(603979776,7,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(33,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","fk_customer_segment"],["placeholder","Customer Segment"],["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!==uS._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,39)._onBlur()&&u}return u},LO.b,LO.a)),uS._17(34,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(36,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(38,16384,null,0,xS.s,[xS.r],null,null),uS._17(39,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),uS._38(603979776,8,{options:1}),uS._38(603979776,9,{optionGroups:1}),uS._38(335544320,10,{customTrigger:0}),uS._37(2048,[[1,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(46,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!==uS._32(l,47)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,47)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(47,8437760,[[8,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,Xk)),uS._17(51,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(55,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,cT.b,cT.a)),uS._17(56,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,11,{_control:0}),uS._38(335544320,12,{_placeholderChild:0}),uS._38(335544320,13,{_labelChild:0}),uS._38(603979776,14,{_errorChildren:1}),uS._38(603979776,15,{_hintChildren:1}),uS._38(603979776,16,{_prefixChildren:1}),uS._38(603979776,17,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(65,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","pd_co_applicant_id"],["placeholder","Applicant"],["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,t=l.component;if("keydown"===n){u=!1!==uS._32(l,71)._handleKeydown(e)&&u}if("focus"===n){u=!1!==uS._32(l,71)._onFocus()&&u}if("blur"===n){u=!1!==uS._32(l,71)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.updateMobile(t.addressMapping.value)&&u}return u},LO.b,LO.a)),uS._17(66,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._37(1024,null,xS.p,function(l){return[l]},[xS.x]),uS._17(68,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[8,null]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(70,16384,null,0,xS.s,[xS.r],null,null),uS._17(71,2080768,null,3,AO.c,[VO.f,uS.i,uS.H,pT.d,uS.p,[2,NO.c],[2,xS.u],[2,xS.k],[2,mT.b],[2,xS.r],[8,null],AO.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),uS._38(603979776,18,{options:1}),uS._38(603979776,19,{optionGroups:1}),uS._38(335544320,20,{customTrigger:0}),uS._37(2048,[[11,4]],mT.c,null,[AO.c]),uS._37(2048,null,pT.l,null,[AO.c]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(78,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!==uS._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==uS._32(l,79)._handleKeydown(e)&&u}return u},OO.e,OO.b)),uS._17(79,8437760,[[18,4]],0,pT.t,[uS.p,uS.i,[2,pT.l],[2,pT.s]],null,null),(l()(),uS._40(-1,0,["Select"])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._13(16777216,null,1,1,null,lS)),uS._17(83,802816,null,0,wI.j,[uS._1,uS.W,uS.B],{ngForOf:[0,"ngForOf"]},null),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(87,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,cT.b,cT.a)),uS._17(88,7389184,null,7,mT.b,[uS.p,uS.i,[2,pT.j]],null,null),uS._38(335544320,21,{_control:0}),uS._38(335544320,22,{_placeholderChild:0}),uS._38(335544320,23,{_labelChild:0}),uS._38(603979776,24,{_errorChildren:1}),uS._38(603979776,25,{_hintChildren:1}),uS._38(603979776,26,{_prefixChildren:1}),uS._38(603979776,27,{_suffixChildren:1}),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._18(97,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mobile_no"],["matInput",""],["maxlength","10"],["minlength","10"],["placeholder","Mobile Number"],["required",""],["type","tel"]],[[1,"required",0],[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,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==uS._32(l,98)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,98).onTouched()&&u}if("compositionstart"===n){u=!1!==uS._32(l,98)._compositionStart()&&u}if("compositionend"===n){u=!1!==uS._32(l,98)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==uS._32(l,107)._focusChanged(!1)&&u}if("focus"===n){u=!1!==uS._32(l,107)._focusChanged(!0)&&u}if("input"===n){u=!1!==uS._32(l,107)._onInput()&&u}return u},null,null)),uS._17(98,16384,null,0,xS.d,[uS.P,uS.p,[2,xS.a]],null,null),uS._17(99,16384,null,0,xS.x,[],{required:[0,"required"]},null),uS._17(100,540672,null,0,xS.o,[],{minlength:[0,"minlength"]},null),uS._17(101,540672,null,0,xS.n,[],{maxlength:[0,"maxlength"]},null),uS._37(1024,null,xS.p,function(l,n,e){return[l,n,e]},[xS.x,xS.o,xS.n]),uS._37(1024,null,xS.q,function(l){return[l]},[xS.d]),uS._17(104,671744,null,0,xS.i,[[3,xS.c],[2,xS.p],[8,null],[2,xS.q]],{name:[0,"name"]},null),uS._37(2048,null,xS.r,null,[xS.i]),uS._17(106,16384,null,0,xS.s,[xS.r],null,null),uS._17(107,933888,null,0,fT.b,[uS.p,kS.a,[2,xS.r],[2,xS.u],[2,xS.k],pT.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"],readonly:[3,"readonly"]},null),uS._37(2048,[[21,4]],mT.c,null,[fT.b]),(l()(),uS._40(-1,1,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._18(112,0,null,null,14,"ion-item",[["class","item item-block"]],null,null,null,OD.b,OD.a)),uS._17(113,1097728,null,3,LD.a,[AD.a,VD.a,uS.p,uS.O,[2,ND.a]],null,null),uS._38(335544320,28,{contentLabel:0}),uS._38(603979776,29,{_buttons:1}),uS._38(603979776,30,{_icons:1}),uS._17(117,16384,null,0,WD.a,[],null,null),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(119,0,null,2,2,"button",[["block",""],["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submit(t.addressMapping.value)&&u}return u},AT.b,AT.a)),uS._17(120,1097728,[[29,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],block:[1,"block"]},null),(l()(),uS._40(-1,0,["Submit"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._18(123,0,null,2,2,"button",[["block",""],["color","gray"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.cancel()&&u}return u},AT.b,AT.a)),uS._17(124,1097728,[[29,4]],0,VT.a,[[8,""],VD.a,uS.p,uS.O],{color:[0,"color"],block:[1,"block"]},null),(l()(),uS._40(-1,0,["Cancel"])),(l()(),uS._40(-1,2,["\n "])),(l()(),uS._40(-1,null,["\n "])),(l()(),uS._40(-1,1,["\n"])),(l()(),uS._40(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,12,0,e.addressMapping);l(n,34,0,"");l(n,36,0,"fk_customer_segment");l(n,39,0,"Customer Segment","");l(n,51,0,e.cus_seg);l(n,66,0,"");l(n,68,0,"pd_co_applicant_id");l(n,71,0,"Applicant","");l(n,83,0,e.applicants);l(n,99,0,"");l(n,100,0,"10");l(n,101,0,"10");l(n,104,0,"mobile_no");l(n,107,0,"Mobile Number","","tel",e.mobileDisable);l(n,120,0,"primary","");l(n,124,0,"gray","")},function(l,n){var e=n.component;l(n,2,0,uS._32(n,3).statusbarPadding,uS._32(n,3)._hasRefresher);l(n,10,0,uS._32(n,14).ngClassUntouched,uS._32(n,14).ngClassTouched,uS._32(n,14).ngClassPristine,uS._32(n,14).ngClassDirty,uS._32(n,14).ngClassValid,uS._32(n,14).ngClassInvalid,uS._32(n,14).ngClassPending);l(n,18,0,e.pageTitle);l(n,23,1,[uS._32(n,24)._control.errorState,uS._32(n,24)._control.errorState,uS._32(n,24)._canLabelFloat,uS._32(n,24)._shouldLabelFloat(),uS._32(n,24)._hideControlPlaceholder(),uS._32(n,24)._control.disabled,uS._32(n,24)._control.focused,"primary"==uS._32(n,24).color,"accent"==uS._32(n,24).color,"warn"==uS._32(n,24).color,uS._32(n,24)._shouldForward("untouched"),uS._32(n,24)._shouldForward("touched"),uS._32(n,24)._shouldForward("pristine"),uS._32(n,24)._shouldForward("dirty"),uS._32(n,24)._shouldForward("valid"),uS._32(n,24)._shouldForward("invalid"),uS._32(n,24)._shouldForward("pending")]);l(n,33,1,[uS._32(n,34).required?"":null,uS._32(n,38).ngClassUntouched,uS._32(n,38).ngClassTouched,uS._32(n,38).ngClassPristine,uS._32(n,38).ngClassDirty,uS._32(n,38).ngClassValid,uS._32(n,38).ngClassInvalid,uS._32(n,38).ngClassPending,uS._32(n,39).id,uS._32(n,39).tabIndex,uS._32(n,39)._ariaLabel,uS._32(n,39).ariaLabelledby,uS._32(n,39).required.toString(),uS._32(n,39).disabled.toString(),uS._32(n,39).errorState,uS._32(n,39).panelOpen?uS._32(n,39)._optionIds:null,uS._32(n,39).multiple,uS._32(n,39)._ariaDescribedby||null,uS._32(n,39)._getAriaActiveDescendant(),uS._32(n,39).disabled,uS._32(n,39).errorState,uS._32(n,39).required]);l(n,46,0,uS._32(n,47)._getTabIndex(),uS._32(n,47).selected,uS._32(n,47).multiple,uS._32(n,47).active,uS._32(n,47).id,uS._32(n,47).selected.toString(),uS._32(n,47).disabled.toString(),uS._32(n,47).disabled);l(n,55,1,[uS._32(n,56)._control.errorState,uS._32(n,56)._control.errorState,uS._32(n,56)._canLabelFloat,uS._32(n,56)._shouldLabelFloat(),uS._32(n,56)._hideControlPlaceholder(),uS._32(n,56)._control.disabled,uS._32(n,56)._control.focused,"primary"==uS._32(n,56).color,"accent"==uS._32(n,56).color,"warn"==uS._32(n,56).color,uS._32(n,56)._shouldForward("untouched"),uS._32(n,56)._shouldForward("touched"),uS._32(n,56)._shouldForward("pristine"),uS._32(n,56)._shouldForward("dirty"),uS._32(n,56)._shouldForward("valid"),uS._32(n,56)._shouldForward("invalid"),uS._32(n,56)._shouldForward("pending")]);l(n,65,1,[uS._32(n,66).required?"":null,uS._32(n,70).ngClassUntouched,uS._32(n,70).ngClassTouched,uS._32(n,70).ngClassPristine,uS._32(n,70).ngClassDirty,uS._32(n,70).ngClassValid,uS._32(n,70).ngClassInvalid,uS._32(n,70).ngClassPending,uS._32(n,71).id,uS._32(n,71).tabIndex,uS._32(n,71)._ariaLabel,uS._32(n,71).ariaLabelledby,uS._32(n,71).required.toString(),uS._32(n,71).disabled.toString(),uS._32(n,71).errorState,uS._32(n,71).panelOpen?uS._32(n,71)._optionIds:null,uS._32(n,71).multiple,uS._32(n,71)._ariaDescribedby||null,uS._32(n,71)._getAriaActiveDescendant(),uS._32(n,71).disabled,uS._32(n,71).errorState,uS._32(n,71).required]);l(n,78,0,uS._32(n,79)._getTabIndex(),uS._32(n,79).selected,uS._32(n,79).multiple,uS._32(n,79).active,uS._32(n,79).id,uS._32(n,79).selected.toString(),uS._32(n,79).disabled.toString(),uS._32(n,79).disabled);l(n,87,1,[uS._32(n,88)._control.errorState,uS._32(n,88)._control.errorState,uS._32(n,88)._canLabelFloat,uS._32(n,88)._shouldLabelFloat(),uS._32(n,88)._hideControlPlaceholder(),uS._32(n,88)._control.disabled,uS._32(n,88)._control.focused,"primary"==uS._32(n,88).color,"accent"==uS._32(n,88).color,"warn"==uS._32(n,88).color,uS._32(n,88)._shouldForward("untouched"),uS._32(n,88)._shouldForward("touched"),uS._32(n,88)._shouldForward("pristine"),uS._32(n,88)._shouldForward("dirty"),uS._32(n,88)._shouldForward("valid"),uS._32(n,88)._shouldForward("invalid"),uS._32(n,88)._shouldForward("pending")]);l(n,97,1,[uS._32(n,99).required?"":null,uS._32(n,100).minlength?uS._32(n,100).minlength:null,uS._32(n,101).maxlength?uS._32(n,101).maxlength:null,uS._32(n,106).ngClassUntouched,uS._32(n,106).ngClassTouched,uS._32(n,106).ngClassPristine,uS._32(n,106).ngClassDirty,uS._32(n,106).ngClassValid,uS._32(n,106).ngClassInvalid,uS._32(n,106).ngClassPending,uS._32(n,107)._isServer,uS._32(n,107).id,uS._32(n,107).placeholder,uS._32(n,107).disabled,uS._32(n,107).required,uS._32(n,107).readonly,uS._32(n,107)._ariaDescribedby||null,uS._32(n,107).errorState,uS._32(n,107).required.toString()])})}Object.defineProperty(n,"__esModule",{value:!0});var eS=e(68),uS=e(0),tS=e(13),aS=e(136),iS=e(189),oS=e(71),rS=e(341),_S=e(93),dS=(e(431),e(46)),sS=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},cS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},mS=(new rS.c({UserPoolId:"ap-south-1_y7dt3iEaX",ClientId:"291qt4smn5pql6o8cc2hi201lj"}),new rS.c({UserPoolId:"ap-south-1_hFiGyr1Gw",ClientId:"38v9rpp1495v60e1gd14mj6rjr"}),new rS.c({UserPoolId:"ap-south-1_qQ85yQZJO",ClientId:"2o5c3cs9k3als16nqhp3irh8rs"})),pS=function(){function l(){this.loggedIn=!1,this.isloggin=!1}return l.prototype.getCurrentUser=function(){return mS.getCurrentUser()},Object.defineProperty(l.prototype,"isLoggedIn",{get:function(){return this.loggedIn=null!=mS.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(dS.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=sS([Object(uS.x)(),cS("design:paramtypes",[])],l)}(),fS=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},hS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},gS=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=(l=l.toString()).split(".")[0],e=["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine"],u=["Ten","Eleven","Twelve","Thirteen","Fourteen","Fifteen","Sixteen","Seventeen","Eighteen","Nineteen"],t=["","Ten","Twenty","Thirty","Forty","Fifty","Sixty","Seventy","Eighty","Ninety"],a=function(l,n){return 0==l?"":" "+(1==l?u[n]:t[l])},i=function(l,n,u){return(0!=l&&1!=n?" "+e[l]:"")+(0!=n||l>0?" "+u:"")},o="",r=0,_=0,d=0,s=[];if(n+="",isNaN(parseInt(n)))o="";else if(parseInt(n)>0&&n.length<=10){for(r=n.length-1;r>=0;r--)switch(_=n[r]-0,d=r>0?n[r-1]-0:0,n.length-r-1){case 0:s.push(i(_,d,""));break;case 1:s.push(a(_,n[r+1]));break;case 2:s.push(0!=_?" "+e[_]+" Hundred"+(0!=n[r+1]&&0!=n[r+2]?" and":""):"");break;case 3:s.push(i(_,d,"Thousand"));break;case 4:s.push(a(_,n[r+1]));break;case 5:s.push(i(_,d,"Lakh"));break;case 6:s.push(a(_,n[r+1]));break;case 7:s.push(i(_,d,"Crore"));break;case 8:s.push(a(_,n[r+1]));break;case 9:s.push(0!=_?" "+e[_]+" Hundred"+(0!=n[r+1]||0!=n[r+2]?" and":" Crore"):"")}o=s.reverse().join("")}else o="";return o},l.prototype.searchData=function(l,n,e){if(console.log("statedata"),l){var u=n;return u?(u=u.toLowerCase(),"bank"==e?l.filter(function(l){return l.lender_name.toLowerCase().indexOf(u)>-1}):"city"==e?(console.log("city",l),l.filter(function(l){return l.city_name.toLowerCase().indexOf(u)>-1})):l.filter("pin"==e?function(l){return l.pincode.toLowerCase().indexOf(u)>-1}:function(l){return l.name.toLowerCase().indexOf(u)>-1})):l.slice()}},l=fS([Object(uS.x)(),hS("design:paramtypes",[oS.c])],l)}(),bS=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},vS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},yS=(new rS.c({UserPoolId:"ap-south-1_hFiGyr1Gw",ClientId:"38v9rpp1495v60e1gd14mj6rjr"}),new rS.c({UserPoolId:"ap-south-1_qQ85yQZJO",ClientId:"2o5c3cs9k3als16nqhp3irh8rs"})),CS=(new Date).toJSON().slice(0,19).replace("T"," "),wS=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 rS.a(l),e=l.newpassword,u=[],t=new rS.b({Username:l.Username,Pool:yS});return _S.Observable.create(function(l){t.authenticateUser(n,{newPasswordRequired:function(n,a){t.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 rS.b({Username:l.Username,Pool:yS});return _S.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 _S.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:CS,fk_updatedby:n,userid:n},u=new FormData;return u.append("records",JSON.stringify(e)),this.http.post(this.apiurl+"updateExistUser",u)},l=bS([Object(uS.x)(),vS("design:paramtypes",[oS.c,pS,gS])],l)}(),FS=e(191),xS=e(4),kS=e(11),SS=e(195),IS=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},qS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},PS=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.prototype.getPDCompleteDetails=function(l){return this.http.post(this.apiurl+"getPDCompleteDetails",{records:l})},l=IS([Object(uS.x)(),qS("design:paramtypes",[oS.c,gS])],l)}(),DS=e(258),TS=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},OS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},LS=function(){function l(l,n,e){this.http=l,this.constant=n,this.cache=e,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 console.log("rec",n),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,n){return this.http.post(this.apiurl+"getEndUseOfLoan",{records:{pd_id:l,sub_product_id:n}})},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.getPDImages=function(l){return this.http.post(this.apiurl+"getPDImages",{records:l})},l.prototype.getFamilyDetails=function(l){return this.http.post(this.apiurl+"getFamilyDetails",{pd_id:l})},l.prototype.getAddressDetails=function(l){return this.http.post(this.apiurl+"getPDAddress",{pd_id:l})},l.prototype.getStateCityNamesAndPincode=function(l){return this.http.post(this.apiurl+"getStateCityNamesAndPincode",{records:l})},l.prototype.getCustomersDetails=function(){return this.http.get(this.apiurl+"getListOfCustomerSegments")},l=TS([Object(uS.x)(),OS("design:paramtypes",[oS.c,gS,DS.b])],l)}(),AS=e(128),VS=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},NS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},WS=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){var n="data:image/png;base64,"+l;return console.log("base 64",n),n},function(l){return console.log("CAMERA ERROR -> "+JSON.stringify(l)),"error"})},l=VS([Object(uS.x)(),NS("design:paramtypes",[oS.c,AS.a])],l)}(),ES=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},jS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},$S=function(){function l(l,n,e){this.http=l,this.toast=n,this.alertCtrl=e,console.log("Hello ToastProvider Provider")}return l.prototype.pdTriggerappmessage=function(l){this.toast.create({message:l,duration:3e3,position:"bottom",dismissOnPageChange:!0}).present()},l.prototype.setAlert=function(l,n){var e=this.alertCtrl.create({title:l,message:n,cssClass:"buttoncss",buttons:[{text:"Yes",cssClass:"btnYes",handler:function(){return e.dismiss("s"),!1}},{text:"No",cssClass:"btnNo",handler:function(){return e.dismiss(!1),!1}}]});return e},l.prototype.setAlertForDocName=function(){var l=this.alertCtrl.create({title:"Document Name",message:"Please Enter the Document Name",cssClass:"prompt_alert",inputs:[{name:"Name",placeholder:"Document Name"}],buttons:[{text:"Submit",handler:function(n){console.log(n.Name),l.dismiss(n.Name)}}]});return l},l.prototype.setAlertForCompletePD=function(){var l=this.alertCtrl.create({title:"Complete Discussion",message:"Please confirm you are completing the Discussion and forwarding for Quality Check ?",cssClass:"complete_alert",buttons:[{text:"Yes / Allow Addon PD",handler:function(){return l.dismiss("addon"),!1}},{text:"Yes",handler:function(){return l.dismiss("yes"),!1}},{text:"No",handler:function(){return l.dismiss("no"),!1}}]});return l},l=ES([Object(uS.x)(),jS("design:paramtypes",[oS.c,tS.w,tS.a])],l)}(),BS=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},RS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},US=(new Date).toJSON().slice(0,19).replace("T"," "),MS=function(){function l(l,n,e,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.fb=u,this.qstDetails=t,this.aws=a,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=[],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(tP,{pdDetails:this.pdinfo})},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")},l.prototype.getpdQuestionDetails=function(){this.questionDetails=this.navParams.get("questionDetails"),this.pdinfo=this.navParams.get("pdDetails");for(var l=0,n=this.questionDetails.questions;l=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},GS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},YS=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.prototype.loaderForSendImage=function(){return this.loadingCtrl.create({content:"Sending...",duration:2e3}).present()},l=HS([Object(uS.x)(),GS("design:paramtypes",[oS.c,tS.n])],l)}(),zS=e(197),QS=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},JS=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ZS=function(){function l(l,n,e){this.http=l,this.storage=n,this.toast=e,console.log("Hello StorageProvider Provider")}return l.prototype.insertData=function(l){var n=this;this.toast.pdTriggerappmessage(this.storage.driver);var e=l.pd_id;return console.log("storage provider"),console.log(l),console.log(JSON.stringify(l)),console.log("sto",this.storage.get(e)),this.storage.get(e).then(function(u){if(console.log("res",u),null!=u){if(0!=u.length&&void 0!=u.length){var t=u.filter(function(n){return n.form_id==l.form_id});if(console.log("current",t),t.length>0){return(i=[]).push(l),n.storage.set(e,i)}}var a=[];return a=u,console.log("old data",a),a.push(l),n.storage.set(e,a)}var i;return(i=[]).push(l),n.storage.set(e,i)})},l.prototype.retrieveLocalStorage=function(l){return this.storage.get(l.pd_id).then(function(n){if(console.log("storage get",n),null!=n)return n.filter(function(n){return n.form_id==l.form_id})})},l=QS([Object(uS.x)(),JS("design:paramtypes",[oS.c,zS.b,$S])],l)}(),XS=(e(463),this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i}),lI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},nI=function(){function l(l,n,e,u,t,a,i,o,r,_,d){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.alerCtrl=i,this.constant=o,this.camera=r,this.loading=_,this.storagedb=d,this.placeholderName=[],this.premisesRentAmtInwords=[],this.locality=[],this.pdlocation=[],this.addressTypes=[],this.addressRemarksAccess=!1,this.cityData=[],this.pincodeData=[],this.stateData=[],this.uomData=[],this.pincodeValue=[],this.cityDataValue=[],this.complete_status=!1,this._onDestroy=new dS.Subject,this.filteredCity=new dS.ReplaySubject(1),this.filteredState=new dS.ReplaySubject(1),this.pincodeDataValue=[],this.imageBucket=[],this.tab="0",this.imageDisplay=[],this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.getdropdownlist(),this.pdQuestionAddress=this.fb.group({addresses:this.fb.array([]),address_form_remark:[""]}),this.timer=dS.Observable.interval(1e4).subscribe(function(l){console.log("test",l)}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAddressPage"),this.getaddressForm(),this.getPDImages()},l.prototype.searchFun=function(l,n,e){var u=this;"city"==e&&l.controls.citySearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){u.SearchCity(l.controls.citySearch.value,n)}),"state"==e&&(console.log("state"),l.controls.stateSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){u.searchState(l.controls.stateSearch.value)})),"pin"==e&&(console.log("Pin"),l.controls.pinSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){u.searchPin(l.controls.pinSearch.value,n)}))},l.prototype.searchPin=function(l,n){if(this.pincodeData[n]){var e=l;e?(e=e.toLowerCase(),this.pincodeDataValue[n]=this.pincodeData[n].filter(function(l){return l.pincode.toLowerCase().indexOf(e)>-1})):this.pincodeDataValue[n]=this.pincodeData[n].slice()}},l.prototype.SearchCity=function(l,n){if(this.cityData[n]){var e=l;e?(e=e.toLowerCase(),this.cityDataValue[n]=this.cityData[n].filter(function(l){return l.city_name.toLowerCase().indexOf(e)>-1})):this.cityDataValue[n]=this.cityData[n].slice()}},l.prototype.searchState=function(l){if(console.log("statedata"),this.stateData){var n=l;n?(n=n.toLowerCase(),this.filteredState.next(this.stateData.filter(function(l){return l.name.toLowerCase().indexOf(n)>-1}))):this.filteredState.next(this.stateData.slice())}},l.prototype.countRowsForTextarea=function(l){if(""!=l&&void 0!=l)return l.length%100>5?5:l.length%100<=3?3:Math.floor(l.length%100)},l.prototype.ionViewWillLeave=function(){},l.prototype.ionViewCanLeave=function(){var l=this;return this.timer.unsubscribe(),console.log("dirty",this.pdQuestionAddress.dirty),this.pdQuestionAddress.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Form is Modified","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getCityAndPincodeDetails=function(l,n,e){var u=this;console.log(this.pdQuestionAddress),this.qustCat.getStateWiseCities(l).subscribe(function(l){200==l.status&&(u.cityData[n]=l.records.cities,u.search=u.cityData[n],console.log("Slice",u.cityData[n].slice),u.cityDataValue[n]=u.cityData[n].slice(),u.pincodeData[n]=l.records.pincode,u.pincodeDataValue[n]=u.pincodeData[n].slice())})},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}),console.log("dk",l.addressTypes))}),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}))}),this.qustCat.getcommondrop("STATE").subscribe(function(n){l.stateData=n.records.filter(function(l){return 1==l.isactive}),l.filteredState.next(l.stateData.slice())}),this.qustCat.getcommondrop("UOM").subscribe(function(n){l.uomData=n.records.filter(function(l){return 1==l.isactive&&0!=l.is_land_uom})})},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.initAddress=function(l){return console.log("pin init",this.pincodeValue[0]),this.fb.group(null!=l?{address:[l.address],address_type:[l.address_type,xS.y.compose([xS.y.required])],address_type_others:[l.address_type_others],state:[l.state],city:[l.city],citySearch:[""],stateSearch:[""],pinSearch:[""],pincode:[l.pincode],pincode_others:[l.pincode_others,xS.y.compose([xS.y.minLength(6),xS.y.maxLength(6)])],locality:[l.locality,xS.y.compose([xS.y.required])],locality_others:[l.locality_others],pd_location:[l.pd_location,xS.y.compose([xS.y.required])],comment_locality:[l.comment_locality,xS.y.compose([xS.y.required])],estimated_area:[l.estimated_area],uom:[l.uom],uom_others:[l.uom_others]}:{address:[""],address_type:["",xS.y.compose([xS.y.required])],address_type_others:[""],state:[""],city:[""],citySearch:[""],stateSearch:[""],pinSearch:[""],pincode:[""],pincode_others:["",xS.y.compose([xS.y.minLength(6),xS.y.maxLength(6)])],locality:["",xS.y.compose([xS.y.required])],locality_others:[""],pd_location:["",xS.y.compose([xS.y.required])],comment_locality:["",xS.y.compose([xS.y.required])],estimated_area:[""],uom:[""],uom_others:[""]})},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){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,n){this.placeholderName[n]="Estimated area of the "+l},l.prototype.savepdQuestion=function(l){var n=this,e={};this.pdQuestionAddress.invalid?this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields marked with ' * '"):(console.log("Answer DAta",l),e.addresses=l.addresses,e.address_form_remark=l.address_form_remark,e.parent_pdid=this.pdDetails.parent_pd_id,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,this.qustCat.saveForm(e).subscribe(function(l){console.log(l),1==l.dataStatus&&(n.pdQuestionAddress.reset(n.pdQuestionAddress.value),n.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){n.navCtrl.pop()},2e3))},function(l){n.toast.pdTriggerappmessage("Something went wrong ")}))},l.prototype.getaddressFormFromLocal=function(){var l,n=this;this.storagedb.retrieveLocalStorage({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id}).then(function(e){if(console.log("address get",e),e){var u={};u.records=e[0],l=e[0],console.log("addd",u,"loca",l);var t=n.pdQuestionAddress.controls.addresses;n.getaddressDetails=u,1==l.active?n.getaddressDetails.records.addresses?(n.getaddressDetails=n.getaddressDetails.records.addresses,0==n.getaddressDetails.length?t.push(n.initAddress("")):(n.getaddressDetails.forEach(function(l,e){n.getCityAndPincodeDetails(l.state,e,l.pincode),1==l.pincode&&(n.pincodeValue[e]=l.pincode_others),console.log("Pin",n.pincodeValue[e]);var u={address:l.address,address_type:l.address_type,address_type_others:l.address_type_others,state:l.state,city:l.city,pincode:l.pincode,pincode_others:l.pincode_others,locality:l.locality,locality_others:l.locality_others,pd_location:l.pd_location,comment_locality:l.comment_locality,estimated_area:l.estimated_area,uom:l.uom,uom_others:l.uom_others};""!=l.address_type&&(n.selectedAddressType(l.address_type,e),1==l.address_type&&n.selectedAddressType(l.address_type_others,e)),t.push(n.initAddress(u))}),n.pdQuestionAddress.controls.address_form_remark.setValue(u.records.address_form_remark))):t.push(n.initAddress("")):n.getaddressForm()}else n.getaddressForm()})},l.prototype.getaddressForm=function(){var l=this;console.log("pd",this.pdDetails);this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){var e=l.pdQuestionAddress.controls.addresses;l.getaddressDetails=n,1==l.getaddressDetails.dataStatus?l.getaddressDetails.records.addresses?(l.getaddressDetails=l.getaddressDetails.records.addresses,0==l.getaddressDetails.length?e.push(l.initAddress("")):(l.getaddressDetails.forEach(function(n,u){l.getCityAndPincodeDetails(n.state,u,n.pincode),1==n.pincode&&(l.pincodeValue[u]=n.pincode_others),console.log("Pin",l.pincodeValue[u]);var t={address:n.address,address_type:n.address_type,address_type_others:n.address_type_others,state:n.state,city:n.city,pincode:n.pincode,pincode_others:n.pincode_others,locality:n.locality,locality_others:n.locality_others,pd_location:n.pd_location,comment_locality:n.comment_locality,estimated_area:n.estimated_area,uom:n.uom,uom_others:n.uom_others};if(""!=n.address_type){var a=l.addressTypes.filter(function(l){return l.address_type_id==n.address_type})[0];l.selectedAddressType(a.address_type,u),1==n.address_type&&l.selectedAddressType(n.address_type_others,u)}e.push(l.initAddress(t))}),l.pdQuestionAddress.controls.address_form_remark.setValue(n.records.address_form_remark))):e.push(l.initAddress("")):l.loadPD()})},l.prototype.loadPD=function(){var l=this,n=this.pdQuestionAddress.controls.addresses;this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(function(e){1==e.dataStatus?(l.addressesList=e.records.filter(function(n){return 1==n.isactive&&n.assigned_pd==l.pdDetails.pd_id}),console.log("this.addressesList",l.addressesList),l.addressesList.length>0?l.addressesList.forEach(function(e,u){l.getCityAndPincodeDetails(e.fk_state,u,e.pincode);n.push(l.initAddress({address:e.addressline1,address_type:"",address_type_others:"",state:e.fk_state,city:e.fk_city,pincode:e.pincode_id,pincode_others:e.other_pincode,locality:"",locality_others:"",pd_location:"",comment_locality:"",estimated_area:"",uom:"",uom_others:""}))}):n.push(l.initAddress(""))):n.push(l.initAddress(""))})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.savePhoto=function(){var l=this;this.camera.getPicture({quality:100,destinationType:this.camera.DestinationType.DATA_URL,targetWidth:500,targetHeight:600,correctOrientation:!0}).then(function(n){l.base64="data:image/png;base64,"+n,l.imageBucket.push({image:l.base64,Name:""}),l.getImageName(l.imageBucket.length-1)},function(l){}),this.tab="1"},l.prototype.getImageName=function(l){var n=this;console.log("index",l);var e=this.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(e){console.log(e.Name),n.imageBucket[l].Name=e.Name})},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.localInsert=function(l){var n=this.pdQuestionAddress.value;n.pd_id=this.pdDetails.pd_id,n.form_id=this.FormId.form_id,n.active=l,this.storagedb.insertData(n).then(function(l){console.log("insert add",l)})},l=XS([Object(uS.k)({selector:"page-pd-question-address",templateUrl:"pd-question-address.html"}),lI("design:paramtypes",[tS.r,tS.s,xS.g,LS,wS,$S,tS.a,gS,AS.a,YS,ZS])],l)}(),eI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},uI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},tI=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.workExperienceFlag=!1,this.workExperienceErrorFlag=!1,this.tab="0",this.imageBucket=[],this.imageDisplay=[],this.dateonly=[{date:1,isdisabled:!1},{date:2,isdisabled:!1},{date:3,isdisabled:!1},{date:4,isdisabled:!1},{date:5,isdisabled:!1},{date:6,isdisabled:!1},{date:7,isdisabled:!1},{date:8,isdisabled:!1},{date:9,isdisabled:!1},{date:10,isdisabled:!1},{date:11,isdisabled:!1},{date:12,isdisabled:!1},{date:13,isdisabled:!1},{date:14,isdisabled:!1},{date:15,isdisabled:!1},{date:16,isdisabled:!1},{date:17,isdisabled:!1},{date:18,isdisabled:!1},{date:19,isdisabled:!1},{date:20,isdisabled:!1},{date:21,isdisabled:!1},{date:22,isdisabled:!1},{date:23,isdisabled:!1},{date:24,isdisabled:!1},{date:25,isdisabled:!1},{date:26,isdisabled:!1},{date:27,isdisabled:!1},{date:28,isdisabled:!1},{date:29,isdisabled:!1},{date:30,isdisabled:!1},{date:31,isdisabled:!1}],this.todate=this.dateonly,this.complete_status=!1,this.FormId=this.navParams.get("FormId"),this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase(),this.generalExistBusinessYear=100,this.generalExistBusinessMonth=12,this.getDropDownList(),this.getCompanyFromGeneralDetails(),this.getEmploymentDetails(),this.employmentForm=this.fb.group({employer_name:[""],employer_in_brief:[""],how_long_year:["",xS.y.max(this.generalExistBusinessYear)],how_long_month:[""],total_business_experience:[""],total_business_previous_experience:[""],was_met:["SAL-CHQ"==this.pd_cus_segment?"No":""],name_person_met:[""],designation_person_met:[""],confirm_salary:["SAL-CHQ"==this.pd_cus_segment?"No":""],confirm_salary_amount:[""],attendance_seen:["SAL-CHQ"==this.pd_cus_segment?"No":""],sal_reg_seen:["SAL-CHQ"==this.pd_cus_segment?"No":""],from_date_the_salary_is_rcv:[""],to_date_the_salary_is_rcv:[""],gross_monthly_salary:[""],net_monthly_salary:[""],amount_paid_in_cash:[""],amount_paid_through_bank:[""],check_validated:[""],how_was_it_validated:[""],why_was_it_not_validated:[""],bonus_incentive:[""],bonus_frequency:[""],bonus_type:[""],bonus_type_other:[""],any_delays:[""],employment_remarks:[""]}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionEmpInfoPage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.employmentForm.dirty),this.employmentForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getDropDownList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequency_data=n.records,l.frequency_data=l.frequency_data.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.company_relationship_list=n.records.filter(function(l){return 1==l.isactive}),l.company_relationship_list=n.records.filter(function(l){return"Others"!=l.name}),l.company_relationship_list.push({company_relationship_id:0,name:"Not Applicable"}))})},l.prototype.getCompanyFromGeneralDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:"18"}).subscribe(function(n){1==n.dataStatus&&(l.company_list=n.records.companies.filter(function(l){return 1==l.is_active}),l.person_met_list=n.records.individuals.filter(function(l){return 1==l.is_person_met&&1==l.is_active}),l.company_related_applicants_list=n.records.company_with_relationships)})},l.prototype.ValidateNetSalary=function(){var l=this.employmentForm.controls.net_monthly_salary.value;if(console.log("this.employmentForm.controls[amount_paid_in_cash].value",this.employmentForm.controls.amount_paid_in_cash.value),""==l)return this.toast.pdTriggerappmessage("Net Monthly Salary Is Empty.!"),this.employmentForm.controls.amount_paid_in_cash.setValue(""),this.employmentForm.controls.amount_paid_in_cash.updateValueAndValidity(),this.employmentForm.controls.amount_paid_through_bank.setValue(""),void this.employmentForm.controls.amount_paid_through_bank.updateValueAndValidity();var n=this.employmentForm.controls.amount_paid_in_cash.value;this.employmentForm.controls.amount_paid_in_cash.setValidators([xS.y.max(l)]),this.employmentForm.controls.amount_paid_in_cash.updateValueAndValidity();var e=l-n;if(""!=this.employmentForm.controls.amount_paid_in_cash.value){var u=l-this.employmentForm.controls.amount_paid_in_cash.value;console.log("bal",u),this.employmentForm.controls.amount_paid_through_bank.setValue(u),this.inWords(u,5)}e>=0?this.employmentForm.controls.amount_paid_through_bank.setValidators([xS.y.max(l-n)]):(this.employmentForm.controls.amount_paid_through_bank.setValue("0"),this.employmentForm.controls.amount_paid_through_bank.setValidators([xS.y.max(0)])),this.employmentForm.controls.amount_paid_through_bank.updateValueAndValidity()},l.prototype.saveEmpInfo=function(){var l=this;if(this.employmentForm.controls.how_long_year.hasError("max")||this.employmentForm.controls.how_long_month.hasError("max"))return this.toast.pdTriggerappmessage("Higher than business Vintage"),void this.inputYearFocus.nativeElement.focus();if(this.employmentForm.controls.total_business_experience.hasError("min"))return this.toast.pdTriggerappmessage("Total working Experience is Lower"),void this.expFocus.nativeElement.focus();if(this.employmentForm.controls.amount_paid_in_cash.hasError("max")||this.employmentForm.controls.amount_paid_through_bank.hasError("max"))return this.toast.pdTriggerappmessage("Given Value is Maximum of Net Salary"),void this.inputCashPaidFocus.nativeElement.focus();if(this.employmentForm.valid){var n={};n.parent_pdid=this.pdDetails.parent_pd_id,n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.fk_createdby=this.users,n.employer_name=this.employmentForm.controls.employer_name.value,n.employer_in_brief=this.employmentForm.controls.employer_in_brief.value,n.how_long_year=this.employmentForm.controls.how_long_year.value,n.how_long_month=this.employmentForm.controls.how_long_month.value,n.total_business_experience=this.employmentForm.controls.total_business_experience.value,n.total_business_previous_experience=this.employmentForm.controls.total_business_previous_experience.value,n.was_met=this.employmentForm.controls.was_met.value,"yes"==this.employmentForm.controls.was_met.value?(n.name_person_met=this.employmentForm.controls.name_person_met.value,n.designation_person_met=this.employmentForm.controls.designation_person_met.value):(n.name_person_met="",n.designation_person_met=""),n.confirm_salary=this.employmentForm.controls.confirm_salary.value,n.confirm_salary_amount="yes"==this.employmentForm.controls.confirm_salary.value?this.employmentForm.controls.confirm_salary_amount.value:"",n.attendance_seen=this.employmentForm.controls.attendance_seen.value,n.sal_reg_seen=this.employmentForm.controls.sal_reg_seen.value,n.from_date_the_salary_is_rcv=this.employmentForm.controls.from_date_the_salary_is_rcv.value,n.to_date_the_salary_is_rcv=this.employmentForm.controls.to_date_the_salary_is_rcv.value,n.gross_monthly_salary=this.employmentForm.controls.gross_monthly_salary.value,n.net_monthly_salary=this.employmentForm.controls.net_monthly_salary.value,n.amount_paid_in_cash=this.employmentForm.controls.amount_paid_in_cash.value,n.amount_paid_through_bank=this.employmentForm.controls.amount_paid_through_bank.value,n.check_validated=this.employmentForm.controls.check_validated.value,n.how_was_it_validated="validated"==this.employmentForm.controls.check_validated.value?this.employmentForm.controls.how_was_it_validated.value:"",n.why_was_it_not_validated="validated"!=this.employmentForm.controls.check_validated.value?this.employmentForm.controls.why_was_it_not_validated.value:"",n.any_delays=this.employmentForm.controls.any_delays.value,n.bonus_incentive=this.employmentForm.controls.bonus_incentive.value,n.bonus_frequency=this.employmentForm.controls.bonus_frequency.value,n.bonus_type=this.employmentForm.controls.bonus_type.value,n.bonus_type_other=this.employmentForm.controls.bonus_type_other.value,n.employment_remarks=this.employmentForm.controls.employment_remarks.value,this.qustCat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l.employmentForm.reset(l.employmentForm.value),l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})}else this.toast.pdTriggerappmessage("Form Invalid Try Again.!")},l.prototype.filtercompanyrelationship=function(l,n){var e=l.split("-"),u=this.company_related_applicants_list.filter(function(l){return l.relation_to_company==e[0]&&l.applicant_name==n});u.length>0?(this.filtered_company_relationship_list=this.company_relationship_list.filter(function(l){return l.company_relationship_id==u[0].company_relationship}),this.employmentForm.controls.designation_person_met.setValue(this.filtered_company_relationship_list[0].name+" "+e[1])):this.employmentForm.controls.designation_person_met.setValue("")},l.prototype.formDate=function(l){this.employmentForm.controls.to_date_the_salary_is_rcv.setValue(""),this.todate=[{date:1,isdisabled:!1},{date:2,isdisabled:!1},{date:3,isdisabled:!1},{date:4,isdisabled:!1},{date:5,isdisabled:!1},{date:6,isdisabled:!1},{date:7,isdisabled:!1},{date:8,isdisabled:!1},{date:9,isdisabled:!1},{date:10,isdisabled:!1},{date:11,isdisabled:!1},{date:12,isdisabled:!1},{date:13,isdisabled:!1},{date:14,isdisabled:!1},{date:15,isdisabled:!1},{date:16,isdisabled:!1},{date:17,isdisabled:!1},{date:18,isdisabled:!1},{date:19,isdisabled:!1},{date:20,isdisabled:!1},{date:21,isdisabled:!1},{date:22,isdisabled:!1},{date:23,isdisabled:!1},{date:24,isdisabled:!1},{date:25,isdisabled:!1},{date:26,isdisabled:!1},{date:27,isdisabled:!1},{date:28,isdisabled:!1},{date:29,isdisabled:!1},{date:30,isdisabled:!1},{date:31,isdisabled:!1}];var n;if(0!=l&&""!=l)for(n=0;n<=l-1;n++)this.todate[n].isdisabled=!0,31==l&&(this.todate[30].isdisabled=!1)},l.prototype.checkWithExistYear=function(l){var n=this.company_list.filter(function(n){return n.company_name==l.split("-")[1]})[0];console.log("this.generalExistBusinessMonth",this.generalExistBusinessMonth),console.log("this.generalExistBusinessYear",this.generalExistBusinessYear),null!=n.business_month&&""!=n.business_month&&void 0!=n.business_month&&(this.generalExistBusinessMonth=n.business_month),n.business_years&&(this.generalExistBusinessYear=n.business_years),this.employmentForm.controls.how_long_year.setValidators([xS.y.max(this.generalExistBusinessYear)]),this.employmentForm.controls.how_long_year.updateValueAndValidity()},l.prototype.ConvertMonthintoYear=function(l){var n=this.employmentForm.controls.how_long_year.value,e=l%12,u=l/12;n>this.generalExistBusinessYear?(this.employmentForm.controls.how_long_year.setValidators([xS.y.max(this.generalExistBusinessYear)]),this.employmentForm.controls.how_long_year.updateValueAndValidity(),this.employmentForm.controls.how_long_year.setValue(""),this.employmentForm.controls.how_long_month.setValue("")):n==this.generalExistBusinessYear&&+e>this.generalExistBusinessMonth?(this.employmentForm.controls.how_long_year.setValidators([xS.y.max(this.generalExistBusinessYear)]),this.employmentForm.controls.how_long_year.updateValueAndValidity(),this.employmentForm.controls.how_long_month.setValidators([xS.y.max(this.generalExistBusinessMonth)]),this.employmentForm.controls.how_long_month.updateValueAndValidity()):(this.employmentForm.controls.how_long_year.setValue(+n+ +Math.floor(u)),this.employmentForm.controls.how_long_month.setValue(Math.floor(e)))},l.prototype.checkWorkingExperiences=function(){this.employmentForm.controls.total_business_experience.setValidators([xS.y.min(+this.employmentForm.controls.how_long_year.value)]),this.employmentForm.controls.total_business_experience.updateValueAndValidity(),this.employmentForm.controls.total_business_experience.valid||this.expFocus.nativeElement.focus(),this.workExperienceFlag=+this.employmentForm.controls.total_business_experience.value>+this.employmentForm.controls.how_long_year.value,this.workExperienceFlag||(this.employmentForm.controls.total_business_previous_experience.setValue(""),this.employmentForm.controls.total_business_previous_experience.updateValueAndValidity())},l.prototype.inWords=function(l,n){switch(n){case 1:this.mthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 2:this.grossMthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 3:this.netMthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 4:this.bonusIncentiveAmtInWords=this.constant.convertNumberToWords(l);break;case 5:this.bankAmtInWords=this.constant.convertNumberToWords(l);break;case 6:this.cashAmtInWords=this.constant.convertNumberToWords(l)}},l.prototype.getEmploymentDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;console.log("emp",e),l.employmentForm.controls.employer_name.setValue(e.employer_name),l.employmentForm.controls.employer_in_brief.setValue(e.employer_in_brief),l.employmentForm.controls.how_long_year.setValue(e.how_long_year),l.employmentForm.controls.how_long_month.setValue(e.how_long_month),l.employmentForm.controls.was_met.setValue(e.was_met),l.employmentForm.controls.total_business_experience.setValue(e.total_business_experience),l.employmentForm.controls.total_business_previous_experience.setValue(e.total_business_previous_experience),e.name_person_met&&l.employmentForm.controls.name_person_met.setValue(e.name_person_met),e.designation_person_met&&l.employmentForm.controls.designation_person_met.setValue(e.designation_person_met),l.employmentForm.controls.confirm_salary.setValue(e.confirm_salary),console.log("Emp.confirm_salary_amount",e.confirm_salary_amount,e.confirm_salary),e.confirm_salary&&(l.employmentForm.controls.confirm_salary_amount.setValue(e.confirm_salary_amount),l.inWords(e.confirm_salary_amount,1)),l.employmentForm.controls.attendance_seen.setValue(e.attendance_seen),l.employmentForm.controls.sal_reg_seen.setValue(e.sal_reg_seen),l.employmentForm.controls.from_date_the_salary_is_rcv.setValue(e.from_date_the_salary_is_rcv),l.employmentForm.controls.to_date_the_salary_is_rcv.setValue(e.to_date_the_salary_is_rcv),l.employmentForm.controls.gross_monthly_salary.setValue(e.gross_monthly_salary),l.employmentForm.controls.net_monthly_salary.setValue(e.net_monthly_salary),l.employmentForm.controls.amount_paid_in_cash.setValue(e.amount_paid_in_cash),l.employmentForm.controls.amount_paid_through_bank.setValue(e.amount_paid_through_bank),l.employmentForm.controls.check_validated.setValue(e.check_validated),l.employmentForm.controls.how_was_it_validated.setValue(e.how_was_it_validated),l.employmentForm.controls.why_was_it_not_validated.setValue(e.why_was_it_not_validated),l.employmentForm.controls.bonus_incentive.setValue(e.bonus_incentive),l.employmentForm.controls.bonus_frequency.setValue(e.bonus_frequency),l.employmentForm.controls.bonus_type.setValue(e.bonus_type),l.employmentForm.controls.bonus_type_other.setValue(e.bonus_type_other),l.employmentForm.controls.any_delays.setValue(e.any_delays),l.employmentForm.controls.employment_remarks.setValue(e.employment_remarks),l.inWords(e.gross_monthly_salary,2),l.inWords(e.net_monthly_salary,3),l.inWords(e.bonus_incentive,4),l.inWords(e.amount_paid_in_cash,6),l.inWords(e.amount_paid_through_bank,5),""!=e.total_business_experience&&l.checkWorkingExperiences()}})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},eI([Object(uS.Z)("workExp"),uI("design:type",uS.p)],l.prototype,"expFocus",void 0),eI([Object(uS.Z)("cashPaidFocus"),uI("design:type",uS.p)],l.prototype,"inputCashPaidFocus",void 0),eI([Object(uS.Z)("yearFocus"),uI("design:type",uS.p)],l.prototype,"inputYearFocus",void 0),l=eI([Object(uS.k)({selector:"page-pd-question-emp-info",templateUrl:"pd-question-emp-info.html"}),uI("design:paramtypes",[tS.r,tS.s,xS.g,LS,wS,$S,gS,WS,YS])],l)}(),aI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},iI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},oI=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.toast=t,this.aws=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.placeholderName=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.amtInwords=[],this.emiAmtInwords=[],this.dataFromAssets=[],this.labelArr=[],this.investmentTypeData=[],this.tentureErrorFlag=!1,this._onDestroy=new dS.Subject,this.imageBucket=[],this.tab="0",this.imageDisplay=[],this.complete_status=!1,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.filter(function(l){return 0!=l.pd_co_applicant_id}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.getdropdown(),this.users=this.aws.getlocale(),this.currentLoans=this.fb.group({existing_loan:[null],currentloan_remarks:[null],loan_details:this.fb.array([])}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionCurrentLoansPage"),console.log("{{FormId.form_name}}",this.FormId.form_name,this.FormId),this.getcurrentLoans(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.currentLoans.dirty),this.currentLoans.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},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}),l.lenderDataValue=l.lenderData.slice()}),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){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===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 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})),this.qustCat.getcommondrop("INVESTMENTTYPE").subscribe(function(n){l.investmentTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("ADDRESSTYPE").subscribe(function(n){l.addressTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PROPERTIES").subscribe(function(n){l.propertyTypeData=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.exitsCheck=function(l){"Yes"==l&&this.addLoanDetails()},l.prototype.createLoanDetail=function(l){return this.fb.group({label:null==l?[""]:[l.label],loan_amount:null==l?[""]:[l.loan_amount],frequency:null==l?[""]:[l.frequency],other_frequency:null==l?[""]:[l.other_frequency],emi:null==l?[""]:[l.emi],loan_type:null==l?[""]:[l.loan_type],others_loan_type:null==l?[""]:[l.others_loan_type],loan_taken_by:null==l?[""]:[l.loan_taken_by],others_loan_taken:null==l?[""]:[l.others_loan_taken],lender:null==l?[""]:[l.lender],bankSearch:[""],others_lender:null==l?[""]:[l.others_lender],original_tenure:null==l?[""]:[l.original_tenure],current_balance_tenure:null==l?[""]:[l.current_balance_tenure],elapsed_tenure:null==l?[""]:[l.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([xS.y.required,xS.y.max(+l.value.original_tenure)]),l.controls.current_balance_tenure.updateValueAndValidity()},l.prototype.calculateTenure=function(l,n){switch(n){case 1:console.log(l),null!=l.value.original_tenure&&""!=l.value.original_tenure&&null!=l.value.current_balance_tenure&&""!=l.value.current_balance_tenure?(console.log("not null"),0==l.value.current_balance_tenure&&l.controls.elapsed_tenure.setValue(l.value.original_tenure),l.value.current_balance_tenure<=l.value.original_tenure?(console.log("validate"),this.tentureErrorFlag=!1,l.controls.elapsed_tenure.setValue(l.value.original_tenure-l.value.current_balance_tenure)):(this.tentureErrorFlag=!0,this.TenureFocus.nativeElement.focus())):this.tentureErrorFlag=!1;break;case 2:var e=void 0;console.log("case 2",l),null!=l.value.original_tenure&&""!=l.value.original_tenure&&null!=l.value.elapsed_tenure&&""!=l.value.elapsed_tenure?(0==l.value.elapsed_tenure&&l.controls.current_balance_tenure.setValue(l.value.original_tenure),l.value.elapsed_tenure<=l.value.original_tenure?(this.tentureErrorFlag=!1,e=l.value.original_tenure-l.value.elapsed_tenure,console.log("ba",e),l.controls.current_balance_tenure.setValue(e)):this.tentureErrorFlag=!0):this.tentureErrorFlag=!1}},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),console.log("true",this.tentureErrorFlag);if(1==this.tentureErrorFlag)return this.toast.pdTriggerappmessage("Original Tenture is Lower"),void this.TenureFocus.nativeElement.focus();var e={};e.parent_pdid=this.pdDetails.parent_pd_id,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,e.loan_details.forEach(function(l){delete l.bankSearch}),console.log(" final records when save",e),this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.currentLoans.reset(n.currentLoans.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.getcurrentLoans=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,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(void 0!==n.records.loan_details&&null!=n.records.loan_details&&""!=n.records.loan_details){u.loan_details.forEach(function(l){l.bankSearch=""});var t=Object.keys(n.records.loan_details).map(function(l){return n.records.loan_details[l]});console.log("resutl",t),l.currentLoans.controls.existing_loan.setValue(u.existing_loan),l.currentLoans.controls.currentloan_remarks.setValue(u.currentloan_remarks);var a=l.currentLoans.controls.loan_details;"No"!=u.existing_loan&&(0==t.length?a.push(l.createLoanDetail(null)):(t.forEach(function(n,e){a.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.patchValue(t)))}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_address_asset.length>0&&u.business_address_asset.map(function(n){l.dataFromAssets.push({mode:0,mode_name:n.address_label,details:[],owner_name:n.business_name_of_the_owner,other_owner:n.business_name_of_the_other_owner,form_type:"Data From Bussiness Address"})}),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,other_owner:n.business_name_of_the_other_owner,form_type:"Data From Business Assets"})}),u.other_assests.length>0&&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,other_owner:n.other_owner,form_type:"Data From Other Asset"})}),l.dataFromAssets.length>0){var t=[];l.dataFromAssets.forEach(function(n,e){if(0==n.mode){var u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")});t[e]=" : "+u+" - "+n.mode_name}if(1==n.mode){var a;u="Owner Not Mentioned";n.details.forEach(function(l,n){a=l.any_other_assets}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=a?"( "+a+" )":"")}if(2==n.mode){var i,o="Owner Not Mentioned";n.details.forEach(function(e,u){i=e.property_type_name,i=1!=e.property_type?"Data From Business Assets"==n.form_type?l.addressTypeData.filter(function(l){return l.address_type_id==e.property_type})[0].address_type:"Data From Other Asset"==n.form_type?l.propertyTypeData.filter(function(l){return l.id==e.property_type})[0].name:"":e.other_property_type,n.owner_name.length>0&&(o=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}))});t[e]=" : "+o+" - "+n.mode_name+(""!=i?"( "+i+" )":"")}if(3==n.mode){var r;u="Owner Not Mentioned";n.details.forEach(function(l,n){r=l.manufacturer_model_vehicle}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=r?"( "+r+" )":"")}if(4==n.mode){var _;u="Owner Not Mentioned";n.details.forEach(function(l,n){_=l.equipment_manufacturing_description}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=_?"( "+_+" )":"")}if(6==n.mode){u="Owner Not Mentioned";n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")})),t[e]=" : "+u+" - "+n.mode_name}if(7==n.mode){var d;u="Owner Not Mentioned";n.details.forEach(function(n,e){d=1!=n.investments_type?l.investmentTypeData.filter(function(l){return l.id==n.investments_type})[0].name:n.other_investments_type}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=d?"( "+d+" )":"")}});var a=l.currentLoans.controls.loan_details;l.labelArr=t;l.labelArr.length>0&&(l.currentLoans.controls.existing_loan.setValue("Yes"),l.labelArr.forEach(function(n,e){a.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.prototype.searchFun=function(l){var n=this;console.log(l);l.controls.bankSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){n.lenderDataValue=n.constant.searchData(n.lenderData,l.controls.bankSearch.value,"bank")})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){console.log("res",n),1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):(console.log("Fail"),l.toast.pdTriggerappmessage("Fail"))},function(n){console.log(JSON.stringify(n)),l.toast.pdTriggerappmessage(JSON.stringify(n))})},aI([Object(uS.Z)("balanceTenure"),iI("design:type",uS.p)],l.prototype,"TenureFocus",void 0),l=aI([Object(uS.k)({selector:"page-pd-question-current-loans",templateUrl:"pd-question-current-loans.html"}),iI("design:paramtypes",[tS.r,tS.s,xS.g,LS,$S,wS,gS,WS,YS])],l)}(),rI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},_I=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},dI=function(){function l(l,n,e,u,t,a,i,o,r,_){var d=this;this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.storagedb=_,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._onDestroy=new dS.Subject,this.filteredBanks=new dS.ReplaySubject(1),this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),console.log("pd",this.pdDetails),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type&&3!=l.applicant_type}),this.productAbbr=this.pdDetails.product_abbr,this.subProductName=this.pdDetails.subproduct_name,this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.getDropdown(),this.loanDetailsForm=this.fb.group({loan_amount:[""],loan_tenure:[""],sub_product:[""],end_use:["",xS.y.compose([xS.y.required])],end_use_other:[""],is_transfer:["",xS.y.compose([xS.y.required])],balance_transfer_amount:[""],topup_amount:[""],end_use_topup:[""],other_end_use_topup:[""],lender:[""],filterCtrl:[""],other_bt_lender:[""],own_contribution:["",xS.y.compose([xS.y.required])],source:[""],other_source:[""],emi_level:["",xS.y.compose([xS.y.required])],property_type:["",xS.y.compose([xS.y.required])],property_type_others:[""],owner_name:["",xS.y.compose([xS.y.required])],construction_status:["",xS.y.compose([xS.y.required])],emv_per_customer:["",xS.y.compose([xS.y.required])],loandetails_remarks:["",xS.y.compose([xS.y.required])]}),console.log(this.pdDetails),null!=this.pdDetails.loan_amount&&(this.loanDetailsForm.controls.loan_amount.setValue(this.pdDetails.loan_amount),this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount)),null!=this.pdDetails.fk_subproduct_id&&""!=this.pdDetails.fk_subproduct_id&&(this.loanDetailsForm.controls.sub_product.setValue(this.pdDetails.fk_subproduct_id),this.onChangeSubProduct(this.pdDetails.fk_subproduct_id)),this.mortagetypeAccess="BL"!=this.pdDetails.product_abbr||"PL"!=this.pdDetails.product_abbr||"LL"!=this.pdDetails.product_abbr,"PL"!=this.productAbbr&&"BL"!=this.productAbbr&&"LAP"!=this.productAbbr||(this.isContribution=!0),this.loanDetailsForm.controls.filterCtrl.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){d.filterBank()}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionLoansPage"),this.getLoanDetails(),this.getPDImages()},l.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.loanDetailsForm.dirty),this.loanDetailsForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.filterBank=function(){if(this.dbmasters){var l=this.loanDetailsForm.controls.filterCtrl.value;if(!l)return this.dbmasters=this.m_btLenderList,void this.filteredBanks.next(this.dbmasters.slice());l=l.toLowerCase(),this.dbmasters=this.m_btLenderList,this.filteredBanks.next(this.dbmasters.filter(function(n){return n.lender_name.toLowerCase().indexOf(l)>-1}))}},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}),l.dbmasters=l.m_btLenderList,l.dbmasters=l.dbmasters.sort(function(l,n){return l.lender_name>n.lender_name?1:l.lender_name0&&(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})})},l.prototype.selectedBalancesTransferChanges=function(l){"no"==l.value?(this.loanDetailsForm.controls.source.setValidators([xS.y.required]),this.loanDetailsForm.controls.source.updateValueAndValidity(),this.loanDetailsForm.controls.own_contribution.setValidators([xS.y.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=""):"yes"==l.value&&(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=!1,this.loanDetailsForm.controls.other_source.setValue(""))},l.prototype.mortage_type=function(l){console.log("mortage_value",l),console.log("this.m_mortageTypeProperty",this.m_mortageTypeProperty);var n=this.m_mortageTypeProperty.filter(function(n){return n.mortage_property_id==l})[0].property_name.replace(/\s/g,"").toLowerCase();this.mortageAccess="others(pleasespecify)"==n||"others"==n},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&&(e>=n?(this.loanDetailsForm.controls.topup_amount.setValue(l=e-n),this.topUpAmtInWords=this.constant.convertNumberToWords(l)):(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=""))},l.prototype.onChangeSubProduct=function(l){var n=this;this.qustCat.getEndUseForLoan(this.pdid,l).subscribe(function(l){n.m_endUseForLoan=l.records.filter(function(l){return 1==l.isactive})})},l.prototype.endUserChange=function(l){var n=this;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}),n.isOtherPurpose="others"==e})},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.parent_pdid=this.pdDetails.parent_pd_id,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,n.loan_tenure=this.loanDetailsForm.controls.loan_tenure.value,n.sub_product=this.loanDetailsForm.controls.sub_product.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 t=[];this.loanDetailsForm.controls.owner_name.value.forEach(function(l){t.push({owner_name:l})}),n.owner_name_group=t}else 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,this.qustCat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l.loanDetailsForm.reset(l.loanDetailsForm.value),l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Error")})},l.prototype.getLoanDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(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(l.loanDetailsForm.controls.loan_amount.setValue(e.loan_amount),l.loanDetailsForm.controls.loan_tenure.setValue(e.loan_tenure),e.loan_amount&&(l.loanAmtInWords=l.constant.convertNumberToWords(e.loan_amount)),l.loanDetailsForm.controls.sub_product.setValue(e.sub_product),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),1==l.isContribution&&"yes"!=e.is_transfer)l.loanDetailsForm.controls.own_contribution.setValue(""),l.loanDetailsForm.controls.other_source.setValue(""),l.loanDetailsForm.controls.source.setValue("");else if(0==l.isContribution&&"yes"!=e.is_transfer){var t=[];Object.keys(e.source_group).map(function(l){return e.source_group[l]}).forEach(function(l){t.push(l.sources)}),l.loanDetailsForm.controls.own_contribution.setValue(e.own_contribution),e.own_contribution&&(l.ownContributionInWords=l.constant.convertNumberToWords(e.own_contribution)),l.loanDetailsForm.controls.source.setValue(t),l.sourceChange(t),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&&""!=e.property_type&&(l.mortage_type(l.propertyType),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([xS.y.required]),this.loanDetailsForm.controls.owner_name.updateValueAndValidity())},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.localInsert=function(l){var n=this,e=this.loanDetailsForm.value;e.pd_id=this.pdDetails.pd_id,e.form_id=this.FormId.form_id,e.active=l,this.storagedb.insertData(e).then(function(l){n.toast.setAlert("data",JSON.stringify(l)).present(),console.log(l)})},l=rI([Object(uS.k)({selector:"page-pd-question-loans",templateUrl:"pd-question-loans.html"}),_I("design:paramtypes",[tS.r,tS.s,xS.g,LS,wS,$S,gS,WS,YS,ZS])],l)}(),sI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},cI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},mI=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.cameraProvider=o,this.loading=r,this.existCompanyList=[],this.mergeCompanyApplicant=[],this.limitCaseFlag=[],this.amtInwords=[],this._onDestroy=new dS.Subject,this.m_btLenderListValue=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,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"}),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(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBankingPage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.bankDetails.dirty),this.bankDetails.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Form is Modified","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.checkImage=function(){var l;if(this.imageDisplay.length>0){var n=this.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");n.present(),n.onDidDismiss(function(n){console.log("d",n),l=0!=n})}return l},l.prototype.searchFun=function(l){var n=this;l.controls.filterCtrl.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){n.filterBank(l)})},l.prototype.filterBank=function(l){if(this.m_btLenderListValue){var n=l.controls.filterCtrl.value;n?(n=n.toLowerCase(),this.m_btLenderListValue=this.m_btLenderList.filter(function(l){return l.lender_name.toLowerCase().indexOf(n)>-1})):this.m_btLenderListValue=this.m_btLenderList.slice()}},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&&1==l.lender_type}),l.m_btLenderListValue=l.m_btLenderList.slice())}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}))});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}))},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:[""],filterCtrl:[""],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;l.bankitems.forEach(function(l){delete l.filterCtrl});var e={};e.parent_pdid=this.pdDetails.parent_pd_id,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,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.bankDetails.reset(n.bankDetails.value),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.retiveBankDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,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?l.bankitems.push(l.createBankItem("")):(e.forEach(function(n,e){n.filterCtrl="",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 l.addBankDetails()})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=sI([Object(uS.k)({selector:"page-pd-question-banking",templateUrl:"pd-question-banking.html"}),cI("design:paramtypes",[tS.r,tS.s,xS.g,wS,LS,$S,gS,WS,YS])],l)}(),pI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},fI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},hI=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.cons=i,this.cameraProvider=o,this.loading=r,this.earningStatus=[{type:"Earning",id:1},{type:"Non Earning",id:2}],this.cityData=[],this.pincodeData=[],this.FamilyMemberAsLabel=[],this.selectPerson=[],this.apiFamilyMembers=[],this.RentAmount=[],this.IncomePerMonth=[],this.cityDataValue=[],this.stateDataValue=[],this._onDestroy=new dS.Subject,this.pincodeDataValue=[],this.relationDataValue=[],this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.titleList=[],this.complete_status=!1,this.prevFamilyMembersCtrlLength=0,this.currFamilyMembersCtrlLength=0,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(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFamilyPage"),this.getFamilyData(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.familyForm.dirty),this.familyForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.initFamilyDetails=function(l){var n=this;if(null===l){var e=this.fb.group({selected_person:["",xS.y.compose([xS.y.required])],residence_place:[""],residence_city:[""],citySearch:[""],residence_state:[""],stateSearch:[""],pinSearch:[""],residence_pin:[""],residence_other_pincode:[""],residence_No_of_years:[""],residence_ownership:[""],ownershipOther:[""],rent:[""],total_number_of_family_members:["",xS.y.compose([xS.y.min(1),xS.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.inWords(l.rent,e,2),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,xS.y.compose([xS.y.required])],residence_place:[l.residence_place],residence_city:[l.residence_city],citySearch:[""],residence_state:[l.residence_state],stateSearch:[""],pinSearch:[""],residence_pin:[l.residence_pin],residence_other_pincode:[l.residence_other_pincode],residence_No_of_years:[l.residence_No_of_years],residence_ownership:[l.residence_ownership],rent:[l.rent||null],ownershipOther:[l.ownershipOther||null],total_number_of_family_members:[l.total_number_of_family_members,xS.y.compose([xS.y.min(1),xS.y.max(20)])],family_members_details:n.fb.array([])}),t=n.familyForm.controls.family_details;t.push(u);n.initFamilyMembersDetails(t.length-1,l.family_members_details)})},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.inWords(l.earning_gross_income_per_month,n,1);var t=e.fb.group({family_member_salutation:[l.family_member_salutation||null],family_member_name:[l.family_member_name||null],family_member_relationship:[l.family_member_relationship||null],relationSearch:[""],family_member_age:[l.family_member_age||null],family_member_earning_status:[l.family_member_earning_status||null],earning_segment:[l.earning_segment||null],earning_if_others_segment:[l.earning_if_others_segment||null],earning_gross_income_per_month:[l.earning_gross_income_per_month||null],earning_name_of_the_employer_or_business:[l.earning_name_of_the_employer_or_business||null],earning_number_of_years_in_employment_or_business:[l.earning_number_of_years_in_employment_or_business||null],non_earning_occupation:[l.non_earning_occupation||null],non_earning_if_others:[l.non_earning_if_others||null],non_earning_if_schoolorcollege:[l.non_earning_if_schoolorcollege||null],non_earning_if_retired_from:[l.non_earning_if_retired_from||null]});u.push(t)})},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;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;if(e>=(a=this.familyForm.controls.family_details.controls[l].controls.family_members_details).length)for(var u=e-a.length,t=0;t=e;t--)a.removeAt(t)}else{var a;(a=this.familyForm.controls.family_details.controls[l].controls.family_members_details).removeAt(a.length),a.controls=[]}},l.prototype.generateFamilyMembersDetailsGet=function(){return this.fb.group({family_member_salutation:[""],family_member_name:[""],family_member_relationship:[""],relationSearch:[""],family_member_age:[""],family_member_earning_status:[""],earning_segment:[""],earning_if_others_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_schoolorcollege:[""],non_earning_if_retired_from:[""]})},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}),l.relationDataValue=l.relationData.slice())}),this.qustCat.getcommondrop("PERSONSMET").subscribe(function(n){1==n.dataStatus&&(l.filteredStates=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("EARNINGMEMBERSSTATUS").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.stateDataValue=l.stateData.slice())}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){1==n.dataStatus&&(l.titleList=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.getCity=function(l,n){var e=this;this.qustCat.getStateWiseCities(l).subscribe(function(l){1==l.dataStatus&&(e.cityData[n]=l.records.cities,e.cityDataValue[n]=e.cityData[n].slice(),e.pincodeData[n]=l.records.pincode,e.pincodeDataValue[n]=e.pincodeData[n].slice())})},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.setValidation=function(l){console.log(l),1==l.controls.family_member_earning_status.value&&(l.controls.non_earning_occupation.clearValidators(),l.controls.non_earning_occupation.updateValueAndValidity()),2==l.controls.family_member_earning_status.value&&(l.controls.non_earning_occupation.setValidators(xS.y.compose([xS.y.required])),l.controls.non_earning_occupation.updateValueAndValidity())},l.prototype.savepdfamily=function(l){var n=this;if(this.familyForm.valid){var e={};e=this.familyForm.value,Object.keys(e).forEach(function(l){return null==e[l]&&delete e[l]}),e.parent_pdid=this.pdDetails.parent_pd_id,e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.family_details.forEach(function(l){console.log("par",l),delete l.stateSearch,delete l.citySearch,delete l.pinSearch,l.family_members_details.forEach(function(n){console.log("childval",l),delete n.relationSearch})}),this.qustCat.saveForm(e).subscribe(function(l){n.familyForm.reset(n.familyForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){n.navCtrl.pop()},2e3)},function(l){n.toast.pdTriggerappmessage("Some Fields value is Missing Please Fill It")})}else this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields")},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=this.familyForm.controls.family_details.controls[n].controls.family_members_details;this.currFamilyMembersCtrlLength=u.length;for(var t=0;t0){var a=this.apiFamilyMembers.filter(function(n){return n.relation_to==l});a.length>0?(this.prevFamilyMembersCtrlLength=a.length,console.log("familyMembersControlLength",this.prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength),a.forEach(function(l,n){u.push(e.initgenerateFamilyMembersDetailsGet({family_member_salutation:"",family_member_name:l.name,family_member_relationship:l.relationship,family_member_age:l.age,family_member_earning_status:"BusinessForm"==l.data_gets_from?"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:""}))})):(this.prevFamilyMembersCtrlLength=1,console.log("familyMembersControlLength",this.prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength),u.push(this.generateFamilyMembersDetailsGet()))}else u.push(this.generateFamilyMembersDetailsGet())},l.prototype.generateFamilyMembersDetailsGetData=function(l){var n=Object.keys(l).map(function(n){return l[n]});if(n.length>0)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)}else console.log("No data in General Form");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)}else console.log("No data in Business Form");l.apiFamilyMembers=[].concat.apply([],e)}});this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){console.log("Entering Retrieve"),200==n.status?n.records.family_details.length>0&&(n.records.family_details.forEach(function(l){l.stateSearch="",l.citySearch="",l.pinSearch="",l.family_members_details.forEach(function(l){delete l.relationSearch})}),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 Found"),l.initFamilyDetails(null))},function(l){console.log("Error",l)})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.IncomePerMonth[n]=this.cons.convertNumberToWords(l);break;case 2:this.RentAmount[n]=this.cons.convertNumberToWords(l)}},l.prototype.initSetValue=function(l){for(var n=0,e=l;n-1})):this.pincodeDataValue[n]=this.pincodeData[n].slice()}},l.prototype.SearchCity=function(l,n){if(console.log(this.cityData[n]),this.cityData[n]){var e=l;e?(e=e.toLowerCase(),this.cityDataValue[n]=this.cityData[n].filter(function(l){return l.city_name.toLowerCase().indexOf(e)>-1}),console.log("City Data value",this.cityDataValue[n])):this.cityDataValue[n]=this.cityData[n].slice()}},l.prototype.searchState=function(l){if(console.log("statedata"),this.stateData){var n=l;n?(n=n.toLowerCase(),this.stateDataValue=this.stateData.filter(function(l){return l.name.toLowerCase().indexOf(n)>-1})):this.stateDataValue=this.stateData.slice()}},l.prototype.searchRelation=function(l){var n=this;console.log("val",l),l.controls.relationSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){n.relationDataValue=n.cons.searchData(n.relationData,l.controls.relationSearch.value,"")})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=pI([Object(uS.k)({selector:"page-pd-question-family",templateUrl:"pd-question-family.html"}),fI("design:paramtypes",[tS.r,tS.s,xS.g,LS,wS,$S,gS,WS,YS])],l)}(),gI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},bI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},vI=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.constprovider=i,this.camera=o,this.alert=r,this.tab="0",this.m_any_asset_loan_type=[{value:"yes",viewValue:"Yes"},{value:"no",viewValue:"No"},{value:"nan",viewValue:"NA"}],this.m_vehicle_type=[],this.m_uom_type=[],this.FormList=!1,this.loadDetails=!0,this.PremiumPaidInwords=[],this.SumAssuredInwords=[],this.AmtInvestInwords=[],this.ApproxInwords=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.isOtherOwner=[],this.currentYear=(new Date).getFullYear(),this.imageBucket=[],this.imageDisplay=[],this.complete_status=!1,this.apiLoadFinish=!1,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(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,this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssestsPage"),console.log("Form",this.AssetsDetailsForm),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.AssetsDetailsForm.dirty),this.AssetsDetailsForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Form is Modified","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},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&&5!=l.id}))}),this.qustCat.getcommondrop("PROPERTIES").subscribe(function(n){1==n.dataStatus&&(l.m_propertyType=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("INVESTMENTTYPE").subscribe(function(n){1==n.dataStatus&&(l.m_investmentType=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("INSURANCETYPE").subscribe(function(n){1==n.dataStatus&&(l.m_insuranceType=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}))}),this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.m_relation=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("VEHICLETYPE").subscribe(function(n){1==n.dataStatus&&(l.m_vehicle_type=n.records.filter(function(l){return 1==l.is_active}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.m_uom_type=n.records.filter(function(l){return 1==l.isactive&&1==l.is_land_uom||2==l.is_land_uom}))}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===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}))})},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,xS.y.compose([xS.y.minLength(4),xS.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){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").push(this.loadEquipmentManufacturingDescription());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:[""],address_of_the_property:[""],describe_of_the_property_asset:[""],area_covered_by_this_property:[""],uom_of_the_property:[""],other_uom:[""]})},l.prototype.loadConsumerDurableDescription=function(){return this.fb.group({consumer_durable_description:[null]})},l.prototype.loadEquipmentManufacturingDescription=function(){return this.fb.group({equipment_manufacturing_description:[""]})},l.prototype.otherAssetsDescription=function(){return this.fb.group({any_other_assets:[""]})},l.prototype.loadInsuranceDescription=function(){return this.fb.group({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:[""],in_which_organisation:[""],amount_of_invest:[""],bank_name:[""]})},l.prototype.load_Four_Weeler=function(){return this.fb.group({manufacturer_model_vehicle:[""],vehicle_type:[""],other_vehicle_type:[""]})},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],address_of_the_property:[l.address_of_the_property],describe_of_the_property_asset:[l.describe_of_the_property_asset],area_covered_by_this_property:[l.area_covered_by_this_property],uom_of_the_property:[l.uom_of_the_property],other_uom:[l.other_uom]})},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]})},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],in_which_organisation:[l.in_which_organisation],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],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.load_Two_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle]})},l.prototype.initDetailsWithdata=function(l){return this.fb.group({assets_mode:[l.assets_mode],details:this.fb.array([]),approximate_market_value:[l.approximate_market_value],name_of_the_owner:[l.name_of_the_owner],other_owner:[l.other_owner||""],vintage_personal:[l.vintage_personal],purchase_year:[l.purchase_year,xS.y.compose([xS.y.minLength(4),xS.y.maxLength(4)])],emi:[l.emi||0]})},l.prototype.saveAssetDetails=function(l){var n=this;this.AssetsDetailsForm.dirty?(Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),l.parent_pdid=this.pdDetails.parent_pd_id,l.pdid=this.pdDetails.pd_id,l.formid=this.FormId.form_id,l.fk_createdby=this.users,this.qustCat.saveForm(l).subscribe(function(l){1==l.dataStatus&&(n.AssetsDetailsForm.reset(n.AssetsDetailsForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})):this.toast.pdTriggerappmessage("Modified "+this.AssetsDetailsForm.dirty)},l.prototype.getAssetDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,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]});l.AssetsDetailsForm.controls.assets_form_remark.setValue(n.records.assets_form_remark),e.length>0&&e.forEach(function(n,e){var u={assets_mode:n.assets_mode,approximate_market_value:n.approximate_market_value,name_of_the_owner:n.name_of_the_owner,other_owner:n.other_owner,purchase_year:n.purchase_year,vintage_personal:n.vintage_personal,emi:n.emi},t=1;n.name_of_the_owner.length>0&&n.name_of_the_owner.forEach(function(l){0==l.id&&2==l.group_id&&(t=l.id)}),l.isOtherOwner[e]=0==t;var a=l.AssetsDetailsForm.controls.assets_details;a.push(l.initDetailsWithdata(u)),l.inWords(+n.approximate_market_value,e,4),l.setAssetsDetailsWithData(u.assets_mode,n.details,a.length-1)}),l.apiLoadFinish=!0}else l.apiLoadFinish=!0,l.addAsset(1)})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.setAssetsDetailsWithData=function(l,n,e){var u=this,t=e,a=n;switch(this.AssetsDetailsForm.controls.assets_details.at(t).get("details").controls.splice(0),l){case"1":var i;a.forEach(function(l,n){i={any_other_assets:l.any_other_assets}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.otherAssetsDescriptionWithData(i));break;case"2":var o;a.forEach(function(l,n){o={property_type:l.property_type,other_property_type:l.other_property_type,address_of_the_property:l.address_of_the_property,describe_of_the_property_asset:l.describe_of_the_property_asset,uom_of_the_property:l.uom_of_the_property,area_covered_by_this_property:l.area_covered_by_this_property,other_uom:l.other_uom}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadPropertyWithData(o));break;case"3":var r;a.forEach(function(l,n){r={manufacturer_model_vehicle:l.manufacturer_model_vehicle,vehicle_type:l.vehicle_type,other_vehicle_type:l.other_vehicle_type}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.load_Four_WeelerWithData(r));break;case"4":var _;a.forEach(function(l,n){_={equipment_manufacturing_description:l.equipment_manufacturing_description}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadEquipmentManufacturingDescriptionWithData(_));break;case"5":this.FormList=!0;this.AssetsDetailsForm.controls.assets_details.at(t).get("details");break;case"6":var d;a.forEach(function(l,n){d={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},u.inWords(+l.premium_paid,n,1),u.inWords(+l.sum_assured,n,2)});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadInsuranceDescriptionWithData(d));break;case"7":var s;a.forEach(function(l,n){u.inWords(+l.amount_of_invest,n,3),s={investments_type:l.investments_type,other_investments_type:l.other_investments_type,in_which_organisation:l.in_which_organisation,amount_of_invest:l.amount_of_invest,bank_name:l.bank_name}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadInvestDescriptionWithData(s))}},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.PremiumPaidInwords[n]=this.constprovider.convertNumberToWords(l);break;case 2:this.SumAssuredInwords[n]=this.constprovider.convertNumberToWords(l);break;case 3:this.AmtInvestInwords[n]=this.constprovider.convertNumberToWords(l);break;case 4:this.ApproxInwords[n]=this.constprovider.convertNumberToWords(l)}},l.prototype.calculateVintagePurchase=function(l,n,e){if(1==e);else if(2==e);else if(3==e){(u=this.AssetsDetailsForm.controls.assets_details).controls[n].controls.purchase_year.setValue(""!=l?parseInt(this.currentYear)-parseInt(l):"")}else if(4==e){var u;(u=this.AssetsDetailsForm.controls.assets_details).controls[n].controls.purchase_year.setValue(""!=l&&l<=this.currentYear?l:""),u.controls[n].controls.vintage_personal.setValue(""!=l&&l<=this.currentYear?parseInt(this.currentYear)-parseInt(l):"")}},l.prototype.setRequiredValidation=function(l,n,e,u){var t=this.AssetsDetailsForm.controls.assets_details.controls[n];if(4==u){var a=1;l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(a=l.id)}),0==a?this.isOtherOwner[n]=!0:1==a&&(t.controls.other_owner.setValue(""),this.isOtherOwner[n]=!1)}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.savePhoto=function(){var l=this,n=this.imageBucket.length+1+(this.imageDisplay.length+1);console.log("num of images",n),n<=10?(this.camera.getPicture({quality:100,destinationType:this.camera.DestinationType.DATA_URL,targetWidth:500,targetHeight:600,correctOrientation:!0}).then(function(n){l.base64="data:image/png;base64,"+n,l.imageBucket.push({image:l.base64,Name:""}),l.getImageName(l.imageBucket.length-1)},function(l){}),this.tab="1"):this.toast.pdTriggerappmessage("You are reached the image Limit. To Capture new one Delete the Previous image")},l.prototype.getImageName=function(l){var n=this;console.log("index",l);var e=this.alert.create({title:"Document Name",message:"Please Enter the Document Name",cssClass:"prompt_alert",inputs:[{name:"Name",placeholder:"Document Name"}],buttons:[{text:"Submit",handler:function(e){console.log(e.Name),n.imageBucket[l].Name=e.Name}}]});e.present()},l.prototype.sendImage=function(){var l=this;console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},gI([Object(uS.Z)("focusName"),bI("design:type",Object)],l.prototype,"inputFocus",void 0),gI([Object(uS.Z)("picContent"),bI("design:type",tS.e)],l.prototype,"content",void 0),l=gI([Object(uS.k)({selector:"page-pd-question-assests",templateUrl:"pd-question-assests.html"}),bI("design:paramtypes",[tS.r,tS.s,xS.g,wS,LS,$S,gS,AS.a,tS.a])],l)}(),yI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},CI=function(){function l(){}return l.prototype.transform=function(l){if(!isNaN(l)&&l){var n=l.toString().split("."),e=n[0].substring(n[0].length-3),u=n[0].substring(0,n[0].length-3);""!=u&&(e=","+e);var t=u.replace(/\B(?=(\d{2})+(?!\d))/g,",")+e;return n.length>1&&(t+="."+n[1]),"₹"+t}},l=yI([Object(uS.M)({name:"rupeeCurrencyFormat"})],l)}(),wI=e(3),FI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},xI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},kI=function(){function l(l,n,e,u,t,a,i,o,r,_){var d=this;if(this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.constprovider=i,this.alertCtrl=o,this.loading=r,this.cameraProvider=_,this.pipe=new wI.e("en-US"),this.existCompanyList=[],this.mergeCompanyApplicant=[],this.personType=[{id:2,name:"Tenant / Lessee"},{id:3,name:"Owner of the Rented Property"},{id:4,name:"Property Caretaker"},{id:1,name:"Others (Please Specify)"}],this.relationShipList=[],this.relationToList=[],this.paymentOptions=[{id:1,name:"Received in Cash"},{id:2,name:"Received through Banking Channel"},{id:3,name:"Combination of Cash & Bank"}],this.paymentPaidOptions=[{id:1,name:"Paid in Cash"},{id:2,name:"Paid through Banking Channel"},{id:3,name:"Combination of Cash & Bank"}],this.propertyNature=[{id:2,name:"Residential Property"},{id:3,name:"Commercial Property"},{id:4,name:"Industrial Property"},{id:1,name:"Others (Please Specify)"}],this.unitTypeList=[],this.stateData=[],this.cityData=[],this.pincodeData=[],this.stateList=[],this.cityList=[],this.pincodeList=[],this.documentList=[{id:2,name:"Property Title Document"},{id:3,name:"Electricity Bill with name of owner mentioned therein"},{id:4,name:"Property tax Receipts"},{id:1,name:"Others (Please Specify)"}],this.unitMeasurementList=[],this.rent_per_unit_Inwords=[],this.amount_Inwords=[],this.floor_rent_amount_Inwords=[],this.monthly_rent_amount_Inwords=[],this.amount_received_cash_Inwords=[],this.amount_received_bank_Inwords=[],this.securtity_deposit_amount_Inwords=[],this.agreement_monthly_rent_amount_Inwords=[],this.agreement_security_deposit_amount_Inwords=[],this.paid_monthly_rent_per_met_Inwords=[],this.amount_received_cash_per_met_Inwords=[],this.amount_received_bank_per_met_Inwords=[],this._onDestroy=new dS.Subject,this.imageBucket=[],this.tab="0",this.imageDisplay=[],this.complete_status=!1,this.data=this.navParams.get("values"),console.log("values",this.data),this.pageTitle=1==this.data.manage_status?"Add RI Details":"Update RI Details",this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),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.getdropList(),this.rentalForms=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,address_property:["",xS.y.required],state:["",xS.y.required],stateSearch:[""],city:["",xS.y.required],citySearch:[""],pincode:["",xS.y.required],pincodeSearch:[""],validate_visited_address:[!0],person_met:["",xS.y.required],property_owner:["",xS.y.required],property_ownership_proof_documents:["",xS.y.required],nature_property:["",xS.y.required],unit_type:["",xS.y.required],no_units:[""],multistoried_building_details:this.fb.array([]),property_unit_details:this.fb.array([]),done_third_party_check:["",xS.y.required],rental_remark:[""]}),this.rentalForms.controls.person_met.valueChanges.subscribe(function(l){if(l&&l.length>0){var n=l.filter(function(l){return 0==l.id});n.length>0?d.rentalForms.addControl("other_person_met",new xS.h("",xS.y.required)):d.rentalForms.removeControl("other_person_met"),n.length>0?d.rentalForms.addControl("other_name_person_showing_property",new xS.h("",xS.y.required)):d.rentalForms.removeControl("other_name_person_showing_property"),!(n.length>0)&&d.rentalForms.removeControl("other_name_person_type")}else d.rentalForms.removeControl("other_person_met"),d.rentalForms.removeControl("other_name_person_showing_property"),d.rentalForms.removeControl("other_name_person_type")}),this.rentalForms.controls.property_owner.valueChanges.subscribe(function(l){if(l&&l.length>0){var n=l.filter(function(l){return 0==l.id});n.length>0?d.rentalForms.addControl("property_owner_other",new xS.h("",xS.y.required)):d.rentalForms.removeControl("property_owner_other"),n.length>0?d.rentalForms.addControl("property_owner_other_relationship",new xS.h("",xS.y.required)):d.rentalForms.removeControl("property_owner_other_relationship"),n.length>0?d.rentalForms.addControl("property_owner_other_relation_to",new xS.h("",xS.y.required)):d.rentalForms.removeControl("property_owner_other_relation_to")}else d.rentalForms.removeControl("property_owner_other"),d.rentalForms.removeControl("property_owner_other_relationship"),d.rentalForms.removeControl("other_name_person_type"),d.rentalForms.removeControl("property_owner_other_relation_to")}),this.rentalForms.controls.nature_property.valueChanges.subscribe(function(l){1==l.id?d.rentalForms.addControl("other_nature_property",new xS.h("",xS.y.required)):d.rentalForms.removeControl("other_nature_property")}),this.rentalForms.controls.unit_type.valueChanges.subscribe(function(l){1==l.id?d.rentalForms.addControl("other_unit_type",new xS.h("",xS.y.required)):d.rentalForms.removeControl("other_unit_type"),1==l.group_id&&6==l.id?d.rentalForms.removeControl("no_units"):2==l.group_id&&7==l.id?d.rentalForms.removeControl("no_units"):d.rentalForms.addControl("no_units",new xS.h("")),1==l.group_id&&6==l.id?d.rentalForms.addControl("no_floor",new xS.h("",xS.y.required)):2==l.group_id&&7==l.id?d.rentalForms.addControl("no_floor",new xS.h("",xS.y.required)):d.rentalForms.removeControl("no_floor"),1==l.group_id&&6==l.id?d.rentalForms.addControl("multistoried_total_area",new xS.h("",xS.y.required)):2==l.group_id&&7==l.id?d.rentalForms.addControl("multistoried_total_area",new xS.h("",xS.y.required)):d.rentalForms.removeControl("multistoried_total_area"),1==l.group_id&&6==l.id?d.rentalForms.addControl("multistoried_uom",new xS.h("",xS.y.required)):2==l.group_id&&7==l.id?d.rentalForms.addControl("multistoried_uom",new xS.h("",xS.y.required)):d.rentalForms.removeControl("multistoried_uom"),(1!=l.group_id||6!=l.id)&&((2!=l.group_id||7!=l.id)&&d.rentalForms.setControl("multistoried_building_details",d.fb.array([])))}),this.rentalForms.controls.validate_visited_address.valueChanges.subscribe(function(l){!1===l?d.rentalForms.addControl("other_visited_address",new xS.h("",xS.y.required)):d.rentalForms.removeControl("other_visited_address")}),this.rentalForms.controls.state.valueChanges.subscribe(function(l){d.qustCat.getStateWiseCities(l).subscribe(function(l){200==l.status&&(d.cityData=l.records.cities,d.cityList=d.cityData.slice(),d.pincodeData=l.records.pincode,d.pincodeList=d.pincodeData.slice())})}),this.rentalForms.controls.property_ownership_proof_documents.valueChanges.subscribe(function(l){"1"==l?d.rentalForms.addControl("sighted_documents",new xS.h("",xS.y.required)):d.rentalForms.removeControl("sighted_documents"),"1"!=l&&d.rentalForms.removeControl("other_sighted_documents")}),this.rentalForms.controls.done_third_party_check.valueChanges.subscribe(function(l){"1"==l?d.rentalForms.addControl("whom_third_party_check_done",new xS.h("",xS.y.required)):d.rentalForms.removeControl("whom_third_party_check_done"),"1"==l?d.rentalForms.addControl("description_third_party_check_done",new xS.h("",xS.y.required)):d.rentalForms.removeControl("description_third_party_check_done"),"1"==l?d.rentalForms.addControl("rental_rates_third_party_check_done",new xS.h("",xS.y.required)):d.rentalForms.removeControl("rental_rates_third_party_check_done"),"0"==l?d.rentalForms.addControl("why_third_party_check_not_done",new xS.h("",xS.y.required)):d.rentalForms.removeControl("why_third_party_check_not_done")}),1!=this.data.manage_status)this.getRentalDetails();else{this.rentalForms.controls.property_unit_details.push(this.createUnitDetails(""))}this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionRentalInfoPage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.rentalForms.dirty),this.rentalForms.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getdropList=function(){var l=this,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}));this.unitTypeList.push({groupID:2,groupName:"Residential Property",groupValues:[{id:2,name:"Independent Flat",group_id:1},{id:3,name:"Independent Floor",group_id:1},{id:4,name:"Independent House",group_id:1},{id:5,name:"Independent Row House",group_id:1},{id:6,name:"Multi Storey Building",group_id:1},{id:1,name:"Other (Please Specify)",group_id:1}]}),this.unitTypeList.push({groupID:3,groupName:"Commercial Property",groupValues:[{id:2,name:"Independent Office",group_id:2},{id:3,name:"Independent Shop",group_id:2},{id:4,name:"Warehouse/Godown",group_id:2},{id:5,name:"Workshop",group_id:2},{id:6,name:"Independent Clinic",group_id:2},{id:7,name:"Multi Storey Building",group_id:2},{id:1,name:"Other (Please Specify)",group_id:2}]}),this.unitTypeList.push({groupID:4,groupName:"Industrial Property",groupValues:[{id:2,name:"Factory",group_id:3},{id:3,name:"Industrial Shed",group_id:3},{id:1,name:"Other (Please Specify)",group_id:3}]}),this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){if(1==n.dataStatus){var e=n.records.filter(function(l){return 1==l.isactive}).map(function(l){return{id:l.relationship_id.toString(),name:l.name,group_id:1}});e.length>0&&l.relationShipList.push({groupName:"Personal",groupValues:e})}}),this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){if(1==n.dataStatus){var e=n.records.filter(function(l){return 1==l.isactive&&"Others"!=l.name}).map(function(l){return{id:l.company_relationship_id.toString(),name:l.name,group_id:2}});e.length>0&&l.relationShipList.push({groupName:"Official",groupValues:e})}}),this.qustCat.getcommondrop("STATE").subscribe(function(n){1==n.dataStatus&&(l.stateData=n.records.filter(function(l){return 1==l.isactive}),l.stateList=l.stateData.slice())}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.unitMeasurementList=n.records.filter(function(l){return 1==l.isactive&&1==l.is_land_uom||2==l.is_land_uom}).map(function(l){return{id:l.uom_id,name:l.name}}))})},l.prototype.personShowingChanges=function(l){if(l.length>0){l.filter(function(l){return 1==l.id}).length>0?this.rentalForms.addControl("other_name_person_type",new xS.h("",xS.y.required)):this.rentalForms.removeControl("other_name_person_type")}else this.rentalForms.removeControl("other_name_person_type")},l.prototype.getSightedDocs=function(l){1==l.id?this.rentalForms.addControl("other_sighted_documents",new xS.h("",xS.y.required)):this.rentalForms.removeControl("other_sighted_documents")},l.prototype.addMoreUnitDetails=function(){this.rentalForms.controls.property_unit_details.push(this.createUnitDetails(""))},l.prototype.createUnitDetails=function(l){return this.fb.group({tenant_lessees_options:["1",xS.y.required],name_tenant_lessees:["",xS.y.required],monthly_rent_amount:["",xS.y.required],payment_mode:["",xS.y.required],securtity_deposit_amount:["",xS.y.required],property_cover_area:["",xS.y.required],unit_measurement:["",xS.y.required],is_rent_agreement_executed:["",xS.y.required],met_tenant_lessees_options:["",xS.y.required]})},l.prototype.removeUnit=function(l){this.rentalForms.controls.property_unit_details.removeAt(l)},l.prototype.generatePaymentOptions=function(l,n,e){if(1==e){var u=this.rentalForms.controls.property_unit_details;l&&1==l.payment_mode.id?(u.controls[n].addControl("amount_received_cash",new xS.h(l.amount_received_cash?l.amount_received_cash:"",xS.y.required)),u.controls[n].removeControl("amount_received_bank"),u.controls[n].removeControl("payment_received_reason")):l&&2==l.payment_mode.id?(u.controls[n].addControl("amount_received_bank",new xS.h(l.amount_received_bank?l.amount_received_bank:"",xS.y.required)),u.controls[n].removeControl("amount_received_cash"),u.controls[n].removeControl("payment_received_reason")):l&&3==l.payment_mode.id?(u.controls[n].addControl("amount_received_cash",new xS.h(l.amount_received_cash?l.amount_received_cash:"",xS.y.required)),u.controls[n].addControl("amount_received_bank",new xS.h(l.amount_received_bank?l.amount_received_bank:"",xS.y.required)),u.controls[n].addControl("payment_received_reason",new xS.h(l.payment_received_reason?l.payment_received_reason:"",xS.y.required))):(u.controls[n].removeControl("amount_received_cash"),u.controls[n].removeControl("amount_received_bank"),u.controls[n].removeControl("payment_received_reason"))}else if(2==e){u=this.rentalForms.controls.property_unit_details;console.log("controls",u.controls.index),u.controls[n].controls.payment_difference_per_met&&(console.log("pay"),u.controls[n].controls.payment_difference_per_met.setValue("")),l&&1==l.payment_mode_per_met.id?(u.controls[n].addControl("amount_received_cash_per_met",new xS.h(l.amount_received_cash_per_met?l.amount_received_cash_per_met:"",xS.y.required)),u.controls[n].removeControl("amount_received_bank_per_met"),u.controls[n].removeControl("payment_received_reason_per_met")):l&&2==l.payment_mode_per_met.id?(u.controls[n].addControl("amount_received_bank_per_met",new xS.h(l.amount_received_bank_per_met?l.amount_received_bank_per_met:"",xS.y.required)),u.controls[n].removeControl("amount_received_cash_per_met"),u.controls[n].removeControl("payment_received_reason_per_met")):l&&3==l.payment_mode_per_met.id?(u.controls[n].addControl("amount_received_cash_per_met",new xS.h(l.amount_received_cash_per_met?l.amount_received_cash_per_met:"",xS.y.required)),u.controls[n].addControl("amount_received_bank_per_met",new xS.h(l.amount_received_bank_per_met?l.amount_received_bank_per_met:"",xS.y.required)),u.controls[n].addControl("payment_received_reason_per_met",new xS.h(l.payment_received_reason_per_met?l.payment_received_reason_per_met:"",xS.y.required))):(u.controls[n].removeControl("amount_received_cash_per_met"),u.controls[n].removeControl("amount_received_bank_per_met"),u.controls[n].removeControl("payment_received_reason_per_met"))}},l.prototype.generateTenantOptions=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.tenant_lessees_options?(e.controls[n].addControl("name_tenant_lessees",new xS.h("",xS.y.required)),e.controls[n].removeControl("name_tenant_lessees_reason")):"0"==l.tenant_lessees_options?(e.controls[n].addControl("name_tenant_lessees_reason",new xS.h("",xS.y.required)),e.controls[n].removeControl("name_tenant_lessees")):(e.controls[n].removeControl("name_tenant_lessees"),e.controls[n].removeControl("name_tenant_lessees_reason"))},l.prototype.generateOtherunitMeasurement=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.unit_measurement.id?e.controls[n].addControl("other_unit_measurement",new xS.h("",xS.y.required)):e.controls[n].removeControl("other_unit_measurement")},l.prototype.generateMultistoriedOtherUOM=function(l){"1"==l.multistoried_uom.id?this.rentalForms.addControl("multistoried_other_uom",new xS.h("",xS.y.required)):this.rentalForms.removeControl("multistoried_other_uom")},l.prototype.generateRentAgreementSeen=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.is_rent_agreement_executed?e.controls[n].addControl("rent_agreement_seen",new xS.h("",xS.y.required)):(e.controls[n].removeControl("rent_agreement_seen"),e.controls[n].removeControl("rent_agreement_registered"),e.controls[n].removeControl("agreement_date"),e.controls[n].removeControl("agreement_no_months"),e.controls[n].removeControl("agreement_expiring_date"),e.controls[n].removeControl("rental_remaining_months"),e.controls[n].removeControl("agreement_monthly_rent_amount"),e.controls[n].removeControl("agreement_security_deposit_amount"),e.controls[n].removeControl("agreement_property_owners_name"),e.controls[n].removeControl("agreement_tenant_lessees_name"),e.controls[n].removeControl("differences_loanapplicant_rentagreement"),e.controls[n].removeControl("agreement_property_owner_other"),e.controls[n].removeControl("agreement_property_owner_other_relationship"),e.controls[n].removeControl("agreement_property_owner_other_relation_to"))},l.prototype.generateRegisterOptions=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.rent_agreement_seen?e.controls[n].addControl("rent_agreement_registered",new xS.h("",xS.y.required)):(e.controls[n].removeControl("rent_agreement_registered"),e.controls[n].removeControl("agreement_date"),e.controls[n].removeControl("agreement_no_months"),e.controls[n].removeControl("agreement_expiring_date"),e.controls[n].removeControl("rental_remaining_months"),e.controls[n].removeControl("agreement_monthly_rent_amount"),e.controls[n].removeControl("agreement_security_deposit_amount"),e.controls[n].removeControl("agreement_property_owners_name"),e.controls[n].removeControl("agreement_tenant_lessees_name"),e.controls[n].removeControl("differences_loanapplicant_rentagreement"),e.controls[n].removeControl("agreement_property_owner_other"),e.controls[n].removeControl("agreement_property_owner_other_relationship"),e.controls[n].removeControl("agreement_property_owner_other_relation_to"))},l.prototype.generateRegisterDetails=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.rent_agreement_registered?(e.controls[n].addControl("agreement_date",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_no_months",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_expiring_date",new xS.h("")),e.controls[n].addControl("rental_remaining_months",new xS.h("")),e.controls[n].addControl("agreement_monthly_rent_amount",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_security_deposit_amount",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_security_deposit_amount",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_property_owners_name",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_tenant_lessees_name",new xS.h("",xS.y.required)),e.controls[n].addControl("differences_loanapplicant_rentagreement",new xS.h(""))):"0"==l.rent_agreement_registered?(e.controls[n].addControl("agreement_date",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_no_months",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_expiring_date",new xS.h("")),e.controls[n].addControl("rental_remaining_months",new xS.h("")),e.controls[n].addControl("agreement_monthly_rent_amount",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_security_deposit_amount",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_security_deposit_amount",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_property_owners_name",new xS.h("",xS.y.required)),e.controls[n].addControl("agreement_tenant_lessees_name",new xS.h("",xS.y.required)),e.controls[n].addControl("differences_loanapplicant_rentagreement",new xS.h(""))):(e.controls[n].removeControl("agreement_date"),e.controls[n].removeControl("agreement_no_months"),e.controls[n].removeControl("agreement_expiring_date"),e.controls[n].removeControl("rental_remaining_months"),e.controls[n].removeControl("agreement_monthly_rent_amount"),e.controls[n].removeControl("agreement_security_deposit_amount"),e.controls[n].removeControl("agreement_property_owners_name"),e.controls[n].removeControl("agreement_tenant_lessees_name"),e.controls[n].removeControl("differences_loanapplicant_rentagreement"),e.controls[n].removeControl("agreement_property_owner_other"),e.controls[n].removeControl("agreement_property_owner_other_relationship"),e.controls[n].removeControl("agreement_property_owner_other_relation_to"))},l.prototype.calculateExpiryDate=function(l,n){var e=this.rentalForms.controls.property_unit_details,u=e.value[n].agreement_date?this.pipe.transform(e.value[n].agreement_date,"yyyy/MM/dd"):"",t=e.value[n].agreement_no_months>0?e.value[n].agreement_no_months:"0";if(u&&t>0){var a=new Date(new Date(u).setMonth(new Date(u).getMonth()+Number(t)));a.setDate(a.getDate()-1);var i=this.pipe.transform(a,"dd/MM/yyyy");if(console.log("getExpiryDate",i),e.controls[n].controls.agreement_expiring_date.setValue(i),a>=new Date){var o=new Date;o=this.pipe.transform(o,"yyyy/MM/dd");var r=void 0;r=12*(a.getFullYear()-(new Date).getFullYear()),r+=a.getMonth()-(new Date).getMonth(),console.log("remaingMonths",r),e.controls[n].controls.rental_remaining_months.setValue(r)}else e.controls[n].controls.rental_remaining_months.setValue(0)}else e.controls[n].controls.agreement_expiring_date.setValue(""),e.controls[n].controls.rental_remaining_months.setValue("")},l.prototype.generateAgreementOtherOwners=function(l,n){var e=this.rentalForms.controls.property_unit_details;if(l&&l.length>0){var u=l.filter(function(l){return 0==l.id});u.length>0?e.controls[n].addControl("agreement_property_owner_other",new xS.h("",xS.y.required)):e.controls[n].removeControl("agreement_property_owner_other"),u.length>0?e.controls[n].addControl("agreement_property_owner_other_relationship",new xS.h("",xS.y.required)):e.controls[n].removeControl("agreement_property_owner_other_relationship"),u.length>0?e.controls[n].addControl("agreement_property_owner_other_relation_to",new xS.h("",xS.y.required)):e.controls[n].removeControl("agreement_property_owner_other_relation_to")}else e.controls[n].removeControl("agreement_property_owner_other"),e.controls[n].removeControl("agreement_property_owner_other_relationship"),e.controls[n].removeControl("agreement_property_owner_other_relation_to")},l.prototype.validateAgreementAmt=function(l,n){return l>0&&n>0?l>=n?Number(l)-Number(n):Number(n)-Number(l):"0"},l.prototype.generateTenantMetDetails=function(l,n){var e=this.rentalForms.controls.property_unit_details;"1"==l.met_tenant_lessees_options?(e.controls[n].removeControl("name_tenant_lessees_reason_per_met"),e.controls[n].addControl("name_tenant_lessees_per_met",new xS.h("",xS.y.required)),e.controls[n].addControl("property_owner_per_met",new xS.h("",xS.y.required)),e.controls[n].addControl("paid_monthly_rent_per_met",new xS.h("",xS.y.required)),e.controls[n].addControl("period_of_stay_per_met",new xS.h("",xS.y.required)),e.controls[n].addControl("payment_mode_per_met",new xS.h("",xS.y.required)),e.controls[n].addControl("payment_difference_per_met",new xS.h(""))):(e.controls[n].removeControl("name_tenant_lessees_per_met"),e.controls[n].removeControl("property_owner_per_met"),e.controls[n].removeControl("paid_monthly_rent_per_met"),e.controls[n].removeControl("period_of_stay_per_met"),e.controls[n].removeControl("payment_mode_per_met"),e.controls[n].removeControl("payment_difference_per_met"),e.controls[n].removeControl("property_owner_other_per_met"),e.controls[n].removeControl("property_owner_other_relationship_per_met"),e.controls[n].removeControl("property_owner_other_relation_to_per_met"),e.controls[n].removeControl("amount_received_cash_per_met"),e.controls[n].removeControl("amount_received_bank_per_met"),e.controls[n].removeControl("payment_received_reason_per_met"),e.controls[n].addControl("name_tenant_lessees_reason_per_met",new xS.h("",xS.y.required)))},l.prototype.generateMetOtherOwners=function(l,n){var e=this.rentalForms.controls.property_unit_details;if(l.property_owner_per_met.length>0){var u=l.property_owner_per_met.filter(function(l){return 0==l.id});u.length>0?e.controls[n].addControl("property_owner_other_per_met",new xS.h("",xS.y.required)):e.controls[n].removeControl("property_owner_other_per_met"),u.length>0?e.controls[n].addControl("property_owner_other_relationship_per_met",new xS.h("",xS.y.required)):e.controls[n].removeControl("property_owner_other_relationship_per_met"),u.length>0?e.controls[n].addControl("property_owner_other_relation_to_per_met",new xS.h("",xS.y.required)):e.controls[n].removeControl("property_owner_other_relation_to_per_met")}else e.controls[n].removeControl("property_owner_other_per_met"),e.controls[n].removeControl("property_owner_other_relationship_per_met"),e.controls[n].removeControl("property_owner_other_relation_to_per_met")},l.prototype.generateFloor=function(l){var n=this.rentalForms.controls.multistoried_building_details;if(l.target.value&&0!=Math.round(l.target.value)){if(Math.round(l.target.value)>this.rentalForms.value.multistoried_building_details.length)for(var e=Math.round(l.target.value)-this.rentalForms.value.multistoried_building_details.length;e>0;e--)n.push(this.createFloorDetails(""));else if(Math.round(l.target.value)0;e--)n.removeAt(this.rentalForms.value.multistoried_building_details.length-1)}else l.target.value&&Math.round(l.target.value),n.controls=[],n.setValue([]);l.stopPropagation()},l.prototype.createFloorDetails=function(l){return this.fb.group({floor_level:[0==this.rentalForms.value.multistoried_building_details.length?"Ground Floor":this.rentalForms.value.multistoried_building_details.length+" Floor",xS.y.compose([xS.y.required])],no_units_in_floor:["",xS.y.compose([xS.y.required])],unit_rent_difference_options:["",xS.y.compose([xS.y.required])],floor_unit_details:this.fb.array([]),floor_rent_amount:[""]})},l.prototype.generateFloorUnit=function(l,n){var e=this.rentalForms.controls.multistoried_building_details;if(e=e.controls[n],e=e.controls.floor_unit_details,l.no_units_in_floor>0&&"0"==l.unit_rent_difference_options){if(Math.round(l.no_units_in_floor)>e.value.length)for(var u=Math.round(l.no_units_in_floor)-e.value.length;u>0;u--)e.push(this.createFloorUnitDetails(2));else if(Math.round(l.no_units_in_floor)0;u--)e.removeAt(e.value.length-1);else Math.round(l.no_units_in_floor),e.controls=[],e.setValue([]);this.calculateFloorRentAmt(l,n)}else l.no_units_in_floor>0&&"1"==l.unit_rent_difference_options?(e.controls=[],e.setValue([]),e.push(this.createFloorUnitDetails(1)),this.calculateFloorRentAmt(l,n)):(e.controls=[],e.setValue([]))},l.prototype.createFloorUnitDetails=function(l){return 1==l?this.fb.group({rent_per_unit:["",xS.y.compose([xS.y.required])],amount:[""]}):2==l?this.fb.group({rent_per_unit:["",xS.y.compose([xS.y.required])]}):void 0},l.prototype.calculateFloorRentAmt=function(l,n){if("1"==l.unit_rent_difference_options){(u=(u=(e=this.rentalForms.controls.multistoried_building_details).controls[n]).controls.floor_unit_details).value[u.value.length-1].rent_per_unit>0&&l.no_units_in_floor>0?(u.controls[u.value.length-1].controls.amount.setValue(u.value[u.value.length-1].rent_per_unit*l.no_units_in_floor),this.inWords(u.value[u.value.length-1].rent_per_unit*l.no_units_in_floor,n,2),e.controls[n].controls.floor_rent_amount.setValue(u.value[u.value.length-1].rent_per_unit*l.no_units_in_floor),this.inWords(u.value[u.value.length-1].rent_per_unit*l.no_units_in_floor,n,4)):(u.controls[u.value.length-1].controls.amount.setValue(""),e.controls[n].controls.floor_rent_amount.setValue(""))}else if("0"==l.unit_rent_difference_options){var e,u,t=(u=(u=(e=this.rentalForms.controls.multistoried_building_details).controls[n]).controls.floor_unit_details).value.filter(function(l){return""!=l.rent_per_unit});t.length>0?(e.controls[n].controls.floor_rent_amount.setValue(t.map(function(l){return l.rent_per_unit}).reduce(function(l,n){return Number(l)+Number(n)},0)),this.inWords(t.map(function(l){return l.rent_per_unit}).reduce(function(l,n){return Number(l)+Number(n)}),n,4)):e.controls[n].controls.floor_rent_amount.setValue("")}},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.compareSingleObjects=function(l,n){return l.id==n.id},l.prototype.saveAlert=function(l){var n,e=this,u=0,t=0,a=0,i=[],o=[],r=[];l.property_unit_details.length>0&&(l.property_unit_details.forEach(function(l,n){i[n]=l.hasOwnProperty("monthly_rent_amount")?l.monthly_rent_amount:0,u=i.reduce(function(l,n){return l+ +n},0),o[n]=l.hasOwnProperty("paid_monthly_rent_per_met")?l.paid_monthly_rent_per_met:0,t=o.reduce(function(l,n){return l+ +n},0)}),n="Monthly Rent as Per Loan Applicant ="+u+"
"),l.multistoried_building_details.length>0?(l.multistoried_building_details.forEach(function(l,n){r[n]=l.hasOwnProperty("floor_rent_amount")?l.floor_rent_amount:0,a=r.reduce(function(l,n){return l+ +n},0)}),n=n+"Rent amount calculated = "+a):n=n+"Monthly Rent amount as Per Tenant met = "+t;var _=this.alertCtrl.create({title:"Confirm The Rent Amount",message:n,buttons:[{text:"Cancel",role:"cancel",handler:function(){}},{text:"Confirm",handler:function(){e.saveRentalDetails(l)}}]});_.present()},l.prototype.saveRentalDetails=function(l){var n=this;l.rental_count_id=this.data.existing_rental_count_id,console.log("answerData",l),delete l.stateSearch,delete l.citySearch,delete l.pincodeSearch,l.fk_createdby=this.users,console.log("answerData",l),this.qustCat.saveForm(l).subscribe(function(l){1==l.dataStatus&&(n.rentalForms.reset(n.rentalForms.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.getRentalDetails=function(){var l=this;if(console.log("enter",this.data.editData),this.data.editData){var n=this.data.editData;if(console.log("rental",n),n.parent_pdid=this.pdDetails.parent_pd_id,n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.other_name_person_type?this.rentalForms.addControl("other_name_person_type",new xS.h("",xS.y.required)):this.rentalForms.removeControl("other_name_person_type"),n.other_sighted_documents?this.rentalForms.addControl("other_sighted_documents",new xS.h("",xS.y.required)):this.rentalForms.removeControl("other_sighted_documents"),n.stateSearch="",n.citySearch="",n.pincodeSearch="",n.multistoried_building_details){var e=Object.keys(n.multistoried_building_details).map(function(l){return n.multistoried_building_details[l]});if(e.length>0){var u=this.rentalForms.controls.multistoried_building_details;e.forEach(function(n,e){u.push(l.createFloorDetails(""));var t=u.controls[e];t=t.controls.floor_unit_details;n.floor_unit_details.forEach(function(u,a){t.push(l.createFloorUnitDetails("0"==n.unit_rent_difference_options?2:1)),console.log("rent per unit",u.rent_per_unit),"1"==n.unit_rent_difference_options?(console.log("check",u.rent_per_unit),""!=u.rent_per_unit&&l.inWords(u.rent_per_unit,a,1),""!=u.amount&&l.inWords(u.amount,e,2)):"0"==n.unit_rent_difference_options&&l.inWords(n.floor_rent_amount,e,4)})})}}if(n.property_unit_details){console.log("property",n.property_unit_details);var t=Object.keys(n.property_unit_details).map(function(l){return n.property_unit_details[l]});t.length>0&&t.forEach(function(n,e){var u=l.rentalForms.controls.property_unit_details;u.push(l.createUnitDetails("")),n.name_tenant_lessees&&"1"==n.tenant_lessees_options?u.controls[e].addControl("name_tenant_lessees",new xS.h("",xS.y.required)):u.controls[e].removeControl("name_tenant_lessees"),n.name_tenant_lessees_reason&&"0"==n.tenant_lessees_options?u.controls[e].addControl("name_tenant_lessees_reason",new xS.h("",xS.y.required)):u.controls[e].removeControl("name_tenant_lessees_reason"),n.amount_received_cash?u.controls[e].addControl("amount_received_cash",new xS.h("",xS.y.required)):u.controls[e].removeControl("amount_received_cash"),n.amount_received_bank?u.controls[e].addControl("amount_received_bank",new xS.h("",xS.y.required)):u.controls[e].removeControl("amount_received_bank"),n.payment_received_reason?u.controls[e].addControl("payment_received_reason",new xS.h("",xS.y.required)):u.controls[e].removeControl("payment_received_reason"),n.other_unit_measurement?u.controls[e].addControl("other_unit_measurement",new xS.h("",xS.y.required)):u.controls[e].removeControl("other_unit_measurement"),n.rent_agreement_seen?u.controls[e].addControl("rent_agreement_seen",new xS.h("",xS.y.required)):u.controls[e].removeControl("rent_agreement_seen"),n.rent_agreement_registered?u.controls[e].addControl("rent_agreement_registered",new xS.h("",xS.y.required)):u.controls[e].removeControl("rent_agreement_registered"),n.agreement_date?u.controls[e].addControl("agreement_date",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_date"),n.agreement_no_months?u.controls[e].addControl("agreement_no_months",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_no_months"),n.agreement_expiring_date?u.controls[e].addControl("agreement_expiring_date",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_expiring_date"),""==n.rental_remaining_months||n.rental_remaining_months>=0?u.controls[e].addControl("rental_remaining_months",new xS.h("",xS.y.required)):u.controls[e].removeControl("rental_remaining_months"),n.agreement_monthly_rent_amount?u.controls[e].addControl("agreement_monthly_rent_amount",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_monthly_rent_amount"),n.agreement_security_deposit_amount?u.controls[e].addControl("agreement_security_deposit_amount",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_security_deposit_amount"),n.differences_loanapplicant_rentagreement?u.controls[e].addControl("differences_loanapplicant_rentagreement",new xS.h("",xS.y.required)):u.controls[e].removeControl("differences_loanapplicant_rentagreement"),n.agreement_property_owners_name?u.controls[e].addControl("agreement_property_owners_name",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_property_owners_name"),n.agreement_property_owner_other?u.controls[e].addControl("agreement_property_owner_other",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_property_owner_other"),n.agreement_property_owner_other_relationship?u.controls[e].addControl("agreement_property_owner_other_relationship",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_property_owner_other_relationship"),n.agreement_property_owner_other_relation_to?u.controls[e].addControl("agreement_property_owner_other_relation_to",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_property_owner_other_relation_to"),n.agreement_tenant_lessees_name?u.controls[e].addControl("agreement_tenant_lessees_name",new xS.h("",xS.y.required)):u.controls[e].removeControl("agreement_tenant_lessees_name"),n.name_tenant_lessees_per_met?u.controls[e].addControl("name_tenant_lessees_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("name_tenant_lessees_per_met"),n.name_tenant_lessees_reason_per_met?u.controls[e].addControl("name_tenant_lessees_reason_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("name_tenant_lessees_reason_per_met"),n.property_owner_per_met?u.controls[e].addControl("property_owner_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("property_owner_per_met"),n.property_owner_other_per_met?u.controls[e].addControl("property_owner_other_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("property_owner_other_per_met"),n.property_owner_other_relationship_per_met?u.controls[e].addControl("property_owner_other_relationship_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("property_owner_other_relationship_per_met"),n.property_owner_other_relation_to_per_met?u.controls[e].addControl("property_owner_other_relation_to_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("property_owner_other_relation_to_per_met"),console.log("payment",n),n.paid_monthly_rent_per_met?u.controls[e].addControl("paid_monthly_rent_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("paid_monthly_rent_per_met"),n.period_of_stay_per_met?u.controls[e].addControl("period_of_stay_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("period_of_stay_per_met"),n.payment_mode_per_met?u.controls[e].addControl("payment_mode_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("payment_mode_per_met"),n.amount_received_cash_per_met?u.controls[e].addControl("amount_received_cash_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("amount_received_cash_per_met"),n.amount_received_bank_per_met?u.controls[e].addControl("amount_received_bank_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("amount_received_bank_per_met"),n.payment_received_reason_per_met?u.controls[e].addControl("payment_received_reason_per_met",new xS.h("",xS.y.required)):u.controls[e].removeControl("payment_received_reason_per_met"),""!=n.payment_difference_per_met&&""==n.payment_difference_per_met||u.controls[e].addControl("payment_difference_per_met",new xS.h("")),l.inWords(""!=n.monthly_rent_amount?+n.monthly_rent_amount:"",e,5),l.inWords(""!=n.amount_received_cash?+n.amount_received_cash:"",e,6),l.inWords(""!=n.amount_received_bank?+n.amount_received_bank:"",e,7),l.inWords(""!=n.securtity_deposit_amount?+n.securtity_deposit_amount:"",e,8),l.inWords(""!=n.agreement_monthly_rent_amount?+n.agreement_monthly_rent_amount:"",e,9),l.inWords(""!=n.agreement_security_deposit_amount?+n.agreement_security_deposit_amount:"",e,10),l.inWords(""!=n.paid_monthly_rent_per_met?+n.paid_monthly_rent_per_met:"",e,11),l.inWords(""!=n.amount_received_cash_per_met?+n.amount_received_cash_per_met:"",e,12),l.inWords(""!=n.amount_received_bank_per_met?+n.amount_received_bank_per_met:"",e,13)})}this.rentalForms.patchValue(n)}else{this.rentalForms.controls.property_unit_details.push(this.createUnitDetails(""))}},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.rent_per_unit_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 2:this.amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 3:break;case 4:this.floor_rent_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 5:this.monthly_rent_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 6:this.amount_received_cash_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 7:this.amount_received_bank_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 8:this.securtity_deposit_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 9:this.agreement_monthly_rent_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 10:this.agreement_security_deposit_amount_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 11:this.paid_monthly_rent_per_met_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 12:this.amount_received_cash_per_met_Inwords[n]=this.constprovider.convertNumberToWords(l);break;case 13:this.amount_received_bank_per_met_Inwords[n]=this.constprovider.convertNumberToWords(l)}},l.prototype.inWordsmultiple=function(l,n,e,u){return this.constprovider.convertNumberToWords(l)},l.prototype.validateAllFormFields=function(l){var n=this;Object.keys(l.controls).forEach(function(e){var u=l.get(e);u instanceof xS.h?u.markAsTouched({onlySelf:!0}):u instanceof xS.j?n.validateAllFormFields(u):u instanceof xS.e&&n.validateAllFormFields(u)})},l.prototype.ValidatedRentAmount=function(l,n,e){var u=this.rentalForms.controls.property_unit_details;if(console.log("validated",l),1==e&&l&&3==l.payment_mode.id){(o=u.controls[n]).controls.amount_received_bank.clearValidators(),o.controls.amount_received_bank.updateValueAndValidity(),o.controls.amount_received_cash.clearValidators(),o.controls.amount_received_cash.updateValueAndValidity();var t=l.monthly_rent_amount;if(""!=t){var a=l.amount_received_bank;o.controls.amount_received_bank.setValidators([xS.y.required,xS.y.max(t),xS.y.min(0)]),o.controls.amount_received_bank.updateValueAndValidity();var i=t-a;i>=0?(o.controls.amount_received_cash.setValue(i),o.controls.amount_received_cash.setValidators([xS.y.required,xS.y.max(t-a),xS.y.min(t-a)]),this.inWords(i,n,6)):(o.controls.amount_received_cash.setValue(0),o.controls.amount_received_cash.setValidators([xS.y.max(0),xS.y.min(0)])),o.controls.amount_received_cash.updateValueAndValidity()}}if(2==e&&l&&3==l.payment_mode_per_met.id){var o;(o=u.controls[n]).controls.amount_received_bank_per_met.clearValidators(),o.controls.amount_received_bank_per_met.updateValueAndValidity(),o.controls.amount_received_cash_per_met.clearValidators(),o.controls.amount_received_cash_per_met.updateValueAndValidity();var r=l.paid_monthly_rent_per_met;if(""!=r){a=l.amount_received_bank_per_met;o.controls.amount_received_bank_per_met.setValidators([xS.y.required,xS.y.max(r),xS.y.min(0)]),o.controls.amount_received_bank_per_met.updateValueAndValidity();var _=r-a;console.log("paid monthly",r),console.log("remaining",_),_>=0?(o.controls.amount_received_cash_per_met.setValue(_),o.controls.amount_received_cash_per_met.setValidators([xS.y.required,xS.y.max(r-a),xS.y.min(r-a)]),this.inWords(_,n,12)):(o.controls.amount_received_cash_per_met.setValue(0),o.controls.amount_received_cash_per_met.setValidators([xS.y.max(0),xS.y.min(0)])),o.controls.amount_received_cash_per_met.updateValueAndValidity()}}},l.prototype.forSearchableDropdown=function(l,n){var e=this;switch(console.log("val",l,"Flag",n),n){case"state":console.log("val",l.controls.stateSearch.value,"Flag",n,"1"),l.controls.stateSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){e.stateList=e.constprovider.searchData(e.stateData,l.controls.stateSearch.value,n)});break;case"city":console.log("val",l.controls.citySearch.value,"Flag",n,"2"),l.controls.citySearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){e.cityList=e.constprovider.searchData(e.cityData,l.controls.citySearch.value,n)});break;case"pin":console.log("val",l.controls.pincodeSearch.value,"Flag",n,"3"),l.controls.pincodeSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){e.pincodeList=e.constprovider.searchData(e.pincodeData,l.controls.pincodeSearch.value,n)})}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=FI([Object(uS.k)({selector:"page-pd-question-rental-info",templateUrl:"pd-question-rental-info.html"}),xI("design:paramtypes",[tS.r,tS.s,wS,$S,LS,xS.g,gS,tS.a,YS,WS])],l)}(),SI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},II=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},qI=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.existing_rental_count_id=0,this.existing_rental_list=[],this.pdDetails=this.navParams.get("pdDetails"),this.form_details=this.navParams.get("FormId"),console.log(this.form_details)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionRentalDashPage")},l.prototype.ionViewCanEnter=function(){this.getAllRentalInfo()},l.prototype.getAllRentalInfo=function(){var l=this;this.existing_rental_list=[];this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.form_details.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;console.log("tyeva",typeof e);var u=[],t=[];l.existing_rental_count_id=e.length,console.log("rental val",e),e.forEach(function(n,e){var a;if(n.property_unit_details){var i=Object.keys(n.property_unit_details).map(function(l){return n.property_unit_details[l]});i.length>0?i.forEach(function(l,n){u[n]=l.monthly_rent_amount,a=u.reduce(function(l,n){return l+ +n},0),a*=12}):a=0,t[e]=a}l.qustCat.getStateCityNamesAndPincode({state_id:n.state,city_id:n.city,pincode_id:n.pincode}).subscribe(function(u){if(1==u.dataStatus){l.existing_rental_list.push({address:n.address_property,applicants_rent:t[e],state:u.records.state_name,city:u.records.city_name,pincode:u.records.pincode,rental_count_id:n.rental_count_id,rental_existing_data:n}),console.log("modify",l.existing_rental_list)}})})}else l.existing_rental_count_id=0}),console.log("ren",this.existing_rental_list)},l.prototype.editDet=function(l){this.navCtrl.push(kI,{values:{manage_status:2,existing_rental_count_id:l.rental_count_id,editData:l},pdDetails:this.pdDetails,FormId:this.form_details}),console.log("hai"),console.log("d",l)},l.prototype.addMore=function(){this.navCtrl.push(kI,{values:{manage_status:1,existing_rental_count_id:this.existing_rental_count_id+1},pdDetails:this.pdDetails,FormId:this.form_details})},l=SI([Object(uS.k)({selector:"page-pd-question-rental-dash",templateUrl:"pd-question-rental-dash.html",providers:[CI]}),II("design:paramtypes",[tS.r,tS.s,LS])],l)}(),PI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},DI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},TI=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.cameraProvider=o,this.loading=r,this.incomeEarnedBy=[],this.amtInWords=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.applicants=[],this.isOrganisationOwner=[],this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,console.log("this.customer_segment_abbr",this.customer_segment_abbr),this.applicants=this.pdDetails.applicat_details.filter(function(l){return 0!=l.pd_co_applicant_id}),this.getFrequency(),this.users=this.aws.getlocale(),this.otherIncomeForm=this.fb.group({other_income:[null],otherincome_remarks:[null],income_details:this.fb.array([])}),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionOtherIncomePage"),this.getOtherIncome(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.otherIncomeForm.dirty),this.otherIncomeForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.createDetail=function(){return this.fb.group({source:[""],address:[""],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.reset(),this.amtInWords[l]=""):this.incomeDetails.removeAt(l)},l.prototype.checkotherDetails=function(l){if("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&&(l.incomeEarnedBy=n.record)}),this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}),console.log(l.existCompanyList));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})),console.log("company&Applicant",l.mergeCompanyApplicant)});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){if(1==n.dataStatus&&(l.sourceIncome=n.records,"SE-RI"==l.customer_segment_abbr)){-1!==l.sourceIncome.map(function(l){return l.name}).indexOf("Rental Income")&&l.sourceIncome.splice(l.sourceIncome.map(function(l){return l.name}).indexOf("Rental Income"),1)}})},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.getOtherOrganisationOwner=function(l,n){var e=this.otherIncomeForm.controls.income_details;console.log("ParCtrls",e);var u=e.controls[n],t=1;console.log("val",l),l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(t=l.id)}),0==t?(console.log("chld",u),u.controls.others_income_earned_by.setValidators([xS.y.required]),this.isOrganisationOwner[n]=!0):1==t&&(u.controls.others_income_earned_by.setValue(""),u.controls.others_income_earned_by.clearValidators(),this.isOrganisationOwner[n]=!1),u.controls.others_income_earned_by.updateValueAndValidity()},l.prototype.inWords=function(l,n){this.amtInWords[n]=this.constant.convertNumberToWords(l.target.value)},l.prototype.Toview=function(){this.otherIncomeForm.reset(this.otherIncomeForm.value);this.navCtrl.push(qI,{FormId:{form_id:17,form_name:"Rental Verification"},pdDetails:this.pdDetails})},l.prototype.submitOtherIncome=function(l){var n=this,e={};e.parent_pdid=this.pdDetails.parent_pd_id,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,this.qustCat.saveForm(e).subscribe(function(l){n.otherIncomeForm.reset(n.otherIncomeForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)},function(l){})},l.prototype.getOtherIncome=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(l.incomeDetails=l.otherIncomeForm.get("income_details"),l.otherIncomeDetails=n,1==l.otherIncomeDetails.dataStatus)if(l.otherIncomeDetails=l.otherIncomeDetails.records,"Yes"==l.otherIncomeDetails.other_income){var e=Object.keys(n.records.income_details).map(function(l){return n.records.income_details[l]});l.otherIncomeForm.controls.other_income.setValue(l.otherIncomeDetails.other_income),l.otherIncomeForm.controls.otherincome_remarks.setValue(l.otherIncomeDetails.otherincome_remarks),0==e.length||e.forEach(function(n,e){l.incomeDetails.push(l.createDetail()),l.amtInWords[e]=l.constant.convertNumberToWords(n.amount),l.getOtherOrganisationOwner(n.income_earned_by,e)}),l.otherIncomeForm.controls.income_details.setValue(e)}else l.otherIncomeForm.controls.other_income.setValue(l.otherIncomeDetails.other_income),l.otherIncomeForm.controls.otherincome_remarks.setValue(l.otherIncomeDetails.otherincome_remarks)})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=PI([Object(uS.k)({selector:"page-pd-question-other-income",templateUrl:"pd-question-other-income.html"}),DI("design:paramtypes",[tS.r,tS.s,xS.g,LS,wS,$S,gS,WS,YS])],l)}(),OI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},LI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},AI=function(){function l(l,n,e,u,t,a,i,o){var r=this;this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cameraProvider=i,this.loading=o,this.business_manufacturingProducts=[],this.business_tradingProducts=[],this.m_titleList=[],this.m_paymentList=[],this.m_companyRelationShipList=[],this.noRecordsFound=!1,this.submitted=!1,this.errorMessage="",this.imageBucket=[],this.tab="0",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;r.initFormLoadDetails(n.type_of_activity),r.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&&r.business_tradingProducts.push(l.prodcuts),4==l.type_of_activity_id&&l.prodcuts&&r.business_tradingProducts.push(l.prodcuts)}),r.business_tradingProducts=[].concat.apply([],r.business_tradingProducts)}else r.toast.pdTriggerappmessage("No Category Records Found.!"),r.noRecordsFound=!1,r.errorMessage=l.msg},function(l){r.toast.pdTriggerappmessage("No Category Records Found.!"),r.noRecordsFound=!1,r.errorMessage="No Records Found , Something went Wrong!"}),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionSupplierInfoPage"),this.getPDImages()},l.prototype.initFormLoadDetails=function(l){var n=this,e={};e.parent_pdid=this.pdDetails.parent_pd_id,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({parent_pdid:[n.pdDetails.parent_pd_id],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)if(null!=u.manufacturing_details[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)}else n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0)if(null!=u.trade_details[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)}else 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}else{n.supplierInfoForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],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({parent_pdid:[n.pdDetails.parent_pd_id],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}),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.supplierInfoForm.markAsUntouched(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):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 t=this.mfgCounter.reduce(function(l,n){return l+ +n},0);this.mfgCreditCardFlag=t>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.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=OI([Object(uS.k)({selector:"page-pd-question-supplier-info",templateUrl:"pd-question-supplier-info.html"}),LI("design:paramtypes",[tS.r,tS.s,xS.g,wS,LS,$S,WS,YS])],l)}(),VI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},NI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},WI=function(){function l(l,n,e,u,t,a){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this._fb=a,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()}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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},jI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},$I=function(){function l(l,n,e,u,t,a,i,o,r){var _=this;this.navCtrl=l,this.navParams=n,this.qustCat=e,this.aws=u,this.toast=t,this.fb=a,this.constant=i,this.cameraProvider=o,this.loading=r,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._onDestroy=new dS.Subject,this.RMCommentCard=!1,this.TGCommentCard=!1,this.RMsufficientList=[{value:"yes",isdisplayvalue:"Yes",disabled:!1},{value:"no",isdisplayvalue:"No",disabled:!1},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",disabled:!1}],this.TGsufficientList=[{value:"yes",isdisplayvalue:"Yes",isdisabled:!1},{value:"no",isdisplayvalue:"No",isdisabled:!1},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",isdisabled:!1}],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.manufacturingForm=!1,this.retailForm=!1,this.tradingForm=!1,this.ManufacturingCounterArray=[],this.FinishedCounterArray=[],this.RetailCounterArray=[],this.WholeSaleCounterArray=[],this.not_stock_of_rm=[],this.not_stock_of_fg=[],this.not_stock_of_tg=[],this.not_stock_of_ws=[],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 _.toast.pdTriggerappmessage("Fill Business Form First! / No Company Found at this ID "+_.company_id),_.noRecordsFound=!1,void(_.errorMessage="Fill Business Form First! / No Company Found at this ID"+_.company_id+"! ....");_.initstockForm(l.record)},function(l){_.toast.pdTriggerappmessage("Business Type Of Activity Not Available Please Check Business Information.!"),_.noRecordsFound=!1,_.errorMessage="No Records Found , Something went Wrong!"}),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionStockInfoPage"),this.getPDImages()},l.prototype.initstockForm=function(l){var n=this,e=Object.keys(l.from_business).map(function(n){return l.from_business[n]});if(!(l.from_business.length>0))return this.toast.pdTriggerappmessage("Fill Business Form First! / No Company Found at this ID "+this.company_id),this.noRecordsFound=!1,void(this.errorMessage="Fill Business Form First! / No Company Found at this ID"+this.company_id+"! ....");var u=l.from_business.filter(function(l){return 2==l.type_of_activity_id}),t=u[0].hasOwnProperty("products")?u[0].products.length:0,a=l.from_business.filter(function(l){return 3==l.type_of_activity_id}),i=a[0].hasOwnProperty("products")?a[0].products.length:0,o=l.from_business.filter(function(l){return 4==l.type_of_activity_id}),r=o[0].hasOwnProperty("products")?o[0].products.length:0,_=l.from_supplier.hasOwnProperty("raw_material")?l.from_supplier.raw_material:[],d={};d.parent_pdid=this.pdDetails.parent_pd_id,d.pd_id=this.pdid,d.pd_form_id=this.formDetails.form_id,d.company_id=this.company_id,this.qustCat.retiverForm(d).subscribe(function(u){if(200==u.status){var a=u.records;void 0!==a?(n.stockForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[a.stock_remarks],is_sufficiant_finished_and_traded_goods:[a.is_sufficiant_finished_and_traded_goods],finished_and_traded_goods_remarks:[a.finished_and_traded_goods_remarks],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l,t)]),retail_details:n.fb.array([n.retailFormCreation(i)]),trade_details:n.fb.array([n.tradingFormCreation(r)])}),e.length>0&&(e.forEach(function(l){if(2==l.type_of_activity_id&&l.products){var e=[];e.manufacturing_raw_materials=a.manufacturing_details[0].manufacturing_raw_materials,n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(a.manufacturing_details[0].is_sufficiant_raw),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(a.manufacturing_details[0].rawmaterial_remarks),e.manufacturing_finished_goods=a.manufacturing_details[0].manufacturing_finished_goods,n.initManufacturingDetails(e)}if(3==l.type_of_activity_id&&l.products){var u=[];u.retail_traded_goods=a.retail_details[0].retail_traded_goods,n.initRetailDetails(u)}if(4==l.type_of_activity_id&&l.products){var t=[];t.trading_traded_goods=a.trade_details[0].trading_traded_goods,console.log("Trade",t),n.initTradingDetails(t)}5==l.type_of_activity_id&&l.products&&(n.serviceProviderForm=!0)}),n.noRecordsFound=!0)):(n.stockForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[""],is_sufficiant_finished_and_traded_goods:[""],finished_and_traded_goods_remarks:[""],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l,t)]),retail_details:n.fb.array([n.retailFormCreation(i)]),trade_details:n.fb.array([n.tradingFormCreation(r)])}),e.length>0&&(e.forEach(function(l){2==l.type_of_activity_id&&l.products&&(n.suppliers_finished_goods=l.products,n.initManufacturingDetails(null),n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(a.manufacturing_details[0].is_sufficiant_raw.value||null),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(a.manufacturing_details[0].rawmaterial_remarks||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 console.log("Record",l),n.stockForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[""],is_sufficiant_finished_and_traded_goods:[""],finished_and_traded_goods_remarks:[""],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l,t)]),retail_details:n.fb.array([n.retailFormCreation(i)]),trade_details:n.fb.array([n.tradingFormCreation(r)])}),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=_,n.initManufacturingDetails(null),n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(null),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(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.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&&0==l.is_land_uom||2==l.is_land_uom}),l.uomDataValue=l.uomData.slice())})},l.prototype.manufacturingFormCreation=function(l,n){l.from_business.filter(function(l){return 2==l.type_of_activity_id}),l.from_supplier.hasOwnProperty("raw_material");return n>0?(this.manufacturingForm=!0,this.fb.group({is_sufficiant_raw:[],rawmaterial_remarks:[],manufacturing_raw_materials:this.fb.array([]),manufacturing_finished_goods:this.fb.array([])})):this.fb.group({is_sufficiant_raw:[],rawmaterial_remarks:[],manufacturing_raw_materials:this.fb.array([]),manufacturing_finished_goods:this.fb.array([])})},l.prototype.retailFormCreation=function(l){return l>0?(this.retailForm=!0,this.fb.group({retail_traded_goods:this.fb.array([])})):this.fb.group({retail_traded_goods:this.fb.array([])})},l.prototype.tradingFormCreation=function(l){return l>0?(this.tradingForm=!0,this.fb.group({trading_traded_goods:this.fb.array([])})):this.fb.group({trading_traded_goods:this.fb.array([])})},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.stock_observed,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.goods_observed,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:[""],uomSearch:[null],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],uomSearch:[null],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.traded_goods_observed,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:[""],uomSearch:[null],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],uomSearch:[null],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.traded_goods_observed,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:[""],uomSearch:[null],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],uomSearch:[null],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){if(console.log(l,n,e),1==n){this.ManufacturingCounterArray[e]=""!=l?1:0,this.not_stock_of_rm[e]="yes"==l?1:0;var u=this.ManufacturingCounterArray.reduce(function(l,n){return l+ +n},0);this.RMCommentCard=u>0;var t=this.not_stock_of_rm.reduce(function(l,n){return l+ +n},0);console.log("value",l),console.log("not_stock1",t),t>0?(console.log("not_stock1",t),this.RMsufficientList[0].disabled=!1,this.RMsufficientList[2].disabled=!0):0==t&&(console.log("0",t),this.RMsufficientList[0].disabled=!0,this.RMsufficientList[2].disabled=!1),console.log("this.RMsufficientList",this.RMsufficientList)}2==n&&(this.FinishedCounterArray[e]=""!=l?1:0,this.not_stock_of_fg[e]="yes"==l?1:0),3==n&&(this.RetailCounterArray[e]=""!=l?1:0,this.not_stock_of_tg[e]="yes"==l?1:0),4==n&&(this.WholeSaleCounterArray[e]=""!=l?1:0,this.not_stock_of_ws[e]="yes"==l?1:0);var a=this.FinishedCounterArray.reduce(function(l,n){return l+ +n},0),i=this.RetailCounterArray.reduce(function(l,n){return l+ +n},0),o=this.WholeSaleCounterArray.reduce(function(l,n){return l+ +n},0);this.TGCommentCard=a+i+o>0;var r=this.not_stock_of_fg.reduce(function(l,n){return l+ +n},0)+this.not_stock_of_ws.reduce(function(l,n){return l+ +n},0)+this.not_stock_of_tg.reduce(function(l,n){return l+ +n},0);console.log("not_stock2",r),r>0?(console.log("not_stock2",r),this.TGsufficientList[0].isdisabled=!1,this.TGsufficientList[2].isdisabled=!0):0==r&&(console.log("0",r),this.TGsufficientList[0].isdisabled=!0,this.TGsufficientList[2].isdisabled=!1),console.log("Data",this.TGsufficientList)},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.stockForm.markAsUntouched(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):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.prototype.searchFun=function(l,n){var e=this;console.log("control",l.controls.uomSearch.value),l.controls.uomSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){e.uomDataValue=e.constant.searchData(e.uomData,l.controls.uomSearch.value,"")})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=EI([Object(uS.k)({selector:"page-pd-question-stock-info",templateUrl:"pd-question-stock-info.html"}),jI("design:paramtypes",[tS.r,tS.s,LS,wS,$S,xS.g,gS,WS,YS])],l)}(),BI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},RI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},UI=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.cons=i,this.cameraProvider=o,this.loading=r,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.imageBucket=[],this.tab="0",this.complete_status=!1,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();var _=this.pdDetails.customer_segment_abbr.split("-");this.CustSegAbbr=_[1],this.initFinancialForm(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFinancialInfoPage"),this.getDetails(),this.getPDImages()},l.prototype.AllCalculation=function(l,n){console.log("all",l),1==l.controls.estimate_profit_or_loss.value&&"yes"==l.controls.estimate_net_margin_availablity.value&&""!=l.controls.estimate_profit_range_from.value&&""!=l.controls.estimate_profit_range_to.value&&(console.log("calculate marginP"),this.calculateMarginProfit(n,l)),1==l.controls.estimate_profit_or_loss.value&&"no"==l.controls.estimate_net_margin_availablity.value&&""!=l.controls.estimate_net_profit_from.value&&""!=l.controls.estimate_net_profit_to.value&&(console.log("calculate Profit "),this.calculateProfitAmount(n,l)),2==l.controls.estimate_profit_or_loss.value&&"yes"==l.controls.estimate_net_margin_availablity.value&&""!=l.controls.estimate_loss_range_from.value&&""!=l.controls.estimate_loss_range_to.value&&(console.log("calculate marginL"),this.calculateMarginLoss(n,l)),2==l.controls.estimate_profit_or_loss.value&&"no"==l.controls.estimate_net_margin_availablity.value&&""!=l.controls.estimate_net_loss_from.value&&""!=l.controls.estimate_net_loss_to.value&&(console.log("calculate Loss"),this.calculateLossAmount(n,l))},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.estimated_value.push(this.createValue("")),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=this.financialForm.controls.financial_no_of_year.value;if(null!=n&&""!=n){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 t=1;t<=n;t++){u.push(this.createDate(t-1+ +e+"-"+(+e+ +t)))}}},l.prototype.initFinancialForm=function(){this.financialForm=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,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:["",xS.y.compose([xS.y.minLength(4),xS.y.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:[""],date_per_financial:this.fb.array([]),estimated_value:this.fb.array([])})},l.prototype.createDate=function(l){return this.fb.group({financial_year:[l,xS.y.compose([xS.y.pattern(/^[0-9]{4}-[0-9]{2}$/)])],financial_annual_sale:["",xS.y.compose([xS.y.pattern(/^[0-9\(\)]+$/)])],finanical_profit_or_loss:[""],financial_net_profit:["",xS.y.compose([xS.y.pattern(/^-?[1-9]\d*|0$/)])],financial_net_loss:["",xS.y.compose([xS.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([xS.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([xS.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([xS.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([xS.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.financialForm.markAsUntouched(),l.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){l.navCtrl.pop()},2e3)):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.parent_pdid=this.pdDetails.parent_pd_id,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 t=u.records;if("yes"==u.records.is_financial_statements){var a=Object.keys(u.records.date_per_financial).map(function(l){return u.records.date_per_financial[l]});a.length>0?(l.customerCommentsFlag=1!=a.length,a.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(""))}),t.date_per_financial=a):n.push(l.createDate(""))}if("AI"!=l.CustSegAbbr&&"no"==u.records.is_financial_customer){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(""))}),t.estimated_value=i):e.push(l.createValue(""))}t.parent_pdid=l.pdDetails.parent_pd_id,t.pdid=l.pdDetails.pd_id,t.company_id=l.company_id,t.fk_createdby=l.users,t.formid=l.FormId,l.financialForm.setValue(t)}})},l.prototype.calculationForFinanicalStatement=function(){var l=this.financialForm.controls.date_per_financial,n="",e=[],u=[],t="",a="",i="",o="",r="",_="",d="";l.value.forEach(function(s,c){var m=l.controls[c];if(r=s.financial_annual_sale,0!=c){if(""!=r){var p=(r-n)/n*100,f=p!=1/0?Number.isNaN(p)?0:p.toFixed(2):0;m.controls.financial_annualsales_variation.setValue(f)}}else m.controls.financial_annualsales_variation.setValue(0);if(n=r,_=s.financial_net_profit,d=s.financial_net_loss,(""!=_||""!=d)&&0!=c)if(+_>+r)m.controls.financial_margin_of_profit.setValue("");else{d=0!=s.financial_net_loss?-1*s.financial_net_loss:s.financial_net_loss,a=0!=a?-1*a:a;var h=((""!=_?_:d)-(""!=t?t:a))/(""!=t?Math.abs(t):Math.abs(a))*100,g=h!=1/0?Number.isNaN(h)?0:h.toFixed(2):0;m.controls.financial_variation.setValue(g)}t=""!=s.financial_net_profit?s.financial_net_profit:0,a=""!=s.financial_net_loss?s.financial_net_loss:0;var b=s.finanical_profit_or_loss;if(1==b?(o="",m.controls.financial_margin_of_loss.setValue(""),""!=r&&""!=s.financial_net_profit&&(+_>+r?(alert("profit is greater than Annual Sale "),m.controls.financial_net_profit.setValue(0),m.controls.financial_margin_of_profit.setValue(""),m.controls.financial_profit_to_sale_variation.setValue(""),m.controls.financial_variation.setValue("")):m.controls.financial_margin_of_profit.setValue((i=s.financial_net_profit/s.financial_annual_sale*100)!=1/0?Number.isNaN(i)?0:i.toFixed(2):0))):2==b&&(i="",m.controls.financial_margin_of_profit.setValue(""),""!=r&&""!=s.financial_net_loss&&(+s.financial_net_loss>+r&&(alert("Loss is greater than Annual Sale "),m.controls.financial_net_loss.setValue(0),m.controls.financial_margin_of_loss.setValue(""),m.controls.financial_profit_to_sale_variation.setValue(""),m.controls.financial_variation.setValue("")),+d>+r?(m.controls.financial_net_loss.setValue(0),m.controls.financial_margin_of_loss.setValue(""),m.controls.financial_profit_to_sale_variation.setValue(""),m.controls.financial_variation.setValue("")):m.controls.financial_margin_of_loss.setValue((o=s.financial_net_loss/s.financial_annual_sale*100*-1)!=1/0?Number.isNaN(o)?0:o.toFixed(2):0))),e[c]=""!=i?i:0,u[c]=""!=o?o:0,(""!=i||""!=o)&&0!=c){o=void 0!==o?o:0,i=void 0!==i?i:0;var v=void 0!==u[c-1]?u[c-1]:0,y=void 0!==e[c-1]?e[c-1]:0;if(""!=r){var C=100*(((""!=i?i:o)-(0!=y?y:v))/(0!=y?Math.abs(y):Math.abs(v))),w=C!=1/0?Number.isNaN(C)?0:C!=-1/0?C.toFixed(2):0:0;m.controls.financial_profit_to_sale_variation.setValue(w)}}})},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 t=(u-e)/e*100;if(e<=5e6)if(t>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(t>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(t>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 t=+e+ +e/10,a=(+u+ +e)/2;t>a?(n.controls.estimate_sales_average.setValue(a!=1/0?a.toFixed(2):0),this.AV_SalesInwords[l]=this.cons.convertNumberToWords(Math.round(a))):(n.controls.estimate_sales_average.setValue(t!=1/0?t.toFixed(2):0),this.AV_SalesInwords[l]=this.cons.convertNumberToWords(Math.round(t)))}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 t=n.value.estimate_profit_range_to;if(+t>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&&""!=t){if(+u>+t)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 a=(t+u)/2,i=a*e/100;if(t-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(a!=1/0?a.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(a!=1/0?a.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,t=n.value.estimate_net_profit_to;if(+t>+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&&""!=t){if(+u>+t)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 a=(t-u)/u*100,i=+u+ +u/10,o=(+t+ +u)/2;if(u<=5e6){if(a>=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(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t: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(a>=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(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t: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(a>=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(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t: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(t!=1/0?t: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 t=n.value.estimate_loss_range_to;if(+t>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&&""!=t){if(+u>+t)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 a=(t+u)/2,i=a*e/100;if(t-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(a!=1/0?a.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(a!=1/0?a.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,t=n.value.estimate_net_loss_to;if(+t>+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&&""!=t){if(+u>+t)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 a=(t-u)/u*100,i=+u+ +u/10,o=(+t+ +u)/2;if(u<=5e6){if(a>=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(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t: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(a>=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(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t: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(a>=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(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t: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(t!=1/0?t: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.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=BI([Object(uS.k)({selector:"page-pd-question-financial-info",templateUrl:"pd-question-financial-info.html",encapsulation:uS._2.None}),RI("design:paramtypes",[tS.r,tS.s,wS,$S,LS,xS.g,gS,WS,YS])],l)}(),MI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},KI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},HI=function(){function l(l,n,e,u,t,a,i,o){var r=this;this.navCtrl=l,this.navParams=n,this.qustCat=e,this.aws=u,this.toast=t,this.fb=a,this.loading=i,this.cameraProvider=o,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.imageBucket=[],this.tab="0",this.complete_status=!1,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;r.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()}),r.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&&r.m_tradingProducts.push(l.prodcuts),4==l.type_of_activity_id&&l.prodcuts&&r.m_tradingProducts.push(l.prodcuts)}),r.m_tradingProducts=[].concat.apply([],r.m_tradingProducts),r.initFormLoadDetails(n.type_of_activity)}else r.toast.pdTriggerappmessage("No Category Records Found.!"),r.noRecordsFound=!1,r.errorMessage=l.msg},function(l){r.toast.pdTriggerappmessage("No Category Records Found.!"),r.noRecordsFound=!1,r.errorMessage="No Records Found , Something went Wrong!"}),this.getdropList(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionClientInfoPage"),this.getPDImages()},l.prototype.initFormLoadDetails=function(l){var n=this,e={};e.parent_pdid=this.pdDetails.parent_pd_id,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({parent_pdid:[n.pdDetails.parent_pd_id],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)if(u.manufacturing_details){console.log(u);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)}else console.log("NO Data",u),n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0)if(u.trade_details){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)}else 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)if(u.service_provider_details){n.initServiceProviderProductsDetails(t=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)}else 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}else{n.clientInfoForm=n.fb.group({parent_pdid:[n.pdDetails.parent_pd_id],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 t=Object.keys(u.service_products).map(function(l){return u.service_products[l]});n.initServiceProviderProductsDetails(t),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({parent_pdid:[n.pdDetails.parent_pd_id],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}),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.clientInfoForm.markAsUntouched(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):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 t=this.trdCounter.reduce(function(l,n){return l+ +n},0);this.trdCreditCardFlag=t>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.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=MI([Object(uS.k)({selector:"page-pd-question-client-info",templateUrl:"pd-question-client-info.html"}),KI("design:paramtypes",[tS.r,tS.s,LS,wS,$S,xS.g,YS,WS])],l)}(),GI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},YI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},zI=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.toast=a,this.cons=i,this.salesData=[],this.annual=[],this.annualSaleAmtInwords=[],this.marginAmtInwords=[],this.marginFinalAmtInwords=[],this.ratePerUnitAmtInwords=[],this.margin_calculation_status=[],this.check_type=[{type_id:"1",type_name:"Quantity and Rate Information"},{type_id:"2",type_name:"Value Information"}],this.product_and_services=[],this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.margin_calculation_status=this.navParams.get("margin_calculation_status"),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(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}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}))}),this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(function(n){if(1==n.dataStatus){var e=n.records,u=Object.keys(e.type_of_activity).map(function(l){return e.type_of_activity[l]});u.length>0&&u.forEach(function(n){2==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),3==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),4==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),5==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts)}),console.log("before",l.product_and_services),l.product_and_services=[].concat.apply([],l.product_and_services),console.log("After",l.product_and_services)}})},l.prototype.createSalesCal=function(){return this.fb.group({sci_id:[null],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],sales_item:[null,xS.y.compose([xS.y.required])],other_sales_item:[null],sales_qty:[null,xS.y.compose([xS.y.required])],sales_type:["1"],fk_uom_id:[null,xS.y.compose([xS.y.required])],uom_other:[null],rate_per_unit:[null,xS.y.compose([xS.y.required])],fk_frequency_id:[null,xS.y.compose([xS.y.required])],annual_sale_value:[null],margin_per:[null],margin_per_uom:[null],margin_final_value:[null],comments:[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,n){var e=this;console.log("value",n),this.annual.splice(l,1),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0),console.log(this.grandTotal),console.log("pd",this.pdDetails);if(null!=n.sci_id&&null!=n.fk_pd_id){this.qustCat.saveassessedForms("saveAssessedIncomeSalesCalculatedByItemwise",{records:[{sci_id:n.sci_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.assessedForm.get("salesCalItemwise");1==u.length?(u.removeAt(l),this.addSalesCal()):u.removeAt(l)},l.prototype.salecalculat=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;if(""!=n.rate_per_unit&&null!=n.rate_per_unit&&(console.log("Rate Per value",n.rate_per_unit),this.inWords(n.rate_per_unit,l,4)),""!=n.sales_qty&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){console.log("Frequency",n.fk_frequency_id);var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id}),t=parseInt(n.sales_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor);e.controls[l].controls.annual_sale_value.setValue(parseInt(n.sales_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor)),this.inWords(t,l,1)}else e.controls[l].controls.annual_sale_value.setValue("");!0===this.margin_calculation_status&&(""==n.margin_per_uom&&""!=n.margin_per?this.salesMarginPerCalculation(l,this.assessedForm.value.salesCalItemwise[l]):this.salesMarginAmtCalculation(l,this.assessedForm.value.salesCalItemwise[l]))},l.prototype.salesCalculation=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;if("1"==n.sales_type&&""!=n.sales_qty&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_sale_value.setValue((parseFloat(n.sales_qty)*parseFloat(n.rate_per_unit)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.sales_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,1)}else if("2"==n.sales_type&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_sale_value.setValue((parseFloat(n.rate_per_unit)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,1)}else e.controls[l].controls.annual_sale_value.setValue("");!0===this.margin_calculation_status&&(""==n.margin_per_uom&&""!=n.margin_per?this.salesMarginPerCalculation(l,this.assessedForm.value.salesCalItemwise[l]):this.salesMarginAmtCalculation(l,this.assessedForm.value.salesCalItemwise[l]))},l.prototype.salesMarginPerCalculation=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;e.controls[l].controls.margin_per_uom.setValue(""),""!=n.margin_per&&""!=n.annual_sale_value&&null!=n.margin_per&&null!=n.annual_sale_value?(e.controls[l].controls.margin_final_value.setValue((parseFloat(n.annual_sale_value)*(parseFloat(n.margin_per)/100)).toFixed(2)),this.inWords(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100),l,3)):e.controls[l].controls.margin_final_value.setValue("")},l.prototype.salesMarginAmtCalculation=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;if(e.controls[l].controls.margin_per.setValue(""),"1"==n.sales_type&&""!=n.margin_per_uom&&null!=n.margin_per_uom&&""!=n.sales_qty&&null!=n.sales_qty&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id}),t=parseFloat(n.sales_qty)*parseFloat(n.margin_per_uom)*parseFloat(u[0].mutiple_factor);e.controls[l].controls.margin_final_value.setValue(t.toFixed(2)),this.inWords(t.toFixed(2),l,3)}else if("2"==n.sales_type&&""!=n.margin_per_uom&&null!=n.margin_per_uom&&""!=n.rate_per_unit&&null!=n.rate_per_unit){var a=parseFloat(n.rate_per_unit)*parseFloat(n.margin_per_uom);e.controls[l].controls.margin_final_value.setValue(a.toFixed(2)),this.inWords(a.toFixed(2),l,3)}else e.controls[l].controls.margin_final_value.setValue("")},l.prototype.getSalesCalc=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;e.controls[l].controls.margin_per_uom.setValue(""),""!=n.margin_per&&""!=n.annual_sale_value&&null!=n.margin_per&&null!=n.annual_sale_value?(e.controls[l].controls.margin_final_value.setValue(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100)),this.inWords(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100),l,3)):e.controls[l].controls.margin_final_value.setValue("")},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.annualSaleAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 2:this.marginAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 3:this.marginFinalAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 4:console.log("Rate",l),this.ratePerUnitAmtInwords[n]=this.cons.convertNumberToWords(l)}},l.prototype.saveData=function(l){var n=this;if(this.assessedForm.valid){var e={records:l.salesCalItemwise};console.log(e),this.qustCat.saveassessedForms("saveAssessedIncomeSalesCalculatedByItemwise",e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}else console.log(l),this.toast.pdTriggerappmessage("Please Fill all the Fields")},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)),null!=l.rate_per_unit&&(n.ratePerUnitAmtInwords[u]=n.cons.convertNumberToWords(l.rate_per_unit)),null!=l.annual_sale_value&&(n.annualSaleAmtInwords[u]=n.cons.convertNumberToWords(l.annual_sale_value)),null!=l.margin_per_uom&&(n.marginAmtInwords[u]=n.cons.convertNumberToWords(l.margin_per_uom)),null!=l.margin_final_value&&(n.marginFinalAmtInwords[u]=n.cons.convertNumberToWords(l.margin_final_value)),n.changeOptions(u,l.sales_type)}),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0)},l.prototype.changeOptions=function(l,n){console.log("ai");var e=this.assessedForm.controls.salesCalItemwise;"1"==n.value?(e.controls[l].controls.fk_frequency_id.setValue(""),e.controls[l].controls.fk_frequency_id.clearValidators(),e.controls[l].controls.fk_frequency_id.updateValueAndValidity(),e.controls[l].controls.annual_sale_value.setValue(""),e.controls[l].controls.annual_sale_value.clearValidators(),e.controls[l].controls.annual_sale_value.updateValueAndValidity(),e.controls[l].controls.rate_per_unit.setValue(""),e.controls[l].controls.rate_per_unit.clearValidators(),e.controls[l].controls.rate_per_unit.updateValueAndValidity(),e.controls[l].controls.sales_qty.setValidators([xS.y.required]),e.controls[l].controls.sales_qty.updateValueAndValidity(),e.controls[l].controls.fk_uom_id.setValidators([xS.y.required]),e.controls[l].controls.fk_uom_id.updateValueAndValidity(),this.salesCalculation(l,e.controls[l].value)):"2"==n.value&&(e.controls[l].controls.sales_qty.setValue(""),e.controls[l].controls.sales_qty.clearValidators(),e.controls[l].controls.sales_qty.updateValueAndValidity(),e.controls[l].controls.fk_uom_id.setValue(""),e.controls[l].controls.fk_uom_id.clearValidators(),e.controls[l].controls.fk_uom_id.updateValueAndValidity(),e.controls[l].controls.margin_per_uom.setValue(""),this.salesCalculation(l,e.controls[l].value))},l.prototype.createSaleswithData=function(l){return this.fb.group({sci_id:[l.sci_id],company_id:[this.pdDetails.company_id],fk_pd_id:[this.pdDetails.pd_id],sales_item:[l.sales_item,xS.y.compose([xS.y.required])],other_sales_item:[l.other_sales_item],sales_type:[l.sales_type,xS.y.compose([xS.y.required])],sales_qty:[l.sales_qty,xS.y.compose([xS.y.required])],fk_uom_id:[l.fk_uom_id,xS.y.compose([xS.y.required])],uom_other:[l.uom_other],rate_per_unit:[l.rate_per_unit,xS.y.compose([xS.y.required])],fk_frequency_id:[l.fk_frequency_id,xS.y.compose([xS.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],comments:[l.comments]})},l=GI([Object(uS.k)({selector:"page-pd-question-assessed-sales",templateUrl:"pd-question-assessed-sales.html"}),YI("design:paramtypes",[tS.r,tS.s,wS,xS.g,LS,$S,gS])],l)}(),QI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},JI=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ZI=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.constant=i,this.pipe=new wI.e("en-US"),this.Value=[],this.marginAmtInwords=[],this.frequencyData=[],this.freqAmtInwords=[],this.check_type=[{type_id:"1",type_name:"Date Information"},{type_id:"2",type_name:"Frequency Information"}],this.product_and_services=[],this.complete_status=!1,this.temparr=[],this.tempdate=[];var o=new Date;console.log("today",o);var r=o.getDate()<10?"0"+o.getDate():o.getDate(),_=o.getMonth()<10?"0"+(o.getMonth()+1):o.getMonth()+1;this.maxDate=o.getFullYear()+"-"+_+"-"+r,console.log("max",this.maxDate),this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.salesDaily=this.navParams.get("salesDaily"),this.margin_calculation_status=this.navParams.get("margin_calculation_status"),this.users=this.aws.getlocale(),this.currentDate=i.getcurrentDate().replace("T00:00",""),this.salesDailyForm=this.fb.group({sales_product:this.fb.array([])}),null!=this.salesDaily?this.getDailySalesData(this.salesDaily):this.adddailySalaesProduct(),this.getDropDown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDailySalesPage")},l.prototype.getDropDown=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){l.frequencyData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(function(n){if(1==n.dataStatus){var e=n.records,u=Object.keys(e.type_of_activity).map(function(l){return e.type_of_activity[l]});u.length>0&&u.forEach(function(n){2==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),3==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),4==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts),5==n.type_of_activity_id&&n.prodcuts&&l.product_and_services.push(n.prodcuts)}),console.log("before",l.product_and_services),l.product_and_services=[].concat.apply([],l.product_and_services),console.log("After",l.product_and_services)}})},l.prototype.changeOptions=function(l,n){console.log("event",n);var e=this.salesDailyForm.controls.sales_product;console.log("control",e);var u=e.controls[l].get("child");if("1"==n){for(var t=0;t0&&""!=n.margin_per&&null!=n.margin_per){var t=n.child.filter(function(l){return""!=l.sales_date&&null!=l.sales_date&&void 0!=l.sales_date&&""!=l.sales_value&&1==l.isactive}).map(function(l){return l.custum_date=e.pipe.transform(l.sales_date,"yyyy-MM"),l});if(console.log("transform",t),t.length>0){var a=t.map(function(l){return l.custum_date}).filter(function(l,n,e){return n===e.indexOf(l)}),i=t.map(function(l){return l.sales_value}).reduce(function(l,n){return parseFloat(l)+parseFloat(n)});console.log("value",(parseFloat(i)*(parseFloat(n.margin_per)/100)*(12/parseFloat(a.length))).toFixed(2)),console.log(u.controls[l]),u.controls[l].controls.margin_value.setValue((parseFloat(i)*(parseFloat(n.margin_per)/100)*(12/parseFloat(a.length))).toFixed(2)),this.inWords(parseInt(i)*(parseInt(n.margin_per)/100)*(12/parseInt(a.length)),l,2)}else console.log("else 1"),u.controls[l].controls.margin_value.setValue("");console.log("else 1")}else console.log("else 2"),u.controls[l].controls.margin_value.setValue("")}else if(!0===this.margin_calculation_status&&"2"==n.sales_type){var o=(u=this.salesDailyForm.controls.sales_product).controls[l].get("child");if(""!=n.child[n.child.length-1].fk_frequency_id&&""!=n.child[n.child.length-1].frequency_value&&null!=n.child[n.child.length-1].fk_frequency_id&&null!=n.child[n.child.length-1].frequency_value){var r=this.frequencyData.filter(function(l){return l.frequency_id==n.child[n.child.length-1].fk_frequency_id});o.controls[o.value.length-1].controls.sales_value.setValue((parseFloat(r[0].mutiple_factor)*parseFloat(n.child[n.child.length-1].frequency_value)).toFixed(2)),this.inWords(parseInt(r[0].mutiple_factor)*parseInt(n.child[n.child.length-1].frequency_value),o.value.length-1,1);i=parseFloat(r[0].mutiple_factor)*parseFloat(n.child[n.child.length-1].frequency_value);""!=n.margin_per&&u.controls[l].controls.margin_value.setValue((i*(parseFloat(n.margin_per)/100)).toFixed(2)),""!=n.margin_per&&this.inWords(i*(parseInt(n.margin_per)/100),l,2)}else o.controls[o.value.length-1].controls.sales_value.setValue(""),u.controls[l].controls.margin_value.setValue("")}else if(!1===this.margin_calculation_status&&"2"==n.sales_type){o=(u=this.salesDailyForm.controls.sales_product).controls[l].get("child");if(""!=n.child[n.child.length-1].fk_frequency_id&&""!=n.child[n.child.length-1].frequency_value&&null!=n.child[n.child.length-1].fk_frequency_id&&null!=n.child[n.child.length-1].frequency_value){r=this.frequencyData.filter(function(l){return l.frequency_id==n.child[n.child.length-1].fk_frequency_id});o.controls[o.value.length-1].controls.sales_value.setValue((parseFloat(r[0].mutiple_factor)*parseFloat(n.child[n.child.length-1].frequency_value)).toFixed(2)),this.inWords(parseInt(r[0].mutiple_factor)*parseInt(n.child[n.child.length-1].frequency_value),o.value.length-1,1)}else o.controls[o.value.length-1].controls.sales_value.setValue("")}},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.constant.convertNumberToWords(l);break;case 2:this.marginAmtInwords[n]=this.constant.convertNumberToWords(l);break;case 3:this.freqAmtInwords[n]=this.constant.convertNumberToWords(l)}},l.prototype.adddailySalaesProduct=function(){if(this.tempdate=[],this.salesDailyForm.valid){var l=this.salesDailyForm.get("sales_product");l.push(this.createdailysalesProduct()),this.adddailyChildSaleProduct(l.length-1)}},l.prototype.adddailyChildSaleProduct=function(l){this.salesDailyForm.get("sales_product").at(l).get("child").push(this.createdailyChildSaleProduct())},l.prototype.deletedailySalesProduct=function(l,n){var e=this;console.log("fk_pd_id",n),this.tempdate.slice(l,1);if(null!=n.fk_pd_id){this.qustCat.saveassessedForms("saveAssessedIncomeMonthwiseItems",{records:[{sim_id:n.sim_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.salesDailyForm.controls.sales_product;1==u.length?this.salesDailyForm.controls.sales_product.reset():u.removeAt(l)},l.prototype.deletedailyChildSaleProduct=function(l,n,e){var u=this.salesDailyForm.controls.sales_product;u=u.controls[l].get("child"),""==e||null==e?u.removeAt(n):(console.log("control",u.controls[n]),u.controls[n].get("isactive").setValue(!1))},l.prototype.saveData=function(l){var n=this;if(l.sales_product.forEach(function(l){l.child.forEach(function(l){l.custum_date&&delete l.custum_date,l.sales_date&&(l.sales_date=n.pipe.transform(l.sales_date,"yyyy-MM-dd"))})}),this.salesDailyForm.valid){var e={records:l.sales_product};console.log("answer Data",e),this.qustCat.saveassessedForms("saveAssessedIncomeMonthwiseItems",e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}else console.log("pd",this.salesDailyForm),this.toast.pdTriggerappmessage("Please Fill all the Fields")},l.prototype.getDailySalesData=function(l){var n=this;console.log("daily sale",l);var e,u=this.salesDailyForm.get("sales_product"),t=[];l.forEach(function(l,a){null!=l.margin_per&&""!=l.margin_per&&(console.log("c",parseInt(l.margin_per).toFixed(2)),l.margin_per=parseInt(l.margin_per).toFixed(2)),null!=l.margin_value&&""!=l.margin_value&&(l.margin_value=parseInt(l.margin_value).toFixed(2)),u.push(n.dailySalesWithData(l)),null!=l.margin_value&&(n.marginAmtInwords[a]=n.constant.convertNumberToWords(l.margin_value)),e=n.salesDailyForm.controls.sales_product.at(a).get("child"),t[a]=Object.keys(l.items).map(function(n){return l.items[n]}),t[a].forEach(function(u,t){u.forEach(function(u,a){if(console.log("item",u,"key",a),2!=l.sales_type){var i=new Date(u.sales_date),o=i.getDate()<10?"0"+i.getDate():i.getDate(),r=i.getMonth()<10?"0"+(i.getMonth()+1):i.getMonth()+1;console.log("sale Day",i.getDay()),u.sales_date=i.getFullYear()+"-"+r+"-"+o}console.log("itme",l),console.log("sale",u.sales_date),e.push(n.dailySalesChildWithData(u,l.sim_id,l.sales_type)),null!=u.sales_value&&(n.Value[t]=n.constant.convertNumberToWords(u.sales_value)),null!=u.frequency_value&&(n.freqAmtInwords[t]=n.constant.convertNumberToWords(u.frequency_value))})}),"2"==l.sales_type&&(e.controls[e.value.length-1].controls.sales_date.setValue(""),e.controls[e.value.length-1].controls.sales_date.clearValidators(),e.controls[e.value.length-1].controls.sales_date.updateValueAndValidity(),e.controls[e.value.length-1].controls.fk_frequency_id.setValidators([xS.y.required]),e.controls[e.value.length-1].controls.fk_frequency_id.updateValueAndValidity(),e.controls[e.value.length-1].controls.frequency_value.setValidators([xS.y.required]),e.controls[e.value.length-1].controls.frequency_value.updateValueAndValidity())}),console.log("aall",this.salesDailyForm.value)},l.prototype.dailySalesWithData=function(l){return this.fb.group({sim_id:[l.sim_id],sales_item:[l.sales_item],other_sales_item:[l.other_sales_item],sales_type:[l.sales_type],child:this.fb.array([]),fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],fk_createdby:[this.users],isactive:[!0],margin_per:[null==l.margin_per?"":l.margin_per],margin_value:[null==l.margin_value?"":l.margin_value],comments:[l.comments]})},l.prototype.dailySalesChildWithData=function(l,n,e){return console.log("Sales type",e),this.fb.group({simc_id:[l.simc_id],fk_sim_id:[n],sales_date:[2==e?"":l.sales_date],sales_value:[l.sales_value],fk_frequency_id:[l.fk_frequency_id],frequency_value:[l.frequency_value],isactive:[!0]})},l=QI([Object(uS.k)({selector:"page-pd-question-assessed-daily-sales",templateUrl:"pd-question-assessed-daily-sales.html"}),JI("design:paramtypes",[tS.r,tS.s,wS,LS,$S,xS.g,gS])],l)}(),XI=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},lq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},nq=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.fb=n,this.navParams=e,this.qustCat=u,this.toast=t,this.aws=a,this.cons=i,this.annual=[],this.RateOfPurchase=[],this.AnnualPurchase=[],this.productListData=[],this.check_type=[{type_id:"1",type_name:"Quantity and Rate Information"},{type_id:"2",type_name:"Value Information"}],this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.purchaseDetails=this.navParams.get("purchase"),console.log("purchase",this.purchaseDetails),console.log("pd",this.pdDetails),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(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}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],company_id:[this.pdDetails.company_id],purchase_item:[null,xS.y.compose([xS.y.required])],other_purchase_item:[null],purchase_type:["1"],purchase_qty:[null,xS.y.compose([xS.y.required])],fk_uom_id:[null,xS.y.compose([xS.y.required])],uom_other:[null],rate_per_unit:[null,xS.y.compose([xS.y.required])],fk_frequency_id:[null,xS.y.compose([xS.y.required])],annual_purchase_value:[null,xS.y.compose([xS.y.required])],comments:[null],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}))}),this.qustCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(function(n){if(n.dataStatus){var e=n.record;e.from_business.filter(function(l){return 2==l.type_of_activity_id})[0].hasOwnProperty("products");var u=e.from_business.filter(function(l){return 3==l.type_of_activity_id});u[0].hasOwnProperty("products")&&l.productListData.push(u[0].products);var t=e.from_business.filter(function(l){return 4==l.type_of_activity_id});t[0].hasOwnProperty("products")&&l.productListData.push(t[0].products),e.from_supplier.hasOwnProperty("raw_material")&&l.productListData.push(e.from_supplier.raw_material),l.productListData=[].concat.apply([],l.productListData)}})},l.prototype.addPurchaseDetails=function(){this.rawMaterialForm.controls.purchase.push(this.createPurchaseDetails())},l.prototype.deletePurchaseDetails=function(l,n){var e=this;this.annual.splice(l,1),this.grandpurchaseTotal=this.annual.reduce(function(l,n){return+l+ +n},0);if(null!=n.fk_pd_id){this.qustCat.saveassessedForms("saveAssessedIncomePurchaseDetails",{records:[{purchase_id:n.purchase_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.rawMaterialForm.controls.purchase;1==u.length?u.reset():u.removeAt(l)},l.prototype.purchaseCalculation=function(l,n){console.log("value",n);var e=this.rawMaterialForm.controls.purchase;if("1"==n.purchase_type&&""!=n.purchase_qty&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.purchase_qty&&null!=n.rate_per_unit&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_purchase_value.setValue((parseFloat(n.purchase_qty)*parseFloat(n.rate_per_unit)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.purchase_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,2)}else if("2"==n.purchase_type&&""!=n.rate_per_unit&&null!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_purchase_value.setValue((parseFloat(n.rate_per_unit)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_purchase_value.setValue(null)},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.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}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,null!=l.rate_per_unit&&(n.RateOfPurchase[u]=n.cons.convertNumberToWords(l.rate_per_unit)),null!=l.annual_purchase_value&&(n.AnnualPurchase[u]=n.cons.convertNumberToWords(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],company_id:[this.pdDetails.company_id],purchase_item:[l.purchase_item,xS.y.compose([xS.y.required])],other_purchase_item:[l.other_purchase_item],purchase_type:[l.purchase_type],purchase_qty:[l.purchase_qty,xS.y.compose([xS.y.required])],fk_uom_id:[l.fk_uom_id,xS.y.compose([xS.y.required])],uom_other:[l.uom_other],rate_per_unit:[l.rate_per_unit,xS.y.compose([xS.y.required])],fk_frequency_id:[l.fk_frequency_id,xS.y.compose([xS.y.required])],annual_purchase_value:[l.annual_purchase_value,xS.y.compose([xS.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.changeOptions=function(l,n){console.log("event",n);var e=this.rawMaterialForm.controls.purchase;"1"==n.value?(e.controls[l].controls.purchase_qty.setValidators([xS.y.required]),e.controls[l].controls.purchase_qty.updateValueAndValidity(),e.controls[l].controls.fk_uom_id.setValidators([xS.y.required]),e.controls[l].controls.fk_uom_id.updateValueAndValidity(),this.purchaseCalculation(l,e.controls[l].value)):"2"==n.value&&(e.controls[l].controls.purchase_qty.setValue(""),e.controls[l].controls.purchase_qty.clearValidators(),e.controls[l].controls.purchase_qty.updateValueAndValidity(),e.controls[l].controls.fk_uom_id.setValue(""),e.controls[l].controls.fk_uom_id.clearValidators(),e.controls[l].controls.fk_uom_id.updateValueAndValidity(),this.purchaseCalculation(l,e.controls[l].value))},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.RateOfPurchase[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualPurchase[n]=this.cons.convertNumberToWords(l)}},l=XI([Object(uS.k)({selector:"page-pd-question-assessed-purchase",templateUrl:"pd-question-assessed-purchase.html"}),lq("design:paramtypes",[tS.r,xS.g,tS.s,LS,$S,wS,gS])],l)}(),eq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},uq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},tq=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.Value=[],this.AnnualExpenses=[],this.complete_status=!1,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(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}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,xS.y.compose([xS.y.required])],expense_value:[null,xS.y.compose([xS.y.required])],fk_frequency_id:[null,xS.y.compose([xS.y.required])],annual_expenses_value:[null,xS.y.compose([xS.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users]})},l.prototype.businessCalculation=function(l,n){var e=this.BuissnessForm.controls.busExpense;if(""!=n.expense_value&&""!=n.fk_frequency_id&&null!=n.expense_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_expenses_value.setValue((parseFloat(n.expense_value)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.expense_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_expenses_value.setValue(null)},l.prototype.addBusinessDetails=function(){this.BuissnessForm.controls.busExpense.push(this.createBusinessDetails())},l.prototype.deleteBuisnessDetails=function(l,n){var e=this;console.log("item",n),this.expenseannual.splice(l,1),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0);if(null!=n.fk_pd_id){this.qustCat.saveassessedForms("saveAssessedIncomeBusinessExpenses",{records:[{pd_expense_id:n.pd_expense_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.BuissnessForm.controls.busExpense;1==u.length?u.reset():u.removeAt(l)},l.prototype.busExpensecalculat=function(l,n){var e,u=n.value.fk_frequency_id,t=n.value.expense_value;null!=t?(1==u||(2==u?(this.expenseannual[l]=e=250*t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2)):3==u?(this.expenseannual[l]=e=t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2)):4==u||5==u&&(this.expenseannual[l]=e=12*t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2))),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){this.qustCat.saveassessedForms("saveAssessedIncomeBusinessExpenses",{records:l.busExpense}).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}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)),null!=l.expense_value&&(n.Value[u]=n.cons.convertNumberToWords(l.expense_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_expenses_value))}),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,xS.y.compose([xS.y.required])],expense_value:[l.expense_value,xS.y.compose([xS.y.required])],fk_frequency_id:[l.fk_frequency_id,xS.y.compose([xS.y.required])],annual_expenses_value:[l.annual_expenses_value,xS.y.compose([xS.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=eq([Object(uS.k)({selector:"page-pd-question-assessed-business",templateUrl:"pd-question-assessed-business.html"}),uq("design:paramtypes",[tS.r,tS.s,xS.g,wS,LS,$S,gS])],l)}(),aq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},iq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},oq=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.toast=t,this.qustCat=a,this.cons=i,this.houseannual=[],this.grandHouseExpenseTotal=[],this.Value=[],this.AnnualExpenses=[],this.complete_status=!1,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(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}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],company_id:[this.pdDetails.company_id],expense_item:[null,xS.y.compose([xS.y.required])],expense_value:[null,xS.y.compose([xS.y.required])],fk_frequency_id:[null,xS.y.compose([xS.y.required])],annual_expense_value:[null,xS.y.compose([xS.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users]})},l.prototype.addHouseExpenses=function(){this.houseHoldForm.controls.houseExpense.push(this.createHouseExpense())},l.prototype.deleteHouseExpense=function(l,n){var e=this;this.houseannual.splice(l,1),this.grandHouseExpenseTotal=this.houseannual.reduce(function(l,n){return+l+ +n},0);if(null!=n.household_expense_id){this.qustCat.saveassessedForms("saveAssessedIncomeHouseholdExpenses",{records:[{household_expense_id:n.household_expense_id,fk_pd_id:n.fk_pd_id,company_id:this.pdDetails.company_id,isactive:!1}]}).subscribe(function(l){e.toast.pdTriggerappmessage(1==l.dataStatus?"Record Deleted Successfully":"Something Went Wrong")})}var u=this.houseHoldForm.controls.houseExpense;1==u.length?u.reset():u.removeAt(l)},l.prototype.houseExpensecalculat=function(l,n){var e=this.houseHoldForm.controls.houseExpense;if(""!=n.expense_value&&""!=n.fk_frequency_id&&null!=n.expense_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_expense_value.setValue((parseFloat(n.expense_value)*parseFloat(u[0].mutiple_factor)).toFixed(2)),this.inWords(parseInt(n.expense_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_expense_value.setValue(null)},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.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}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)),null!=l.expense_value&&(n.Value[u]=n.cons.convertNumberToWords(l.expense_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_expense_value))}),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],company_id:[this.pdDetails.company_id],expense_item:[l.expense_item,xS.y.compose([xS.y.required])],expense_value:[l.expense_value,xS.y.compose([xS.y.required])],fk_frequency_id:[l.fk_frequency_id,xS.y.compose([xS.y.required])],annual_expense_value:[l.annual_expense_value,xS.y.compose([xS.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=aq([Object(uS.k)({selector:"page-pd-question-assessed-household",templateUrl:"pd-question-assessed-household.html"}),iq("design:paramtypes",[tS.r,tS.s,xS.g,wS,$S,LS,gS])],l)}(),rq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},_q=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},dq=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.m_freqOfPurchase=[],this.grandIncomeTotal=[],this.incomeannual=[],this.Value=[],this.AnnualExpenses=[],this.complete_status=!1,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([])}),null!=this.expenseDetails?this.getBuisnessExpenses(this.expenseDetails):this.addBusinessDetails(),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}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,xS.y.compose([xS.y.required])],income_value:[null,xS.y.compose([xS.y.required])],fk_frequency_id:[null,xS.y.compose([xS.y.required])],annual_income_value:[null,xS.y.compose([xS.y.required])],comments:[null],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){var e=this.BuissnessForm.controls.busIncome;if(""!=n.income_value&&""!=n.fk_frequency_id&&null!=n.income_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_income_value.setValue(parseInt(n.income_value)*parseInt(u[0].mutiple_factor)),this.inWords(parseInt(n.income_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_income_value.setValue("")},l.prototype.saveBusinessData=function(l){var n=this;if(this.BuissnessForm.valid){this.qustCat.saveassessedForms("saveOtherBusinessIncome",{records:l.busIncome}).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},1500))})}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)),null!=l.income_value&&(n.Value[u]=n.cons.convertNumberToWords(l.income_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_income_value))}),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,xS.y.compose([xS.y.required])],income_value:[l.income_value,xS.y.compose([xS.y.required])],fk_frequency_id:[l.fk_frequency_id,xS.y.compose([xS.y.required])],annual_income_value:[l.annual_income_value,xS.y.compose([xS.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users],other_income_item:[l.other_income_item],other_frequncy_item:[l.other_frequncy_item]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=rq([Object(uS.k)({selector:"page-pd-question-assessed-business-income",templateUrl:"pd-question-assessed-business-income.html"}),_q("design:paramtypes",[tS.r,tS.s,xS.g,wS,LS,$S,gS])],l)}(),sq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},cq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},mq=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.quesCat=t,this.toast=a,this.cons=i,this.pipe=new wI.e("en-US"),this.productListData=[],this.purchaseAmtInWords=[],this.complete_status=!1;var o=new Date;console.log("today",o);var r=o.getDate()<10?"0"+o.getDate():o.getDate(),_=o.getMonth()<10?"0"+(o.getMonth()+1):o.getMonth()+1;this.maxDate=o.getFullYear()+"-"+_+"-"+r,console.log("max",this.maxDate),this.pdDetails=this.navParams.get("pdDetails"),console.log("pd",this.pdDetails),this.formId=this.navParams.get("FormId"),this.purchaseData=this.navParams.get("purchaseDaily"),console.log("data",this.purchaseData),this.margin_calculation_status=this.navParams.get("margin_calculation_status"),this.users=this.aws.getlocale(),this.purchaseItemForm=this.fb.group({purchase_product:this.fb.array([])}),this.getDropDown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDailyPurchasePage"),null!=this.purchaseData?this.getDailyPurchase(this.purchaseData):this.addPurchase()},l.prototype.getDropDown=function(){var l=this;this.quesCat.stockFormAccess(this.pdDetails.pd_id,this.pdDetails.company_id).subscribe(function(n){if(n.dataStatus){var e=n.record;e.from_business.filter(function(l){return 2==l.type_of_activity_id})[0].hasOwnProperty("products");var u=e.from_business.filter(function(l){return 3==l.type_of_activity_id});u[0].hasOwnProperty("products")&&l.productListData.push(u[0].products);var t=e.from_business.filter(function(l){return 4==l.type_of_activity_id});t[0].hasOwnProperty("products")&&l.productListData.push(t[0].products),e.from_supplier.hasOwnProperty("raw_material")&&l.productListData.push(e.from_supplier.raw_material),l.productListData=[].concat.apply([],l.productListData)}})},l.prototype.addPurchase=function(){var l=this.purchaseItemForm.get("purchase_product");l.push(this.createDailyPurchase()),this.addDailyPurchaseChild(l.length-1)},l.prototype.createDailyPurchase=function(){return this.fb.group({fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],pbw_id:[""],purchase_item:["",xS.y.compose([xS.y.required])],other_purchase_item:[""],annual_purchase_value:[""],child:this.fb.array([]),comments:[""],isactive:[!0]})},l.prototype.addDailyPurchaseChild=function(l){this.purchaseItemForm.get("purchase_product").at(l).get("child").push(this.createDailyPurchaseChild(""))},l.prototype.createDailyPurchaseChild=function(l){return this.fb.group({pbwc_id:[""],fk_pbw_id:[l],purchase_date:[""],purchase_value:["",xS.y.compose([xS.y.required])],isactive:[!0]})},l.prototype.createPurchaseItemWithData=function(l){return this.fb.group({fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],pbw_id:[l.pbw_id],purchase_item:[l.purchase_item,xS.y.compose([xS.y.required])],other_purchase_item:[null===l.other_purchase_item?"":l.other_purchase_item],annual_purchase_value:[l.annual_purchase_value],child:this.fb.array([]),comments:[l.comments],isactive:[!0]})},l.prototype.createDailyPurchaseWithData=function(l,n){return console.log("dd",new Date(this.pipe.transform(l.purchase_date,"yyyy-MM-dd"))),this.fb.group({pbwc_id:[l.pbwc_id],fk_pbw_id:[n.pbw_id],purchase_date:[l.purchase_date],purchase_value:[l.purchase_value,xS.y.compose([xS.y.required])],isactive:[!0]})},l.prototype.inWords=function(l,n){console.log("value",l),""!=l&&(this.purchaseAmtInWords[n]=this.cons.convertNumberToWords(l))},l.prototype.purchaseCalculation=function(l,n){var e=this,u=this.purchaseItemForm.controls.purchase_product;if(n.child.length>0){var t=n.child.filter(function(l){return""!=l.purchase_date&&null!=l.purchase_date&&void 0!=l.purchase_date&&""!=l.purchase_value&&!0===l.isactive}).map(function(l){return l.custum_date=e.pipe.transform(l.purchase_date,"yyyy-MM"),l});if(t.length>0){var a=t.map(function(l){return l.purchase_value}).reduce(function(l,n){return parseInt(l)+parseInt(n)});u.controls[l].controls.annual_purchase_value.setValue(a)}else u.controls[l].controls.annual_purchase_value.setValue("")}else{var i=u.controls[l].get("child");i.controls[i.value.length-1].controls.purchase_value.setValue(""),u.controls[l].controls.annual_purchase_value.setValue("")}},l.prototype.addDailyPurchase=function(l){var n=this.purchaseItemForm.get("purchase_product");n.push(this.createDailyPurchase());n.at(l).get("child").push(this.createDailyPurchaseChild(""))},l.prototype.removeDailyPurchase=function(l){this.purchaseItemForm.get("purchase_product").removeAt(l)},l.prototype.addChild=function(l,n){var e=this.purchaseItemForm.controls.purchase_product;(e=e.controls[l].get("child")).push(this.createDailyPurchaseChild(n.pbw_id))},l.prototype.removeChild=function(l,n,e){var u=this.purchaseItemForm.controls.purchase_product;if(u=u.controls[l].get("child"),""==e.pbwc_id||null==e.pbwc_id){u.removeAt(n);this.purchaseCalculation(l,this.purchaseItemForm.controls.purchase_product.controls[l].value)}else{u.controls[n].controls.isactive.setValue(!1);this.purchaseCalculation(l,this.purchaseItemForm.controls.purchase_product.controls[l].value)}},l.prototype.getDailyPurchase=function(l){var n=this,e=this.purchaseItemForm.get("purchase_product");l.forEach(function(l,u){var t=[],a=[];e.push(n.createPurchaseItemWithData(l)),console.log("records",l);var i=Object.assign.apply(Object,[{}].concat(l.items));console.log("result",i),a[u]=Object.keys(l.items).map(function(n){return l.items[n]}),console.log("purchasechildcontrol",a[u]),t[u]=Object.keys(i).map(function(l){return i[l]}),console.log("nexcontrol",t[u]);var o=e.at(u).get("child");t[u].forEach(function(e,u){e.forEach(function(e,t){if(e.purchase_date){var a=new Date(e.purchase_date);console.log(a.getDay()),console.log(a.getDate());var i=a.getDate()<10?"0"+a.getDate():a.getDate(),r=a.getMonth()<10?"0"+(a.getMonth()+1):a.getMonth()+1;console.log("datamonth"),console.log(i,r),e.purchase_date=a.getFullYear()+"-"+r+"-"+i,console.log(e.purchase_date)}""!=e.purchase_value&&n.inWords(e.purchase_value,u),console.log("child",e),o.push(n.createDailyPurchaseWithData(e,l))})})})},l.prototype.submitDetails=function(l){var n=this;l.purchase_product.forEach(function(l){l.child.forEach(function(l){l.custum_date&&delete l.custum_date,l.purchase_date&&(l.purchase_date=n.pipe.transform(l.purchase_date,"yyyy-MM-dd"))})});this.quesCat.saveassessedForms("saveAssessedIncomePurchaseBillwise",{records:l.purchase_product}).subscribe(function(l){1==l.dataStatus?(n.toast.pdTriggerappmessage("Record Saved Successfully..!"),setTimeout(function(){n.navCtrl.pop()},1500)):n.toast.pdTriggerappmessage("Error")})},l=sq([Object(uS.k)({selector:"page-pd-question-assessed-daily-purchase",templateUrl:"pd-question-assessed-daily-purchase.html"}),cq("design:paramtypes",[tS.r,tS.s,wS,xS.g,LS,$S,gS])],l)}(),pq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},fq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},hq=function(){function l(l,n,e,u,t,a,i){switch(this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.cons=i,this.check__purchse_type=[{id:"1",name:"Yes"},{id:"2",name:"No"}],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.activateMarginCalculation=!1,this.SaleAmtInwords=[],this.marginAmtInwords=[],this.purchase_bill_wise=[],this.purchase_bill_wise_data=[],this.sales_type=[],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],comments:[null],isactive:[1],fk_createdby:[this.users]}),this.grossProfitForm=this.fb.group({calc_type_id:[""],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],mode:["",xS.y.compose([xS.y.required])],margin:[""]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedInfoPage")},l.prototype.ionViewDidEnter=function(){},l.prototype.ionViewCanEnter=function(){this.getAssessedDetails()},l.prototype.changeOptions=function(l){this.grossProfitForm.controls.margin.setValue(""),2==l.mode&&this.grossProfitForm.controls.margin.setValue("2")},l.prototype.getMarginCalc=function(){var l=this.assessedForm.controls.margin_per.value;console.log("Margin Per",l);var 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={};l.company_id=this.pdDetails.company_id,e={records:l},console.log(e),this.qustCat.saveassessedForms("saveAssessedIncomeSalesDeclaredByCustomer",e).subscribe(function(l){1==l.dataStatus&&n.toast.pdTriggerappmessage("Record Saved Successfully.!")}),setTimeout(function(){n.getAssessedDetails()},1500)},l.prototype.salesCalculation=function(l){""!=l.sales_declared_by_customer&&(this.SaleAmtInwords=this.cons.convertNumberToWords(l.sales_declared_by_customer)),""!=l.margin_per&&""!=l.sales_declared_by_customer&&(this.assessedForm.controls.margin_value.setValue((l.sales_declared_by_customer*(l.margin_per/100)).toFixed(2)),this.marginAmtInwords=this.cons.convertNumberToWords(l.sales_declared_by_customer*(l.margin_per/100)))},l.prototype.getAssessedDetails=function(){var l=this;this.sales_item_month_value=[],this.sales_month_wise_data=[],this.sales_item_value=[],this.purchase_bill_wise_data=[];var n={pd_id:this.pdDetails.pd_id,company_id:this.pdDetails.company_id};console.log("company",this.pdDetails.company_id),console.log("getAssesed",n),this.qustCat.retiverassessedForm("getAssessedIncome",n).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.totalAnnualSale_Item_wise=l.sales_item_value.map(function(l){return l.annual_sale_value}).reduce(function(l,n){return l+Number(n)},0),console.log("this.sales_item",l.totalAnnualSale_Item_wise),l.sales_item_month_value=n.records.sales_items_by_monthwise,l.purchse_details=n.records.purchase_details,l.totalAnnualpurchase_Item_wise=l.purchse_details.map(function(l){return l.annual_purchase_value}).reduce(function(l,n){return l+Number(n)},0),l.purchase_bill_wise=n.records.purchase_billwise,l.grossprofitCalc=n.records.gross_profit_calculation_type[0],l.purchase_type=l.grossprofitCalc.purchase_type,console.log("gross",l.grossprofitCalc),l.mode=l.grossprofitCalc.mode;var u=n.records.gross_profit_calculation_type.length;console.log("len",u),l.activateMarginCalculation=2==n.records.gross_profit_calculation_type[u-1].margin&&2==n.records.gross_profit_calculation_type[u-1].mode,console.log(l.activateMarginCalculation);var t=l.purchse_details.reduce(function(l,n){return l},[]);console.log(t),l.businessExpenses_details=n.records.business_expenses,l.totalAnnualBusiness_details=l.businessExpenses_details.map(function(l){return l.annual_expenses_value}).reduce(function(l,n){return l+Number(n)},0),l.houseHold_details=n.records.house_hold_expenses,l.totalAnnual_House_hold_details=l.houseHold_details.map(function(l){return l.annual_expense_value}).reduce(function(l,n){return l+Number(n)},0),l.busissnessIncome=n.records.othre_business_income,l.sales_item_month_value.forEach(function(n,e){l.sales_type[e]=n.sales_type;var u=Object.keys(n.items).map(function(l){return{header:l,value:n.items[l]}}),t=[];u.forEach(function(l,n){var e=l.value.reduce(function(l,n){return l+Number(n.sales_value)},0);t.push({items:l,itemsTotal:e})});var a=t.reduce(function(l,n){return l+Number(n.itemsTotal)},0),i=12/t.length,o=[];o.push({month_message:t.length+" Month Sales : "+a,month_value:a,year_message:" Yearly Sales Arrived : "+a*i,year_value:a*i}),l.sales_month_wise_data.push({salesItem:n.sales_item,expandElements:u,footerMessage:o,simId:n.sim_id,otherSaleItem:n.other_sales_item})}),l.purchase_bill_wise.forEach(function(n,e){console.log("0index",n.items[0]);var u=Object.assign.apply(Object,[{}].concat(n.items));console.log("result",u);var t=Object.keys(u).map(function(l){return{header:l,value:u[l]}});console.log("expanBody",t);var a=[];t.forEach(function(l,n){var e=l.value.reduce(function(l,n){return l+Number(n.purchase_value)},0);a.push({items:l,itemsTotal:e})});var i=a.reduce(function(l,n){return l+Number(n.itemsTotal)},0),o=12/a.length,r=[];r.push({month_message:a.length+" Month Sales : "+i,month_value:i,year_message:" Yearly Sales Arrived : "+i*o,year_value:i*o}),l.purchase_bill_wise_data.push({purchaseItem:n.purchase_item,expandElements:t,footerMessage:r,pbw_id:n.pbw_id,otherPurchaseItem:n.other_purchase_item})}),console.log("val purchase0",l.purchase_bill_wise_data),console.log("value",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.comments.setValue(e.comments),l.assessedForm.controls.margin_per.setValue(e.margin_per),null!=e.sales_declared_by_customer&&(l.SaleAmtInwords=l.cons.convertNumberToWords(e.sales_declared_by_customer)),null!=e.margin_value&&(l.marginAmtInwords=l.cons.convertNumberToWords(e.margin_value)))}})},l.prototype.grossProfitWithData=function(l){return this.fb.group({calc_type_id:[l.calc_type_id],fk_pd_id:[this.pdDetails.pd_id],company_id:[l.company_id],mode:[l.mode],margin:[l.margin]})},l.prototype.AddAssessedForm=function(){this.navCtrl.push(zI,{pdDetails:this.pdDetails,sales:null,margin_calculation_status:this.activateMarginCalculation})},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(zI,{pdDetails:this.pdDetails,sales:n,margin_calculation_status:this.activateMarginCalculation})},l.prototype.editAllDetails=function(l){this.navCtrl.push(zI,{pdDetails:this.pdDetails,sales:l,margin_calculation_status:this.activateMarginCalculation})},l.prototype.AddAssessedDailyForm=function(){this.navCtrl.push(ZI,{pdDetails:this.pdDetails,salesDaily:null,margin_calculation_status:this.activateMarginCalculation})},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(ZI,{pdDetails:this.pdDetails,salesDaily:n,margin_calculation_status:this.activateMarginCalculation})},l.prototype.allEditSalesDailyWise=function(l){this.navCtrl.push(ZI,{pdDetails:this.pdDetails,salesDaily:l,margin_calculation_status:this.activateMarginCalculation})},l.prototype.AddPurchaseForm=function(){this.navCtrl.push(nq,{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(nq,{pdDetails:this.pdDetails,purchase:n})},l.prototype.editPurchaseAllDetails=function(l){console.log("260",l),this.navCtrl.push(nq,{pdDetails:this.pdDetails,purchase:l})},l.prototype.AddPurchaseBillWiseForm=function(){this.navCtrl.push(mq,{pdDetails:this.pdDetails,purchaseDaily:null})},l.prototype.alleditPurchaseBillWise=function(l){this.navCtrl.push(mq,{pdDetails:this.pdDetails,purchaseDaily:l})},l.prototype.editPurchaseBillWise=function(l){var n=this.purchase_bill_wise.filter(function(n){return n.pbw_id==l});this.navCtrl.push(mq,{pdDetails:this.pdDetails,purchaseDaily:n})},l.prototype.AddExpenseForm=function(){this.navCtrl.push(tq,{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(tq,{pdDetails:this.pdDetails,expense:n})},l.prototype.editExpenseAllDetails=function(l){this.navCtrl.push(tq,{pdDetails:this.pdDetails,expense:l})},l.prototype.AddHouseExpenseForm=function(){this.navCtrl.push(oq,{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(oq,{pdDetails:this.pdDetails,expense:n})},l.prototype.editHouseExpenseAllDetails=function(l){this.navCtrl.push(oq,{pdDetails:this.pdDetails,expense:l})},l.prototype.AddIncomeForm=function(){this.navCtrl.push(dq,{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(dq,{pdDetails:this.pdDetails,income:n})},l.prototype.editIncomeAllDetails=function(l){this.navCtrl.push(dq,{pdDetails:this.pdDetails,income:l})},l=pq([Object(uS.k)({selector:"page-pd-question-assessed-info",templateUrl:"pd-question-assessed-info.html",providers:[CI]}),fq("design:paramtypes",[tS.r,tS.s,wS,LS,$S,xS.g,gS])],l)}(),gq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},bq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},vq=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.loadData=!1,this.pdDetails=this.navParams.get("pdDetails"),this.getAssessedDetails()}return l.prototype.ionViewWillEnter=function(){},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedSummaryPage")},l.prototype.getAssessedDetails=function(){var l=this;this.qustCat.retiverassessedForm("getAssessedIncome",{pd_id:this.pdDetails.pd_id,company_id:this.pdDetails.company_id}).subscribe(function(n){1==n.dataStatus&&(0!=n.records.final_data.length&&(l.salesCustomer=n.records.final_data[0].sales_declared_by_customer,l.salesItemWise=n.records.final_data[0].sales_calculated_by_itemwise,l.salesMonthWise=n.records.final_data[0].sales_calculated_by_monthwise,l.consolidatedReport=n.records.final_data[0].consolidated_report,console.log(l.salesCustomer)),l.loadData=!0)})},l=gq([Object(uS.k)({selector:"page-pd-question-assessed-summary",templateUrl:"pd-question-assessed-summary.html",providers:[CI]}),bq("design:paramtypes",[tS.r,tS.s,LS])],l)}(),yq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Cq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},wq=function(){function l(l,n,e,u,t,a){this.navCtrl=l,this.navParams=n,this.cameraProvider=e,this.loading=u,this.toast=t,this.qustCat=a,this.imageDisplay=[],this.imageBucket=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("formdetails"),console.log("pd",this.pdDetails,"form",this.FormId)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedImagesPage"),this.getPDImages()},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))})},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){console.log("res",n),1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):(console.log("Fail"),l.toast.pdTriggerappmessage("Fail"))},function(n){console.log(JSON.stringify(n)),l.toast.pdTriggerappmessage(JSON.stringify(n))})},l=yq([Object(uS.k)({selector:"page-pd-question-assessed-images",templateUrl:"pd-question-assessed-images.html"}),Cq("design:paramtypes",[tS.r,tS.s,WS,YS,$S,LS])],l)}(),Fq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},xq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},kq=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.toast=a,this.alertCtrl=i,this.purchaseBillData=!1,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({calc_type_id:[null],fk_pd_id:[this.pdDetails.pd_id],mode:[null],margin:[null],purchase_type:[null,xS.y.compose([xS.y.required])],fk_createdby:[null],fk_updatedby:[null]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDashPage")},l.prototype.ionViewCanEnter=function(){this.getassessedIncome()},l.prototype.getViewPage=function(l){11==l?this.navCtrl.push(vq,{pdDetails:this.pdDetails,pageId:l}):12==l?this.navCtrl.push(wq,{pdDetails:this.pdDetails,pageId:l,formdetails:this.FormId}):this.navCtrl.push(hq,{pdDetails:this.pdDetails,pageId:l})},l.prototype.saveAssessedForm=function(l){var n=this;if(this.assessedForm.valid){console.log("mode",l.purchase_type.value),1==this.assessedForm.controls.purchase_type.value?(this.assessedForm.controls.mode.setValue(1),this.assessedForm.controls.margin.setValue(null)):2==this.assessedForm.controls.purchase_type.value?(this.assessedForm.controls.mode.setValue(1),this.assessedForm.controls.margin.setValue(null)):0==this.assessedForm.controls.purchase_type.value&&(this.assessedForm.controls.mode.setValue(2),this.assessedForm.controls.margin.setValue(2),this.assessedForm.controls.purchase_type.setValue(null)),null!=this.assessedForm.controls.calc_type_id.value&&this.assessedForm.controls.fk_updatedby.setValue(this.users),null==this.assessedForm.controls.fk_createdby.value&&this.assessedForm.controls.fk_createdby.setValue(this.users),console.log(this.assessedForm.value);var e=this.assessedForm.value;e.company_id=this.pdDetails.company_id,console.log("tempRec",e);this.qustCat.saveassessedForms("saveAssessedIncomeCalculateMode",{records:e}).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Saved Successfully..!"),setTimeout(function(){n.getassessedIncome()}))})}},l.prototype.getassessedIncome=function(){var l=this;this.qustCat.retiverassessedForm("getAssessedIncome",{parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,company_id:this.pdDetails.company_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.purchase_billwise.length&&(l.purchaseBillData=!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),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),void 0!==l.grossprofit&&0!=l.grossprofit.length&&(l.grossAccess=!0,l.assessedForm.controls.mode.setValue(l.grossprofit.mode),l.assessedForm.controls.purchase_type.setValue(null==l.grossprofit.purchase_type?0:l.grossprofit.purchase_type),l.assessedForm.controls.margin.setValue(l.grossprofit.margin),l.assessedForm.controls.calc_type_id.setValue(l.grossprofit.calc_type_id),l.assessedForm.controls.fk_createdby.setValue(l.grossprofit.fk_createdby))):l.assessedProcess=!1})},l.prototype.completeAI=function(){var l=this;this.qustCat.saveassessedForms("saveAssessedIncomeCalculateMode",{records:{fk_pd_id:this.pdDetails.pd_id,company_id:this.pdDetails.company_id,calc_type_id:this.grossprofit.calc_type_id,is_completed:1}}).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Assessed Income Completed Successfully"),setTimeout(function(){l.navCtrl.pop()},1e3)):l.toast.pdTriggerappmessage("Error")})},l.prototype.presentConfirm=function(){var l=this,n=this.alertCtrl.create({title:"Complete Assessed Income",message:"Please confirm you are completing the Assessed Income details?",buttons:[{text:"No",role:"no",handler:function(){console.log("Cancel clicked")}},{text:"Yes",handler:function(){console.log("Exit"),l.completeAI()}}]});n.present()},l=Fq([Object(uS.k)({selector:"page-pd-question-assessed-dash",templateUrl:"pd-question-assessed-dash.html"}),xq("design:paramtypes",[tS.r,tS.s,wS,xS.g,LS,$S,tS.a])],l)}(),Sq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Iq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},qq=function(){function l(l,n,e,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.cameraProvider=i,this.loading=o,this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.representativeForm=this.fb.group({parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdDetails.pd_id],formid:[this.FormId.form_id],fk_createdby:[this.users],lender_representative_accompany:["",xS.y.compose([xS.y.required])],representative_remarks:["",xS.y.compose([xS.y.required])],lender_representative_details:this.fb.array([])}),this.getLenderReDetails(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionLenderRepresentativePage"),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.representativeForm.dirty),this.representativeForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.createlenReDetails=function(){return this.fb.group({lender_representative_who_accompanies:["",xS.y.compose([xS.y.required])],lender_representative_carry_loan_files:["",xS.y.compose([xS.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.representativeForm.reset(n.representativeForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})}else this.toast.pdTriggerappmessage("Enter All Field")},l.prototype.getLenderReDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,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]}),t=l.representativeForm.controls.lender_representative_details;u.forEach(function(n){t.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.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=Sq([Object(uS.k)({selector:"page-pd-question-lender-representative",templateUrl:"pd-question-lender-representative.html"}),Iq("design:paramtypes",[tS.r,tS.s,wS,LS,$S,xS.g,WS,YS])],l)}(),Pq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Dq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Tq=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,xS.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=Pq([Object(uS.k)({selector:"page-pd-question-general-other-applicant",templateUrl:"pd-question-general-other-applicant.html"}),Dq("design:paramtypes",[tS.r,tS.s,xS.g,tS.y])],l)}(),Oq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Lq=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=Oq([Object(uS.M)({name:"pdPipe"})],l)}(),Aq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Vq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Nq=function(){function l(l,n,e,u,t,a,i,o,r){var _=this;this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.modal=i,this.cameraProvider=o,this.loading=r,this.pipe=new wI.e("en-US"),this.fetch_related_details=[],this.pd_applicants_details=[],this.OldData=[],this.OldData_indi=[],this.complete_status=!1,this.imageBucket=[],this.tab="0",this.cart=[],this.temp=0,this.maxDate=new Date,this.pd_applicants_details=[],this.pd_applicants_details.pop(),this.pdDetails=this.navParams.get("pdDetails"),console.log(this.pdDetails),this.FormId=this.navParams.get("FormId"),this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,console.log("this.customer_segment_abbr",this.customer_segment_abbr),this.users=this.aws.getlocale(),this.getdropdown(),this.generalForm=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,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([]),rental_income_rcv_in_years:[""],rental_income_rcv_in_month:[""],general_remark:""}),this.pd_applicants_details=this.pdDetails.applicat_details,this.buttonClick=!1,this.h_companies=!1,this.addIndi=!1,this.addComp=!1,this.datav=[{name:"fairoj",id:1},{name:"ff",id:2}],this.generalForm.controls.list_value.valueChanges.subscribe(function(l){var n=_.generalForm.controls.list_value;_.individualsList=n.value.filter(function(l){return 1==l.is_applicant}),_.individualsListBothCase=n.value.filter(function(l){return 1==l.is_applicant||1==l.is_person_met}),_.fulldata=n.value}),this.generalForm.controls.company_value.valueChanges.subscribe(function(l){_.companyList=_.generalForm.controls.company_value.value.filter(function(l){return l.company_name})}),this.i=0,this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionGeneralInfoPage"),this.getGeneralForm(),this.getPDImages()},l.prototype.ionViewLoaded=function(){},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.generalForm.dirty),this.generalForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.initlistv=function(l,n){var e=this.generalForm.controls.list_value;if(console.log("control",e.length),"ins"==n)for(var u=0,t=l;u0&&l.forEach(function(l){u.push(e.createApplicant(l))}),n.length>0&&n.forEach(function(l){t.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,t=this.generalForm.controls.applicant_relation,a=this.generalForm.controls.applicant_list;if(e.exist_status.value)if(0==e.pd_co_applicant_id.value){var i=this.modal.create(Tq);i.onDidDismiss(function(l){1!=l?l.otherName.forEach(function(l){t.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)}):a.at(n).get("exist_status").setValue(!1)}),i.present()}else{t.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 a.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?xS.y.required:xS.y.nullValidator],company_relationship:[l.company_relationship],applicant_relation_to:[l.applicant_relation_to,xS.y.required],relationship:[l.relationship]})},l.prototype.removereferance=function(l){this.generalForm.controls.applicant_relation.removeAt(l)},l.prototype.ConvertMonthintoYearforBusiness=function(l,n,e){var u=l%12,t=l/12;if(1==e){var a=this.generalForm.get("companies");(a=a.controls[n]).controls.business_years.setValue(+a.controls.business_years.value+ +Math.floor(t)),a.controls.business_month.setValue(Math.floor(u))}else if(2==e){this.generalForm.controls.rental_income_rcv_in_years.setValue(+this.generalForm.controls.rental_income_rcv_in_years.value+ +Math.floor(t)),this.generalForm.controls.rental_income_rcv_in_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("/"),t=new Date,a=t.getFullYear()+"/0"+(t.getMonth()+1)+"/0"+t.getDate();console.log("current date",a);var i=this.pipe.transform(l,"yyyy/MM/dd");console.log("pd date",u),console.log("selected date",i);var o=t.getMonth()-l.getMonth()+12*(t.getFullYear()-l.getFullYear());o>=12?(console.log("years:",(o-o%12)/12),console.log("moth",o%12)):console.log("only months",o),e.controls.business_years.setValue((o-o%12)/12),e.controls.business_month.setValue(o%12)},l.prototype.submitData=function(l){var n=this;console.log("1)",this.temp);var e={},u=[],t=[];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)});var a=Object.keys(l.company_value).map(function(n){return l.company_value[n]});if("SE-RI"!=this.customer_segment_abbr){var i=0;if(a.forEach(function(l,e){""!=l.business_entity_type&&null!=l.business_entity_type||(n.editCompanies(e),i+=1),t.push(l)}),i>0)return void this.toast.pdTriggerappmessage("Please choose business entity type for each companies")}if(this.OldData.length>0&&this.OldData.forEach(function(l){t.push(l)}),u.length>0&&(u.forEach(function(l,e){0==l.is_person_met&&n.temp++}),this.temp==u.length))return this.toast.pdTriggerappmessage("Please Choose Name of Person Met.!"),void(this.temp=0);"SE-RI"!=this.customer_segment_abbr?(e.companies=t,e.company_with_relationships=l.company_with_relationships,e.rental_income_rcv_in_years=null,e.rental_income_rcv_in_month=null):"SE-RI"==this.customer_segment_abbr&&(e.companies=[],e.company_with_relationships=[],e.rental_income_rcv_in_years=l.rental_income_rcv_in_years,e.rental_income_rcv_in_month=l.rental_income_rcv_in_month),e.individuals=u,e.parent_pdid=l.parent_pdid,e.pdid=l.pdid,e.formid=l.formid,e.fk_createdby=this.users,e.persons_with_relationships=l.persons_with_relationships,e.general_remark=l.general_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus?(n.generalForm.reset(n.generalForm.value),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},3e3)):n.toast.pdTriggerappmessage("Error")})},l.prototype.getGeneralForm=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){l.data_all=n.records;var e,u,t=l.generalForm.get("company_value");if(t.controls=[],l.lengthv=l.data_all,1==n.dataStatus){l.generalForm.controls.general_remark.setValue(l.data_all.general_remark);var a=[],i=Object.keys(n.records.individuals).map(function(l){return n.records.individuals[l]});if(i.length>0&&i.forEach(function(n){0!=n.is_active?a.push(n):l.OldData_indi.push(n)}),l.initlistv(a,"get"),""!=l.data_all.persons_with_relationships&&l.initPersonRelationship(l.data_all.persons_with_relationships),u=Object.keys(n.records.company_with_relationships).map(function(l){return n.records.company_with_relationships[l]}),console.log("Customer Segment",l.customer_segment_abbr),"SE-RI"!=l.customer_segment_abbr){u.length>0?l.initCompanyRelationShip(u):0==u.length&&l.initCompanyRelationShip("");var o=[];(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?o.push(n):l.OldData.push(n)}),l.initCompanyValue(o,"get"),l.generalForm.controls.rental_income_rcv_in_years.setValue(null),l.generalForm.controls.rental_income_rcv_in_month.setValue(null)}else"SE-RI"==l.customer_segment_abbr&&(l.generalForm.controls.rental_income_rcv_in_years.setValue(n.records.rental_income_rcv_in_years?n.records.rental_income_rcv_in_years:""),l.generalForm.controls.rental_income_rcv_in_month.setValue(n.records.rental_income_rcv_in_month?n.records.rental_income_rcv_in_month:""))}else console.log("Else data",l.pd_applicants_details),l.pd_applicants_details.forEach(function(n,e){if(n.is_applicant=!0,n.is_person_met=!1,n.is_new=!1,n.is_main_applicant="1"==n.applicant_type,n.is_active=!0,n.individuals_order_id=e+1,n.age="",n.qualification="",n.course_name="",""!=n.company_name&&null!=n.company_name){console.log("company");t.push(l.createCompanies({company_order_id:t.controls.length+1,company_name:n.company_name,is_company_applicant:n.is_company_applicant,business_entity_type:n.business_entity_type,business_entity_type_other:n.business_entity_type_other,business_years:n.business_years,business_month:n.business_month,business_date_object:n.business_date_object,is_new:n.is_new,is_active:!0,associate_pd_id:l.pdDetails.pd_id}))}}),console.log("applicant",l.lengthv),l.initlistv(l.pd_applicants_details,"get"),l.initPersonRelationship(l.pd_applicants_details),l.initCompanyRelationShip("")})},l.prototype.createCompanies=function(l){var n=this.businessEntityById(l.business_entity_type);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,xS.y.required],business_years:[l.business_years,xS.y.required],business_month:[l.business_month],business_date_object:[l.business_date_object],is_active:[l.is_active],is_new:[l.is_new],business_entity_type_name:[n],associate_pd_id:[l.associate_pd_id]})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},Aq([Object(uS.Z)("remark"),Vq("design:type",uS.p)],l.prototype,"nameField",void 0),Aq([Object(uS.Z)("focusBusiness"),Vq("design:type",FS.w)],l.prototype,"focus_business_entity",void 0),l=Aq([Object(uS.k)({selector:"page-pd-question-general-info",templateUrl:"pd-question-general-info.html",providers:[Lq]}),Vq("design:paramtypes",[tS.r,tS.s,wS,LS,$S,xS.g,tS.p,WS,YS])],l)}(),Wq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Eq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},jq=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.constant=i,this.cameraProvider=o,this.loading=r,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.isDisplay=[],this.isDisplay2=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.isOrganisationOwner=[],this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,this.pdDetails=this.navParams.get("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&&0!=l.pd_co_applicant_id}),this.applicants.push({pd_co_applicant_id:0,applicant_name:"Others"}),this.neighbourhoodForm=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,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.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionNeighbourHoodPage"),this.getneighbourhood(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this.neighbourhoodForm.dirty),this.neighbourhoodForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},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}))}),this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}),console.log(l.existCompanyList));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})),console.log("company&Applicant",l.mergeCompanyApplicant)})},l.prototype.inWords=function(l,n){},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,t=n/12;l.controls.year_relation_applicant.setValue(+l.controls.year_relation_applicant.value+ +Math.floor(t)),l.controls.months_relation_applicant.setValue(Math.floor(u))}else if(1==e){u=n%12,t=n/12;l.controls.how_long_do_know_in_year.setValue(+l.controls.how_long_do_know_in_year.value+ +Math.floor(t)),l.controls.how_long_do_know_in_month.setValue(Math.floor(u))}},l.prototype.toggleVisibility=function(l,n,e){1==e?this.isDisplay[n]=l:2==e&&(this.isDisplay2[n]=l)},l.prototype.checkOthers=function(l){return null!=l&&0==l},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.getOtherOrganisationOwner=function(l,n){var e=this.neighbourhoodForm.controls.neighbourhood_list.controls[n],u=1;console.log("val",l),l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(u=l.id)}),0==u?(e.controls.other_organisation_owner.setValidators([xS.y.required]),this.isOrganisationOwner[n]=!0):1==u&&(e.controls.other_organisation_owner.setValue(""),e.controls.other_organisation_owner.clearValidators(),this.isOrganisationOwner[n]=!1),e.controls.other_organisation_owner.updateValueAndValidity()},l.prototype.createreferance=function(){return this.fb.group({reference_name:[null],mobile:["",xS.y.compose([xS.y.minLength(10),xS.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,e=this.neighbourhoodForm.controls.neighbourhood_list,u=e.controls.length;if(u>0){for(var t=0;t0?(a.forEach(function(n,u){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.getOtherOrganisationOwner(n.organisation_owner,u)}),l.neighbourhoodForm.controls.neighbourhood_list.setValue(a)):l.addneighbourhood();var i=Object.keys(u.records.referencecheck_list).map(function(l){return u.records.referencecheck_list[l]});console.log("referencecheck_list",i),console.log("length",i.length),i.length>0?(l.neighbourhoodForm.controls.neighbour_reference_remark.setValue(t.neighbour_reference_remark),i.forEach(function(e,u){var t=e.landline.search("-");i[u].statecode=e.landline.substr(0,t),i[u].landline=e.landline.substr(+t+1,8),n.push(l.createreferance())}),l.neighbourhoodForm.controls.referencecheck_list.setValue(i)):l.addreferance()}else l.addneighbourhood(),l.addreferance()})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=Wq([Object(uS.k)({selector:"page-pd-question-neighbour-hood",templateUrl:"pd-question-neighbour-hood.html"}),Eq("design:paramtypes",[tS.r,tS.s,wS,LS,$S,xS.g,gS,WS,YS])],l)}(),$q=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Bq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Rq=function(){function l(l,n,e,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustcat=u,this.aws=t,this.toast=a,this.cameraProvider=i,this.loading=o,this.m_remarkTypeCustomerBehaviour=[],this.m_recommendationList=[],this.imageDisplay=[],this.imageBucket=[],this.tab="0",this.mode_of_transport_values=[{id:"two_wheeler",name:"Two Wheeler"},{id:"four_wheeler",name:"Four Wheeler"},{id:"public_transport",name:"Public Transport"},{id:"others",name:"Others"}],this.complete_status=!1,this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.users=t.getlocale(),this._finalRemarkForm=this.fb.group({fk_createdby:[this.users],parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdid],formid:[this.FormId.form_id],final_custormer_remark_type:[null,xS.y.compose([xS.y.required])],final_other_customer_behaviour:[null],is_service_provided:[null],final_form_remarks:[null],pd_officers_recommendation:[null],others_pd_officers_recommendation:[""],recommendation_positive:this.fb.array([]),recommendation_negative:this.fb.array([]),recommendation_refer_to_credit:this.fb.array([]),was_the_pd_address_ogl:[""],mode_of_transport_during_visit:["",xS.y.compose([xS.y.required])],others_transport:["",xS.y.compose([xS.y.required])]}),this.getDropDown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFinalRemarkPage"),this.getFinalRemark(),this.getPDImages()},l.prototype.ionViewCanLeave=function(){var l=this;return console.log("dirty",this._finalRemarkForm.dirty),this._finalRemarkForm.dirty?new Promise(function(n,e){var u=l.toast.setAlert("Data will be Lost","Are you sure want to Go Back");u.present(),u.onDidDismiss(function(u){return console.log("d",u),0==u?(e(),!0):l.imageBucket.length>0?new Promise(function(u,t){var a=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the Save Image button
Are you sure want to Go Back?");a.present(),a.onDidDismiss(function(l){console.log("d",l),0==l?e():(u(),n())})}):void n()})}):this.imageBucket.length>0?new Promise(function(n,e){var u=l.toast.setAlert("Captured Images are not Saved","Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?");u.present(),u.onDidDismiss(function(l){console.log("d",l),0==l?e():n()})}):void 0},l.prototype.getDropDown=function(){var l=this;this.qustcat.getcommondrop("CUSTOMERBEHAVIOUR").subscribe(function(n){l.m_remarkTypeCustomerBehaviour=n.records.filter(function(l){return 1==l.isactive})}),this.qustcat.getcommondrop("PDOFFICERRECOMMENDATIONS").subscribe(function(n){l.m_recommendationList=n.records})},l.prototype.createRecomendationPositive=function(l){return console.log("val",l),this.fb.group({reason_for_positive:null!=l?[l.reason_for_positive]:[""]})},l.prototype.addRecomendationPositive=function(){this._finalRemarkForm.controls.recommendation_positive.push(this.createRecomendationPositive(null))},l.prototype.removeRecomendationPositive=function(l){this._finalRemarkForm.controls.recommendation_positive.removeAt(l)},l.prototype.createRecomendationNegative=function(l){return this.fb.group({reason_for_negative:null!=l?[l.reason_for_negative]:[""]})},l.prototype.addRecomendationNegative=function(){this._finalRemarkForm.controls.recommendation_negative.push(this.createRecomendationNegative(null))},l.prototype.removeRecomendationNegative=function(l){this._finalRemarkForm.controls.recommendation_negative.removeAt(l)},l.prototype.createRecomendationCreditRefer=function(l){return this.fb.group({reason_for_refer_to_credit:null!=l?[l.reason_for_refer_to_credit]:[""]})},l.prototype.addRecomendationCreditRefer=function(){this._finalRemarkForm.controls.recommendation_refer_to_credit.push(this.createRecomendationCreditRefer(null))},l.prototype.removeRecomendationCreditRefer=function(l){this._finalRemarkForm.controls.recommendation_refer_to_credit.removeAt(l)},l.prototype.RecommendationChange=function(l){var n=this._finalRemarkForm.get("recommendation_positive"),e=this._finalRemarkForm.get("recommendation_negative"),u=this._finalRemarkForm.get("recommendation_refer_to_credit");if(1==l){if(this._finalRemarkForm.controls.others_pd_officers_recommendation.setValidators([xS.y.required]),this._finalRemarkForm.controls.others_pd_officers_recommendation.updateValueAndValidity(),e.controls.length>0)for(var t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0){var e=l._finalRemarkForm.get("recommendation_positive");n.records.recommendation_positive.forEach(function(n,u){if(console.log("for",n),null!=n.reason_for_positive){e.push(l.createRecomendationPositive({reason_for_positive:n.reason_for_positive}))}})}if(n.records.recommendation_negative.length>0){var u=l._finalRemarkForm.get("recommendation_negative");n.records.recommendation_negative.forEach(function(n,e){console.log("for",n);u.push(l.createRecomendationNegative({reason_for_negative:n.reason_for_negative}))})}if(n.records.recommendation_refer_to_credit.length>0){var t=l._finalRemarkForm.get("recommendation_refer_to_credit");n.records.recommendation_refer_to_credit.forEach(function(n){t.push(l.createRecomendationCreditRefer({reason_for_refer_to_credit:n.reason_for_refer_to_credit}))})}l._finalRemarkForm.controls.final_form_remarks.setValue(n.records.final_form_remarks)}else{l._finalRemarkForm.get("recommendation_positive").push(l.createRecomendationPositive(null));l._finalRemarkForm.get("recommendation_negative").push(l.createRecomendationNegative(null));l._finalRemarkForm.get("recommendation_refer_to_credit").push(l.createRecomendationCreditRefer(null))}})},l.prototype.saveFinalRemark=function(){var l=this;if(this._finalRemarkForm.invalid)this.toast.pdTriggerappmessage("Please Fill all the Fields marked with '*' ");else{var n=this._finalRemarkForm.value;Object.keys(n).forEach(function(l){return null==n[l]&&delete n[l]}),this.qustcat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l._finalRemarkForm.reset(l._finalRemarkForm.value),l.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustcat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId.form_id,company_id:null}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId.form_id,images:this.imageBucket,company_id:""};console.log("records",JSON.stringify(n)),this.qustcat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l.prototype.setValidation=function(){console.log("enter"),"others"==this._finalRemarkForm.controls.mode_of_transport_during_visit.value?(this._finalRemarkForm.controls.others_transport.setValue(""),this._finalRemarkForm.controls.others_transport.setValidators(xS.y.compose([xS.y.required])),this._finalRemarkForm.controls.others_transport.updateValueAndValidity()):(this._finalRemarkForm.controls.others_transport.setValue(""),this._finalRemarkForm.controls.others_transport.clearValidators(),this._finalRemarkForm.controls.others_transport.updateValueAndValidity())},l=$q([Object(uS.k)({selector:"page-pd-question-final-remark",templateUrl:"pd-question-final-remark.html"}),Bq("design:paramtypes",[tS.r,tS.s,xS.g,LS,wS,$S,WS,YS])],l)}(),Uq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Mq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Kq=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.cons=i,this.loading=o,this.cameraProvider=r,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.bankList=[],this.bankListValue=[],this.temp_additiondetailofposmachine=[],this.isreadonlyyear=[],this.isreadonlymonth=[],this.EntityTypeFlag=!1,this.yearErrorMessage=[],this.monthErrorMessage=[],this.errorMessageForExistTotalWorkExperience=[],this._onDestroy=new dS.Subject,this.filteredCity=new dS.ReplaySubject(1),this.filteredState=new dS.ReplaySubject(1),this.cityData=[],this.cityDataValue=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,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,console.log("pd",this.pdDetails),this.generalExistEntityType=this.pdDetails.business_entity_type,this.generalExistEntityType_other=this.pdDetails.business_entity_type_other,this.generalExistBusinessYear=this.pdDetails.business_years,this.generalExistBusinessMonth=this.pdDetails.business_month,this.step=0,this.businessForm=this.fb.group({fk_createdby:[this.users],parent_pdid:[this.pdDetails.parent_pd_id],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([]),export_sale_of_total_sales:[""],seasonality:[""],employees_total:["",xS.y.compose([xS.y.required])],employees_permanent:["",xS.y.compose([xS.y.required])],employees_temporary:["",xS.y.compose([xS.y.required])],employees_appx_salary:[""],was_the_company_name_board_sighted:["",xS.y.compose([xS.y.required])],officer_total:["",xS.y.compose([xS.y.required])],shop_eat_act_cert:[""],gst_Regn_cert:[""],pf_regn:[""],esic_regn:[""],other_documents:[""],documents:this.fb.array([]),business_remarks:[""]}),this.getdropdown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessInfoPage"),this.getPDImages()},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("BUSINESSENTITYTYPE").subscribe(function(n){if(1==n.dataStatus){var e=n.records.filter(function(n){return n.business_entity_type_id==l.generalExistEntityType});console.log("Filter",e),e.length>0&&(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,"OPC (One Person Company)"!=l.businessEntityTypeList.business_entity_type_name&&"Sole proprietorship"!=l.businessEntityTypeList.business_entity_type_name||(l.EntityTypeFlag=!0))}}),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&&1!=n.type_of_activity_id&&l.activityData.push(n)})}),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&&(l.personsList=n.record.filter(function(l){return 1==l.applicant_type}))}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.bankList=n.records.filter(function(l){return 1==l.isactive&&1==l.lender_type}),l.bankListValue=l.bankList.slice()})},l.prototype.getStateCityDet=function(){var l=this;this.qustCat.getStateCityDetails().subscribe(function(n){l.stateList=n.records,l.filteredState.next(l.stateList.slice()),l.getDetails()})},l.prototype.changeOfStartedBusiness=function(l,n,e){"yes"==e?(l.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear),this.isreadonlyyear[n]=void 0!=this.generalExistBusinessYear,l.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth),this.isreadonlymonth[n]=void 0!=this.generalExistBusinessMonth):(this.isreadonlyyear[n]=!1,this.isreadonlymonth[n]=!1)},l.prototype.getDetails=function(){var l=this,n={};n.parent_pdid=this.pdDetails.parent_pd_id,n.pd_id=this.pdid,n.pd_form_id=13,n.company_id=this.pdDetails.company_id,this.qustCat.retiverForm(n).subscribe(function(n){console.log("data[records]",n.records);var e=n.records,u=l.businessForm.controls.partners,t=l.businessForm.controls.persons_with_relationships,a=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.documents;if(200==n.status){var s=void 0,c=Object.keys(n.records.partners).map(function(l){return n.records.partners[l]});if(0==c.length?u.push(l.createPartners()):c.forEach(function(n,e){u.push(l.createPartners()),"Others"==n.partner_name&&u.controls[e].addControl("partner_other_name",new xS.h("",xS.y.required)),parseInt(n.total_business_experiance)>parseInt(n.current_business_experiance_year)?u.controls[e].addControl("total_business_previous_experience",new xS.h("",xS.y.required)):u.controls[e].removeControl("total_business_previous_experience")}),n.records.persons_with_relationships){var m=Object.keys(n.records.persons_with_relationships).map(function(l){return n.records.persons_with_relationships[l]});m.length>0?(m.forEach(function(n,e){t.push(l.createRelationShip())}),e.persons_with_relationships=m):e.persons_with_relationships=[]}else e.persons_with_relationships=[];"yes"==n.records.other_documents?(s=Object.keys(n.records.documents).map(function(l){return n.records.documents[l]})).forEach(function(n){d.push(l.createDocument())}):(s=[{document:""}],d.push(l.createDocument())),e.parent_pdid=l.pdDetails.parent_pd_id,e.pdid=l.pdid,e.formid=13,e.company_id=l.pdDetails.company_id,e.fk_createdby=l.users,e.partners=c,e.documents=s,e.employees_appx_salary&&(l.appxSalaryAmtInwords=l.cons.convertNumberToWords(e.employees_appx_salary));var p=l.activityData.map(function(l){return{name:l.name,type_of_activity_id:l.type_of_activity_id}}),f=[];n.records.select_business_activity_type&&(f=Object.keys(n.records.select_business_activity_type).map(function(l){return n.records.select_business_activity_type[l].type_of_activity_id}));var h=p.map(function(l){return l.type_of_activity_id}).map(function(l,n){return f.indexOf(l)<0?(p[n].exist_status=0,p[n]):(p[n].exist_status=1,p[n])}).filter(function(l){return void 0!=l});if(h.length>0&&(h.forEach(function(n,e){a.push(l.createBusinessActivity(n))}),e.select_business_activity_type=h),n.records.manufacturing_activity_details){var g=Object.keys(n.records.manufacturing_activity_details).map(function(l){return n.records.manufacturing_activity_details[l]});g.length>0?(g.length>0?l.businessForm.addControl("export_import_cert",new xS.h("",xS.y.required)):l.businessForm.removeControl("export_import_cert"),g.length>0?l.businessForm.addControl("factory_cert",new xS.h("",xS.y.required)):l.businessForm.removeControl("factory_cert"),g.forEach(function(n,e){l.CheckExport(n.area_of_sale,"MActivity",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 xS.h("",xS.y.required)),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=i.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),i.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=i.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.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 xS.h("",xS.y.required)),i.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=i.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=i.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.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=g):e.manufacturing_activity_details=[]}else e.manufacturing_activity_details=[];if(n.records.retail_trading_activity_details){var b=Object.keys(n.records.retail_trading_activity_details).map(function(l){return n.records.retail_trading_activity_details[l]});b.length>0?(b.length>0?l.businessForm.addControl("export_import_cert",new xS.h("",xS.y.required)):l.businessForm.removeControl("export_import_cert"),b.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new xS.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),b.length>0?l.businessForm.addControl("applicant_use_pos_machines",new xS.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),b.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new xS.h("")):l.businessForm.removeControl("no_of_pos_machines"),b.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),b.forEach(function(n,e){l.CheckExport(n.area_of_sale,"RActivity",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 xS.h("",xS.y.required)),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=o.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),o.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=o.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.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 xS.h("",xS.y.required)),o.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=o.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=o.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.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=b):e.retail_trading_activity_details=[]}else e.retail_trading_activity_details=[];if(n.records.wholesale_trading_activity_details){var v=Object.keys(n.records.wholesale_trading_activity_details).map(function(l){return n.records.wholesale_trading_activity_details[l]});v.length>0?(v.length>0?l.businessForm.addControl("export_import_cert",new xS.h("",xS.y.required)):l.businessForm.removeControl("export_import_cert"),v.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new xS.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),v.length>0?l.businessForm.addControl("applicant_use_pos_machines",new xS.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),v.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new xS.h("")):l.businessForm.removeControl("no_of_pos_machines"),v.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),v.forEach(function(n,e){l.CheckExport(n.area_of_sale,"WActivity",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 xS.h("",xS.y.required)),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=r.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),r.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=r.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.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 xS.h("",xS.y.required)),r.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=r.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=r.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.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=v):e.wholesale_trading_activity_details=[]}else e.wholesale_trading_activity_details=[];if(n.records.service_provider_activity_details){var y=Object.keys(n.records.service_provider_activity_details).map(function(l){return n.records.service_provider_activity_details[l]});y.length>0?(y.length>0?l.businessForm.addControl("practice_cert",new xS.h("",xS.y.required)):l.businessForm.removeControl("practice_cert"),y.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new xS.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),y.length>0?l.businessForm.addControl("applicant_use_pos_machines",new xS.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),y.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new xS.h("")):l.businessForm.removeControl("no_of_pos_machines"),y.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),y.forEach(function(n,e){l.CheckExport(n.area_of_sale,"SPActivity",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 xS.h("",xS.y.required)),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=_.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),_.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=_.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.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 xS.h("",xS.y.required)),_.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=_.controls[e].get("india_where_sale_done");n.stateSearch="",n.citySearch="",t.push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){l.filterCityData(l.stateList,n.state_name,u);var t=_.controls[e].get("max_sale_state_name");n.stateSearch="",n.citySearch="",t.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=y):e.service_provider_activity_details=[]}else e.service_provider_activity_details=[];if(n.dataStatus&&"YES"==n.records.seasonality.toUpperCase()&&(l.businessForm.addControl("peak_period_of_business",new xS.h("",xS.y.required)),l.businessForm.addControl("month_of_business_run",new xS.h("",xS.y.required))),"yes"==e.applicant_use_pos_machines){e.pos_machines_details.forEach(function(l){l.bankSearch=""}),l.businessForm.controls.no_of_pos_machines.setValue(e.no_of_pos_machines);for(var C=l.businessForm.controls.pos_machines_details,w=1;w<=e.no_of_pos_machines;w++)C.push(l.createPOSMachinesDetails(e.pos_machines_details))}l.businessForm.setValue(e)}else{u.push(l.createPartners()),t.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){a.push(l.createBusinessActivity(n))})}}),this.businessForm.controls.seasonality.valueChanges.subscribe(function(n){"YES"==n.toUpperCase()?l.businessForm.addControl("peak_period_of_business",new xS.h("",xS.y.required)):l.businessForm.removeControl("peak_period_of_business"),"YES"==n.toUpperCase()?l.businessForm.addControl("month_of_business_run",new xS.h("",xS.y.required)):l.businessForm.removeControl("month_of_business_run")})},l.prototype.filterCity=function(l,n){if(n){console.log("val filter",n);var e=this.stateList.filter(function(l){return l.state_id==n});return e.length>0?e[0].cities:[]}},l.prototype.filterCityData=function(l,n,e){if(console.log("test"),console.log(n,e),n){var u=this.stateList.filter(function(l){return l.state_id==n});this.cityData[e]=u.length>0?u[0].cities:[],this.cityDataValue[e]=this.cityData[e].slice(),console.log("filter ",this.cityDataValue[e])}},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){if(n){var u=[],t=l.map(function(l){return l.state_id});return n.forEach(function(n,a){e.forEach(function(e,a){if(n==e.state_name&&e.city_name.length>0){var i=t.indexOf(n);i=l[i].cities;if(e.city_name.filter(function(l){return"1"==l}).length>0)u=u.concat.apply(u,i);else{var o=i.filter(function(l){return e.city_name.some(function(n){return l.city_id==n})});u=u.concat.apply(u,o)}}})}),u.length>0?u.filter(function(l){return"1"!=l.city_id}):[]}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,e){+l>this.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",e.controls.current_business_experiance_year.setValue("")):this.yearErrorMessage[n]=""},l.prototype.checkWithExistTotalWorkExperience=function(l,n,e){+e.value.current_business_experiance_year>+l?(this.errorMessageForExistTotalWorkExperience[n]="Total Experience is Lower Than Experience in The Current Company",e.controls.total_business_experiance.setValue("")):this.errorMessageForExistTotalWorkExperience[n]=""},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([])}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;(t=this.businessForm.controls.service_provider_activity_details).controls=[],t.setValue([])}else if(0==l.value.exist_status&&5==l.value.type_of_activity_id){this.ServiceChecked=l.value.exist_status;var t;(t=this.businessForm.controls.service_provider_activity_details).push(this.manufactureDetails())}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 xS.h(this.businessForm.value.export_import_cert,xS.y.required)):this.businessForm.removeControl("export_import_cert"),this.businessForm.value.manufacturing_activity_details.length>0?this.businessForm.addControl("factory_cert",new xS.h(this.businessForm.value.factory_cert,xS.y.required)):this.businessForm.removeControl("factory_cert"),this.businessForm.value.service_provider_activity_details.length>0?this.businessForm.addControl("practice_cert",new xS.h(this.businessForm.value.practice_cert,xS.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 xS.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 xS.h(this.businessForm.value.applicant_use_pos_machines)):this.businessForm.removeControl("applicant_use_pos_machines"),(this.ManufacturingChecked||void 0==this.ManufacturingChecked&&this.RetailedChecked||void 0==this.RetailedChecked&&this.WholeSalesChecked||void 0==this.WholeSalesChecked&&this.ServiceChecked||void 0==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 xS.h("",xS.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 xS.h("",xS.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 xS.h("",xS.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 xS.h("",xS.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 xS.h("",xS.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 xS.h("",xS.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 xS.h("",xS.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 xS.h("",xS.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?(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 xS.h("",xS.y.required)):e.controls[n].removeControl("partner_other_name")},l.prototype.createDesignation=function(){return this.fb.group({sec_name:["",xS.y.compose([xS.y.required])],sec_designation:["",xS.y.compose([xS.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),t=this.businessForm.get("partners");u>e?t.controls[n].addControl("total_business_previous_experience",new xS.h("",xS.y.required)):t.controls[n].removeControl("total_business_previous_experience")},l.prototype.getPlaceHolderName=function(l){return"Out of Total Export Sales what % of Sales is done in "+this.countryDataList.filter(function(n){return n.country_id==l})[0].country_name+" ?"},l.prototype.ConvertMonthintoYear=function(l,n,e){console.log("datas",n,e);var u=n%12,t=n/12;l.controls.current_business_experiance_year.setValue(+l.controls.current_business_experiance_year.value+ +Math.floor(t)),l.controls.current_business_experiance_month.setValue(Math.floor(u))},l.prototype.createPartners=function(){return this.fb.group({partner_name:["",xS.y.compose([xS.y.required])],shareholding:[""],started_business:[""],current_business_experiance_year:[""],current_business_experiance_month:[""],total_business_experiance:[""]})},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,xS.y.compose([xS.y.required])],name:[l.name,xS.y.compose([xS.y.required])],exist_status:[1==l.exist_status]})},l.prototype.createServiceActivity=function(){return this.fb.group({main_products:["",xS.y.compose([xS.y.required])],area_of_sale:["",xS.y.compose([xS.y.required])],description:[""]})},l.prototype.createOthersActivity=function(){return this.fb.group({others_details:["",xS.y.compose([xS.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:[""],stateSearch:[""],citySearch:[""]})},l.prototype.maxSaleState=function(){return this.fb.group({state_name:[""],city_name:[""],stateSearch:[""],citySearch:[""]})},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.removeManufacturing=function(l){var n=this.businessForm.controls.manufacturing_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreRetail=function(){this.businessForm.controls.retail_trading_activity_details.push(this.manufactureDetails())},l.prototype.removeRetail=function(l){var n=this.businessForm.controls.retail_trading_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreWholesale=function(){this.businessForm.controls.wholesale_trading_activity_details.push(this.manufactureDetails())},l.prototype.removeWholesale=function(l){var n=this.businessForm.controls.wholesale_trading_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreServiceprovider=function(){this.businessForm.controls.service_provider_activity_details.push(this.manufactureDetails())},l.prototype.removeServiceProvider=function(l){var n=this.businessForm.controls.service_provider_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.createCountrySale=function(){return this.fb.group({country_name:["",xS.y.compose([xS.y.required])],approx_sale:["",xS.y.compose([xS.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.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 t=this.businessForm.get("service_provider_activity_details");(t=t.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.createPOSMachinesDetails=function(l){return this.fb.group(null==l?{pos_machines_financial_institution_name:[""],bankSearch:[""],tid_no_of_pos_machine:[""]}:{pos_machines_financial_institution_name:[l.pos_machines_financial_institution_name],bankSearch:[""],tid_no_of_pos_machine:[l.tid_no_of_pos_machine]})},l.prototype.initBusinessForm=function(){this.businessForm=this.fb.group({parent_pdid:this.pdDetails.parent_pd_id,pdid:this.pdDetails.pd_id,formid:this.FormId,fk_createdby:this.users,profession_name:["",xS.y.compose([xS.y.required])],business_years:["",xS.y.compose([xS.y.required])],industry:["",xS.y.compose([xS.y.required])],type_of_activity:["",xS.y.compose([xS.y.required])],seasonality:["",xS.y.compose([xS.y.required])],designation:this.fb.array([]),partners:this.fb.array([]),employees_total:["",xS.y.compose([xS.y.required])],employees_permanent:["",xS.y.compose([xS.y.required])],employees_temporary:["",xS.y.compose([xS.y.required])],officer_total:["",xS.y.compose([xS.y.required])],officer_permanent:["",xS.y.compose([xS.y.required])],officer_temporary:["",xS.y.compose([xS.y.required])],invested_amount:["",xS.y.compose([xS.y.required])],working_capital:["",xS.y.compose([xS.y.required])],is_service_provided:["",xS.y.compose([xS.y.required])],ownership_setup:["",xS.y.compose([xS.y.required])],ownership_others:[""],rent_paid:[""],shop_eat_act_cert:["",xS.y.compose([xS.y.required])],gst_Regn_cert:["",xS.y.compose([xS.y.required])],export_import_cert:["",xS.y.compose([xS.y.required])],factory_cert:["",xS.y.compose([xS.y.required])],practice_cert:["",xS.y.compose([xS.y.required])],pf_regn:["",xS.y.compose([xS.y.required])],esic_regn:["",xS.y.compose([xS.y.required])],other_documents:["",xS.y.compose([xS.y.required])],documents:this.fb.array([]),business_remarks:["",xS.y.compose([xS.y.required])],who_started:["",xS.y.compose([xS.y.required])],main_person:["",xS.y.compose([xS.y.required])],other_main_person:[""],family_members_involved:["",xS.y.compose([xS.y.required])],before_business:["",xS.y.compose([xS.y.required])],any_delays:["",xS.y.compose([xS.y.required])]})},l.prototype.submitDetails=function(){var l=this;if(1==this.EntityTypeFlag){var n=this.businessForm.controls.partners.controls[0];n.controls.shareholding.clearValidators(),n.controls.shareholding.updateValueAndValidity(),n.controls.shareholding.setValue("100"),n.controls.started_business.setValue(""),n.controls.current_business_experiance_year.clearValidators(),n.controls.current_business_experiance_year.updateValueAndValidity(),n.controls.current_business_experiance_year.setValue(""),n.controls.current_business_experiance_month.setValue(""),n.controls.total_business_experiance.clearValidators(),n.controls.total_business_experiance.updateValueAndValidity(),n.controls.total_business_experiance.setValue("")}var e=this.businessForm.get("manufacturing_activity_details");console.log("manufacture",e);var u;if("no"==(u=this.businessForm.value).other_documents&&delete u.documents,""==u.rent_paid&&delete u.rent_paid,""==u.ownership_others&&delete u.ownership_others,!this.EntityTypeFlag){var t=0;if(u.partners.length>0&&u.partners.forEach(function(l){console.log(l),t+=l.shareholding}),t>=101)return this.toast.pdTriggerappmessage("Share Holding is Greater than 100 %"),console.log(this.businessForm.controls),void this.share_focus.nativeElement.focus()}var a=0;u.manufacturing_activity_details.length>0&&u.manufacturing_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=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);(e>100||e<100)&&a++}}),u.wholesale_trading_activity_details.length>0&&u.wholesale_trading_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=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);(e>100||e<100)&&a++}}),u.retail_trading_activity_details.length>0&&u.retail_trading_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=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);(e>100||e<100)&&a++}}),u.service_provider_activity_details.length>0&&u.service_provider_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=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);(e>100||e<100)&&a++}}),a>0?this.toast.pdTriggerappmessage("warning!! Approximate sales doesn't add upto 100%"):(u.select_business_activity_type=u.select_business_activity_type.filter(function(l){return 1==l.exist_status}),u.pos_machines_details&&u.pos_machines_details.forEach(function(l){delete l.bankSearch}),this.qustCat.saveForm(u).subscribe(function(n){1==n.dataStatus&&(l.businessForm.markAsUntouched(),l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},3e3))}))},l.prototype.getBuisnessDetails=function(){var l=this;this.qustCat.retiverForm({parent_pdid:this.pdDetails.parent_pd_id,pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId}).subscribe(function(n){var e=n.records,u=l.businessForm.controls.designation,t=l.businessForm.controls.partners,a=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?t.push(l.createPartners()):r.forEach(function(n){t.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){a.push(l.createDocument())}):(i=[{document:""}],a.push(l.createDocument())),"others"!=n.records.ownership_setup&&(e.ownership_others=""),"rented"!=n.records.ownership_setup&&(e.rent_paid=""),e.family_members_involved=_,e.parent_pdid=l.pdDetails.parent_pd_id,e.pdid=l.pdDetails.pd_id,e.formid=l.FormId,e.fk_createdby=l.users,e.designation=o,e.partners=r,e.documents=i,l.businessForm.setValue(e)}else u.push(l.createDesignation()),t.push(l.createPartners()),a.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){this.ManufacturingChecked?this.ManufacturingChecked&&"MActivity"==n&&(this.ManufacturingCounterArray[e]=0):"MActivity"==n&&"Both"==l?this.ManufacturingCounterArray[e]=1:"MActivity"==n&&"Both"!=l&&(this.ManufacturingCounterArray[e]=0),this.RetailedChecked?"RActivity"==n&&this.RetailedChecked&&(this.RetailCounterArray[e]=0):"RActivity"==n&&"Both"==l?this.RetailCounterArray[e]=1:"RActivity"==n&&"Both"!=l&&(this.RetailCounterArray[e]=0),this.WholeSalesChecked?"WActivity"==n&&this.WholeSalesChecked&&(this.WholeSaleCounterArray[e]=0):"WActivity"==n&&"Both"==l?this.WholeSaleCounterArray[e]=1:"WActivity"==n&&"Both"!=l&&(this.WholeSaleCounterArray[e]=0),this.ServiceChecked?"SPActivity"==n&&(this.ServiceCounterArray[e]=0):"SPActivity"==n&&"Both"==l?this.ServiceCounterArray[e]=1:"SPActivity"==n&&"Both"!=l&&(this.ServiceCounterArray[e]=0);var u=this.ManufacturingCounterArray.reduce(function(l,n){return l+ +n},0),t=this.RetailCounterArray.reduce(function(l,n){return l+ +n},0),a=this.WholeSaleCounterArray.reduce(function(l,n){return l+ +n},0),i=this.ServiceCounterArray.reduce(function(l,n){return l+ +n},0);this.ExportFlag=u+t+a+i>0},l.prototype.changePOSMachinesAvailablity=function(l,n){"yes"==l?this.businessForm.addControl("no_of_pos_machines",new xS.h("")):this.businessForm.removeControl("no_of_pos_machines"),2==n&&("yes"==l?this.businessForm.controls.no_of_pos_machines.setValue(""):this.businessForm.removeControl("no_of_pos_machines"))},l.prototype.toGetPOSMachinesDetails=function(l,n){1==n&&this.businessForm.addControl("pos_machines_details",this.fb.array([]));for(var e=this.businessForm.controls.pos_machines_details;0!==e.length;)e.removeAt(0);if(l>0)if(1==n)for(var u=1;u<=l;u++)e.push(this.createPOSMachinesDetails(null));else if(2==n)for(u=1;u<=l;u++)e.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine))},l.prototype.searchFun=function(l,n,e){var u=this;"city"==e&&l.controls.citySearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){u.SearchCity(l.controls.citySearch.value,n)}),"state"==e&&l.controls.stateSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){u.searchState(l.controls.stateSearch.value)}),"bank"==e&&(console.log("bank",l.controls.bankSearch.value),l.controls.bankSearch.valueChanges.pipe(Object(KS.takeUntil)(this._onDestroy)).subscribe(function(){u.bankListValue=u.cons.searchData(u.bankList,l.controls.bankSearch.value,e)}))},l.prototype.SearchCity=function(l,n){if(this.cityData[n]){var e=l;e?(e=e.toLowerCase(),this.cityDataValue[n]=this.cityData[n].filter(function(l){return l.city_name.toLowerCase().indexOf(e)>-1})):this.cityDataValue[n]=this.cityData[n].slice()}},l.prototype.searchState=function(l){if(console.log("statedata"),this.stateList){var n=l;n?(n=n.toLowerCase(),this.filteredState.next(this.stateList.filter(function(l){return l.state_name.toLowerCase().indexOf(n)>-1}))):this.filteredState.next(this.stateList.slice())}},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.FormId,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.FormId,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},Uq([Object(uS.Z)("shareholding"),Mq("design:type",uS.p)],l.prototype,"share_focus",void 0),l=Uq([Object(uS.k)({selector:"page-pd-question-business-info",templateUrl:"pd-question-business-info.html"}),Mq("design:paramtypes",[tS.r,tS.s,wS,$S,LS,xS.g,gS,YS,WS])],l)}(),Hq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Gq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Yq=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustcat=t,this.cons=a,this.toast=i,this.loading=o,this.cameraProvider=r,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=!1,this.isOtherOwner=!1,this.m_vehicle_type=[],this.cityArr=[],this.pinArr=[],this.m_state_for_address=[],this.imageBucket=[],this.tab="0",this.complete_status=!1,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.getDropDown(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessAssetsPage"),this.getDetails(),this.getPDImages()},l.prototype.getAddress=function(){var l=this,n={};n.parent_pdid=this.pdDetails.parent_pd_id,n.pd_id=this.pdDetails.pd_id,n.pd_form_id="5",this.qustcat.retiverForm(n).subscribe(function(n){var e=l._businessAssetsQuesFrom.controls.business_assets_for_address;200==n.status&&n.records.addresses.length>0?n.records.addresses.forEach(function(n,u){l.addressLabel[u]="",console.log("address",n),l.qustcat.getStateWiseCities(n.state).subscribe(function(t){if(1==t.dataStatus){console.log("state",t),l.cityArr=t.records.cities,l.pinArr=t.records.pincode;var a=l.m_address_type.filter(function(l){return l.address_type_id==n.address_type})[0],i=l.m_state_for_address.filter(function(l){return l.state_id==n.state})[0],o=l.cityArr.filter(function(l){return l.city_id==n.city})[0],r=l.pinArr.filter(function(l){return l.pincode_id==n.pincode})[0];console.log(o);var _=void 0;_=""!=a&&void 0!=a?1!=n.address_type?a.address_type:n.address_type_others:"";var d=n.address+" , "+o.city_name+","+i.name+"-"+(1==n.pincode?n.pincode_others:r.pincode);l.placeholderName[u]="Was any business activity seen at the "+_+" during PD visit?";var s=" : "+d+" / "+_;console.log("dd",s);e.push(l.initBusinessDetailsWithdata({address_label:s,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:""}))}})}):e.push(l.initBusinessDetails())})},l.prototype.getDropDown=function(){var l=this;this.qustcat.getcommondrop("ADDRESSTYPE").subscribe(function(n){l.m_address_type=n.records.filter(function(l){return 1==l.isactive})}),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("STATE").subscribe(function(n){l.m_state_for_address=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.getDetails=function(){var l=this,n={};n.parent_pdid=this.pdDetails.parent_pd_id,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})},l.prototype.formLoadData=function(l){if(null==l)this._businessAssetsQuesFrom=this.fb.group({parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdDetails.pd_id],formid:[this.formDetails.form_id],company_id:[this.company_id],fk_createdby:[this.users],business_assets_for_address:this.fb.array([]),business_assets_details:this.fb.array([this.initBusinessDetails()]),business_assets_form_remark:[""]}),this.getAddress(),this.loadDetails=!0;else{var n=l;this._businessAssetsQuesFrom=this.fb.group({parent_pdid:[this.pdDetails.parent_pd_id],pdid:[this.pdDetails.pd_id],formid:[this.formDetails.form_id],company_id:[this.company_id],fk_createdby:[this.users],business_assets_for_address:this.fb.array([]),business_assets_details:this.fb.array([]),business_assets_form_remark:[n.business_assets_form_remark||""]}),this.addBusinessAssetsForAddress(n.business_assets_for_address),this.addBusinessAssetsDetailsWithData(n.business_assets_details)}this.loadDetails=!0},l.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:["",xS.y.compose([xS.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:["",xS.y.compose([xS.y.required])],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({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:["",xS.y.compose([xS.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;console.log("add business");var e=Object.keys(l).map(function(n){return l[n]});if(e.length>0){e.forEach(function(l,e){if(null!=l.address_label&&""!=l.address_label){var u=l.address_label.split("/")[1];n.placeholderName[e]="Was any business activity seen at the "+u+" during PD visit?"}n.RentAmtInwordsForAddress[e]=n.cons.convertNumberToWords(l.business_monthly_rented_amt),n.appxMarketAmtInwordsForAddress[e]=n.cons.convertNumberToWords(l.business_approximate_market_value);var t=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&&(t=l.id)}),n.isOtherOwnerForAddress=0==t});for(var u=0,t=e;u0){console.log("length >0"),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,t=e;uthis.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(""),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue("")):a==this.generalExistBusinessYear&&+u>this.generalExistBusinessMonth?(this.monthErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(""),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue("")):(this.monthErrorMessage[n]="",this.yearErrorMessage[n]="",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(+e+ +Math.floor(t)),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue(Math.floor(u)))},l.prototype.checkWithExistBusinessYear=function(l,n){+l>this.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue("")):this.yearErrorMessage[n]=""},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.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustcat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustcat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},Hq([Object(uS.Z)("remarksFocus"),Gq("design:type",uS.p)],l.prototype,"focusRemark",void 0),l=Hq([Object(uS.k)({selector:"page-pd-question-business-assets",templateUrl:"pd-question-business-assets.html"}),Gq("design:paramtypes",[tS.r,tS.s,wS,xS.g,LS,gS,$S,YS,WS])],l)}(),zq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Qq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Jq=function(){function l(l,n,e,u,t,a,i,o,r){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.cons=a,this.toast=i,this.loading=o,this.cameraProvider=r,this.existCompanyList=[],this.mergeCompanyApplicant=[],this.amtInwords=[],this.emiAmtInwords=[],this.limitCaseFlag=[],this.yearErrorMessage=[],this.monthErrorMessage=[],this.m_btLenderListValue=[],this._onDestroy=new dS.Subject,this.imageBucket=[],this.tab="0",this.complete_status=!1,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.generalExistBusinessMonth=this.pdDetails.business_month,this.generalExistBusinessYear=this.pdDetails.business_years,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(),this.complete_status="COMPLETED"==this.pdDetails.pd_status}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessBankingPage"),this.getPDImages()},l.prototype.searchFun=function(l){if(this.m_btLenderListValue){var n=l.controls.filterCtrl.value;n?(n=n.toLowerCase(),this.m_btLenderListValue=this.m_btLenderList.filter(function(l){return l.lender_name.toLowerCase().indexOf(n)>-1})):this.m_btLenderListValue=this.m_btLenderList.slice()}},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}),l.m_btLenderListValue=l.m_btLenderList.slice())}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===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 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}))},l.prototype.checkWithExistBusinessYear=function(l,n,e){console.log(this.generalExistBusinessYear),+n>this.generalExistBusinessYear?(this.yearErrorMessage[e]="Higher than Business Vintage",l.controls.vintage_year.setValue("")):this.yearErrorMessage[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.selectedAccTypeChanges=function(l,n){this.limitCaseFlag[n]=2!=l&&1!=l},l.prototype.ConvertMonthintoYear=function(l,n,e){console.log(this.generalExistBusinessMonth);var u=n%12,t=n/12,a=+l.controls.vintage_year.value+ +Math.floor(t);a>this.generalExistBusinessYear?(this.yearErrorMessage[e]="Higher than Business Vintage",l.controls.vintage_year.setValue(""),l.controls.vintage_month.setValue("")):a==this.generalExistBusinessYear&&+u>this.generalExistBusinessMonth?(this.monthErrorMessage[e]="Higher than Business Vintage",l.controls.vintage_year.setValue(""),l.controls.vintage_month.setValue(""),console.log(this.monthErrorMessage[e])):(this.monthErrorMessage[e]="",this.yearErrorMessage[e]="",l.controls.vintage_year.setValue(a),l.controls.vintage_month.setValue(Math.floor(u)))},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){1==e&&(0==l?n.controls.other_applicant.setValidators([xS.y.required]):n.controls.other_applicant.clearValidators(),n.controls.other_applicant.updateValueAndValidity()),2==e&&(1==l?n.controls.other_bank.setValidators([xS.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:[""],filterCtrl:[""],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({parent_pdid:this.pdDetails.parent_pd_id,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]});l.bankingForm.controls.banking_form_remark.setValue(e.records.banking_form_remark),0==u.length?n.push(l.createBankItem("")):(u.forEach(function(e,u){e.filterCtrl="",l.selectedAccTypeChanges(e.account_type,u),""!=e.limit&&(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 n.push(l.createBankItem(""))})},l.prototype.savepdBank=function(l){var n=this;l.itemRows.forEach(function(l){delete l.filterCtrl}),console.log("logs",l);var e={};e.parent_pdid=this.pdDetails.parent_pd_id,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,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus?(n.bankingForm.markAsUntouched(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})},l.prototype.getPDImages=function(){var l=this;this.imageDisplay=[];this.qustCat.getPDImages({pd_id:this.pdDetails.pd_id,form_id:this.formDetails.form_id,company_id:this.pdDetails.company_id}).subscribe(function(n){n.msg||(console.log(n.records),n.records.length>0&&(n.records.forEach(function(n){l.imageDisplay.push({image:n.doc_url,Name:n.pd_document_title,option:"dummy"})}),console.log("imageBuck",l.imageDisplay)))})},l.prototype.changeName=function(l,n,e){console.log(l),this.imageDisplay[n]={image:e,Name:l}},l.prototype.changeNameForBucket=function(l,n,e){this.imageBucket[n]={image:e,Name:l}},l.prototype.removeImg=function(l){this.imageDisplay.splice(l,1)},l.prototype.removeImgForBucket=function(l){this.imageBucket.splice(l,1)},l.prototype.capture=function(){var l=this;this.cameraProvider.getpicture().then(function(n){if(console.log("Value",n),"error"!=n){l.imageBucket.push({image:n,Name:""});var e=l.toast.setAlertForDocName();e.present(),e.onDidDismiss(function(n){console.log("alert value",n),n&&(l.imageBucket[l.imageBucket.length-1].Name=n.Name)})}},function(l){console.log("Camera Error ",JSON.stringify(l))}),this.tab="1"},l.prototype.sendImage=function(){var l=this;this.loading.loaderForSendImage(),console.log("ll",JSON.stringify(this.imageBucket));var n={pd_id:this.pdDetails.pd_id,formid:this.formDetails.form_id,images:this.imageBucket,company_id:this.pdDetails.company_id};console.log("records",JSON.stringify(n)),this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Image Saved Successfully"),l.imageBucket=[],l.getPDImages()):l.toast.pdTriggerappmessage("Fail")})},l=zq([Object(uS.k)({selector:"page-pd-question-business-banking",templateUrl:"pd-question-business-banking.html"}),Qq("design:paramtypes",[tS.r,tS.s,wS,xS.g,LS,gS,$S,YS,WS])],l)}(),Zq=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Xq=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},lP=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.pdDetails=[],this.existCompanyList=[],this.forms_order=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId")}return l.prototype.ionViewCanEnter=function(){this.getCompanyListForBusiness()},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.existCompanyList.forEach(function(n,e){l.forms_order.push(n.form_status)}),console.log(l.forms_order),l.forms_order=l.forms_order.filter(function(l){return 1==l.isAnswerable}),console.log(l.forms_order),1==l.existCompanyList.length&&(l.count=0),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,console.log(l.form_id),1==l.form_id&&this.navCtrl.push(AI,{formDetails:l,pdDetails:this.pdDetails}),2==l.form_id&&this.navCtrl.push(HI,{formDetails:l,pdDetails:this.pdDetails}),11==l.form_id&&this.navCtrl.push($I,{formDetails:l,pdDetails:this.pdDetails}),13==l.form_id&&this.navCtrl.push(Kq,{formDetails:l,pdDetails:this.pdDetails}),14==l.form_id&&this.navCtrl.push(UI,{formDetails:l,pdDetails:this.pdDetails}),15==l.form_id&&this.navCtrl.push(AI,{formDetails:l,pdDetails:this.pdDetails}),21==l.form_id&&this.navCtrl.push(Jq,{formDetails:l,pdDetails:this.pdDetails}),22==l.form_id&&this.navCtrl.push(Yq,{formDetails:l,pdDetails:this.pdDetails}),16==l.form_id&&this.navCtrl.push(kq,{formDetails:l,pdDetails:this.pdDetails})},l=Zq([Object(uS.k)({selector:"page-pd-question-business-group",templateUrl:"pd-question-business-group.html"}),Xq("design:paramtypes",[tS.r,tS.s,LS])],l)}(),nP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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=(new Date).toJSON().slice(0,19).replace("T"," "),tP=function(){function l(l,n,e,u,t,a,i){var o=this;this.navCtrl=l,this.navParams=n,this.templateget=e,this.aws=u,this.shared=t,this.toast=a,this.pdstatusprovide=i,this.bgColortempForm=[],this.bgColorqustCat=[],this.questionCateAccess=null,this.questionfinishedList=[],this.pddetails=[],this.overallqustioncountAccess=!0,this.enableAddonPD=!1,this.complete_btn=!0,this.complete_status=!1,this.pddetails=this.navParams.get("pdDetails"),this.pageTitle="1"!=this.pddetails.is_child?this.pddetails.applicat_details[0].applicant_name:"Add On for "+this.pddetails.parent_pd_id;var r={};r.pd_id=this.pddetails.pd_id,this.pdstatusprovide.getPDCompleteDetails(r).subscribe(function(l){!0===l.dataStatus&&(o.enableAddonPD=l.records.address_count>0,console.log("addon",o.enableAddonPD))}),this.complete_status="COMPLETED"==this.pddetails.pd_status}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){if(l.questionCate=n,1==l.questionCate.dataStatus)if(l.questionCate=l.questionCate.records,l.random_ng_past(),l.complete_btn="ADD_ON_PENDING"!=l.questionCate.pdmaster_details.pd_status&&"COMPLETED"!=l.questionCate.pdmaster_details.pd_status,""!=l.questionCate.template_forms){l.templateAccess=!0,l.questionCate=l.questionCate,l.dis_forms=l.questionCate.template_forms.filter(function(l){return 1==l.isAnswerable}),console.log("temp",l.questionCate),l.searchTempForm=l.questionCate.template_forms;var e=l.dis_forms.filter(function(l){return 1==l.isAnswered});console.log("an len",e),l.overallqustioncountAccess=e.length==l.dis_forms.length}else 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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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=function(){function l(l,n,e,u,t,a,i,o,r,_,d,s){this.navCtrl=l,this.navParams=n,this.pddetails=e,this.toast=u,this.Menu=t,this.commonconstant=a,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"),console.log("this",this.applicatentDetails),this.users=this.aws.getlocale(),console.log("user",this.users),this.reasonForm=this.fb.group({reason:[null,xS.y.compose([xS.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,fk_updatedby:this.users}).subscribe(function(l){n.otpStatus=l,1==n.otpStatus.dataStatus?n.navCtrl.setRoot(tP,{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){var t;this.alertCtrl.create({title:"OTP Expired ",message:"Do you want to resend the OTP ? ",buttons:[{text:"Start PD Without OTP",handler:function(){n.otpStatusAccess=!1}},{text:"Resend OTP",handler:function(){n.geolocation.getCurrentPosition().then(function(l){t={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(t),n.pddetails.updatepdStatus(t).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,fk_updatedby:this.users}).subscribe(function(n){l.otpStatus=n,1==l.otpStatus.dataStatus&&l.navCtrl.setRoot(tP,{pdDetails:l.applicatentDetails})})}else this.toast.pdTriggerappmessage("Enter The All Field")},l=oP([Object(uS.k)({selector:"page-otp",templateUrl:"otp.html"}),rP("design:paramtypes",[tS.r,tS.s,PS,$S,tS.o,gS,wS,tS.a,LS,xS.g,aP.a,iP.a])],l)}(),dP=e(198),sP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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,t){this.navCtrl=l,this.navParams=n,this.camera=e,this.qustCat=u,this.toast=t,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=sP([Object(uS.k)({selector:"page-pd-general-images",templateUrl:"pd-general-images.html"}),cP("design:paramtypes",[tS.r,tS.s,WS,LS,$S])],l)}(),pP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.viewCtrl=e,this.aws=u,this.pdservice=t,this.qustCat=a,this.fb=i,this.toast=o,this.bounce_reason_others="",this.pdDetails=this.navParams.get("details"),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&&1!=this.bounce_reason){var n={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(n),this.toast.pdTriggerappmessage("Thank You"),this.pdservice.updatepdStatus(n).subscribe(function(n){1==n.dataStatus&&l.navCtrl.setRoot(DP)})}else if(1==this.bounce_reason&&""!=this.bounce_reason_others&&null!=this.bounce_reason_others){n={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(n),this.toast.pdTriggerappmessage("Thank You"),this.pdservice.updatepdStatus(n).subscribe(function(n){1==n.dataStatus&&l.navCtrl.setRoot(DP)})}else this.toast.pdTriggerappmessage("Please Choose the Reason to Reject")},l=pP([Object(uS.k)({selector:"page-bounced-reject",templateUrl:"bounced-reject.html"}),fP("design:paramtypes",[tS.r,tS.s,tS.y,wS,PS,LS,xS.g,$S])],l)}(),gP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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,t,a,i){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.fb=u,this.aws=t,this.pdTrigger=a,this.toast=i,this.cus_seg=[],this.mobileDisable=!1,this.master=[],this.addressData=[],this.applicants=[],this.pageTitle="Choose customer segment For this PD address",this.master=this.navParams.get("master"),this.addressData=this.navParams.get("address"),this.applicants=this.navParams.get("applicants"),console.log("d",this.master,"kd",this.applicants,"dks",this.applicants),this.addressMapping=this.fb.group({fk_customer_segment:[""],pd_co_applicant_id:[""],mobile_no:[""]}),this.dropDown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad MapAddressPage")},l.prototype.updateMobile=function(l){var n=this.applicants.filter(function(n){return n.pd_co_applicant_id==l.pd_co_applicant_id}).map(function(l){return l.mobile_no})[0];console.log(n),""!=n&&null!=n?(this.addressMapping.controls.mobile_no.setValue(n),this.addressMapping.controls.mobile_no.clearValidators(),this.addressMapping.controls.mobile_no.updateValueAndValidity(),this.mobileDisable=!0):(this.addressMapping.controls.mobile_no.setValue(""),this.addressMapping.controls.mobile_no.setValidators(xS.y.compose([xS.y.required])),this.addressMapping.controls.mobile_no.updateValueAndValidity(),this.mobileDisable=!1)},l.prototype.dropDown=function(){var l=this;this.qustCat.getCustomersDetails().subscribe(function(n){1==n.dataStatus&&(l.cus_seg=n.records)})},l.prototype.cancel=function(){this.navCtrl.pop()},l.prototype.submit=function(l){var n=this;if(this.addressMapping.invalid)this.toast.pdTriggerappmessage("Please Fill all the Fields");else{var e={pd_id:null,parent_pd_id:this.master.parent_pd_id,fk_address_id:this.addressData.pd_address_id,pd_status:"ACCEPTED",fk_updatedby:this.aws.getlocale(),fk_customer_segment:l.fk_customer_segment,pd_co_applicant_id:l.pd_co_applicant_id,mobile_no:l.mobile_no};console.log("update",e),this.pdTrigger.updatepdStatus(e).subscribe(function(l){1==l.dataStatus?(n.toast.pdTriggerappmessage("Saved Successfully.."),n.navCtrl.pop()):n.toast.pdTriggerappmessage("Something went wrong!!")})}},l=gP([Object(uS.k)({selector:"page-map-address",templateUrl:"map-address.html"}),bP("design:paramtypes",[tS.r,tS.s,LS,xS.g,wS,PS,$S])],l)}(),yP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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=(new Date).toJSON().slice(0,19),FP=function(){function l(l,n,e,u,t,a,i,o,r,_,d,s,c,m,p){this.navCtrl=l,this.navParams=n,this.fb=e,this.statusBar=u,this.platform=t,this.launchNavigator=a,this.aws=i,this.pdDetails=o,this.geolocation=r,this.alertCtrl=_,this.locationAccuracy=d,this.toast=s,this.constant=c,this.androidPermissions=m,this.modalCtrl=p,this.initiatedAccess=!1,this.scheduleAccess=!1,this.pipe=new wI.e("en-US"),this.acceptedAccess=!1,this.startedAccess=!1,this.timeOut=15e3,this.other_applicant=[],this.loadDetails=!1,this.mainApplicant=[],this.pdMaster=[],this.checkOtpAccess=!1,this.addresses=[],this.address_pd_status="",this.maxdate=this.pipe.transform(new Date,"yyyy-MM-ddTHH:mm").toString();var f=new Date("dd"),h=f.getDate()+f.getMonth()+f.getFullYear();console.log("today",h),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.users=this.aws.getlocale()}return l.prototype.ionViewCanEnter=function(){this.getFullPD()},l.prototype.ionViewDidLoad=function(){this.setPermission()},l.prototype.ionViewCanLeave=function(){clearInterval(this.timeInterval)},l.prototype.locationnavicate=function(l){var n=this.addresses[l];this.launchNavigator.navigate(n.addressline1+" "+n.city_name+" "+n.state_name+"-"+("Others"!=n.pincode?n.pincode:n.other_pincode))},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:"1"!=this.applicatentDetails.is_child?this.applicatentDetails.pd_id:this.applicatentDetails.parent_pd_id}).subscribe(function(n){if(1==n.dataStatus){if(l.other_applicant=n.records.applicants_details,l.mainApplicant=n.records.applicants_details[0],l.pdMaster=n.records.pd_master_details[0],console.log("other",l.mainApplicant),l.addresses=n.records.pd_address,l.address_pd_id=l.addresses.addtional_pd_data,l.addresses.forEach(function(n){if(console.log("address",n),0!=n.addtional_pd_data.length&&("ALLOCATED"==n.addtional_pd_data[0].pd_status||"ACCEPTED"==n.addtional_pd_data[0].pd_status||"SCHEDULED"==n.addtional_pd_data[0].pd_status||"INITIATED"==n.addtional_pd_data[0].pd_status||"STARTED"==n.addtional_pd_data[0].pd_status))return l.address_pd_id=n.addtional_pd_data[0].pd_id,l.address_pd_status=n.addtional_pd_data[0].pd_status,l.address_allocated_data=n.addtional_pd_data[0],void console.log("pd",l.address_pd_id)}),"ALLOCATED"==l.address_pd_status&&(l.acceptedAccess=!0),"ACCEPTED"==l.address_pd_status&&(l.scheduleAccess=!0),"SCHEDULED"==l.address_pd_status&&(l.initiatedAccess=!0),"INITIATED"==l.address_pd_status&&(l.startedAccess=!0,l.getenableAccuracy()),"STARTED"==l.address_pd_status&&(l.checkOtpAccess=!0),console.log("address allocated",l.address_allocated_data),console.log(l.other_applicant),""!=l.address_allocated_data&&void 0!=l.address_allocated_data){var e=l.pipe.transform(new Date,"yyyy-MM-dd HH:mm"),u=l.address_allocated_data.scheduled_on_for_validation,t=Date.parse(e)-Date.parse(u),a=Math.floor(t/1e3/60/60);console.log(a),l.enableStartPD=a<-4}l.loadDetails=!0}})},l.prototype.pdStatus=function(l,n){var e=this;"BOUNCED"==l?this.navCtrl.push(hP,{details:{pd_id:this.address_pd_id,pd_status:l,fk_updatedby:this.users,updatedon:wP}}):"ACCEPTED"==l&&this.pdDetails.updatepdStatus({pd_id:this.address_pd_id,pd_status:l,fk_updatedby:this.users,updatedon:wP}).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;if(console.log(l),void 0!=l){var u=l.slice(0,19).replace("T"," ");console.log(u),this.pdDetails.updatepdStatus({pd_id:this.address_pd_id,pd_status:"SCHEDULED",scheduled_on:u,fk_updatedby:this.users,updatedon:wP}).subscribe(function(l){e.updateSchedule=l,1==e.updateSchedule.dataStatus&&(e.getNewpdupdate(),e.initiatedAccess=!0)})}else this.toast.pdTriggerappmessage("Please Choose the Schedule Date"),this.input_focus.setFocus()},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.address_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){var u=n.other_applicant.filter(function(l){return l.additional_pd_id==n.address_allocated_data.pd_id}).map(function(l){return l.mobile_no})[0];console.log("mobile",u),void 0==u&&(u=n.mainApplicant.mobile_no),n.currentPosPDofficer=e.coords.latitude+","+e.coords.longitude,n.pdDetails.updatepdStatus({pd_id:n.address_pd_id,pd_status:"INITIATED",mobile_no:u,officerName:l.pd_allocated_to,firstName:n.mainApplicant.applicant_name,fk_updatedby:n.users,updatedon:wP,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))})},function(e){console.log("currnpd",n.currentPosPDofficer),alert(JSON.stringify(e));var u=n.other_applicant.filter(function(l){return l.additional_pd_id==n.address_allocated_data.pd_id}).map(function(l){return l.mobile_no})[0];console.log("mobile",u),void 0==u&&(u=n.mainApplicant.mobile_no),n.pdDetails.updatepdStatus({pd_id:n.address_pd_id,pd_status:"INITIATED",mobile_no:u,officerName:l.pd_allocated_to,firstName:n.mainApplicant.applicant_name,fk_updatedby:n.users,updatedon:wP,link:n.currentPosPDofficer}).subscribe(function(l){n.updateinitiated=l,1==n.updateinitiated.dataStatus?(console.log("status","true"),n.getNewpdupdate(),n.getcurrentLocation(),n.startedAccess=!0):n.startedAccess=!1})})},l.prototype.checkOTP=function(l){var n,e=this;this.geolocation.getCurrentPosition().then(function(l){e.currentPosPDofficer=l.coords.latitude+","+l.coords.longitude;var u=e.other_applicant.filter(function(l){return l.additional_pd_id==e.address_allocated_data.pd_id}).map(function(l){return l.mobile_no})[0];console.log("mobile",u),void 0==u&&(u=e.mainApplicant.mobile_no),n={pd_id:e.address_pd_id,pd_status:"STARTED",mobile_no:u,fk_updatedby:e.users,updatedon:wP,link:e.currentPosPDofficer},console.log(n),e.pdDetails.updatepdStatus(n).subscribe(function(l){e.updatestarted=l,1==e.updatestarted.dataStatus?(e.getNewpdupdate(),e.startedAccess=!1,e.checkOtpAccess=!0):e.checkOtpAccess=!1},function(l){return alert(JSON.stringify(l))})},function(l){alert(JSON.stringify(l))})},l.prototype.startPdDiscussion=function(){var l=this;this.alertCtrl.create({title:"Start Discussion",message:"Are you starting the Discussion",buttons:[{text:"No",role:"cancel",handler:function(){}},{text:"YES",handler:function(){clearInterval(l.timeInterval),console.log("address",l.address_allocated_data);var n=l.address_allocated_data;n.applicat_details=l.other_applicant,l.navCtrl.setRoot(_P,{pdDetails:n})}}]}).present()},l.prototype.getNewpdupdate=function(){var l=this;console.log("Started",this.startedAccess),console.log("checkOtpAccess",this.checkOtpAccess),this.acceptedAccess=!1,this.initiatedAccess=!1,this.scheduleAccess=!1,this.startedAccess=!1,this.checkOtpAccess=!1,this.pdDetails.getpddetails(this.users).subscribe(function(n){if(l.appdata=n,1==l.appdata.dataStatus){l.applicatentDetails=l.appdata.records.filter(function(n){return n.pd_id==l.applicatentDetails.pd_id})[0];l.pdDetails.getFullPDdetails({pdid:"1"!=l.applicatentDetails.is_child?l.applicatentDetails.pd_id:l.applicatentDetails.parent_pd_id}).subscribe(function(n){1==n.dataStatus&&(l.addresses=n.records.pd_address,n.records.pd_address.forEach(function(n){if(0!=n.addtional_pd_data.length&&("ALLOCATED"==n.addtional_pd_data[0].pd_status||"ACCEPTED"==n.addtional_pd_data[0].pd_status||"SCHEDULED"==n.addtional_pd_data[0].pd_status||"INITIATED"==n.addtional_pd_data[0].pd_status||"STARTED"==n.addtional_pd_data[0].pd_status))return l.address_pd_status=n.addtional_pd_data[0].pd_status,void console.log("pd",l.address_pd_id)}),"ALLOCATED"==l.address_pd_status&&(l.acceptedAccess=!0),"ACCEPTED"==l.address_pd_status&&(l.scheduleAccess=!0,l.toast.pdTriggerappmessage("Accepted Successfully")),"SCHEDULED"==l.address_pd_status&&(l.initiatedAccess=!0,l.getFullPD(),l.toast.pdTriggerappmessage("Scheduled Successfully")),"INITIATED"==l.address_pd_status&&(l.startedAccess=!0,l.toast.pdTriggerappmessage("Initiated Successfully")),"STARTED"==l.address_pd_status&&(l.checkOtpAccess=!0))})}}),console.log("app",this.applicatentDetails)},l.prototype.camerasetup=function(){this.navCtrl.push(mP,{pdDetails:this.applicatentDetails})},l.prototype.inprogress=function(l,n){console.log(n);var e=n;e.applicat_details=this.other_applicant,this.navCtrl.push(tP,{pdDetails:e})},l.prototype.mapAddress=function(l){this.modalCtrl.create(vP,{master:this.pdMaster,address:l,applicants:this.other_applicant},{cssClass:"mapAddress"}).present()},yP([Object(uS.Z)("focusinp"),CP("design:type",Object)],l.prototype,"input_focus",void 0),yP([Object(uS.Z)("scroll"),CP("design:type",tS.e)],l.prototype,"scrolltop",void 0),l=yP([Object(uS.k)({selector:"page-input",templateUrl:"input.html"}),CP("design:paramtypes",[tS.r,tS.s,xS.g,aS.a,kS.a,SS.a,wS,PS,aP.a,tS.a,dP.a,$S,gS,iP.a,tS.p])],l)}(),xP=e(259),kP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},SP=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.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=kP([Object(uS.x)(),SP("design:paramtypes",[oS.c,xP.a])],l)}(),qP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},PP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},DP=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.pdofficer=u,this.shared=t,this.db=a,this.androidPermissions=i,this.bgColorPast=[],this.bgColor=[],this.pdinprogress=[],this.pdlistdetails=[],this.pdlist="0",this.pdlistaccess=null}return l.prototype.selectedTab=function(l){this.slider.slideTo(l)},l.prototype.moveButton=function(l){this.pdlist=l._snapIndex.toString()},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){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;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(FP)},l.prototype.getpdTriggerdetails=function(){var l=this,n=this.aws.getlocale();this.pdlistaccess=!0,this.pdofficer.getpddetails(n).subscribe(function(n){l.pdlistdetails=n,1==l.pdlistdetails.dataStatus?(l.pdlistaccess=!1,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||"ADD_ON_PENDING"==l.pd_status}),l.searchpast=l.pdschduleDetails,l.pdinprogress=l.pdlistdetails.records.filter(function(l){return"ALLOCATED"==l.pd_status}),l.searchinprogress=l.pdinprogress,console.log("allocated",l.pdinprogress),console.log("inpr",l.pdschduleDetails),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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},OP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},LP=function(){function l(l,n,e,u,t){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.commonconstant=t,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(DP)},function(l){n.toast.pdTriggerappmessage(l.message)})}else this.toast.pdTriggerappmessage("Enter the new Password")},l=TP([Object(uS.k)({selector:"page-password",templateUrl:"password.html"}),OP("design:paramtypes",[tS.r,tS.s,wS,$S,gS])],l)}(),AP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},VP=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,t,a){this.aws=l,this.dialog=n,this.shared=e,this.navCtrl=u,this.Menu=t,this.toast=a,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(DP):(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(LP,{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=AP([Object(uS.k)({selector:"page-login",templateUrl:"login.html"}),VP("design:paramtypes",[wS,FS.h,pS,tS.r,tS.o,$S])],l)}(),WP=e(199),EP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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)},$P=function(){function l(l,n,e,u,t,a,i,o,r,_){this.navCtrl=l,this.navParams=n,this.Menu=e,this.fb=u,this.shared=t,this.toast=a,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(DP)})},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(DP)):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(DP)}).catch(function(n){l.toast.pdTriggerappmessage("err: "+n)})},l=EP([Object(uS.k)({selector:"page-auth",templateUrl:"auth.html"}),jP("design:paramtypes",[tS.r,tS.s,tS.o,xS.g,pS,$S,WP.a,wS,YS,gS])],l)}(),BP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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)},UP=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.awsservice=e,this.PdtriggerProvider=u,this.shared=t,this.db=a,this.androidPermissions=i,this.pdlistdetails=[],this.pdcomplete=[],this.bgColorPast=[],this.bgColor=[],this.pdlist="0"}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad CompleteListPage"),this.db.getuserDetails()},l.prototype.ionViewCanEnter=function(){console.log("Pd list ionViewCanEnter"),this.getpdTriggerdetails()},l.prototype.doRefresh=function(l){this.bgColor=[],this.pdschduleDetails=[],this.pdcomplete=[],this.shared.refresh(),this.getpdTriggerdetails(),setTimeout(function(){l.complete()},2e3)},l.prototype.getpdTriggerdetails=function(){var l=this,n=this.awsservice.getlocale();this.PdtriggerProvider.getpddetails(n).subscribe(function(n){console.log("res",n),l.pdlistdetails=n,1==l.pdlistdetails.dataStatus?(l.pdlistaccess=!1,l.pdcomplete=l.pdlistdetails.records.filter(function(l){return"COMPLETED"==l.pd_status}),l.searchcomplete=l.pdcomplete,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.pdcomplete;l=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>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,t,a,i,o){var r=this;this.platform=l,this.statusBar=n,this.splashScreen=e,this.aws=u,this.shared=t,this.AWS=a,this.alertCtrl=i,this.userAccess=!1,this.rootPage=NP,this.alertShown=!1,o.setDefaultTTL(3600),this.initializeApp(),this.pages=[{title:"Home",icon:"home",method:function(){return r.menulist(1)}},{title:"Logout",icon:"md-exit",method:function(){return r.menulist(2)}},{title:"Complete List",icon:"checkmark-circle",method:function(){return r.menulist(3)}}]}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=$P}).catch(function(){setTimeout(function(){l.rootPage=NP},1e3)})}),this.platform.registerBackButtonAction(function(){if(1==l.nav.length()){if(0==l.alertShown){var n=l.alertCtrl.create({title:"Confirm Exit",message:"Do You Want Exit ?",buttons:[{text:"Cancel",role:"cancel",handler:function(){console.log("Cancel clicked"),l.alertShown=!1}},{text:"Yes",handler:function(){console.log("Exit"),l.platform.exitApp()}}]});n.present(),l.alertShown=!0}}else l.nav.pop()})},l.prototype.presentConfirm=function(){var l=this,n=this.alertCtrl.create({title:"Confirm Exit",message:"Do You Want Exit ?",buttons:[{text:"Cancel",role:"cancel",handler:function(){console.log("Cancel clicked")}},{text:"Yes",handler:function(){console.log("Exit"),l.platform.exitApp()}}]});n.present()},l.prototype.getuserDetails=function(){var l=this;this.userDetails="";var 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(DP);break;case 2:this.AWS.logout().subscribe(function(){n.nav.setRoot(NP)});break;case 3:this.nav.setRoot(UP)}},l.prototype.logout=function(){this.nav.setRoot(NP)},MP([Object(uS.Z)(tS.q),KP("design:type",tS.q)],l.prototype,"nav",void 0),l=MP([Object(uS.k)({templateUrl:"app.html"}),KP("design:paramtypes",[tS.u,aS.a,iS.a,wS,pS,wS,tS.a,DS.b])],l)}(),GP=e(365),YP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},zP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},QP=function(){function l(){}return l.prototype.getlogin=function(){},l=YP([Object(uS.x)(),zP("design:paramtypes",[])],l)}(),JP=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ZP=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},XP=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 oS.h({Authorization:"sparqvenba2018",Token:e,From:"1"})});return n.handle(u).pipe(Object(KS.catchError)(this.handleError("role",[])))},l.prototype.handleError=function(l,n){return void 0===l&&(l="operation"),function(l){if(l instanceof oS.f)return console.error("Error: "+l.status),401==l.status&&localStorage.clear(),Object(dS.of)(n)}},l=JP([Object(uS.x)(),ZP("design:paramtypes",[pS])],l)}(),lD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},nD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},eD=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")},lD([Object(uS.Z)("SwipedTabsSlider"),nD("design:type",tS.v)],l.prototype,"SwipedTabsSlider",void 0),lD([Object(uS.Z)("MultiItemsScrollingTabs"),nD("design:type",tS.e)],l.prototype,"ItemsTitles",void 0),l=lD([Object(uS.k)({selector:"page-googleplaytab",templateUrl:"googleplaytab.html"}),nD("design:paramtypes",[tS.r,tS.s,tS.u])],l)}(),uD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},tD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},aD=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=uD([Object(uS.k)({selector:"page-pd-allocation",templateUrl:"pd-allocation.html"}),tD("design:paramtypes",[tS.r,tS.s])],l)}(),iD=e(465),oD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},rD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},_D=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=oD([Object(uS.k)({selector:"page-pd-question-business",templateUrl:"pd-question-business.html"}),rD("design:paramtypes",[tS.r,tS.s,LS,wS])],l)}(),dD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},sD=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},cD=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=dD([Object(uS.k)({selector:"page-pd-question-salary-info",templateUrl:"pd-question-salary-info.html"}),sD("design:paramtypes",[tS.r,tS.s,xS.g])],l)}(),mD=e(92),pD=e(201),fD=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<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--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},hD=function(){function l(){}return l=fD([Object(uS.E)({declarations:[HP,$P,NP,DP,UP,tP,MS,eD,LP,aD,FP,_P,nI,vI,mI,oI,tI,hI,Kq,dI,UI,TI,AI,WI,$I,HI,kI,hq,ZI,zI,Kq,oq,nq,kq,hP,tq,qq,Nq,Tq,jq,Rq,_D,lP,Yq,Jq,dq,mP,cD,vq,mq,wq,CI,qI,vP],imports:[eS.a,xS.w,xS.m,tS.m.forRoot(HP,{},{links:[]}),GP.a,FS.a,FS.b,FS.c,FS.d,FS.e,FS.f,FS.g,FS.i,FS.n,FS.j,FS.k,FS.l,FS.m,FS.n,FS.o,FS.p,FS.r,FS.s,FS.t,FS.u,FS.v,FS.x,FS.y,FS.A,FS.z,FS.B,FS.C,FS.E,FS.F,FS.G,FS.H,FS.D,oS.d,iD.a,mD.b,pD.c,zS.a.forRoot(),DS.a.forRoot()],bootstrap:[tS.k],entryComponents:[HP,$P,NP,DP,tP,MS,eD,LP,UP,aD,FP,_P,nI,vI,mI,oI,tI,hI,Kq,dI,UI,TI,AI,WI,$I,HI,kI,hq,ZI,zI,Kq,oq,nq,kq,hP,tq,qq,Nq,Tq,jq,Rq,_D,lP,Yq,Jq,dq,mP,cD,vq,mq,wq,qI,vP],providers:[aS.a,wS,QP,XP,$S,gS,pS,iS.a,PS,WP.a,xP.a,iP.a,{provide:oS.a,useClass:XP,multi:!0},{provide:uS.r,useClass:tS.l},SS.a,wS,LS,WS,AS.a,Lq,dP.a,YS,aP.a,IP,ZS]})],l)}(),gD=e(151),bD=e(466),vD=e(467),yD=e(468),CD=e(469),wD=e(470),FD=e(471),xD=e(472),kD=e(473),SD=e(474),ID=e(370),qD=e(475),PD=e(476),DD=e(477),TD=e(478),OD=e(108),LD=e(66),AD=e(63),VD=e(2),ND=e(84),WD=e(96),ED=e(227),jD=e(26),$D=e(20),BD=e(479),RD=e(117),UD=e(182),MD=e(5),KD=e(17),HD=e(39),GD=e(9),YD=e(8),zD=e(25),QD=e(15),JD=e(6),ZD=e(14),XD=e(91),lT=e(480),nT=e(155),eT=e(114),uT=e(76),tT=e(99),aT=e(196),iT=uS._16({encapsulation:2,styles:[],data:{}}),oT=uS._14("ng-component",HP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"ng-component",[],null,null,null,i,iT)),uS._17(1,49152,null,0,HP,[MD.a,aS.a,iS.a,wS,pS,wS,tT.a,aT.a],null,null)],null,null)},{},{},[]),rT=e(32),_T=e(29),dT=e(31),sT=e(35),cT=e(41),mT=e(24),pT=e(7),fT=e(37),hT=e(129),gT=e(86),bT=e(23),vT=e(10),yT=uS._16({encapsulation:2,styles:[],data:{}}),CT=uS._14("page-auth",$P,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-auth",[],null,null,null,_,yT)),uS._17(1,49152,null,0,$P,[ZD.a,vT.a,jD.a,xS.g,pS,$S,WP.a,wS,YS,gS],null,null)],null,null)},{},{},[]),wT=e(126),FT=uS._16({encapsulation:2,styles:[],data:{}}),xT=uS._14("page-login",NP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-login",[],null,null,null,s,FT)),uS._17(1,114688,null,0,NP,[wS,wT.d,pS,ZD.a,jD.a,$S],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),kT=e(33),ST=e(28),IT=e(21),qT=e(19),PT=e(162),DT=e(118),TT=e(481),OT=e(27),LT=e(30),AT=e(22),VT=e(18),NT=e(38),WT=e(36),ET=e(61),jT=e(67),$T=e(58),BT=e(123),RT=e(260),UT=e(134),MT=e(261),KT=e(119),HT=e(262),GT=e(135),YT=e(57),zT=uS._16({encapsulation:2,styles:[],data:{}}),QT=uS._14("page-pd-list",DP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-list",[],null,null,null,N,zT)),uS._17(1,49152,null,0,DP,[ZD.a,vT.a,wS,PS,pS,IP,iP.a],null,null)],null,null)},{},{},[]),JT=e(43),ZT=uS._16({encapsulation:2,styles:[],data:{}}),XT=uS._14("page-pd-question-category",tP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-category",[],null,null,null,z,ZT)),uS._17(1,49152,null,0,tP,[ZD.a,vT.a,LS,wS,pS,$S,PS],null,null)],null,null)},{},{},[]),lO=e(263),nO=e(141),eO=e(97),uO=e(83),tO=e(60),aO=e(62),iO=e(59),oO=e(202),rO=e(125),_O=e(64),dO=e(56),sO=e(65),cO=e(53),mO=e(482),pO=e(186),fO=e(372),hO=uS._16({encapsulation:2,styles:[],data:{}}),gO=uS._14("page-pd-question",MS,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question",[],null,null,null,sl,hO)),uS._17(1,49152,null,0,MS,[ZD.a,vT.a,MD.a,xS.g,LS,wS,WS,$S],null,null)],null,null)},{},{},[]),bO=uS._16({encapsulation:2,styles:[],data:{}}),vO=uS._14("page-googleplaytab",eD,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-googleplaytab",[],null,null,null,gl,bO)),uS._17(1,49152,null,0,eD,[ZD.a,vT.a,MD.a],null,null)],null,null)},{},{},[]),yO=uS._16({encapsulation:2,styles:[],data:{}}),CO=uS._14("page-password",LP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-password",[],null,null,null,bl,yO)),uS._17(1,49152,null,0,LP,[ZD.a,vT.a,wS,$S,gS],null,null)],null,null)},{},{},[]),wO=uS._16({encapsulation:2,styles:[],data:{}}),FO=uS._14("page-complete-list",UP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-complete-list",[],null,null,null,Fl,wO)),uS._17(1,49152,null,0,UP,[ZD.a,vT.a,wS,PS,pS,IP,iP.a],null,null)],null,null)},{},{},[]),xO=uS._16({encapsulation:2,styles:[],data:{}}),kO=uS._14("page-pd-allocation",aD,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-allocation",[],null,null,null,Tl,xO)),uS._17(1,49152,null,0,aD,[ZD.a,vT.a],null,null)],null,null)},{},{},[]),SO=e(122),IO=e(483),qO=e(177),PO=e(156),DO=uS._16({encapsulation:2,styles:[],data:{}}),TO=uS._14("page-input",FP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-input",[],null,null,null,Zl,DO)),uS._17(1,49152,null,0,FP,[ZD.a,vT.a,xS.g,aS.a,kS.a,SS.a,wS,PS,aP.a,tT.a,dP.a,$S,gS,iP.a,PO.a],null,null)],null,null)},{},{},[]),OO=e(49),LO=e(52),AO=e(42),VO=e(40),NO=e(16),WO=uS._16({encapsulation:2,styles:[],data:{}}),EO=uS._14("page-otp",_P,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-otp",[],null,null,null,on,WO)),uS._17(1,49152,null,0,_P,[ZD.a,vT.a,PS,$S,jD.a,gS,wS,tT.a,LS,xS.g,aP.a,iP.a],null,null)],null,null)},{},{},[]),jO=e(109),$O=uS._16({encapsulation:2,styles:[],data:{}}),BO=uS._14("page-pd-question-address",nI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-address",[],null,null,null,Bn,$O)),uS._17(1,49152,null,0,nI,[ZD.a,vT.a,xS.g,LS,wS,$S,tT.a,gS,AS.a,YS,ZS],null,null)],null,null)},{},{},[]),RO=uS._16({encapsulation:2,styles:[],data:{}}),UO=uS._14("page-pd-question-assests",vI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assests",[],null,null,null,Re,RO)),uS._17(1,49152,null,0,vI,[ZD.a,vT.a,xS.g,wS,LS,$S,gS,AS.a,tT.a],null,null)],null,null)},{},{},[]),MO=uS._16({encapsulation:2,styles:[],data:{}}),KO=uS._14("page-pd-question-banking",mI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-banking",[],null,null,null,fu,MO)),uS._17(1,49152,null,0,mI,[ZD.a,vT.a,xS.g,wS,LS,$S,gS,WS,YS],null,null)],null,null)},{},{},[]),HO=uS._16({encapsulation:2,styles:[],data:{}}),GO=uS._14("page-pd-question-current-loans",oI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-current-loans",[],null,null,null,Yu,HO)),uS._17(1,49152,null,0,oI,[ZD.a,vT.a,xS.g,LS,$S,wS,gS,WS,YS],null,null)],null,null)},{},{},[]),YO=uS._16({encapsulation:2,styles:[],data:{}}),zO=uS._14("page-pd-question-emp-info",tI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-emp-info",[],null,null,null,Rt,YO)),uS._17(1,49152,null,0,tI,[ZD.a,vT.a,xS.g,LS,wS,$S,gS,WS,YS],null,null)],null,null)},{},{},[]),QO=uS._16({encapsulation:2,styles:[],data:{}}),JO=uS._14("page-pd-question-family",hI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-family",[],null,null,null,Ta,QO)),uS._17(1,49152,null,0,hI,[ZD.a,vT.a,xS.g,LS,wS,$S,gS,WS,YS],null,null)],null,null)},{},{},[]),ZO=e(107),XO=e(143),lL=uS._16({encapsulation:2,styles:[],data:{}}),nL=uS._14("page-pd-question-business-info",Kq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-business-info",[],null,null,null,o_,lL)),uS._17(1,49152,null,0,Kq,[ZD.a,vT.a,wS,$S,LS,xS.g,gS,YS,WS],null,null)],null,null)},{},{},[]),eL=uS._16({encapsulation:2,styles:[],data:{}}),uL=uS._14("page-pd-question-loans",dI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-loans",[],null,null,null,z_,eL)),uS._17(1,180224,null,0,dI,[ZD.a,vT.a,xS.g,LS,wS,$S,gS,WS,YS,ZS],null,null)],null,null)},{},{},[]),tL=uS._16({encapsulation:2,styles:[],data:{}}),aL=uS._14("page-pd-question-financial-info",UI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-financial-info",[],null,null,null,ns,tL)),uS._17(1,49152,null,0,UI,[ZD.a,vT.a,wS,$S,LS,xS.g,gS,WS,YS],null,null)],null,null)},{},{},[]),iL=uS._16({encapsulation:2,styles:[],data:{}}),oL=uS._14("page-pd-question-other-income",TI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-other-income",[],null,null,null,Ps,iL)),uS._17(1,49152,null,0,TI,[ZD.a,vT.a,xS.g,LS,wS,$S,gS,WS,YS],null,null)],null,null)},{},{},[]),rL=uS._16({encapsulation:2,styles:[],data:{}}),_L=uS._14("page-pd-question-supplier-info",AI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-supplier-info",[],null,null,null,fc,rL)),uS._17(1,49152,null,0,AI,[ZD.a,vT.a,xS.g,wS,LS,$S,WS,YS],null,null)],null,null)},{},{},[]),dL=uS._16({encapsulation:2,styles:[],data:{}}),sL=uS._14("page-pd-question-personal-info",WI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-personal-info",[],null,null,null,kc,dL)),uS._17(1,114688,null,0,WI,[ZD.a,vT.a,wS,LS,$S,xS.g],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),cL=uS._16({encapsulation:2,styles:[],data:{}}),mL=uS._14("page-pd-question-stock-info",$I,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-stock-info",[],null,null,null,Om,cL)),uS._17(1,49152,null,0,$I,[ZD.a,vT.a,LS,wS,$S,xS.g,gS,WS,YS],null,null)],null,null)},{},{},[]),pL=uS._16({encapsulation:2,styles:[],data:{}}),fL=uS._14("page-pd-question-client-info",HI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-client-info",[],null,null,null,Op,pL)),uS._17(1,49152,null,0,HI,[ZD.a,vT.a,LS,wS,$S,xS.g,YS,WS],null,null)],null,null)},{},{},[]),hL=e(160),gL=e(77),bL=uS._16({encapsulation:2,styles:[],data:{}}),vL=uS._14("page-pd-question-rental-info",kI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-rental-info",[],null,null,null,ig,bL)),uS._17(1,49152,null,0,kI,[ZD.a,vT.a,wS,$S,LS,xS.g,gS,tT.a,YS,WS],null,null)],null,null)},{},{},[]),yL=uS._16({encapsulation:2,styles:[],data:{}}),CL=uS._14("page-pd-question-assessed-info",hq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"page-pd-question-assessed-info",[],null,null,null,nb,yL)),uS._37(4608,null,CI,CI,[]),uS._17(2,49152,null,0,hq,[ZD.a,vT.a,wS,LS,$S,xS.g,gS],null,null)],null,null)},{},{},[]),wL=uS._16({encapsulation:2,styles:[],data:{}}),FL=uS._14("page-pd-question-assessed-daily-sales",ZI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-daily-sales",[],null,null,null,Cb,wL)),uS._17(1,49152,null,0,ZI,[ZD.a,vT.a,wS,LS,$S,xS.g,gS],null,null)],null,null)},{},{},[]),xL=uS._16({encapsulation:2,styles:[],data:{}}),kL=uS._14("page-pd-question-assessed-sales",zI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-sales",[],null,null,null,Mb,xL)),uS._17(1,49152,null,0,zI,[ZD.a,vT.a,wS,xS.g,LS,$S,gS],null,null)],null,null)},{},{},[]),SL=uS._16({encapsulation:2,styles:[],data:{}}),IL=uS._14("page-pd-question-assessed-household",oq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-household",[],null,null,null,Xb,SL)),uS._17(1,49152,null,0,oq,[ZD.a,vT.a,xS.g,wS,$S,LS,gS],null,null)],null,null)},{},{},[]),qL=uS._16({encapsulation:0,styles:[".scroll-content[_ngcontent-%COMP%] {\n padding: 16px;\n}\n .scroll-content[_ngcontent-%COMP%]{\n background-color: #eee;\n }\n .mat-card[_ngcontent-%COMP%]{\n margin-bottom: 15px;\n border-radius: 10px !important;\n 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;\n }\n.mat-card-content[_ngcontent-%COMP%]{\n margin-bottom: 0px !important;\n}"],data:{}}),PL=uS._14("page-pd-question-assessed-purchase",nq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-purchase",[],null,null,null,Cv,qL)),uS._17(1,49152,null,0,nq,[ZD.a,xS.g,vT.a,LS,$S,wS,gS],null,null)],null,null)},{},{},[]),DL=uS._16({encapsulation:2,styles:[],data:{}}),TL=uS._14("page-pd-question-assessed-dash",kq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-dash",[],null,null,null,Wv,DL)),uS._17(1,49152,null,0,kq,[ZD.a,vT.a,wS,xS.g,LS,$S,tT.a],null,null)],null,null)},{},{},[]),OL=uS._16({encapsulation:2,styles:[],data:{}}),LL=uS._14("page-bounced-reject",hP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-bounced-reject",[],null,null,null,$v,OL)),uS._17(1,49152,null,0,hP,[ZD.a,vT.a,JD.a,wS,PS,LS,xS.g,$S],null,null)],null,null)},{},{},[]),AL=uS._16({encapsulation:2,styles:[],data:{}}),VL=uS._14("page-pd-question-assessed-business",tq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-business",[],null,null,null,Qv,AL)),uS._17(1,49152,null,0,tq,[ZD.a,vT.a,xS.g,wS,LS,$S,gS],null,null)],null,null)},{},{},[]),NL=uS._16({encapsulation:2,styles:[],data:{}}),WL=uS._14("page-pd-question-lender-representative",qq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-lender-representative",[],null,null,null,py,NL)),uS._17(1,49152,null,0,qq,[ZD.a,vT.a,wS,LS,$S,xS.g,WS,YS],null,null)],null,null)},{},{},[]),EL=e(484),jL=e(179),$L=e(178),BL=e(485),RL=e(174),UL=e(192),ML=uS._16({encapsulation:2,styles:[],data:{}}),KL=uS._14("page-pd-question-general-info",Nq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"page-pd-question-general-info",[],null,null,null,kC,ML)),uS._37(4608,null,Lq,Lq,[]),uS._17(2,49152,null,0,Nq,[ZD.a,vT.a,wS,LS,$S,xS.g,PO.a,WS,YS],null,null)],null,null)},{},{},[]),HL=uS._16({encapsulation:2,styles:[],data:{}}),GL=uS._14("page-pd-question-general-other-applicant",Tq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-general-other-applicant",[],null,null,null,PC,HL)),uS._17(1,49152,null,0,Tq,[ZD.a,vT.a,xS.g,JD.a],null,null)],null,null)},{},{},[]),YL=e(373),zL=e(161),QL=uS._16({encapsulation:2,styles:[],data:{}}),JL=uS._14("page-pd-question-neighbour-hood",jq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-neighbour-hood",[],null,null,null,Fw,QL)),uS._17(1,49152,null,0,jq,[ZD.a,vT.a,wS,LS,$S,xS.g,gS,WS,YS],null,null)],null,null)},{},{},[]),ZL=uS._16({encapsulation:2,styles:[],data:{}}),XL=uS._14("page-pd-question-final-remark",Rq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-final-remark",[],null,null,null,tF,ZL)),uS._17(1,49152,null,0,Rq,[ZD.a,vT.a,xS.g,LS,wS,$S,WS,YS],null,null)],null,null)},{},{},[]),lA=uS._16({encapsulation:2,styles:[],data:{}}),nA=uS._14("page-pd-question-business",_D,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-business",[],null,null,null,aF,lA)),uS._17(1,49152,null,0,_D,[ZD.a,vT.a,LS,wS],null,null)],null,null)},{},{},[]),eA=uS._16({encapsulation:2,styles:[],data:{}}),uA=uS._14("page-pd-question-business-group",lP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-business-group",[],null,null,null,pF,eA)),uS._17(1,49152,null,0,lP,[ZD.a,vT.a,LS],null,null)],null,null)},{},{},[]),tA=uS._16({encapsulation:2,styles:[],data:{}}),aA=uS._14("page-pd-question-business-assets",Yq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-business-assets",[],null,null,null,yx,tA)),uS._17(1,49152,null,0,Yq,[ZD.a,vT.a,wS,xS.g,LS,gS,$S,YS,WS],null,null)],null,null)},{},{},[]),iA=uS._16({encapsulation:2,styles:[],data:{}}),oA=uS._14("page-pd-question-business-banking",Jq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-business-banking",[],null,null,null,Gx,iA)),uS._17(1,49152,null,0,Jq,[ZD.a,vT.a,wS,xS.g,LS,gS,$S,YS,WS],null,null)],null,null)},{},{},[]),rA=uS._16({encapsulation:2,styles:[],data:{}}),_A=uS._14("page-pd-question-assessed-business-income",dq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-business-income",[],null,null,null,ak,rA)),uS._17(1,49152,null,0,dq,[ZD.a,vT.a,xS.g,wS,LS,$S,gS],null,null)],null,null)},{},{},[]),dA=uS._16({encapsulation:2,styles:[],data:{}}),sA=uS._14("page-pd-general-images",mP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-general-images",[],null,null,null,dk,dA)),uS._17(1,49152,null,0,mP,[ZD.a,vT.a,WS,LS,$S],null,null)],null,null)},{},{},[]),cA=uS._16({encapsulation:2,styles:[],data:{}}),mA=uS._14("page-pd-question-salary-info",cD,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-salary-info",[],null,null,null,ck,cA)),uS._17(1,49152,null,0,cD,[ZD.a,vT.a,xS.g],null,null)],null,null)},{},{},[]),pA=uS._16({encapsulation:2,styles:[],data:{}}),fA=uS._14("page-pd-question-assessed-summary",vq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"page-pd-question-assessed-summary",[],null,null,null,xk,pA)),uS._37(4608,null,CI,CI,[]),uS._17(2,49152,null,0,vq,[ZD.a,vT.a,LS],null,null)],null,null)},{},{},[]),hA=uS._16({encapsulation:2,styles:[],data:{}}),gA=uS._14("page-pd-question-assessed-daily-purchase",mq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-daily-purchase",[],null,null,null,Wk,hA)),uS._17(1,49152,null,0,mq,[ZD.a,vT.a,wS,xS.g,LS,$S,gS],null,null)],null,null)},{},{},[]),bA=uS._16({encapsulation:2,styles:[],data:{}}),vA=uS._14("page-pd-question-assessed-images",wq,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-pd-question-assessed-images",[],null,null,null,zk,bA)),uS._17(1,49152,null,0,wq,[ZD.a,vT.a,WS,YS,$S,LS],null,null)],null,null)},{},{},[]),yA=uS._16({encapsulation:2,styles:[],data:{}}),CA=uS._14("page-pd-question-rental-dash",qI,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,2,"page-pd-question-rental-dash",[],null,null,null,Zk,yA)),uS._37(4608,null,CI,CI,[]),uS._17(2,49152,null,0,qI,[ZD.a,vT.a,LS],null,null)],null,null)},{},{},[]),wA=uS._16({encapsulation:2,styles:[],data:{}}),FA=uS._14("page-map-address",vP,function(l){return uS._42(0,[(l()(),uS._18(0,0,null,null,1,"page-map-address",[],null,null,null,nS,wA)),uS._17(1,49152,null,0,vP,[ZD.a,vT.a,LS,xS.g,wS,PS,$S],null,null)],null,null)},{},{},[]),xA=e(246),kA=e(366),SA=e(82),IA=e(345),qA=e(140),PA=e(338),DA=e(127),TA=e(350),OA=e(351),LA=e(256),AA=e(255),VA=e(355),NA=e(357),WA=e(153),EA=e(133),jA=e(221),$A=e(243),BA=e(116),RA=e(226),UA=e(175),MA=e(234),KA=e(242),HA=e(238),GA=e(363),YA=e(337),zA=e(244),QA=e(229),JA=e(245),ZA=e(74),XA=e(347),lV=e(348),nV=e(193),eV=e(254),uV=e(349),tV=e(352),aV=e(194),iV=e(353),oV=e(354),rV=e(257),_V=e(359),dV=e(360),sV=e(361),cV=e(358),mV=e(367),pV=uS._15(hD,[gD.b],function(l){return uS._29([uS._30(512,uS.l,uS._11,[[8,[bD.a,vD.a,yD.a,CD.a,wD.a,FD.a,xD.a,kD.a,SD.a,ID.a,qD.a,PD.a,DD.a,DD.b,TD.a,oT,CT,xT,QT,XT,gO,vO,CO,FO,kO,TO,EO,BO,UO,KO,GO,zO,JO,nL,uL,aL,oL,_L,sL,mL,fL,vL,CL,FL,kL,IL,PL,TL,LL,VL,WL,KL,GL,JL,XL,nA,uA,aA,oA,_A,sA,mA,fA,gA,vA,CA,FA]],[3,uS.l],uS.F]),uS._30(5120,uS.D,uS._28,[[3,uS.D]]),uS._30(4608,wI.m,wI.l,[uS.D,[2,wI.x]]),uS._30(5120,uS.b,uS._19,[]),uS._30(5120,uS.B,uS._25,[]),uS._30(5120,uS.C,uS._26,[]),uS._30(4608,eS.c,eS.q,[wI.d]),uS._30(6144,uS.S,null,[eS.c]),uS._30(4608,eS.f,xA.a,[]),uS._30(5120,eS.d,function(l,n,e,u,t){return[new eS.k(l,n),new eS.o(e),new eS.n(u,t)]},[wI.d,uS.H,wI.d,wI.d,eS.f]),uS._30(4608,eS.e,eS.e,[eS.d,uS.H]),uS._30(135680,eS.m,eS.m,[wI.d]),uS._30(4608,eS.l,eS.l,[eS.e,eS.m]),uS._30(5120,kA.a,GP.d,[]),uS._30(5120,kA.c,GP.e,[]),uS._30(4608,kA.b,GP.c,[kA.a,kA.c]),uS._30(5120,uS.Q,GP.f,[eS.l,kA.b,uS.H]),uS._30(6144,eS.p,null,[eS.m]),uS._30(4608,uS.X,uS.X,[uS.H]),uS._30(4608,eS.h,eS.h,[wI.d]),uS._30(4608,eS.i,eS.i,[wI.d]),uS._30(4608,xS.g,xS.g,[]),uS._30(4608,xS.C,xS.C,[]),uS._30(4608,SA.b,GP.b,[uS.Q,eS.b]),uS._30(6144,NO.b,null,[wI.d]),uS._30(4608,NO.c,NO.c,[[2,NO.b]]),uS._30(4608,kS.a,kS.a,[]),uS._30(5120,VO.c,VO.a,[[3,VO.c],uS.H,kS.a]),uS._30(5120,VO.f,VO.e,[[3,VO.f],kS.a,uS.H]),uS._30(4608,gL.i,gL.i,[VO.c,VO.f,uS.H,wI.d]),uS._30(5120,gL.e,gL.k,[[3,gL.e],wI.d]),uS._30(4608,gL.h,gL.h,[VO.f,wI.d]),uS._30(5120,gL.f,gL.n,[[3,gL.f],wI.d]),uS._30(4608,gL.c,gL.c,[gL.i,gL.e,uS.l,gL.h,gL.f,uS.f,uS.z,uS.H,wI.d]),uS._30(5120,gL.l,gL.m,[gL.c]),uS._30(5120,IA.a,IA.b,[gL.c]),uS._30(4608,bT.l,bT.l,[kS.a]),uS._30(4608,bT.k,bT.k,[bT.l,uS.H,wI.d]),uS._30(136192,bT.e,bT.c,[[3,bT.e],wI.d]),uS._30(5120,bT.p,bT.o,[[3,bT.p],[2,bT.m],wI.d]),uS._30(5120,bT.j,bT.h,[[3,bT.j],uS.H,kS.a]),uS._30(5120,tO.d,tO.e,[[3,tO.d]]),uS._30(4608,qA.b,qA.b,[]),uS._30(4608,pT.d,pT.d,[]),uS._30(5120,wI.h,PA.b,[wI.s,[2,wI.a],VD.a]),uS._30(4608,wI.g,wI.g,[wI.h]),uS._30(5120,wT.b,wT.c,[gL.c]),uS._30(4608,wT.d,wT.d,[gL.c,uS.z,[2,wI.g],[2,wT.a],wT.b,[3,wT.d],gL.e]),uS._30(4608,oS.l,oS.l,[]),uS._30(6144,oS.k,null,[oS.l]),uS._30(4608,oS.i,oS.i,[oS.k]),uS._30(6144,oS.b,null,[oS.i]),uS._30(4608,oS.j,oS.o,[wI.d,uS.K,oS.m]),uS._30(4608,oS.p,oS.p,[oS.j,oS.n]),uS._30(4608,pS,pS,[]),uS._30(5120,oS.a,function(l,n){return[l,new XP(n)]},[oS.p,pS]),uS._30(5120,oS.g,oS.q,[oS.b,[2,oS.a]]),uS._30(4608,oS.c,oS.c,[oS.g]),uS._30(5120,DA.d,DA.a,[[3,DA.d],[2,oS.c],eS.c,[2,wI.d]]),uS._30(4608,UL.h,UL.h,[]),uS._30(5120,UL.a,UL.b,[gL.c]),uS._30(5120,TA.b,TA.d,[gL.c]),uS._30(6144,pT.h,null,[uS.D]),uS._30(4608,pT.c,pT.z,[[2,pT.h]]),uS._30(5120,AO.a,AO.b,[gL.c]),uS._30(5120,hL.b,hL.c,[gL.c]),uS._30(5120,OA.b,OA.a,[[3,OA.b]]),uS._30(4608,LA.d,LA.d,[kS.a]),uS._30(135680,LA.a,LA.a,[LA.d,uS.H]),uS._30(4608,AA.b,AA.b,[gL.c,bT.p,uS.z,LA.a,[3,AA.b]]),uS._30(5120,VA.b,VA.a,[[3,VA.b]]),uS._30(4608,NA.a,NA.a,[]),uS._30(5120,WA.b,WA.d,[YD.a,WA.a]),uS._30(5120,uT.a,uT.b,[YD.a,WA.b,wI.g,EA.b,uS.l]),uS._30(4608,iO.a,iO.a,[YD.a,VD.a,uT.a]),uS._30(5120,zS.b,zS.d,[zS.c]),uS._30(4608,jA.a,jA.a,[YD.a,VD.a]),uS._30(4608,tT.a,tT.a,[YD.a,VD.a]),uS._30(4608,$A.a,$A.a,[]),uS._30(4608,AD.a,AD.a,[]),uS._30(4608,BA.a,BA.a,[MD.a]),uS._30(4608,KD.a,KD.a,[VD.a,MD.a,uS.H,GD.a]),uS._30(4608,RA.a,RA.a,[YD.a,VD.a]),uS._30(4608,PO.a,PO.a,[YD.a,VD.a,uT.a]),uS._30(4608,UA.a,UA.a,[YD.a,VD.a]),uS._30(4608,MA.a,MA.a,[YD.a,VD.a,uT.a]),uS._30(4608,KA.a,KA.a,[VD.a,MD.a,GD.a,YD.a,HD.l]),uS._30(4608,HA.a,HA.a,[YD.a,VD.a]),uS._30(4608,eT.a,eT.a,[MD.a,VD.a]),uS._30(5120,aT.a,GA.c,[zS.b,GA.a]),uS._30(4608,aS.a,aS.a,[]),uS._30(4608,gS,gS,[oS.c]),uS._30(4608,wS,wS,[oS.c,pS,gS]),uS._30(4608,QP,QP,[]),uS._30(4608,XP,XP,[pS]),uS._30(4608,$S,$S,[oS.c,HA.a,tT.a]),uS._30(4608,iS.a,iS.a,[]),uS._30(4608,PS,PS,[oS.c,gS]),uS._30(4608,WP.a,WP.a,[]),uS._30(4608,xP.a,xP.a,[]),uS._30(4608,iP.a,iP.a,[]),uS._30(4608,SS.a,SS.a,[]),uS._30(4608,LS,LS,[oS.c,gS,aT.a]),uS._30(4608,AS.a,AS.a,[]),uS._30(4608,WS,WS,[oS.c,AS.a]),uS._30(4608,Lq,Lq,[]),uS._30(4608,dP.a,dP.a,[]),uS._30(4608,YS,YS,[oS.c,RA.a]),uS._30(4608,aP.a,aP.a,[]),uS._30(4608,IP,IP,[oS.c,xP.a]),uS._30(4608,ZS,ZS,[oS.c,zS.b,$S]),uS._30(512,wI.c,wI.c,[]),uS._30(512,uS.r,YA.a,[]),uS._30(256,VD.b,{},[]),uS._30(1024,zA.a,zA.b,[]),uS._30(1024,MD.a,MD.b,[eS.b,zA.a,uS.H]),uS._30(1024,VD.a,VD.c,[VD.b,MD.a]),uS._30(512,GD.a,GD.a,[MD.a]),uS._30(512,jD.a,jD.a,[]),uS._30(512,YD.a,YD.a,[VD.a,MD.a,[2,jD.a]]),uS._30(512,HD.l,HD.l,[YD.a]),uS._30(256,WA.a,{links:[]},[]),uS._30(512,uS.j,uS.j,[]),uS._30(512,QA.a,QA.a,[uS.j]),uS._30(1024,EA.b,EA.c,[QA.a,uS.z]),uS._30(1024,uS.c,function(l,n,e,u,t,a,i,o,r,_,d,s,c){return[eS.s(l),JA.a(n),$A.b(e,u),KA.b(t,a,i,o,r),EA.d(_,d,s,c)]},[[2,uS.G],VD.a,MD.a,GD.a,VD.a,MD.a,GD.a,YD.a,HD.l,VD.a,WA.a,EA.b,uS.H]),uS._30(512,uS.d,uS.d,[[2,uS.c]]),uS._30(131584,uS.f,uS.f,[uS.H,uS._12,uS.z,uS.r,uS.l,uS.d]),uS._30(512,uS.e,uS.e,[uS.f]),uS._30(512,eS.a,eS.a,[[3,eS.a]]),uS._30(512,xS.z,xS.z,[]),uS._30(512,xS.w,xS.w,[]),uS._30(512,xS.m,xS.m,[]),uS._30(512,PA.a,PA.a,[]),uS._30(512,GP.a,GP.a,[]),uS._30(512,NO.a,NO.a,[]),uS._30(256,pT.f,!0,[]),uS._30(512,pT.n,pT.n,[[2,pT.f]]),uS._30(512,kS.b,kS.b,[]),uS._30(512,pT.y,pT.y,[]),uS._30(512,pT.w,pT.w,[]),uS._30(512,pT.u,pT.u,[]),uS._30(512,ZA.g,ZA.g,[]),uS._30(512,VO.b,VO.b,[]),uS._30(512,gL.g,gL.g,[]),uS._30(512,IA.c,IA.c,[]),uS._30(512,bT.a,bT.a,[]),uS._30(512,gT.d,gT.d,[]),uS._30(512,XA.a,XA.a,[]),uS._30(512,_T.f,_T.f,[]),uS._30(512,qA.c,qA.c,[]),uS._30(512,rO.c,rO.c,[]),uS._30(512,lV.a,lV.a,[]),uS._30(512,wT.g,wT.g,[]),uS._30(512,DA.c,DA.c,[]),uS._30(512,UL.i,UL.i,[]),uS._30(512,pT.p,pT.p,[]),uS._30(512,nV.a,nV.a,[]),uS._30(512,nO.c,nO.c,[]),uS._30(512,eV.c,eV.c,[]),uS._30(512,ZO.b,ZO.b,[]),uS._30(512,uV.a,uV.a,[]),uS._30(512,mT.d,mT.d,[]),uS._30(512,fT.c,fT.c,[]),uS._30(512,TA.c,TA.c,[]),uS._30(512,pT.A,pT.A,[]),uS._30(512,pT.r,pT.r,[]),uS._30(512,AO.d,AO.d,[]),uS._30(512,hL.e,hL.e,[]),uS._30(512,OA.c,OA.c,[]),uS._30(512,tV.a,tV.a,[]),uS._30(512,aV.b,aV.b,[]),uS._30(512,uO.c,uO.c,[]),uS._30(512,iV.b,iV.b,[]),uS._30(512,oV.a,oV.a,[]),uS._30(512,zL.b,zL.b,[]),uS._30(512,LA.c,LA.c,[]),uS._30(512,AA.d,AA.d,[]),uS._30(512,VA.c,VA.c,[]),uS._30(512,rV.m,rV.m,[]),uS._30(512,_V.a,_V.a,[]),uS._30(512,dV.a,dV.a,[]),uS._30(512,sV.a,sV.a,[]),uS._30(512,cV.d,cV.d,[]),uS._30(512,NA.b,NA.b,[]),uS._30(512,oS.e,oS.e,[]),uS._30(512,oS.d,oS.d,[]),uS._30(512,mV.a,mV.a,[]),uS._30(512,mD.b,mD.b,[]),uS._30(512,pD.c,pD.c,[]),uS._30(512,zS.a,zS.a,[]),uS._30(512,GA.b,GA.b,[]),uS._30(512,hD,hD,[]),uS._30(256,wI.a,"/",[]),uS._30(256,oS.m,"XSRF-TOKEN",[]),uS._30(256,oS.n,"X-XSRF-TOKEN",[]),uS._30(256,TA.a,{overlapTrigger:!0,xPosition:"after",yPosition:"below"},[]),uS._30(256,pT.g,pT.k,[]),uS._30(256,hL.a,{showDelay:0,hideDelay:0,touchendHideDelay:1500},[]),uS._30(256,iV.a,!1,[]),uS._30(256,zS.c,null,[]),uS._30(256,gD.a,HP,[]),uS._30(256,GA.a,void 0,[])])});Object(uS._5)(),Object(eS.j)().bootstrapModuleFactory(pV)}},[374]); \ No newline at end of file +webpackJsonp([2],{ + +/***/ 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__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ionic_cache__ = __webpack_require__(206); +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, cache) { + this.http = http; + this.constant = constant; + this.cache = cache; + 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) { + // return Observable.defer(()=>{ + var masters = { 'master_name': tableName }; + return this.http.post(this.apiurl + 'getListOfMaster', masters); + // return this.cache.loadFromObservable(cacheKey,data) + // }) + }; + 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) { + console.log("rec", 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, subproduct) { + return this.http.post(this.apiurl + "getEndUseOfLoan", { "records": { "pd_id": pdid, "sub_product_id": subproduct } }); + }; + QuestionCategoryProvider.prototype.getCompaniesListsForBusiness = function (pdid) { + // let cacheKey=pdid + return this.http.post(this.apiurl + "getCompaniesListsForBusiness", { "records": { "pd_id": pdid } }); + // return this.cache.loadFromObservable(cacheKey,data) + }; + 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.getPDImages = function (records) { + var record = { 'records': records }; + return this.http.post(this.apiurl + 'getPDImages', 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.prototype.getStateCityNamesAndPincode = function (values) { + return this.http.post(this.apiurl + 'getStateCityNamesAndPincode', { 'records': values }); + }; + // get customers list + QuestionCategoryProvider.prototype.getCustomersDetails = function () { + return this.http.get(this.apiurl + 'getListOfCustomerSegments'); + }; + 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 */], __WEBPACK_IMPORTED_MODULE_3_ionic_cache__["b" /* CacheService */]]) + ], QuestionCategoryProvider); + return QuestionCategoryProvider; +}()); + +//# sourceMappingURL=question-category.js.map + +/***/ }), + +/***/ 127: +/***/ (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__(4); +/* 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__(63); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pd_question_pd_question__ = __webpack_require__(372); +/* 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__(75); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_list_pd_list__ = __webpack_require__(79); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pd_question_pd_question_address_pd_question_address__ = __webpack_require__(373); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pd_question_pd_question_emp_info_pd_question_emp_info__ = __webpack_require__(374); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pd_question_pd_question_current_loans_pd_question_current_loans__ = __webpack_require__(375); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pd_question_pd_question_loans_pd_question_loans__ = __webpack_require__(376); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__pd_question_pd_question_banking_pd_question_banking__ = __webpack_require__(377); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pd_question_pd_question_family_pd_question_family__ = __webpack_require__(378); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pd_question_pd_question_assests_pd_question_assests__ = __webpack_require__(379); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pd_question_pd_question_other_income_pd_question_other_income__ = __webpack_require__(380); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(210); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pd_question_pd_question_personal_info_pd_question_personal_info__ = __webpack_require__(382); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(211); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(212); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(213); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(214); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__pd_question_pd_question_lender_representative_pd_question_lender_representative__ = __webpack_require__(393); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__pd_question_pd_question_general_info_pd_question_general_info__ = __webpack_require__(394); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__ = __webpack_require__(397); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__pd_question_pd_question_final_remark_pd_question_final_remark__ = __webpack_require__(398); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__pd_question_pd_question_business_group_pd_question_business_group__ = __webpack_require__(399); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__ = __webpack_require__(209); +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) { + var _this = this; + 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.pddetails = []; + this.overallqustioncountAccess = true; + this.enableAddonPD = false; + this.complete_btn = true; + this.complete_status = false; + this.pddetails = this.navParams.get('pdDetails'); + this.pageTitle = this.pddetails.is_child != '1' ? this.pddetails.applicat_details[0].applicant_name : 'Add On for' + ' ' + this.pddetails.parent_pd_id; + var params = {}; + params.pd_id = this.pddetails.pd_id; + this.pdstatusprovide.getPDCompleteDetails(params).subscribe(function (result) { + if (result['dataStatus'] === true) { + _this.enableAddonPD = result['records'].address_count > 0 ? true : false; + console.log("addon", _this.enableAddonPD); + } + }); + this.complete_status = this.pddetails.pd_status == 'COMPLETED' ? true : false; + } + 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(); + _this.complete_btn = _this.questionCate.pdmaster_details.pd_status == "ADD_ON_PENDING" ? false : _this.questionCate.pdmaster_details.pd_status == "COMPLETED" ? false : true; + // if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='') + // { + // this.questionCateAccess = true; + // this.templateAccess = true; + // this.questionCate = this.questionCate; + // this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true ); + // 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.dis_forms = _this.questionCate.template_forms.filter(function (val) { return val.isAnswerable == true; }); + console.log("temp", _this.questionCate); + _this.searchTempForm = _this.questionCate.template_forms; + // for(let i of this.dis_forms){ + // if(i.) + // } + var answered = _this.dis_forms.filter(function (res) { return res.isAnswered == true; }); + console.log("an len", answered); + if (answered.length == _this.dis_forms.length) { + _this.overallqustioncountAccess = true; + } + else { + _this.overallqustioncountAccess = false; + } + // 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) { + //FOR UPDATING THE PD APPLICANT LIST + this.pdinfo = this.pddetails; + var newData = this.questionCate.pdapplicants_detials; + console.log("new Data", newData); + this.pdinfo.applicat_details = newData; + console.log(this.pdinfo); + 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_27__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_28__pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__["a" /* PdQuestionRentalDashPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); + } + else if (categroyId == 16) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_22__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_23__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_24__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_25__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_26__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.completePDAlert = function () { + var _this = this; + if (!this.overallqustioncountAccess) { + this.toast.pdTriggerappmessage("Please complete all the Forms"); + return; + } + if (this.enableAddonPD == true) { + return new Promise(function (reject) { + var alert = _this.toast.setAlertForCompletePD(); + alert.present(); + alert.onDidDismiss(function (data) { + if (data == 'yes') { + _this.completed('COMPLETED'); + } + else if (data == 'addon') { + _this.completed('ADD_ON_PENDING'); + } + else { + reject(); + } + }); + }); + } + else { + return new Promise(function (reject) { + var alert = _this.toast.setAlert('Complete Discussion', 'Please confirm you are completing the Discussion and forwarding for Quality Check ?'); + alert.present(); + alert.onDidDismiss(function (data) { + if (data == false) { + reject(); + } + else { + _this.completed('COMPLETED'); + } + }); + }); + } + }; + PdQuestionCategoryPage.prototype.completed = function (status) { + var _this = this; + //alert.present(); + var users = this.aws.getlocale(); + if (!this.overallqustioncountAccess) { + this.toast.pdTriggerappmessage("Please complete all the Forms"); + } + else { + var data = { 'pd_id': this.questionCate.pdmaster_details.pd_id, 'pd_status': status, 'fk_updatedby': users, 'updatedon': currentdate }; + this.pdstatusprovide.updatepdStatus(data).subscribe(function (res) { + _this.completedAccess = res; + if (_this.completedAccess.dataStatus == true) { + _this.toast.pdTriggerappmessage("Completed Successfully..!"); + setTimeout(function () { + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_8__pd_list_pd_list__["a" /* PdListPage */]); + }, 2000); + } + }); + } + }; + 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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question-category/pd-question-category.html"*/'\n \n \n \n {{pageTitle | 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 {{category.category_name[0] | slice : 0 :1 | uppercase}}\n \n \n

{{category.category_name}}

\n

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

\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

{{tempForm.form_id == 19 ? "Neighbourhood Details" :tempForm.form_id == 7 ? "Personal Banking" : 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

{{questionCate}}

\n
\n
\n \n \n \n \n \n \n \n \n '/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 129: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RupeeCurrencyFormatPipe; }); +/* 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 RupeeCurrencyFormatPipe pipe. + * + * See https://angular.io/api/core/Pipe for more info on Angular Pipes. + */ +var RupeeCurrencyFormatPipe = (function () { + function RupeeCurrencyFormatPipe() { + } + /** + * Takes a value and makes it lowercase. + */ + RupeeCurrencyFormatPipe.prototype.transform = function (value) { + if (!isNaN(value) && value) { + var currencySymbol = '₹'; + //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! + var result = value.toString().split('.'); + var lastThree = result[0].substring(result[0].length - 3); + var otherNumbers = result[0].substring(0, result[0].length - 3); + if (otherNumbers != '') + lastThree = ',' + lastThree; + var output = otherNumbers.replace(/\B(?=(\d{2})+(?!\d))/g, ",") + lastThree; + if (result.length > 1) { + output += "." + result[1]; + } + return currencySymbol + output; + } + // return value.toLowerCase(); + }; + RupeeCurrencyFormatPipe = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["T" /* Pipe */])({ + name: 'rupeeCurrencyFormat', + }) + ], RupeeCurrencyFormatPipe); + return RupeeCurrencyFormatPipe; +}()); + +//# sourceMappingURL=rupee-currency-format.js.map + +/***/ }), + +/***/ 16: +/***/ (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__(41); +/* 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 testapiurl_beta = 'http://ssa.sineedge.com/sparqtest_beta/api/'; + var devapiurl_beta = 'http://ssa.sineedge.com/sparqapi_beta/api/'; + var devapiurl = 'http://ssa.sineedge.com/sparqapi/api/'; + var localapiurl = 'http://192.168.0.6:9999/AWSEC2/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 (price) { + price = price.toString(); + var atemp = price.split("."); + var amount = atemp[0]; + var sglDigit = ["Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"], dblDigit = ["Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen"], tensPlace = ["", "Ten", "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"], handle_tens = function (dgt, prevDgt) { + return 0 == dgt ? "" : " " + (1 == dgt ? dblDigit[prevDgt] : tensPlace[dgt]); + }, handle_utlc = function (dgt, nxtDgt, denom) { + return (0 != dgt && 1 != nxtDgt ? " " + sglDigit[dgt] : "") + (0 != nxtDgt || dgt > 0 ? " " + denom : ""); + }; + var str = "", digitIdx = 0, digit = 0, nxtDigit = 0, words = []; + if (amount += "", isNaN(parseInt(amount))) + str = ""; + else if (parseInt(amount) > 0 && amount.length <= 10) { + for (digitIdx = amount.length - 1; digitIdx >= 0; digitIdx--) + switch (digit = amount[digitIdx] - 0, nxtDigit = digitIdx > 0 ? amount[digitIdx - 1] - 0 : 0, amount.length - digitIdx - 1) { + case 0: + words.push(handle_utlc(digit, nxtDigit, "")); + break; + case 1: + words.push(handle_tens(digit, amount[digitIdx + 1])); + break; + case 2: + words.push(0 != digit ? " " + sglDigit[digit] + " Hundred" + (0 != amount[digitIdx + 1] && 0 != amount[digitIdx + 2] ? " and" : "") : ""); + break; + case 3: + words.push(handle_utlc(digit, nxtDigit, "Thousand")); + break; + case 4: + words.push(handle_tens(digit, amount[digitIdx + 1])); + break; + case 5: + words.push(handle_utlc(digit, nxtDigit, "Lakh")); + break; + case 6: + words.push(handle_tens(digit, amount[digitIdx + 1])); + break; + case 7: + words.push(handle_utlc(digit, nxtDigit, "Crore")); + break; + case 8: + words.push(handle_tens(digit, amount[digitIdx + 1])); + break; + case 9: + words.push(0 != digit ? " " + sglDigit[digit] + " Hundred" + (0 != amount[digitIdx + 1] || 0 != amount[digitIdx + 2] ? " and" : " Crore") : ""); + } + str = words.reverse().join(""); + // str =(str.length > 2 && str.charAt(str.length-2)==',') ? str.slice(0, -2) : str; + } + else + str = ""; + return str; + // 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; + // let value:any = ""; + // var words_string = ""; + // if (n_length <= 9) { + // var n_array:any = 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; + }; + //FOR SEARCHABLE DROP DOWN + ConstantsProvider.prototype.searchData = function (data, val, option) { + var DataValue; + // let nameVal=name.toLowerCase() + console.log("statedata"); + if (!data) { + return; + } + var searchVal = val; + if (!searchVal) { + // this.filteredState.next(this.stateList.slice()) + DataValue = data.slice(); + return DataValue; + } + else { + searchVal = searchVal.toLowerCase(); + } + if (option == "bank") { + DataValue = data.filter(function (res) { return res.lender_name.toLowerCase().indexOf(searchVal) > -1; }); + return DataValue; + } + else if (option == "city") { + console.log("city", data); + DataValue = data.filter(function (res) { return res.city_name.toLowerCase().indexOf(searchVal) > -1; }); + return DataValue; + } + else if (option == "pin") { + DataValue = data.filter(function (res) { return res.pincode.toLowerCase().indexOf(searchVal) > -1; }); + return DataValue; + } + else { + //This is suitable for state + DataValue = data.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; }); + return DataValue; + } + // this.filteredState.next( + // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1) + // ) + }; + ConstantsProvider.prototype.sentenceCase = function (str) { + if ((str === null) || (str === '')) + return ''; + else + str = str.toString(); + return str.replace(/\w\S*/g, function (txt) { return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); }); + }; + 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 + +/***/ }), + +/***/ 204: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_status_bar__ = __webpack_require__(193); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_cdk_platform__ = __webpack_require__(40); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_launch_navigator__ = __webpack_require__(368); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); +/* 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__(205); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__ = __webpack_require__(215); +/* 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__(403); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pd_general_images_pd_general_images__ = __webpack_require__(404); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__ionic_native_android_permissions__ = __webpack_require__(104); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pages_input_bounced_reject_bounced_reject__ = __webpack_require__(405); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pages_pd_question_category_pd_question_category__ = __webpack_require__(127); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pages_map_address_map_address__ = __webpack_require__(406); +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 () { + // address_child_schedule_time:any; + function InputPage(navCtrl, navParams, fb, statusBar, platform, launchNavigator, aws, pdDetails, geolocation, alertCtrl, locationAccuracy, toast, constant, androidPermissions, modalCtrl) { + 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.modalCtrl = modalCtrl; + 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.other_applicant = []; + this.loadDetails = false; + this.mainApplicant = []; + this.pdMaster = []; + this.checkOtpAccess = false; + this.addresses = []; + this.address_pd_status = ''; + this.maxdate = this.pipe.transform(new Date(), 'yyyy-MM-ddTHH:mm').toString(); + // this.maxdate=new Date().toLocaleString(); + var date = new Date('dd'); + //console.log(date) + var curr = date.getDate() + date.getMonth() + date.getFullYear(); + console.log("today", curr); + /***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.ionViewCanEnter = function () { + this.getFullPD(); + }; + // ionViewDidEnter(){ + // console.log("ionViewDidEnter") + // this.getFullPD(); + // } + InputPage.prototype.ionViewDidLoad = function () { + this.setPermission(); + console.log('ionViewDidLoad InputPage'); + }; + InputPage.prototype.ionViewCanLeave = function () { + clearInterval(this.timeInterval); + }; + InputPage.prototype.locationnavicate = function (index) { + // var address_full:string=address+' ' +this.applicatentDetails.city_name+' ' +this.applicatentDetails.state_name+' '+ (this.applicatentDetails.pincode != 'Others' ? this.applicatentDetails.pincode : this.applicatentDetails.other_pincode) + var data = this.addresses[index]; + var address_full = data.addressline1 + ' ' + data.city_name + ' ' + data.state_name + '-' + (data.pincode != 'Others' ? data.pincode : data.other_pincode); + //console.log("add",address_full) + this.launchNavigator.navigate(address_full); + }; + 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 pdDetails_pdid = this.applicatentDetails.is_child != '1' ? this.applicatentDetails.pd_id : this.applicatentDetails.parent_pd_id; + var records = { 'pdid': pdDetails_pdid }; + this.pdDetails.getFullPDdetails(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.other_applicant = res['records'].applicants_details; + _this.mainApplicant = res['records'].applicants_details[0]; + _this.pdMaster = res['records'].pd_master_details[0]; + console.log("other", _this.mainApplicant); + _this.addresses = res['records'].pd_address; + _this.address_pd_id = _this.addresses.addtional_pd_data; + //FOR GETTING THE ALLOCATED/SCHEDULE/INITIATE PDID + _this.addresses.forEach(function (res) { + console.log("address", res); + if (res.addtional_pd_data.length != 0) { + if (res.addtional_pd_data[0].pd_status == 'ALLOCATED' || res.addtional_pd_data[0].pd_status == 'ACCEPTED' || res.addtional_pd_data[0].pd_status == 'SCHEDULED' || res.addtional_pd_data[0].pd_status == 'INITIATED' || res.addtional_pd_data[0].pd_status == 'STARTED') { + _this.address_pd_id = res.addtional_pd_data[0].pd_id; + _this.address_pd_status = res.addtional_pd_data[0].pd_status; + _this.address_allocated_data = res.addtional_pd_data[0]; + console.log("pd", _this.address_pd_id); + return; + } + } + }); + //FOR CHANGING THE PD ID based on assigned pd address + //this.applicatentDetails.pd_id=this.address_pd_id + //FOR GIVING ACCESS FOR BUTTONS BASED ON pd status IN ADDRESS + if (_this.address_pd_status == 'ALLOCATED') { + _this.acceptedAccess = true; + } + if (_this.address_pd_status == 'ACCEPTED') { + _this.scheduleAccess = true; + } + if (_this.address_pd_status == 'SCHEDULED') { + _this.initiatedAccess = true; + } + //console.log(this.initiatedAccess); + if (_this.address_pd_status == 'INITIATED') { + _this.startedAccess = true; + _this.getenableAccuracy(); + } + if (_this.address_pd_status == 'STARTED') { + _this.checkOtpAccess = true; + } + console.log("address allocated", _this.address_allocated_data); + console.log(_this.other_applicant); + if (_this.address_allocated_data != '' && _this.address_allocated_data != undefined) { + var courrentDateTime = _this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); + var scheduledDateTime = _this.address_allocated_data.scheduled_on_for_validation; + var diffInMs = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime); + var diffInHours = Math.floor(diffInMs / 1000 / 60 / 60); + console.log(diffInHours); + if (diffInHours < -4) { + _this.enableStartPD = true; + } + else { + _this.enableStartPD = false; + } + } + _this.loadDetails = true; + } + }); + }; + 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}; + data = { 'pd_id': this.address_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': this.address_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': this.address_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"); + this.input_focus.setFocus(); + //this.input_focus.scrollToTop(); + this.scrolltop.scrollTop; + } + }; + 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.address_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 + var mobile_no = _this.other_applicant.filter(function (val) { return val.additional_pd_id == _this.address_allocated_data.pd_id; }).map(function (val) { return val.mobile_no; })[0]; + console.log("mobile", mobile_no); + if (mobile_no == undefined) { + mobile_no = _this.mainApplicant.mobile_no; + } + _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; + data = { 'pd_id': _this.address_pd_id, 'pd_status': 'INITIATED', 'mobile_no': mobile_no, 'officerName': appdetails.pd_allocated_to, 'firstName': _this.mainApplicant.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)); }); + } + }, function (error) { + console.log("currnpd", _this.currentPosPDofficer); + alert(JSON.stringify(error)); + var mobile_no = _this.other_applicant.filter(function (val) { return val.additional_pd_id == _this.address_allocated_data.pd_id; }).map(function (val) { return val.mobile_no; })[0]; + console.log("mobile", mobile_no); + if (mobile_no == undefined) { + mobile_no = _this.mainApplicant.mobile_no; + } + data = { 'pd_id': _this.address_pd_id, 'pd_status': 'INITIATED', 'mobile_no': mobile_no, 'officerName': appdetails.pd_allocated_to, 'firstName': _this.mainApplicant.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) { + console.log("status", "true"); + _this.getNewpdupdate(); + _this.getcurrentLocation(); + _this.startedAccess = true; + } + else { + _this.startedAccess = false; + } + }); + }); + }; + InputPage.prototype.checkOTP = function (appdetails) { + var _this = this; + var data; + this.geolocation.getCurrentPosition().then(function (resp) { + _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; + var mobile_no = _this.other_applicant.filter(function (val) { return val.additional_pd_id == _this.address_allocated_data.pd_id; }).map(function (val) { return val.mobile_no; })[0]; + console.log("mobile", mobile_no); + if (mobile_no == undefined) { + mobile_no = _this.mainApplicant.mobile_no; + } + data = { 'pd_id': _this.address_pd_id, 'pd_status': 'STARTED', 'mobile_no': 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) { + //appdetails.pd_id=this.address_pd_id + //clearInterval(this.timeInterval); + //console.log("appdetails",appdetails) + //this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails}); + _this.getNewpdupdate(); + _this.startedAccess = false; + _this.checkOtpAccess = true; + } + else { + _this.checkOtpAccess = false; + } + }, function (err) { return alert(JSON.stringify(err)); }); + // console.log('Buy clicked'); + }, function (err) { + alert(JSON.stringify(err)); + }); + }; + InputPage.prototype.startPdDiscussion = function () { + var _this = this; + var data; + var alert = this.alertCtrl.create({ + title: 'Start Discussion', + message: 'Are you starting the Discussion', + buttons: [ + { + text: 'No', + role: 'cancel', + handler: function () { + // console.log('Cancel clicked'); + // this.toast.pdTriggerappmessage('') + } + }, + { + text: 'YES', + handler: function () { + // this.geolocation.getCurrentPosition().then((resp) => { + // this.currentPosPDofficer = resp.coords.latitude+","+resp.coords.longitude; + // data = {'pd_id':this.address_pd_id,'pd_status':'STARTED','mobile_no':this.mainApplicant.mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link': this.currentPosPDofficer }; + // console.log(data); + // this.pdDetails.updatepdStatus(data).subscribe(res=> + // {this.updatestarted = res; + // if(this.updatestarted.dataStatus == true) + // { + // appdetails.pd_id=this.address_pd_id + // clearInterval(this.timeInterval); + // console.log("appdetails",appdetails) + // this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails}); + // } + // }) + // // console.log('Buy clicked'); + // }) + clearInterval(_this.timeInterval); + //FOR GIVING THE CORRECT ADDRESS MASTER + console.log("address", _this.address_allocated_data); + //Assigning applicant details to the params + var pdValues = _this.address_allocated_data; + pdValues.applicat_details = _this.other_applicant; + _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_8__otp_otp__["a" /* OtpPage */], { 'pdDetails': pdValues }); + } + } + ] + }); + alert.present(); + }; + InputPage.prototype.getNewpdupdate = function () { + var _this = this; + console.log("Started", this.startedAccess); + console.log("checkOtpAccess", this.checkOtpAccess); + this.acceptedAccess = false; + this.initiatedAccess = false; + this.scheduleAccess = false; + this.startedAccess = false; + this.checkOtpAccess = 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]; + // this.address_pd_status=this.applicatentDetails + //FOR GETTING THE LATEST ADDRESS STATUS FROM getFullPDdetails + var pdDetails_pdid = _this.applicatentDetails.is_child != '1' ? _this.applicatentDetails.pd_id : _this.applicatentDetails.parent_pd_id; + var rec_pdid = { 'pdid': pdDetails_pdid }; + _this.pdDetails.getFullPDdetails(rec_pdid).subscribe(function (result) { + if (result['dataStatus'] == true) { + _this.addresses = result['records'].pd_address; + result['records'].pd_address.forEach(function (data) { + if (data.addtional_pd_data.length != 0) { + if (data.addtional_pd_data[0].pd_status == 'ALLOCATED' || data.addtional_pd_data[0].pd_status == 'ACCEPTED' || data.addtional_pd_data[0].pd_status == 'SCHEDULED' || data.addtional_pd_data[0].pd_status == 'INITIATED' || data.addtional_pd_data[0].pd_status == 'STARTED') { + // this.address_pd_id=data.addtional_pd_data[0].pd_id + _this.address_pd_status = data.addtional_pd_data[0].pd_status; + // this.address_allocated_data=data.addtional_pd_data[0] + console.log("pd", _this.address_pd_id); + return; + } + } + }); + // if(this.applicatentDetails.pd_status == 'ALLOCATED') + // { + // this.acceptedAccess = true; + // } + // if(this.applicatentDetails.pd_status == 'ACCEPTED') + // { + // this.scheduleAccess = true; + // this.toast.pdTriggerappmessage("Accepted Successfully") + // } + // if(this.applicatentDetails.pd_status == 'SCHEDULED') + // { + // this.initiatedAccess = true; + // this.getFullPD(); + // this.toast.pdTriggerappmessage("Scheduled Successfully") + // } + // if(this.applicatentDetails.pd_status == 'INITIATED') + // { + // this.startedAccess = true; + // this.toast.pdTriggerappmessage("Initiated Successfully") + // } + if (_this.address_pd_status == 'ALLOCATED') { + _this.acceptedAccess = true; + } + if (_this.address_pd_status == 'ACCEPTED') { + _this.scheduleAccess = true; + _this.toast.pdTriggerappmessage("Accepted Successfully"); + } + if (_this.address_pd_status == 'SCHEDULED') { + _this.initiatedAccess = true; + _this.getFullPD(); + _this.toast.pdTriggerappmessage("Scheduled Successfully"); + } + if (_this.address_pd_status == 'INITIATED') { + _this.startedAccess = true; + _this.toast.pdTriggerappmessage("Initiated Successfully"); + } + if (_this.address_pd_status == 'STARTED') { + _this.checkOtpAccess = true; + } + } + }); + } + }); + console.log("app", this.applicatentDetails); + }; + InputPage.prototype.camerasetup = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_14__pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], { 'pdDetails': this.applicatentDetails }); + }; + InputPage.prototype.inWords = function (e) { + return this.constant.convertNumberToWords(+e); + }; + InputPage.prototype.inprogress = function (data, address_child) { + // data.pd_id=address_child.pd_id + console.log(address_child); + var pdValues = address_child; + pdValues.applicat_details = this.other_applicant; + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_17__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': pdValues }); + }; + InputPage.prototype.mapAddress = function (values) { + var _this = this; + var modalOptions = { + cssClass: "mapAddress" + }; + var modal = this.modalCtrl.create(__WEBPACK_IMPORTED_MODULE_18__pages_map_address_map_address__["a" /* MapAddressPage */], { 'master': this.pdMaster, 'address': values, 'applicants': this.other_applicant }, modalOptions); + modal.present(); + modal.onDidDismiss(function (data) { + console.log("datas", data); + _this.getFullPD(); + }); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('focusinp'), + __metadata("design:type", Object) + ], InputPage.prototype, "input_focus", void 0); + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('scroll'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) + ], InputPage.prototype, "scrolltop", void 0); + InputPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-input',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/input/input.html"*/'\n\n \n \n {{pdMaster.lender_full_name}} - {{pdMaster.lender_applicant_id}}\n \n \n \n \n \n \n \n \n \n \n   {{mainApplicant.applicant_name | titlecase}}\n \n \n
\n \n \n {{pdMaster.customer_segment_name}}\n \n
\n \n \n \n \n \n {{mainApplicant.mobile_no}} \n \n \n \n
\n \n \n {{pdMaster.product_name}}\n / {{applicatentDetails.subproduct_name}}\n \n
\n \n \n {{"₹"}} {{pdMaster.loan_amount}} ( {{inWords(pdMaster.loan_amount)}} ) \n \n
\n
\n Address {{i+1}}\n \n
\n \n
{{status.pd_status}} 
\n \n
\n
\n \n \n \n {{addr.addressline1}}
\n {{addr.city_name}}
\n {{addr.state_name}}\n -{{addr.pincode}}\n -{{addr.other_pincode}}
\n
\n
\n \n
\n \n \n {{status.scheduled_on}}\n {{status.customer_segment_abbr}}
\n \n
\n
\n
\n \n \n
\n \n Schedule Date\n \n \n \n \n
\n \n \n Scheduled On
\n \n  {{address_allocated_data.scheduled_on}}\n
\n
\n \n \n \n \n
\n
\n \n
\n \n \n
Applicant {{i+1}}
\n
\n \n \n   {{other_app.applicant_name | titlecase}}\n \n \n \n \n {{other_app.mobile_no}}\n \n \n \n \n
\n
\n

\n \n
\n \n
Lender Contact Details
\n
\n \n \n \n \n   {{pdMaster.pd_contact_person}}\n \n \n \n \n {{pdMaster.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 '/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["p" /* ModalController */]]) + ], InputPage); + return InputPage; +}()); + +//# sourceMappingURL=input.js.map + +/***/ }), + +/***/ 205: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__ = __webpack_require__(127); +/* 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__(16); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__ = __webpack_require__(215); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_android_permissions__ = __webpack_require__(104); +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'); + console.log("this", this.applicatentDetails); + // this.address_pd_id=this.navParams.get('address_pd_id') + this.users = this.aws.getlocale(); + console.log("user", this.users); + 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; + //console.log("Otp",otp) + 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 + var data; + var alert = this.alertCtrl.create({ + title: 'OTP Expired ', + message: 'Do you want to resend the OTP ? ', + buttons: [ + { + text: 'Start PD Without OTP', + 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:"/home/rajasekar/Desktop/pd_officer/src/pages/otp/otp.html"*/'\n\n\n \n \n OTP Page\n Reason Page\n \n \n \n \n\n\n \n \n \n \n \n Circle Image\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

{{balance_time}}

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

OTP Rejection Reason

\n
\n
\n \n
\n \n \n \n \n \n {{otp.rejection_reason}}\n \n \n {{reason}}\n \n \n \n \n
\n
\n
\n \n \n \n \n \n
\n\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 208: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StorageProvider; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_storage__ = __webpack_require__(207); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__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 StorageProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +//const storage_key='form_Datas' +var StorageProvider = (function () { + function StorageProvider(http, storage, toast) { + this.http = http; + this.storage = storage; + this.toast = toast; + console.log('Hello StorageProvider Provider'); + } + StorageProvider.prototype.insertData = function (data) { + var _this = this; + this.toast.pdTriggerappmessage(this.storage.driver); + var storage_key = data.pd_id; + console.log("storage provider"); + console.log(data); + console.log(JSON.stringify(data)); + console.log("sto", this.storage.get(storage_key)); + return this.storage.get(storage_key).then(function (res) { + console.log("res", res); + if (res != null) { + var option = false; + if (res.length != 0 && res.length != undefined) { + // res.forEach((value)=>{ + // if(value.form_id==data.form_id){ + // option=true + // } + // }) + var current = res.filter(function (val) { return val.form_id == data.form_id; }); + console.log("current", current); + if (current.length > 0) { + var value = []; + value.push(data); + return _this.storage.set(storage_key, value); + } + } + var old_Data = []; + old_Data = res; + console.log("old data", old_Data); + old_Data.push(data); + return _this.storage.set(storage_key, old_Data); + } + else { + //res.push(data) + // let dataValue=Object.keys(data).map(function(key){ + // return data[key]; + // }) + var value = []; + value.push(data); + return _this.storage.set(storage_key, value); + } + }); + }; + StorageProvider.prototype.retrieveLocalStorage = function (data) { + var storage_key = data.pd_id; + return this.storage.get(storage_key).then(function (res) { + console.log("storage get", res); + if (res != null) { + return res.filter(function (val) { return val.form_id == data.form_id; }); + } + }); + }; + StorageProvider = __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_storage__["b" /* Storage */], __WEBPACK_IMPORTED_MODULE_3__common_provider_toast__["a" /* ToastProvider */]]) + ], StorageProvider); + return StorageProvider; +}()); + +//# sourceMappingURL=storage.js.map + +/***/ }), + +/***/ 209: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionRentalDashPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pipes_rupee_currency_format_rupee_currency_format__ = __webpack_require__(129); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pd_question_rental_info__ = __webpack_require__(381); +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 PdQuestionRentalDashPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +// @IonicPage() +var PdQuestionRentalDashPage = (function () { + function PdQuestionRentalDashPage(navCtrl, navParams, qustCat) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.qustCat = qustCat; + this.existing_rental_count_id = 0; + this.existing_rental_list = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.form_details = this.navParams.get('FormId'); + console.log(this.form_details); + } + PdQuestionRentalDashPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionRentalDashPage'); + }; + PdQuestionRentalDashPage.prototype.ionViewCanEnter = function () { + this.getAllRentalInfo(); + }; + PdQuestionRentalDashPage.prototype.getAllRentalInfo = function () { + var _this = this; + this.existing_rental_list = []; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_details.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + // console.log("rental",rentalVal.length) + // console.log(JSON.parse(res['records'])) + var rentalVal = res['records']; + console.log("tyeva", typeof (rentalVal)); + var tempArray_1 = []; + var amt_1 = []; + _this.existing_rental_count_id = rentalVal.length; + // if(rentalVal.length >0){ + console.log("rental val", rentalVal); + rentalVal.forEach(function (value, index) { + var annualRentAmt; + if (value.property_unit_details) { + var selectedUnit = Object.keys(value.property_unit_details).map(function (key) { + return value.property_unit_details[key]; + }); + if (selectedUnit.length > 0) { + selectedUnit.forEach(function (element, innerIndex) { + tempArray_1[innerIndex] = element.monthly_rent_amount; + annualRentAmt = tempArray_1.reduce(function (sum, val) { return sum + +val; }, 0); + annualRentAmt = annualRentAmt * 12; + }); + } + else { + annualRentAmt = 0; + } + amt_1[index] = annualRentAmt; + } + var params = { 'state_id': value.state, 'city_id': value.city, 'pincode_id': value.pincode }; + _this.qustCat.getStateCityNamesAndPincode(params).subscribe(function (datas) { + if (datas.dataStatus == true) { + var obj = { + 'address': value.address_property, + 'applicants_rent': amt_1[index], + 'state': datas.records.state_name, + 'city': datas.records.city_name, + 'pincode': datas.records.pincode, + 'rental_count_id': value.rental_count_id, + 'rental_existing_data': value + }; + _this.existing_rental_list.push(obj); + console.log("modify", _this.existing_rental_list); + } + }); + }); + } + else { + _this.existing_rental_count_id = 0; + // this.addMore(); + } + }); + console.log("ren", this.existing_rental_list); + }; + PdQuestionRentalDashPage.prototype.editDet = function (values) { + var passValues = { + manage_status: 2, + existing_rental_count_id: values.rental_count_id, + editData: values + }; + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], { 'values': passValues, 'pdDetails': this.pdDetails, 'FormId': this.form_details }); + console.log("hai"); + console.log("d", values); + }; + PdQuestionRentalDashPage.prototype.addMore = function () { + var passValues = { + manage_status: 1, + // parentData: this.parentData, + // masterData: this.masterData, + existing_rental_count_id: this.existing_rental_count_id + 1, + }; + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], { "values": passValues, 'pdDetails': this.pdDetails, 'FormId': this.form_details }); + }; + PdQuestionRentalDashPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-rental-dash',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.html"*/'\n\n\n \n {{form_details.form_name}}\n \n\n\n\n\n\n No Records Found..\n\n \n
Property {{i+1}}
\n
\n \n  {{info.address}}
\n   {{info.state}} {{info.city}} - {{info.pincode}}


\n Annual Rent Amount as per Applicant : {{info.applicants_rent | rupeeCurrencyFormat}}\n
\n\n \n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-rental-info/pd-question-rental-dash/pd-question-rental-dash.html"*/, + providers: [__WEBPACK_IMPORTED_MODULE_3__pipes_rupee_currency_format_rupee_currency_format__["a" /* RupeeCurrencyFormatPipe */]] + }), + __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 */]]) + ], PdQuestionRentalDashPage); + return PdQuestionRentalDashPage; +}()); + +//# sourceMappingURL=pd-question-rental-dash.js.map + +/***/ }), + +/***/ 210: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __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); +}; + + + + + + + + +/** + * Generated class for the PdQuestionSupplsierInfoPage 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, cameraProvider, loading) { + var _this = this; + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.business_manufacturingProducts = []; + this.business_tradingProducts = []; + this.m_titleList = []; + this.m_paymentList = []; + this.m_companyRelationShipList = []; + this.noRecordsFound = false; + this.submitted = false; + this.errorMessage = ''; + this.imageBucket = []; + this.tab = '0'; + 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'); + this.getPDImages(); + }; + PdQuestionSupplierInfoPage.prototype.initFormLoadDetails = function (record) { + var _this = this; + var params = {}; + params.parent_pdid = this.pdDetails.parent_pd_id; + 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({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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); + } + } + var arr2_1 = record.filter(function (data) { return data.type_of_activity_id == 5; }); + if (arr2_1.length > 0) { + _this.serviceProviderForm = true; + } + _this.noRecordsFound = true; + } + else { + _this.supplierInfoForm = _this.fb.group({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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(data => data.isactive == 1); + // because in general no need of "other" option but in supplier others option needed - in DB others option changed into inactive" + }); + 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.supplierInfoForm.markAsUntouched(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + 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(); + } + }; + /*IMAGE SECTION*/ + PdQuestionSupplierInfoPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionSupplierInfoPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionSupplierInfoPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionSupplierInfoPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionSupplierInfoPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionSupplierInfoPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionSupplierInfoPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.formDetails.form_id, + 'images': this.imageBucket, + 'company_id': this.pdDetails.company_id + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionSupplierInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-supplier-info',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.html"*/'\n \n \n {{formDetails.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \n \n
\n \n \n \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 Raw Material #{{l+1}}\n \n
\n \n \n \n \n \n \n \n \n \n {{tl.name}}\n \n \n \n \n \n \n \n \n Select\n \n {{comrelShip.name}}\n \n \n \n \n \n \n \n \n \n Enter Valid Mobile Number\n \n \n \n Enter Valid STD Code Number\n \n \n \n \n Enter Valid LandLine Number\n \n \n \n {{ pm.name }}\n \n \n \n \n Payment made in Cash.\n Payment made through Banking\n channels.\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
Trading Product Details
\n
\n\n
\n
\n
\n
\n Trading Product #{{l+1}}\n \n
\n \n \n {{ tp.name }}\n \n \n \n \n \n \n \n \n {{tl.name}}\n \n \n \n \n \n \n \n \n Select\n \n {{comrelShip.name}}\n \n \n \n \n \n \n \n \n \n Enter Valid Mobile Number\n \n \n \n Enter Valid STD Code Number\n \n \n \n \n Enter Valid LandLine Number\n \n \n \n {{ pm.name }}\n \n \n \n \n Payment made in Cash.\n Payment made through Banking\n channels.\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
Service Provider Product Details
\n
\n\n
Service Provider Details Not applicable here !!
\n
\n \n \n Remarks\n \n \n \n \n \n \n
\n
\n
\n
\n \n
\n
{{ errorMessage }}
\n
\n
\n
\n
\n\n
\n\n\n \n
\n\n \n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionSupplierInfoPage); + return PdQuestionSupplierInfoPage; +}()); + +//# sourceMappingURL=pd-question-supplier-info.js.map + +/***/ }), + +/***/ 211: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __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); +}; + + + + + + + + + + + +/** + * 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, cameraProvider, loading) { + 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.cameraProvider = cameraProvider; + this.loading = loading; + 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._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); + this.RMCommentCard = false; + this.TGCommentCard = false; + this.RMsufficientList = [{ value: "yes", isdisplayvalue: "Yes", disabled: false }, { value: "no", isdisplayvalue: "No", disabled: false }, { value: "not applicable", isdisplayvalue: "Stock not required to be maintained", disabled: false }]; + this.TGsufficientList = [{ value: "yes", isdisplayvalue: "Yes", isdisabled: false }, { value: "no", isdisplayvalue: "No", isdisabled: false }, { value: "not applicable", isdisplayvalue: "Stock not required to be maintained", isdisabled: false }]; + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + this.manufacturingForm = false; + this.retailForm = false; + this.tradingForm = false; + this.ManufacturingCounterArray = []; + this.FinishedCounterArray = []; + this.RetailCounterArray = []; + this.WholeSaleCounterArray = []; + this.not_stock_of_rm = []; + this.not_stock_of_fg = []; + this.not_stock_of_tg = []; + this.not_stock_of_ws = []; + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionStockInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionStockInfoPage'); + this.getPDImages(); + }; + PdQuestionStockInfoPage.prototype.initstockForm = function (record) { + var _this = this; + var api = Object.keys(record.from_business).map(function (key) { + return record.from_business[key]; + }); + if (record.from_business.length > 0) { + var type2 = record.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); + var type2length_1 = type2[0].hasOwnProperty("products") ? type2[0].products.length : 0; + var type3 = record.from_business.filter(function (data) { return data.type_of_activity_id == 3; }); + var type3length_1 = 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_1 = type4[0].hasOwnProperty("products") ? type4[0].products.length : 0; + var rm_api_1 = record.from_supplier.hasOwnProperty("raw_material") ? record.from_supplier.raw_material : []; + var params = {}; + params.parent_pdid = this.pdDetails.parent_pd_id; + 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']; + // dataForm.manufacturing_details.forEach(top=>{ + // top.manufacturing_finished_goods.forEach(below1=>{ + // below1.uomSearch='' + // }) + // top.manufacturing_raw_materials.forEach(below2=>{ + // below2.uomSearch='' + // }) + // }) + if (dataForm_1 !== undefined) { + _this.stockForm = _this.fb.group({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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, type2length_1)]), + retail_details: _this.fb.array([_this.retailFormCreation(type3length_1)]), + trade_details: _this.fb.array([_this.tradingFormCreation(type4length_1)]), + }); + if (api.length > 0) { + api.forEach(function (val) { + if (val.type_of_activity_id == 2) { + if (val.products) { + // if(dataForm.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({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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, type2length_1)]), + retail_details: _this.fb.array([_this.retailFormCreation(type3length_1)]), + trade_details: _this.fb.array([_this.tradingFormCreation(type4length_1)]), + }); + 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({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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, type2length_1)]), + retail_details: _this.fb.array([_this.retailFormCreation(type3length_1)]), + trade_details: _this.fb.array([_this.tradingFormCreation(type4length_1)]), + }); + 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_1; + _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; + } + } + }); + } + 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; + } + }; + 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 && uom.is_land_uom == 0 || uom.is_land_uom == 2; }); + _this.uomDataValue = _this.uomData.slice(); + } + }); + }; + PdQuestionStockInfoPage.prototype.manufacturingFormCreation = function (record, length) { + var arr = record.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); + var rm_arr = record.from_supplier.hasOwnProperty("raw_material") ? record.from_supplier.raw_material : []; + //console.log("Manufacturing ",arr); + //console.log("rm_arr",rm_arr); + if (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 this.fb.group({ + is_sufficiant_raw: [], + rawmaterial_remarks: [], + manufacturing_raw_materials: this.fb.array([]), + manufacturing_finished_goods: this.fb.array([]), + }); + // return; + } + }; + PdQuestionStockInfoPage.prototype.retailFormCreation = function (val) { + //let arr = val.filter(data => data.type_of_activity_id == 3); + var arr = val; + // console.log("retail Form ", arr); + if (arr > 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 this.fb.group({ + retail_traded_goods: this.fb.array([]) + }); + // return; + } + }; + PdQuestionStockInfoPage.prototype.tradingFormCreation = function (val) { + var arr = val; + //let arr = val.filter(data => data.type_of_activity_id == 4); + if (arr > 0) { + // if(arr.products === undefined){ + // this.tradingForm = false; + // return; + // } + this.tradingForm = true; + return this.fb.group({ + trading_traded_goods: this.fb.array([]) + }); + } + else { + return this.fb.group({ + trading_traded_goods: this.fb.array([]) + }); + // 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); + _this.checkComments(val.stock_observed, 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); + _this.checkComments(val.goods_observed, 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: [''], + uomSearch: [null], + 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], + uomSearch: [null], + 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); + _this.checkComments(val.traded_goods_observed, 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: [''], + uomSearch: [null], + 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], + uomSearch: [null], + 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); + _this.checkComments(val.traded_goods_observed, 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: [''], + uomSearch: [null], + 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], + uomSearch: [null], + 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 (value, flag, index) { + console.log(value, flag, index); + if (flag == 1) { + this.ManufacturingCounterArray[index] = value != "" ? 1 : 0; + this.not_stock_of_rm[index] = value == "yes" ? 1 : 0; + var RMOverallCount = this.ManufacturingCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); + this.RMCommentCard = RMOverallCount > 0 ? true : false; + var not_stock1 = this.not_stock_of_rm.reduce(function (sum, val) { return sum + +val; }, 0); + console.log('value', value); + console.log('not_stock1', not_stock1); + if (not_stock1 > 0) { + console.log('not_stock1', not_stock1); + this.RMsufficientList[0].disabled = false; + this.RMsufficientList[2].disabled = true; + // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue(''); + } + else if (not_stock1 == 0) { + console.log('0', not_stock1); + this.RMsufficientList[0].disabled = true; + this.RMsufficientList[2].disabled = false; + // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable'); + } + console.log('this.RMsufficientList', this.RMsufficientList); + } + if (flag == 2) { + this.FinishedCounterArray[index] = value != "" ? 1 : 0; + this.not_stock_of_fg[index] = value == "yes" ? 1 : 0; + } + if (flag == 3) { + this.RetailCounterArray[index] = value != "" ? 1 : 0; + this.not_stock_of_tg[index] = value == "yes" ? 1 : 0; + } + if (flag == 4) { + this.WholeSaleCounterArray[index] = value != "" ? 1 : 0; + this.not_stock_of_ws[index] = value == "yes" ? 1 : 0; + } + var FGOverallCount = this.FinishedCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); + var RTGOverallCount = this.RetailCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); + var WTGOverallCount = this.WholeSaleCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); + var TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount; + this.TGCommentCard = TGOverallCount > 0 ? true : false; + var not_stock_fg = this.not_stock_of_fg.reduce(function (sum, val) { return sum + +val; }, 0); + var not_stock_ws = this.not_stock_of_ws.reduce(function (sum, val) { return sum + +val; }, 0); + var not_stock_tg = this.not_stock_of_tg.reduce(function (sum, val) { return sum + +val; }, 0); + var not_stock2 = not_stock_fg + not_stock_ws + not_stock_tg; + console.log('not_stock2', not_stock2); + if (not_stock2 > 0) { + console.log('not_stock2', not_stock2); + this.TGsufficientList[0].isdisabled = false; + this.TGsufficientList[2].isdisabled = true; + // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue(''); + } + else if (not_stock2 == 0) { + console.log('0', not_stock2); + this.TGsufficientList[0].isdisabled = true; + this.TGsufficientList[2].isdisabled = false; + // this.stockForm.controls['is_sufficiant_finished_and_traded_goods'].setValue('not applicable'); + } + console.log('Data', this.TGsufficientList); + // else if(not_stock == 0){ + // this.stockForms.controls['is_sufficiant_finished_and_traded_goods'].setValue(''); + // } + }; + /** To Save/Edited Popup Data */ + PdQuestionStockInfoPage.prototype.saveStockInfo = function (answerFormValues) { + var _this = this; + //To Remove The "Null" With Key also + // if(answerFormValues.manufacturing_details){ + // answerFormValues.manufacturing_details.forEach(parent=>{ + // if(parent.manufacturing_finished_goods){ + // parent.manufacturing_finished_goods.forEach(finish_goods=>{ + // delete finish_goods.uomSearch + // }) + // } + // if(parent.manufacturing_raw_materials){ + // parent.manufacturing_raw_materials.forEach(raw_mat=>{ + // delete raw_mat.uomSearch + // }) + // } + // }) + // } + 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.stockForm.markAsUntouched(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + 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.prototype.searchFun = function (control, index) { + var _this = this; + console.log("control", control.controls['uomSearch'].value); + control.controls['uomSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.uomDataValue = _this.constant.searchData(_this.uomData, control.controls['uomSearch'].value, ''); + }); + }; + /*IMAGE SECTION*/ + PdQuestionStockInfoPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionStockInfoPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionStockInfoPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionStockInfoPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionStockInfoPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionStockInfoPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionStockInfoPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.formDetails.form_id, + 'images': this.imageBucket, + 'company_id': this.pdDetails.company_id + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionStockInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-stock-info',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.html"*/'\n \n \n {{formDetails.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n\n
\n
\n
\n
\n \n
Manufacturing Stock Details
\n
\n
\n
\n
\n Raw Material #{{a+1}}\n \n \n \n \n \n \n \n Add Stock Details\n No Stock Observed\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Select\n {{uom.name}}\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 Is the stock of Raw Materials observed, sufficient considering the size of operations
\n \n \n {{val.isdisplayvalue}}\n \n \n \n
\n \n Please comment on the stock level observed?\n \n \n \n
\n
\n
\n
\n Finished Goods #{{b+1}}\n \n \n \n \n \n \n Add Stock Details\n No Stock Observed\n \n \n \n \n \n \n \n \n \n \n \n \n \n Select\n {{uom.name}}\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
Retail Trading Details
\n
\n
\n
\n
\n Traded Goods #{{e+1}}\n \n \n \n \n \n \n Add Stock Details\n No Stock Observed\n \n \n \n \n \n \n \n \n \n \n \n \n \n Select\n {{uom.name}}\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
Wholesale Trading Details
\n
\n
\n
\n
\n Traded Goods #{{g+1}}\n \n \n \n \n \n \n Add Stock Details\n No stock observed\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Select\n {{uom.name}}\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 Is the stock of finished / traded goods observed, sufficient considering the size of operations
\n \n Select\n \n {{val.isdisplayvalue}}\n \n \n \n
\n \n Please comment on the stock level observed? \n \n \n
\n
\n \n
Service Provider Details
\n
Service Provider Details Not applicable here !!
\n
\n \n \n Remarks\n \n \n \n \n \n \n \n \n
\n
\n
\n
\n \n
\n
{{ errorMessage }}
\n
\n
\n
\n
\n\n
\n\n\n \n
\n\n \n \n \n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionStockInfoPage); + return PdQuestionStockInfoPage; +}()); + +//# sourceMappingURL=pd-question-stock-info.js.map + +/***/ }), + +/***/ 212: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __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); +}; + + + + + + + + + +/** + * 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, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.toast = toast; + this.qustCat = qustCat; + this.fb = fb; + this.cons = cons; + this.cameraProvider = cameraProvider; + this.loading = loading; + 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.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + 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(); + var x = this.pdDetails.customer_segment_abbr.split("-"); + this.CustSegAbbr = x[1]; + this.initFinancialForm(); + // console.log("ld",this.financialForm.controls['estimated_value']) + // if(this.financialForm.controls['estimated_value']['controls'].length>0){ + // console.log(this.financialForm.controls['estimated_value']['controls'][0].controls) + // const estime_value=this.financialForm.controls['estimated_value']['controls'][0].controls['estimate_sales_average'] + // console.log(estime_value) + // estime_value.valueChanges.subscribe(res=>{ + // console.log("changes",res); + // }) + //} + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionFinancialInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionFinancialInfoPage'); + this.getDetails(); + this.getPDImages(); + }; + PdQuestionFinancialInfoPage.prototype.AllCalculation = function (control, index) { + console.log("all", control); + if (control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value == 'yes') { + if (control.controls['estimate_profit_range_from'].value != '' && control.controls['estimate_profit_range_to'].value != '') { + console.log("calculate marginP"); + this.calculateMarginProfit(index, control); + } + } + if (control.controls['estimate_profit_or_loss'].value == 1 && control.controls['estimate_net_margin_availablity'].value == 'no') { + if (control.controls['estimate_net_profit_from'].value != '' && control.controls['estimate_net_profit_to'].value != '') { + console.log("calculate Profit "); + this.calculateProfitAmount(index, control); + } + } + if (control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value == 'yes') { + if (control.controls['estimate_loss_range_from'].value != '' && control.controls['estimate_loss_range_to'].value != '') { + console.log("calculate marginL"); + this.calculateMarginLoss(index, control); + } + } + if (control.controls['estimate_profit_or_loss'].value == 2 && control.controls['estimate_net_margin_availablity'].value == 'no') { + if (control.controls['estimate_net_loss_from'].value != '' && control.controls['estimate_net_loss_to'].value != '') { + console.log("calculate Loss"); + this.calculateLossAmount(index, control); + } + } + }; + 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); + } + var control = this.financialForm.controls['estimated_value']; + control.push(this.createValue('')); + 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) { + // let e = $event.target.value; + var e = this.financialForm.controls['financial_no_of_year'].value; + if (e != null && e != '') { + 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({ + parent_pdid: this.pdDetails.parent_pd_id, + 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: [''], + }); + }; + 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.financialForm.markAsUntouched(); + _this.toast.pdTriggerappmessage("Record Saved Successfully"); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + 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.parent_pdid = this.pdDetails.parent_pd_id; + 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') { + _this.isDisplay = true; + 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('')); + } + } + if (_this.CustSegAbbr != 'AI') { + if (value['records'].is_financial_customer == 'no') { + 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.parent_pdid = _this.pdDetails.parent_pd_id; + 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 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 ) + * Explaination : Comparing Curr.Year annual sales and Prev.year annual sales + * 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 + * Explaination : Comparing Curr.Year Net Profit (or) Loss Amount With Prev.year Net Profit (or) Loss Amount + * 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 + * Explaination : Comparing Curr.Year Net Profit Amount With Curr.year Annual Sales Amount ( like wise loss ) + * 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 "); + 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 "); + 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); + } + } + } + // console.log('val.financial_margin_of_profit',val.financial_margin_of_profit); + // console.log('profit_margin',profit_margin); + // console.log('childArray.controls.financial_margin_of_loss',childArray.controls.financial_margin_of_loss.value); + // 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 ; + prev_profit_margin[index] = profit_margin != '' ? profit_margin : 0; + prev_loss_margin[index] = loss_margin != '' ? loss_margin : 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) { + // console.log('temp_prev_losses',prev_loss_margin); + // console.log('temp_prev_profits',prev_profit_margin); + // console.log('curr index',index); + 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; + // console.log('profit_margin',profit_margin); + // console.log('pre year loss_margin',temp_prev_loss_margin); + // console.log('loss_margin',loss_margin); + // console.log('pre year profit_margin',temp_prev_profit_margin); + 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; + } + }; + /*IMAGE SECTION*/ + PdQuestionFinancialInfoPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionFinancialInfoPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionFinancialInfoPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionFinancialInfoPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionFinancialInfoPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionFinancialInfoPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionFinancialInfoPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.formDetails.form_id, + 'images': this.imageBucket, + 'company_id': this.pdDetails.company_id + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionFinancialInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-financial-info',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.html"*/'\n\n\n \n \n {{formDetails.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \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 As Per Financial Statements
\n
\n
\n \n \n \n Yes\n No\n \n \n
\n \n Enter year from Which Financials Provided\n \n Invalid year format\n \n \n \n \n
\n
\n
\n \n Financial Year : {{details.get(\'financial_year\').value}}\n
\n \n {{"₹"}} {{FY_annualSalesInwords[i]}} Only \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 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 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 Net Profit\n Net Loss\n \n \n
\n \n \n {{"₹"}} {{FY_netProfitAmtInwords[i]}} Only\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 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 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 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 No difference in Profit/Loss to sales % in FY {{details.get(\'financial_year\').value}} over Profit/Loss to sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n \n \n Increase in Profit/Loss to sales % in FY {{details.get(\'financial_year\').value}} over Profit/Loss to 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 Decrease in Profit/Loss to sales % in FY {{details.get(\'financial_year\').value}} over Profit/Loss to 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
Financial As Per Customers
\n
\n
\n \n \n \n \n Yes\n No\n \n \n \n
\n
\n \n \n \n {{"₹"}} {{AV_SalesFrmInwords[i]}} Only\n \n \n \n {{"₹"}} {{AV_SalesToInwords[i]}} Only\n \n \n \n {{"₹"}} {{AV_SalesInwords[i]}} Only\n \n\n \n \n Net Profit\n Net Loss\n \n \n \n \n Yes\n No\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 {{"₹"}} {{AV_netProfitAmtFrmInwords[i]}} Only \n \n \n \n {{"₹"}} {{AV_netProfitAmtToInwords[i]}} Only \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 {{"₹"}} {{AV_marginLossAmtInwords[i]}} Only \n \n
\n
\n \n \n {{"₹"}} {{AV_netLossAmtFrmInwords[i]}} Only \n \n \n \n {{"₹"}} {{AV_netLossAmtToInwords[i]}} Only \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
Working Capital Details
\n
\n
\n \n \n \n In case of Credit Sales, what is the average no of days taken to receive the money?\n \n \n \n \n \n \n \n \n \n \n \n Yes\n No\n \n \n \n \n \n {{a.name}}\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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.html"*/, + encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_12" /* ViewEncapsulation */].None, + }), + __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 */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__["a" /* CameraProvider */], + __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionFinancialInfoPage); + return PdQuestionFinancialInfoPage; +}()); + +//# sourceMappingURL=pd-question-financial-info.js.map + +/***/ }), + +/***/ 213: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __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); +}; + + + + + + + + +/** + * 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, loading, cameraProvider) { + var _this = this; + this.navCtrl = navCtrl; + this.navParams = navParams; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.fb = fb; + this.loading = loading; + this.cameraProvider = cameraProvider; + 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.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionClientInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionClientInfoPage'); + this.getPDImages(); + }; + PdQuestionClientInfoPage.prototype.initFormLoadDetails = function (record) { + var _this = this; + var params = {}; + params.parent_pdid = this.pdDetails.parent_pd_id; + 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({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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({ + parent_pdid: [_this.pdDetails.parent_pd_id], + 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(data => data.isactive == 1); + // because in general no need of "other" option but in client others option needed - in DB others option changed into inactive" + }); + 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.clientInfoForm.markAsUntouched(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + 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; + }; + /*IMAGE SECTION*/ + PdQuestionClientInfoPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionClientInfoPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionClientInfoPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionClientInfoPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionClientInfoPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionClientInfoPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionClientInfoPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.formDetails.form_id, + 'images': this.imageBucket, + 'company_id': this.pdDetails.company_id + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionClientInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-client-info',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.html"*/'\n \n \n {{formDetails.form_name}}\n \n \n \n \n Form\n \n \n Pictures\n \n \n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \n \n
\n \n \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 Product #{{l+1}}\n \n
\n \n \n {{\n pm.name }}\n \n \n \n \n \n \n \n \n {{tl.name}}\n \n \n \n \n \n \n \n \n Select\n \n {{comrelShip.name}}\n \n \n \n \n \n \n \n \n \n Enter Valid Mobile Number\n \n \n \n Enter Valid STD Code Number.\n \n \n \n \n Enter Valid LandLine Number\n \n \n \n {{\n pm.name }}\n \n \n \n \n Payment received in\n Cash.\n Payment\n received through Banking channels.\n Payment received in Cash and Bank.\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
Trading Product Details
\n
\n
\n
\n
\n Trading Product #{{l+1}}\n \n
\n \n \n \n {{\n pm.name }}\n \n \n \n \n \n \n \n \n {{tl.name}}\n \n \n \n \n \n \n \n \n Select\n \n {{comrelShip.name}}\n \n \n \n \n \n \n \n \n \n Enter Valid Mobile Number\n \n \n \n Enter Valid STD Code Number\n \n \n \n \n Enter Valid LandLine Number\n \n \n \n {{\n pm.name }}\n \n\n \n \n \n Payment received in\n Cash.\n Payment\n received through Banking channels.\n Payment received in Cash and Bank.\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
Service Provider Product Details
\n \n
\n
\n
\n
\n Service Provided #{{l+1}}\n \n
\n \n \n {{\n pm.name }}\n \n \n \n \n \n \n \n \n {{tl.name}}\n \n \n \n \n \n \n \n \n Select\n \n {{comrelShip.name}}\n \n \n \n \n \n \n \n \n \n \n Enter Valid Mobile Number\n \n \n \n Enter Valid STD Code Number\n \n \n \n \n Enter Valid LandLine Number.\n \n \n \n {{\n pm.name }}\n \n \n \n \n Payment received in\n Cash.\n Payment\n received through Banking channels.\n Payment received in Cash and Bank.\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 Remarks\n \n \n \n \n \n \n\n \n
\n
\n
\n
\n \n
\n
{{ errorMessage }}
\n
\n
\n
\n
\n\n
\n\n\n \n
\n\n \n \n \n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */]]) + ], PdQuestionClientInfoPage); + return PdQuestionClientInfoPage; +}()); + +//# sourceMappingURL=pd-question-client-info.js.map + +/***/ }), + +/***/ 214: +/***/ (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__(4); +/* 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__(5); +/* 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__(383); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_summary_pd_question_assessed_summary__ = __webpack_require__(391); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_question_pd_question_assessed_images_pd_question_assessed_images__ = __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 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, alertCtrl) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.qustCat = qustCat; + this.toast = toast; + this.alertCtrl = alertCtrl; + this.purchaseBillData = false; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('formDetails'); + this.users = this.aws.getlocale(); + this.assessedForm = this.fb.group({ + calc_type_id: [null], + fk_pd_id: [this.pdDetails.pd_id], + // radio_for_mode:[null,Validators.compose([Validators.required])], + mode: [null], + margin: [null], + purchase_type: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + fk_createdby: [null], + fk_updatedby: [null], + }); + } + PdQuestionAssessedDashPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedDashPage'); + }; + PdQuestionAssessedDashPage.prototype.ionViewCanEnter = function () { + this.getassessedIncome(); + }; + PdQuestionAssessedDashPage.prototype.getViewPage = function (pageId) { + if (pageId == 11) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_summary_pd_question_assessed_summary__["a" /* PdQuestionAssessedSummaryPage */], { 'pdDetails': this.pdDetails, 'pageId': pageId }); + } + else if (pageId == 12) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_pd_question_assessed_images_pd_question_assessed_images__["a" /* PdQuestionAssessedImagesPage */], { 'pdDetails': this.pdDetails, 'pageId': pageId, 'formdetails': this.FormId }); + } + else { + 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) { + console.log("mode", answerData.purchase_type.value); + if (this.assessedForm.controls['purchase_type'].value == 1) { + this.assessedForm.controls['mode'].setValue(1); + this.assessedForm.controls['margin'].setValue(null); + } + else if (this.assessedForm.controls['purchase_type'].value == 2) { + this.assessedForm.controls['mode'].setValue(1); + this.assessedForm.controls['margin'].setValue(null); + } + else if (this.assessedForm.controls['purchase_type'].value == 0) { + this.assessedForm.controls['mode'].setValue(2); + this.assessedForm.controls['margin'].setValue(2); + this.assessedForm.controls['purchase_type'].setValue(null); + } + if (this.assessedForm.controls['calc_type_id'].value != null) { + this.assessedForm.controls['fk_updatedby'].setValue(this.users); + } + if (this.assessedForm.controls['fk_createdby'].value == null) { + this.assessedForm.controls['fk_createdby'].setValue(this.users); + } + console.log(this.assessedForm.value); + var tempRec = this.assessedForm.value; + tempRec.company_id = this.pdDetails.company_id; + console.log("tempRec", tempRec); + var records = { 'records': tempRec }; + // delete records.records.radio_for_mode + // console.log("after",records); + this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Saved Successfully..!"); + setTimeout(function () { + _this.getassessedIncome(); + }); + } + else { + } + }); + } + }; + PdQuestionAssessedDashPage.prototype.getassessedIncome = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'company_id': this.pdDetails.company_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'].purchase_billwise.length != 0) { + _this.purchaseBillData = 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.grossprofit.length != 0) { + _this.grossAccess = true; + _this.assessedForm.controls['mode'].setValue(_this.grossprofit.mode); + if (_this.grossprofit.purchase_type == null) { + _this.assessedForm.controls['purchase_type'].setValue(0); + } + else { + _this.assessedForm.controls['purchase_type'].setValue(_this.grossprofit.purchase_type); + } + _this.assessedForm.controls['margin'].setValue(_this.grossprofit.margin); + _this.assessedForm.controls['calc_type_id'].setValue(_this.grossprofit.calc_type_id); + _this.assessedForm.controls['fk_createdby'].setValue(_this.grossprofit.fk_createdby); + } + } + else { + _this.assessedProcess = false; + } + }); + }; + PdQuestionAssessedDashPage.prototype.completeAI = function () { + var _this = this; + var updateStatus = { + "fk_pd_id": this.pdDetails.pd_id, + "company_id": this.pdDetails.company_id, + "calc_type_id": this.grossprofit.calc_type_id, + "is_completed": 1 + }; + var records = { 'records': updateStatus }; + this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Assessed Income Completed Successfully"); + setTimeout(function () { + _this.navCtrl.pop(); + }, 1000); + } + else { + _this.toast.pdTriggerappmessage("Error"); + } + }); + }; + PdQuestionAssessedDashPage.prototype.presentConfirm = function () { + var _this = this; + var alert = this.alertCtrl.create({ + title: 'Complete Assessed Income', + message: 'Please confirm you are completing the Assessed Income details?', + buttons: [ + { + text: 'No', + role: 'no', + handler: function () { + console.log("Cancel clicked"); + //this.alertShown=false + alert.dismiss; + } + }, + { + text: 'Yes', + handler: function () { + console.log("Exit"); + _this.completeAI(); + } + } + ] + }); + alert.present(); + // this.alertShown=true; + }; + PdQuestionAssessedDashPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-dash',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html"*/'\n\n \n \n {{FormId.form_name}}\n \n \n \n \n \n \n \n \n \n \n \n \n Purchase Calculation\n \n \n \n
\n \n

Purchase Detail Available

\n \n Purchase Item Wise
\n Purchase Bill Wise
\n Not Available\n
\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

PURCHASE ITEM WISE

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

PURCHASE BILL WISE

\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

HOUSEHOLD EXPENSES

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

SUMMARY

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

IMAGES

\n
\n
\n
\n \n \n
\n
\n \n \n \n \n '/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */]]) + ], PdQuestionAssessedDashPage); + return PdQuestionAssessedDashPage; +}()); + +//# sourceMappingURL=pd-question-assessed-dash.js.map + +/***/ }), + +/***/ 216: +/***/ (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__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_sqlite__ = __webpack_require__(407); +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 + +/***/ }), + +/***/ 25: +/***/ (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__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_camera__ = __webpack_require__(128); +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("base 64", base64Image); + return base64Image; + }, function (error) { + console.log('CAMERA ERROR -> ' + JSON.stringify(error)); + return "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 + +/***/ }), + +/***/ 257: +/***/ (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 = 257; + +/***/ }), + +/***/ 26: +/***/ (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__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __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 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.prototype.loaderForSendImage = function () { + var loading = this.loadingCtrl.create({ + content: 'Sending...', + duration: 2000, + }); + return 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 + +/***/ }), + +/***/ 300: +/***/ (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 = 300; + +/***/ }), + +/***/ 344: +/***/ (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__(4); +/* 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__(124); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(63); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pd_list_pd_list__ = __webpack_require__(79); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__password_password__ = __webpack_require__(408); +/* 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:"/home/rajasekar/Desktop/pd_officer/src/pages/login/login.html"*/'\n\n\n\n\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 372: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(127); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(25); +/* 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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question.html"*/'\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 {{tab}}\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 {{answerType.answer}}\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 {{ 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'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 373: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_camera__ = __webpack_require__(128); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(26); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__providers_storage_storage__ = __webpack_require__(208); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_rxjs_add_observable_interval__ = __webpack_require__(686); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_rxjs_add_observable_interval___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_rxjs_add_observable_interval__); +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{CacheService} from 'ionic-cache-observable' +/** + * Generated class for the PdQuestionAddressPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAddressPage = (function () { + function PdQuestionAddressPage(navCtrl, navParams, fb, qustCat, aws, toast, alerCtrl, constant, camera, loading, storagedb) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.alerCtrl = alerCtrl; + this.constant = constant; + this.camera = camera; + this.loading = loading; + this.storagedb = storagedb; + //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.pincodeValue = []; + this.cityDataValue = []; + this.complete_status = false; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_5_rxjs__["Subject"](); + this.filteredCity = new __WEBPACK_IMPORTED_MODULE_5_rxjs__["ReplaySubject"](1); + this.filteredState = new __WEBPACK_IMPORTED_MODULE_5_rxjs__["ReplaySubject"](1); + this.pincodeDataValue = []; + this.imageBucket = []; + this.tab = '0'; + this.imageDisplay = []; + 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(); + //const control=this.pdQuestionAddress.controls['addresses'] + // console.log("co",control) + 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.loadPD() + // let con=this.pdQuestionAddress.controls['addresses']['controls'] + // this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch'].valueChanges + // .pipe(takeUntil(this._onDestroy)) + // .subscribe(()=>{ + // this.SearchCity(0); + // }) + this.timer = __WEBPACK_IMPORTED_MODULE_5_rxjs__["Observable"].interval(10000) + .subscribe(function (val) { console.log('test', val); }); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionAddressPage.prototype.ionViewDidLoad = function () { + //this.addUnits(); + console.log("ionViewDidLoad PdQuestionAddressPage"); + this.getaddressForm(); + // this.getaddressFormFromLocal(); //FOR GETTING DATA FROM LOCAL STORAGE IF IT IS TRUE + this.getPDImages(); + }; + PdQuestionAddressPage.prototype.searchFun = function (control, i, option) { + var _this = this; + // console.log(control,i) + if (option == 'city') { + control.controls['citySearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_9_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.SearchCity(control.controls['citySearch'].value, i); + }); + } + if (option == 'state') { + console.log("state"); + control.controls['stateSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_9_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.searchState(control.controls['stateSearch'].value); + }); + } + if (option == 'pin') { + console.log("Pin"); + control.controls['pinSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_9_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.searchPin(control.controls['pinSearch'].value, i); + }); + } + }; + PdQuestionAddressPage.prototype.searchPin = function (val, index) { + if (!this.pincodeData[index]) { + return; + } + var searchValue = val; + if (!searchValue) { + this.pincodeDataValue[index] = this.pincodeData[index].slice(); + return; + } + else { + searchValue = searchValue.toLowerCase(); + } + this.pincodeDataValue[index] = this.pincodeData[index].filter(function (value) { return value.pincode.toLowerCase().indexOf(searchValue) > -1; }); + }; + PdQuestionAddressPage.prototype.SearchCity = function (val, i) { + if (!this.cityData[i]) { + return; + } + var searchValue = val; + if (!searchValue) { + // this.filteredCity.next(this.cityData[i].slice()) + this.cityDataValue[i] = this.cityData[i].slice(); + return; + } + else { + searchValue = searchValue.toLowerCase(); + } + this.cityDataValue[i] = this.cityData[i].filter(function (value) { return value.city_name.toLowerCase().indexOf(searchValue) > -1; }); + // this.filteredCity.next( + // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1) + // ) + }; + PdQuestionAddressPage.prototype.searchState = function (val) { + console.log("statedata"); + if (!this.stateData) { + return; + } + var searchVal = val; + if (!searchVal) { + this.filteredState.next(this.stateData.slice()); + return; + } + else { + searchVal = searchVal.toLowerCase(); + } + this.filteredState.next(this.stateData.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; })); + }; + PdQuestionAddressPage.prototype.countRowsForTextarea = function (text) { + // console.log('text.length%100',text.length%190); + // console.log('text.length/100',text.length/100); + if (text != '' && text != undefined) { + if (text.length % 100 > 5) + return 5; + else if (text.length % 100 <= 3) + return 3; + else + return Math.floor(text.length % 100); + } + }; + 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() + }; + PdQuestionAddressPage.prototype.ionViewCanLeave = function () { + var _this = this; + this.timer.unsubscribe(); + console.log("dirty", this.pdQuestionAddress.dirty); + if (this.pdQuestionAddress.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Form is Modified", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + //For Inserting the data locally + // this.localInsert(true); + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + /** To Get City And Pincode Data For Address Form + * Param 'stateID' -> selected StateId + */ + PdQuestionAddressPage.prototype.getCityAndPincodeDetails = function (stateID, i, pincode) { + var _this = this; + // console.log(this.pdQuestionAddress.controls['addresses']['controls'][0].controls['citySearch']) + console.log(this.pdQuestionAddress); + //this.pdQuestionAddress.controls['addresses']['controls'].controls + this.qustCat.getStateWiseCities(stateID).subscribe(function (data) { + if (data.status == 200) { + _this.cityData[i] = data.records.cities; + _this.search = _this.cityData[i]; + console.log("Slice", _this.cityData[i].slice); + //this.filteredCity.next(this.cityData[i].slice()) + _this.cityDataValue[i] = _this.cityData[i].slice(); + _this.pincodeData[i] = data.records.pincode; + _this.pincodeDataValue[i] = _this.pincodeData[i].slice(); + } + //FOR PINCODE FREE TEXT + // let pin + // if(pincode != ''){ + // if(pincode != 1){ + // this.pincodeValue[i]=this.pincodeData[i].filter(res=>res.pincode_id == pincode).map(val=>val.pincode)[0] + // //this.pincodeValue[i]=[].concat.apply([],this.pincodeValue[i]) + // console.log(this.pincodeValue[i]) + // console.log(this.pdQuestionAddress) + // } + // } + }); + }; + 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; }); + console.log("dk", _this.addressTypes); + // this.cacheObservable.register('addressType',this.addressTypes).subscribe(res=>{ + // this.data$=res.get$ + // console.log("data",this.data$) + // }) + } + // this.cacheObservable.loadFromObservable() + }); + 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.filteredState.next(_this.stateData.slice()); + }); + this.qustCat.getcommondrop('UOM').subscribe(function (res) { + _this.uomData = res['records'].filter(function (val) { return val.isactive == 1 && val.is_land_uom != 0; }); + }); + }; + // 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) { + console.log("pin init", this.pincodeValue[0]); + if (AddressDetails != null) { + return this.fb.group({ + address: [AddressDetails.address], + 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], + citySearch: [''], + stateSearch: [''], + pinSearch: [''], + 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: [''], + 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: [''], + citySearch: [''], + stateSearch: [''], + pinSearch: [''], + 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; + // answerData.addresses.forEach(element=>{ + // let temp=element.pincode + // element.pincode=1 + // element.pincode_others=temp + // }) + if (this.pdQuestionAddress.invalid) { + this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields marked with ' * '"); + return; + } + console.log("Answer DAta", answerData); + records.addresses = answerData.addresses; + // records.addressess + records.address_form_remark = answerData.address_form_remark; + records.parent_pdid = this.pdDetails.parent_pd_id; + 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) { + console.log(data); + // let params: any = {}; + // params.pd_id = '250'; + // params.pd_form_id = '250'; + // setTimeout(function(){ + // this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + // },5000) + if (data['dataStatus'] == true) { + //TO CHANGE THE FORM STATE + _this.pdQuestionAddress.reset(_this.pdQuestionAddress.value); + //FOR UPDATING THE FORM STATUS IN LOCAL + // this.localInsert(false); + _this.toast.pdTriggerappmessage('Record Saved Successfully'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + }, function (err) { + _this.toast.pdTriggerappmessage('Something went wrong '); + }); + }; + PdQuestionAddressPage.prototype.getaddressFormFromLocal = function () { + var _this = this; + var local_value; + var data = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id }; + // data.pd_id=this.pdDetails.pd_id + // data.form_id=this.FormId.form_id + this.storagedb.retrieveLocalStorage(data).then(function (res) { + console.log("address get", res); + if (res) { + var val_rec = {}; + val_rec.records = res[0]; + local_value = res[0]; + console.log("addd", val_rec, "loca", local_value); + var control_1 = _this.pdQuestionAddress.controls['addresses']; + _this.getaddressDetails = val_rec; + if (local_value.active == true) { + if (_this.getaddressDetails.records.addresses) { + _this.getaddressDetails = _this.getaddressDetails.records.addresses; + if (_this.getaddressDetails.length == 0) { + control_1.push(_this.initAddress('')); + } + else { + _this.getaddressDetails.forEach(function (datas, index) { + _this.getCityAndPincodeDetails(datas.state, index, datas.pincode); + if (datas.pincode == 1) { + _this.pincodeValue[index] = datas.pincode_others; + } //if(val==true){ + console.log("Pin", _this.pincodeValue[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 + }; + // let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0]; + // console.log("selected add type",selectedAddressType) + if (datas.address_type != '') { + _this.selectedAddressType(datas.address_type, index); + // this.selectedAddressType(selectedAddressType.address_type,index); + if (datas.address_type == 1) { + _this.selectedAddressType(datas.address_type_others, index); + } + } + control_1.push(_this.initAddress(val)); + }); + _this.pdQuestionAddress.controls.address_form_remark.setValue(val_rec.records.address_form_remark); + } + } + else { + control_1.push(_this.initAddress('')); + } + } + else { + _this.getaddressForm(); + } + } + else { + _this.getaddressForm(); + } + }); + // console.log("add",local_value) + }; + PdQuestionAddressPage.prototype.getaddressForm = function () { + var _this = this; + console.log("pd", this.pdDetails); + var res; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, '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) { + _this.getCityAndPincodeDetails(datas.state, index, datas.pincode); + if (datas.pincode == 1) { + _this.pincodeValue[index] = datas.pincode_others; + } //if(val==true){ + console.log("Pin", _this.pincodeValue[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 + }; + if (datas.address_type != '') { + 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 && item.assigned_pd == _this.pdDetails.pd_id; }); + console.log('this.addressesList', _this.addressesList); + if (_this.addressesList.length > 0) { + _this.addressesList.forEach(function (datas, index) { + _this.getCityAndPincodeDetails(datas.fk_state, index, datas.pincode); + 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': '' + }; + control.push(_this.initAddress(obj)); + }); + } + else { + control.push(_this.initAddress('')); + } + } + else { + control.push(_this.initAddress('')); + } + }); + }; + PdQuestionAddressPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionAddressPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionAddressPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionAddressPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionAddressPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionAddressPage.prototype.savePhoto = function () { + var _this = this; + this.camera.getPicture({ + quality: 100, + destinationType: this.camera.DestinationType.DATA_URL, + targetWidth: 500, + targetHeight: 600, + correctOrientation: true + }).then(function (imageData) { + _this.base64 = 'data:image/png;base64,' + imageData; + _this.imageBucket.push({ 'image': _this.base64, 'Name': '' }); + // this.imageDisplay.push({'image':this.base64,'Name':''}) + _this.getImageName(_this.imageBucket.length - 1); + }, function (err) { + //alert("error"); + }); + this.tab = '1'; + // this.content.scrollToBottom(); + // let dimensions = this.content.getContentDimensions(); + // this.content.scrollTo(0, dimensions.contentHeight+100, 100); + // this.inputFocus.setFocus(); + }; + PdQuestionAddressPage.prototype.getImageName = function (index) { + var _this = this; + console.log("index", index); + var alert = this.toast.setAlertForDocName(); + alert.present(); + alert.onDidDismiss(function (value) { + console.log(value.Name); + _this.imageBucket[index].Name = value.Name; + }); + // let alert=this.alerCtrl.create({ + // title:'Document Name', + // message: 'Please Enter the Document Name', + // cssClass:'prompt_alert', + // inputs:[ + // { + // name:'Name', + // //value:this.imageBucket[index].Name + // placeholder:'Document Name' + // } + // ], + // buttons:[ + // { + // text:'Submit', + // handler:data=>{ + // console.log(data.Name) + // this.imageBucket[index].Name=data.Name + // alert.dismiss + // } + // } + // ] + // }) + // alert.present(); + //this.inputFocus.setFocus(); + }; + // al(){ + // this.toast.pdTriggerappmessage("touched"); + // } + PdQuestionAddressPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionAddressPage.prototype.localInsert = function (option) { + var datas = this.pdQuestionAddress.value; + datas.pd_id = this.pdDetails.pd_id; + datas.form_id = this.FormId.form_id; + datas.active = option; + // let recors={'records':datas} + this.storagedb.insertData(datas).then(function (res) { + // let alert=this.toast.setAlert('data',JSON.stringify(res)) + // alert.present(); + console.log("insert add", res); + }); + }; + PdQuestionAddressPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-address',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-address/pd-question-address.html"*/'\n\n \n \n \n {{FormId.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n\n \n \n
\n
\n
\n
\n \n
\n
\n\n \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 # {{i+1}}
\n
\n
\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n Select\n {{SL.name}}\n \n \n \n \n \n \n \n \n \n Select\n {{CL.city_name}}\n \n \n\n \n \n \n \n \n \n \n Select\n {{PL.pincode}}\n \n \n \n \n \n \n\n
\n \n \n Select\n {{m_addressType.address_type}} \n \n Address Type is Required\n \n
\n\n
\n \n \n \n
\n\n \n
\n \n \n Select\n {{m_locality.locality_name}}\n \n\n \n Locality is Required\n \n
\n\n \n \n \n \n \n
\n \n \n Select\n {{data.description}}\n \n \n PD Location is Required\n \n
\n\n
\n \n \n Select\n {{data.rating | titlecase}}\n \n \n Comment on Locality is Required\n \n
\n\n
\n \n \n \n
\n \n \n \n \n \n Select\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'/*ion-inline-end:"/home/rajasekar/Desktop/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_6__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__["a" /* ConstantsProvider */], + __WEBPACK_IMPORTED_MODULE_8__ionic_native_camera__["a" /* Camera */], __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_11__providers_storage_storage__["a" /* StorageProvider */]]) + ], PdQuestionAddressPage); + return PdQuestionAddressPage; +}()); + +//# sourceMappingURL=pd-question-address.js.map + +/***/ }), + +/***/ 374: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __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); +}; + + + + + + + + + +/** + * 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, qustCat, aws, toast, constant, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.constant = constant; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.workExperienceFlag = false; + this.workExperienceErrorFlag = false; + this.tab = '0'; + this.imageBucket = []; + this.imageDisplay = []; + this.dateonly = [{ date: 1, isdisabled: false }, { date: 2, isdisabled: false }, { date: 3, isdisabled: false }, { date: 4, isdisabled: false }, { date: 5, isdisabled: false }, { date: 6, isdisabled: false }, { date: 7, isdisabled: false }, { date: 8, isdisabled: false }, { date: 9, isdisabled: false }, { date: 10, isdisabled: false }, { date: 11, isdisabled: false }, { date: 12, isdisabled: false }, { date: 13, isdisabled: false }, { date: 14, isdisabled: false }, { date: 15, isdisabled: false }, { date: 16, isdisabled: false }, { date: 17, isdisabled: false }, { date: 18, isdisabled: false }, { date: 19, isdisabled: false }, { date: 20, isdisabled: false }, { date: 21, isdisabled: false }, { date: 22, isdisabled: false }, { date: 23, isdisabled: false }, { date: 24, isdisabled: false }, { date: 25, isdisabled: false }, { date: 26, isdisabled: false }, { date: 27, isdisabled: false }, { date: 28, isdisabled: false }, { date: 29, isdisabled: false }, { date: 30, isdisabled: false }, { date: 31, isdisabled: false }]; + this.todate = this.dateonly; + this.complete_status = false; + this.FormId = this.navParams.get('FormId'); + this.questionDetails = this.navParams.get('questionDetails'); + this.pdDetails = this.navParams.get('pdDetails'); + this.users = this.aws.getlocale(); + this.pdid = this.pdDetails.pd_id; + this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; + this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase(); + this.generalExistBusinessYear = 100; + this.generalExistBusinessMonth = 12; + this.getDropDownList(); + this.getCompanyFromGeneralDetails(); + this.getEmploymentDetails(); + this.employmentForm = this.fb.group({ + employer_name: [''], + employer_in_brief: [''], + // members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear); + // members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth); + how_long_year: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessYear)], + how_long_month: [''], + total_business_experience: [''], + total_business_previous_experience: [''], + was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''], + name_person_met: [''], + designation_person_met: [''], + confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''], + confirm_salary_amount: [''], + attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''], + sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''], + from_date_the_salary_is_rcv: [''], + to_date_the_salary_is_rcv: [''], + gross_monthly_salary: [''], + net_monthly_salary: [''], + amount_paid_in_cash: [''], + amount_paid_through_bank: [''], + check_validated: [''], + how_was_it_validated: [''], + why_was_it_not_validated: [''], + bonus_incentive: [''], + bonus_frequency: [''], + bonus_type: [''], + bonus_type_other: [''], + any_delays: [''], + employment_remarks: [''], + }); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionEmpInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionEmpInfoPage'); + this.getPDImages(); + }; + PdQuestionEmpInfoPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.employmentForm.dirty); + if (this.employmentForm.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + PdQuestionEmpInfoPage.prototype.getDropDownList = function () { + var _this = this; + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.frequency_data = data['records']; + _this.frequency_data = _this.frequency_data.filter(function (freq) { return freq.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.company_relationship_list = data['records'].filter(function (item) { return item.isactive == 1; }); + _this.company_relationship_list = data['records'].filter(function (item) { return item.name != 'Others'; }); + _this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' }); + } + }); + }; + PdQuestionEmpInfoPage.prototype.getCompanyFromGeneralDetails = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' }; + this.qustCat.retiverForm(records).subscribe(function (value) { + if (value['dataStatus'] == true) { + _this.company_list = value['records'].companies.filter(function (com) { return com.is_active == true; }); + _this.person_met_list = value['records'].individuals.filter(function (app) { return app.is_person_met == true && app.is_active == true; }); + _this.company_related_applicants_list = value['records'].company_with_relationships; + } + else { + } + }); + }; + PdQuestionEmpInfoPage.prototype.ValidateNetSalary = function () { + var salary = this.employmentForm.controls['net_monthly_salary'].value; + console.log('this.employmentForm.controls[amount_paid_in_cash].value', this.employmentForm.controls['amount_paid_in_cash'].value); + if (salary != '') { + var cash_amount = this.employmentForm.controls['amount_paid_in_cash'].value; + // let Bank_amount = this.employmentForm.controls['amount_paid_through_bank'].value; + this.employmentForm.controls['amount_paid_in_cash'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(salary)]); + this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity(); + var maxamt = salary - cash_amount; + if (this.employmentForm.controls['amount_paid_in_cash'].value != '') { + var balance = salary - this.employmentForm.controls['amount_paid_in_cash'].value; + console.log("bal", balance); + this.employmentForm.controls['amount_paid_through_bank'].setValue(balance); + this.inWords(balance, 5); + } + if (maxamt >= 0) { + this.employmentForm.controls['amount_paid_through_bank'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(salary - cash_amount)]); + } + else { + this.employmentForm.controls['amount_paid_through_bank'].setValue('0'); + this.employmentForm.controls['amount_paid_through_bank'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(0)]); + } + this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity(); + } + else { + this.toast.pdTriggerappmessage('Net Monthly Salary Is Empty.!'); + this.employmentForm.controls['amount_paid_in_cash'].setValue(''); + this.employmentForm.controls['amount_paid_in_cash'].updateValueAndValidity(); + this.employmentForm.controls['amount_paid_through_bank'].setValue(''); + this.employmentForm.controls['amount_paid_through_bank'].updateValueAndValidity(); + return; + } + }; + PdQuestionEmpInfoPage.prototype.saveEmpInfo = function () { + var _this = this; + // console.log("has Error",this.employmentForm.controls['how_long_year'].hasError('max')) + if (this.employmentForm.controls['how_long_year'].hasError('max') || this.employmentForm.controls['how_long_month'].hasError('max')) { + this.toast.pdTriggerappmessage("Higher than business Vintage"); + this.inputYearFocus.nativeElement.focus(); + return; + } + if (this.employmentForm.controls['total_business_experience'].hasError('min')) { + this.toast.pdTriggerappmessage('Total working Experience is Lower'); + this.expFocus.nativeElement.focus(); + return; + } + // console.log("this.em",this.employmentForm.controls['amount_paid_in_cash'].errors) + if (this.employmentForm.controls['amount_paid_in_cash'].hasError('max') || this.employmentForm.controls['amount_paid_through_bank'].hasError('max')) { + this.toast.pdTriggerappmessage("Given Value is Maximum of Net Salary"); + this.inputCashPaidFocus.nativeElement.focus(); + return; + } + if (!this.employmentForm.valid) { + this.toast.pdTriggerappmessage('Form Invalid Try Again.!'); + return; + } + var records = {}; + records.parent_pdid = this.pdDetails.parent_pd_id; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.employer_name = this.employmentForm.controls['employer_name'].value; + records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value; + records.how_long_year = this.employmentForm.controls['how_long_year'].value; + records.how_long_month = this.employmentForm.controls['how_long_month'].value; + records.total_business_experience = this.employmentForm.controls['total_business_experience'].value; + records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value; + records.was_met = this.employmentForm.controls['was_met'].value; + if (this.employmentForm.controls['was_met'].value == 'yes') { + records.name_person_met = this.employmentForm.controls['name_person_met'].value; + records.designation_person_met = this.employmentForm.controls['designation_person_met'].value; + } + else { + records.name_person_met = ''; + records.designation_person_met = ''; + } + records.confirm_salary = this.employmentForm.controls['confirm_salary'].value; + records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : ''; + records.attendance_seen = this.employmentForm.controls['attendance_seen'].value; + records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value; + records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value; + records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value; + records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value; + records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value; + records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value; + records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value; + records.check_validated = this.employmentForm.controls['check_validated'].value; + records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : ''; + records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : ''; + records.any_delays = this.employmentForm.controls['any_delays'].value; + records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value; + records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value; + records.bonus_type = this.employmentForm.controls['bonus_type'].value; + records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value; + records.employment_remarks = this.employmentForm.controls['employment_remarks'].value; + this.qustCat.saveForm(records).subscribe(function (data) { + if (data['dataStatus'] == true) { + //TO CHANGE THE FORM STATE + // this.employmentForm.markAsUntouched(); + _this.employmentForm.reset(_this.employmentForm.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + else { + _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); + } + }); + }; + PdQuestionEmpInfoPage.prototype.filtercompanyrelationship = function (companyid, applicantid) { + var array = companyid.split("-"); + var data = this.company_related_applicants_list.filter(function (cmpy) { return cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid; }); + if (data.length > 0) { + this.filtered_company_relationship_list = this.company_relationship_list.filter(function (freq) { return freq.company_relationship_id == data[0].company_relationship; }); + this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]); + } + else { + this.employmentForm.controls['designation_person_met'].setValue(''); + } + }; + PdQuestionEmpInfoPage.prototype.formDate = function (value) { + // console.log('to',this.todate) + // console.log(value); + // console.log('to length',this.todate.length); + // console.log('index',value-1); + // console.log('this.todate',this.todate[11]); + // console.log('this.todate',this.todate[11].isdisabled); + this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(''); + this.todate = [{ date: 1, isdisabled: false }, { date: 2, isdisabled: false }, { date: 3, isdisabled: false }, { date: 4, isdisabled: false }, { date: 5, isdisabled: false }, { date: 6, isdisabled: false }, { date: 7, isdisabled: false }, { date: 8, isdisabled: false }, { date: 9, isdisabled: false }, { date: 10, isdisabled: false }, { date: 11, isdisabled: false }, { date: 12, isdisabled: false }, { date: 13, isdisabled: false }, { date: 14, isdisabled: false }, { date: 15, isdisabled: false }, { date: 16, isdisabled: false }, { date: 17, isdisabled: false }, { date: 18, isdisabled: false }, { date: 19, isdisabled: false }, { date: 20, isdisabled: false }, { date: 21, isdisabled: false }, { date: 22, isdisabled: false }, { date: 23, isdisabled: false }, { date: 24, isdisabled: false }, { date: 25, isdisabled: false }, { date: 26, isdisabled: false }, { date: 27, isdisabled: false }, { date: 28, isdisabled: false }, { date: 29, isdisabled: false }, { date: 30, isdisabled: false }, { date: 31, isdisabled: false }]; + var i; + if (value != 0 && value != '') + for (i = 0; i <= value - 1; i++) { + this.todate[i].isdisabled = true; + if (value == 31) { + this.todate[30].isdisabled = false; + } + } + }; + PdQuestionEmpInfoPage.prototype.checkWithExistYear = function (e) { + var data1 = this.company_list.filter(function (c) { return c.company_name == e.split('-')[1]; })[0]; + console.log('this.generalExistBusinessMonth', this.generalExistBusinessMonth); + console.log('this.generalExistBusinessYear', this.generalExistBusinessYear); + if (data1.business_month != null && data1.business_month != '' && data1.business_month != undefined) { + this.generalExistBusinessMonth = data1.business_month; + } + if (data1.business_years) { + this.generalExistBusinessYear = data1.business_years; + } + this.employmentForm.controls['how_long_year'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessYear)]); + this.employmentForm.controls['how_long_year'].updateValueAndValidity(); + }; + PdQuestionEmpInfoPage.prototype.ConvertMonthintoYear = function (e) { + var how_long_year = this.employmentForm.controls.how_long_year.value; + var converted_month = e % 12; + var converted_year = e / 12; + if (how_long_year > this.generalExistBusinessYear) { + this.employmentForm.controls['how_long_year'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessYear)]); + this.employmentForm.controls['how_long_year'].updateValueAndValidity(); + this.employmentForm.controls['how_long_year'].setValue(''); + this.employmentForm.controls['how_long_month'].setValue(''); + } + else { + if (how_long_year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { + this.employmentForm.controls['how_long_year'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessYear)]); + this.employmentForm.controls['how_long_year'].updateValueAndValidity(); + this.employmentForm.controls['how_long_month'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(this.generalExistBusinessMonth)]); + this.employmentForm.controls['how_long_month'].updateValueAndValidity(); + } + else { + this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year)); + this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month)); + } + } + }; + PdQuestionEmpInfoPage.prototype.checkWorkingExperiences = function () { + // this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false; + // this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true; + this.employmentForm.controls['total_business_experience'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].min(+this.employmentForm.controls.how_long_year.value)]); + this.employmentForm.controls['total_business_experience'].updateValueAndValidity(); + if (!this.employmentForm.controls['total_business_experience'].valid) { + this.expFocus.nativeElement.focus(); + } + this.workExperienceFlag = +this.employmentForm.controls.total_business_experience.value > +this.employmentForm.controls.how_long_year.value ? true : false; + if (!this.workExperienceFlag) { + this.employmentForm.controls['total_business_previous_experience'].setValue(''); + this.employmentForm.controls['total_business_previous_experience'].updateValueAndValidity(); + } + }; + PdQuestionEmpInfoPage.prototype.inWords = function (val, flag) { + switch (flag) { + case 1: + this.mthlySlryAmtInWords = this.constant.convertNumberToWords(val); + break; + case 2: + this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); + break; + case 3: + this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); + break; + case 4: + this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); + break; + case 5: + this.bankAmtInWords = this.constant.convertNumberToWords(val); + break; + case 6: + this.cashAmtInWords = this.constant.convertNumberToWords(val); + break; + } + }; + PdQuestionEmpInfoPage.prototype.getEmploymentDetails = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, '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 Emp = value['records']; + console.log('emp', Emp); + _this.employmentForm.controls['employer_name'].setValue(Emp.employer_name); + _this.employmentForm.controls['employer_in_brief'].setValue(Emp.employer_in_brief); + _this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year); + _this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month); + _this.employmentForm.controls['was_met'].setValue(Emp.was_met); + _this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience); + _this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience); + if (_this.employmentForm.controls['total_business_experience'] != null && _this.employmentForm.controls['total_business_previous_experience'] != null) { + //this.checkWorkingExperiences(); + } + if (Emp.name_person_met) { + _this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met); + } + if (Emp.designation_person_met) { + _this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met); + } + _this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary); + console.log('Emp.confirm_salary_amount', Emp.confirm_salary_amount, Emp.confirm_salary); + if (Emp.confirm_salary) { + _this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount); + _this.inWords(Emp.confirm_salary_amount, 1); + } + _this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen); + _this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen); + _this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv); + _this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv); + _this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary); + _this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary); + _this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash); + _this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank); + _this.employmentForm.controls['check_validated'].setValue(Emp.check_validated); + _this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated); + _this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated); + _this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive); + _this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency); + _this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type); + _this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other); + _this.employmentForm.controls['any_delays'].setValue(Emp.any_delays); + _this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks); + _this.inWords(Emp.gross_monthly_salary, 2); + _this.inWords(Emp.net_monthly_salary, 3); + _this.inWords(Emp.bonus_incentive, 4); + _this.inWords(Emp.amount_paid_in_cash, 6); + _this.inWords(Emp.amount_paid_through_bank, 5); + if (Emp.total_business_experience != '') { + _this.checkWorkingExperiences(); + } + } + }); + }; + PdQuestionEmpInfoPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionEmpInfoPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionEmpInfoPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionEmpInfoPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionEmpInfoPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionEmpInfoPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionEmpInfoPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('workExp'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) + ], PdQuestionEmpInfoPage.prototype, "expFocus", void 0); + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('cashPaidFocus'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) + ], PdQuestionEmpInfoPage.prototype, "inputCashPaidFocus", void 0); + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('yearFocus'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) + ], PdQuestionEmpInfoPage.prototype, "inputYearFocus", void 0); + PdQuestionEmpInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-emp-info',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.html"*/'\n \n \n {{FormId.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n\n
\n \n\n
\n \n \n {{\n cl.company_name }}\n \n \n
\n\n
\n \n \n \n
\n\n\n Since how long working with this employer?\n
\n \n \n Higher than business vintage\n \n    \n \n \n Higher than business vintage\n \n
\n\n
\n \n \n \n \n \n Total working Experience is Lower\n \n
\n
\n \n \n \n
\n\n
\n

Was the Employer Met

\n \n \n YES\n NO\n \n \n\n\n
\n
\n \n \n Select\n \n {{person.applicant_name | titlecase}}\n \n \n \n
\n\n
\n \n \n \n
\n
\n
\n\n
\n

Salary amount confirmed ?

\n \n YES\n NO\n \n\n\n
\n
\n \n \n {{"₹"}}\n {{mthlySlryAmtInWords}} Only\n \n
\n
\n
\n\n
\n

Attendance register seen ?

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

Salary register seen ?

\n \n YES\n NO\n \n
\n\n
\n\n \n
Salary Details
\n \n
\n

Date of Salary

 \n \n \n Select\n \n {{date.date}}\n \n \n \n    \n \n \n Select\n \n {{date.date}}\n \n \n \n
\n\n
\n \n \n {{"₹"}}\n {{grossMthlySlryAmtInWords}} Only\n \n
\n
\n \n \n {{"₹"}} {{netMthlySlryAmtInWords}} Only\n \n
\n\n
\n \n \n {{"₹"}}\n {{cashAmtInWords}} Only\n Given Value is Maximum of Net Salary\n \n
\n\n
\n \n \n {{"₹"}}\n {{bankAmtInWords}} Only\n Given Value is Maximum of Net Salary\n \n
\n\n
\n \n \n Select\n Validated\n Not Validated\n \n \n
\n\n\n
\n \n \n \n
\n\n
\n \n \n \n
\n\n\n\n
\n \n \n {{"₹"}}\n {{bonusIncentiveAmtInWords}} Only\n \n
\n\n
\n \n \n Select\n {{\n fd.name }}\n \n \n
\n\n
\n \n \n Select\n Fixed\n Variable\n depending on performance\n Others\n \n \n
\n\n
\n \n \n \n
\n\n

Is there any delay in receiving the salary

\n \n YES\n NO\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:"/home/rajasekar/Desktop/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 */], + __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 */], + __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionEmpInfoPage); + return PdQuestionEmpInfoPage; +}()); + +//# sourceMappingURL=pd-question-emp-info.js.map + +/***/ }), + +/***/ 375: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __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); +}; + + + + + + + + + + + +/** + * 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, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.toast = toast; + this.aws = aws; + this.constant = constant; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.placeholderName = []; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.amtInwords = []; + this.emiAmtInwords = []; + this.dataFromAssets = []; + this.labelArr = []; + this.investmentTypeData = []; + this.tentureErrorFlag = false; + this.others_loanAccess = false; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_7_rxjs__["Subject"](); + this.imageBucket = []; + this.tab = '0'; + this.imageDisplay = []; + this.complete_status = false; + 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.filter(function (val) { return val.pd_co_applicant_id != 0; }); + this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); + this.getdropdown(); + this.users = this.aws.getlocale(); + this.currentLoans = this.fb.group({ + existing_loan: [null], + currentloan_remarks: [null], + loan_details: this.fb.array([]) + }); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionCurrentLoansPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); + console.log('{{FormId.form_name}}', this.FormId.form_name, this.FormId); + this.getcurrentLoans(); + this.getPDImages(); + }; + PdQuestionCurrentLoansPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.currentLoans.dirty); + if (this.currentLoans.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + 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.lenderDataValue = _this.lenderData.slice(); + }); + 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) { + 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 }; + }); + //modifyCompanyList.push({'id':"0",'name':'Others','group_id':1}) + _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); + } + }); + var modifyApplicantList = []; + if (this.applicants.length > 0) { + // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); + modifyApplicantList = this.applicants.map(function (element) { + return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; + }); + // modifyApplicantList.push() + this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); + // 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) { + if (val == "Yes") { + this.addLoanDetails(); + } + }; + PdQuestionCurrentLoansPage.prototype.createLoanDetail = function (data) { + return this.fb.group({ + label: data == null ? [''] : [data.label], + loan_amount: data == null ? [''] : [data.loan_amount], + frequency: data == null ? [''] : [data.frequency], + other_frequency: data == null ? [''] : [data.other_frequency], + emi: data == null ? [''] : [data.emi], + loan_type: data == null ? [''] : [data.loan_type], + others_loan_type: data == null ? [''] : [data.others_loan_type], + loan_taken_by: data == null ? [''] : [data.loan_taken_by], + others_loan_taken: data == null ? [''] : [data.others_loan_taken], + lender: data == null ? [''] : [data.lender], + bankSearch: [''], + others_lender: data == null ? [''] : [data.others_lender], + original_tenure: data == null ? [''] : [data.original_tenure], + current_balance_tenure: data == null ? [''] : [data.current_balance_tenure], + elapsed_tenure: data == null ? [''] : [data.elapsed_tenure] + // 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) { + console.log(values); + var status; + if (values.length != 0 && values != null) { + status = values.filter(function (res) { return res.id == 0; }); + status = status.length > 0 ? true : false; + console.log(status); + this.others_loanAccess = status; + } + else { + this.others_loanAccess = false; + } + }; + PdQuestionCurrentLoansPage.prototype.checkTenure = function (details) { + var originalTenure = details.value.original_tenure; + // alert(originalTenure); + // if(originalTenure>=details.value.current_balance_tenure){ + // this.tentureErrorFlag=true + 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.setValue + // } + // else{ + // this.toast.pdTriggerappmessage("Current Tenure ") + // 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, flag) { + switch (flag) { + case 1: + var ElapsedValues = void 0; + console.log(details); + if (details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '') { + console.log("not null"); + if (details.value.current_balance_tenure == 0) { + details.controls['elapsed_tenure'].setValue(details.value.original_tenure); + } + if (details.value.current_balance_tenure <= details.value.original_tenure) { + console.log("validate"); + this.tentureErrorFlag = false; + ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure; + details.controls['elapsed_tenure'].setValue(ElapsedValues); + } + else { + //this.toast.pdTriggerappmessage("Oringinal Tenure Less than Current Balance Tenure") + this.tentureErrorFlag = true; + this.TenureFocus.nativeElement.focus(); + } + } + else { + this.tentureErrorFlag = false; + } + break; + case 2: + var balance = void 0; + console.log("case 2", details); + if (details.value.original_tenure != null && details.value.original_tenure != '' && details.value.elapsed_tenure != null && details.value.elapsed_tenure != '') { + if (details.value.elapsed_tenure == 0) { + details.controls['current_balance_tenure'].setValue(details.value.original_tenure); + } + if (details.value.elapsed_tenure <= details.value.original_tenure) { + this.tentureErrorFlag = false; + balance = details.value.original_tenure - details.value.elapsed_tenure; + console.log("ba", balance); + details.controls['current_balance_tenure'].setValue(balance); + } + else { + //this.toast.pdTriggerappmessage("Oringinal Tenure Less than Current Balance Tenure") + this.tentureErrorFlag = true; + // this.TenureFocus.nativeElement.focus(); + } + } + else { + this.tentureErrorFlag = false; + } + } + }; + 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) { + 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; + } + }; + PdQuestionCurrentLoansPage.prototype.submitCurrentloan = function (answerData) { + var _this = this; + console.log(answerData); + console.log("true", this.tentureErrorFlag); + var inde = []; + // answerData.loan_details.forEach((element,index)=>{ + // if(element.current_balance_tenure > element.original_tenure){ + // this.toast.pdTriggerappmessage("Oringinal Tenure Less than Current Balance Tenure") + // inde=index + // } + // }) + // console.log("index",inde); + // if(inde){ + // return + // } + if (this.tentureErrorFlag == true) { + // this.toast.pdTriggerappmessage("Original Tenure Less than Current Balance Tenure"); + this.toast.pdTriggerappmessage("Original Tenture is Lower"); + this.TenureFocus.nativeElement.focus(); + return; + } + var records = {}; + records.parent_pdid = this.pdDetails.parent_pd_id; + 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; + records.loan_details.forEach(function (val) { + delete val.bankSearch; + }); + console.log(' final records when save', records); + this.qustCat.saveForm(records).subscribe(function (data) { + if (data['dataStatus'] == true) { + //TO CHANGE THE FORM STATE + // this.currentLoans.markAsUntouched(); + _this.currentLoans.reset(_this.currentLoans.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + }); + }; + PdQuestionCurrentLoansPage.prototype.getcurrentLoans = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, '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']; + if (res['records'].loan_details !== undefined && res['records'].loan_details != null && res['records'].loan_details != '') { + currentLoanDetails.loan_details.forEach(function (val) { + val.bankSearch = ''; + }); + var result = Object.keys(res['records'].loan_details).map(function (key) { + return res['records'].loan_details[key]; + }); + console.log("resutl", result); + _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) { + //this.calculateTenure(res['records']) + 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'].patchValue(result); + } + } + } + else { + _this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan); + _this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks); + } + } + else { + _this.qustCat.getAssetsWithLoanFromBusiness(_this.pdid).subscribe(function (data) { + if (data.dataStatus == true) { + var AssetData = data.record; + 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, + other_owner: element.business_name_of_the_other_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, + other_owner: element.business_name_of_the_other_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, + other_owner: element.other_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 == 'Others' ? val.other_owner : e.name).split(','); + })); + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name; + } + if (val.mode == 1) { + var data_1; + var owner = "Owner Not Mentioned"; + val.details.forEach(function (v, index) { + data_1 = v.any_other_assets; + }); + if (val.owner_name.length > 0) { + owner = val.owner_name.map((function (e) { + // return e.name.split(',') + return (e.name == 'Others' ? val.other_owner : e.name).split(','); + })); + } + var description = data_1 != '' ? '( ' + data_1 + ' )' : ''; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; + } + if (val.mode == 2) { + var owner_1 = "Owner Not Mentioned"; + 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.owner_name.length > 0) { + owner_1 = val.owner_name.map((function (e) { + return (e.name == 'Others' ? val.other_owner : e.name).split(','); + })); + } + }); + var description = data_2 != '' ? '( ' + data_2 + ' )' : ''; + labelarray_1[index] = ' : ' + owner_1 + ' - ' + val.mode_name + description; + } + if (val.mode == 3) { + var data_3; + var owner = "Owner Not Mentioned"; + val.details.forEach(function (v, index) { + data_3 = v.manufacturer_model_vehicle; + }); + if (val.owner_name.length > 0) { + owner = val.owner_name.map((function (e) { + return (e.name == 'Others' ? val.other_owner : e.name).split(','); + })); + } + var description = data_3 != '' ? '( ' + data_3 + ' )' : ''; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; + } + if (val.mode == 4) { + var data_4; + var owner = "Owner Not Mentioned"; + val.details.forEach(function (v, index) { + data_4 = v.equipment_manufacturing_description; + }); + if (val.owner_name.length > 0) { + owner = val.owner_name.map((function (e) { + return (e.name == 'Others' ? val.other_owner : e.name).split(','); + })); + } + var description = data_4 != '' ? '( ' + data_4 + ' )' : ''; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; + } + if (val.mode == 6) { + var owner = "Owner Not Mentioned"; + if (val.owner_name.length > 0) { + owner = val.owner_name.map((function (e) { + return (e.name == 'Others' ? val.other_owner : e.name).split(','); + })); + } + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name; + } + if (val.mode == 7) { + var data_5; + var owner = "Owner Not Mentioned"; + 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.owner_name.length > 0) { + owner = val.owner_name.map((function (e) { + return (e.name == 'Others' ? val.other_owner : e.name).split(','); + })); + } + var description = data_5 != '' ? '( ' + data_5 + ' )' : ''; + labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; + var vals = owner + ' - ' + val.mode_name; + } + }); + 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 { + control.push(_this.createLoanDetail(null)); + } + } + }); + } + }); + }; + PdQuestionCurrentLoansPage.prototype.searchFun = function (control) { + var _this = this; + console.log(control); + var name = "bank"; + control.controls['bankSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_8_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.lenderDataValue = _this.constant.searchData(_this.lenderData, control.controls['bankSearch'].value, name); + }); + }; + /*IMAGE SECTION*/ + PdQuestionCurrentLoansPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionCurrentLoansPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionCurrentLoansPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionCurrentLoansPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionCurrentLoansPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionCurrentLoansPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionCurrentLoansPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + console.log("res", res); + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + console.log("Fail"); + _this.toast.pdTriggerappmessage('Fail'); + } + }, function (ERR) { + console.log(JSON.stringify(ERR)); + _this.toast.pdTriggerappmessage(JSON.stringify(ERR)); + }); + }; + PdQuestionCurrentLoansPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('others_loan_taken').value; + value.get('others_loan_taken').setValue(this.constant.sentenceCase(name)); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('balanceTenure'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) + ], PdQuestionCurrentLoansPage.prototype, "TenureFocus", void 0); + PdQuestionCurrentLoansPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-current-loans',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.html"*/'\n \n \n {{FormId.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \n \n
\n \n \n \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 Select\n Yes\n No\n \n \n \n
\n
\n
\n
Loan Details #{{i+1}} {{details.get(\'label\').value}}
\n \n \n \n Select\n {{types.loan_type_name}}\n \n\n \n \n \n \n \n \n {{"₹"}} {{amtInwords[i]}} Only\n \n \n \n \n \n \n \n \n \n Select\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 Select\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 Oringinal Tenure Less than Current Balance Tenure\n \n \n \n Oringinal Tenure Less than Elapsed Tenure\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\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:"/home/rajasekar/Desktop/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 */], + __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionCurrentLoansPage); + return PdQuestionCurrentLoansPage; +}()); + +//# sourceMappingURL=pd-question-current-loans.js.map + +/***/ }), + +/***/ 376: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __webpack_require__(26); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__providers_storage_storage__ = __webpack_require__(208); +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 PdQuestionLoansPage = (function () { + function PdQuestionLoansPage(navCtrl, navParams, fb, qustCat, aws, toast, constant, cameraProvider, loading, storagedb) { + var _this = this; + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.constant = constant; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.storagedb = storagedb; + 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 = []; + /** Subject that emits when the component has been destroyed. */ + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); + this.filteredBanks = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["ReplaySubject"](1); + this.imageDisplay = []; + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + this.FormId = this.navParams.get('FormId'); + this.pdDetails = this.navParams.get('pdDetails'); + console.log("pd", this.pdDetails); + this.applicants = this.pdDetails.applicat_details; + this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2 && appt.applicant_type != 3; }); + this.productAbbr = this.pdDetails.product_abbr; + this.subProductName = this.pdDetails.subproduct_name; + this.users = this.aws.getlocale(); + this.pdid = this.pdDetails.pd_id; + this.getDropdown(); + this.loanDetailsForm = this.fb.group({ + loan_amount: [''], + loan_tenure: [''], + sub_product: [''], + 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: [''], + filterCtrl: [''], + 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])], + }); + console.log(this.pdDetails); + //Setting Initial value from PD Master + if (this.pdDetails.loan_amount != null) { + this.loanDetailsForm.controls['loan_amount'].setValue(this.pdDetails.loan_amount); + this.loanAmtInWords = this.constant.convertNumberToWords(this.pdDetails.loan_amount); + } + if (this.pdDetails.fk_subproduct_id != null && this.pdDetails.fk_subproduct_id != '') { + this.loanDetailsForm.controls['sub_product'].setValue(this.pdDetails.fk_subproduct_id); + this.onChangeSubProduct(this.pdDetails.fk_subproduct_id); + } + 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; + } + this.loanDetailsForm.controls['filterCtrl'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.filterBank(); + }); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionLoansPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionLoansPage'); + this.getLoanDetails(); + this.getPDImages(); + }; + PdQuestionLoansPage.prototype.ngOnDestroy = function () { + this._onDestroy.next(); + this._onDestroy.complete(); + }; + PdQuestionLoansPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.loanDetailsForm.dirty); + if (this.loanDetailsForm.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + // this.localInsert(true) + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + PdQuestionLoansPage.prototype.filterBank = function () { + if (!this.dbmasters) { + return; + } + var search = this.loanDetailsForm.controls['filterCtrl'].value; + if (!search) { + this.dbmasters = this.m_btLenderList; + // this.dbmasters=this.dbmasters.sort((a,b)=>{ + // if(a.lender_name>b.lender_name){ + // return 1; + // } + // if(a.lender_name{ + // if(a.lender_name>b.lender_name){ + // return 1; + // } + // if(a.lender_name -1; }) + //this.dbmasters.filter(master => master.lender_name==search) + ); + // console.log("mbtlender",this.m_btLenderList) + // console.log("Filtered banks",this.filteredBanks) + }; + 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.dbmasters = _this.m_btLenderList; + _this.dbmasters = _this.dbmasters.sort(function (a, b) { + if (a.lender_name > b.lender_name) { + return 1; + } + if (a.lender_name < b.lender_name) { + return -1; + } + return 0; + }); + _this.filteredBanks.next(_this.dbmasters.slice()); + }); + this.qustCat.getEndUseForLoan(this.pdid, this.pdDetails.fk_subproduct_id).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) { + console.log('data[records]', data['records']); + var that_1 = _this; + _this.m_mortageTypeProperty = data['records'].filter(function (data) { + if (that_1.pdDetails.product_abbr != "LAP") { + if (data.group_name == that_1.pdDetails.product_abbr && data.isactive == 1) { + return data; + } + } + else if (that_1.pdDetails.product_abbr == "LAP") { + if (data.group_name == that_1.productAbbr && data.sub_group_name == that_1.subProductName && data.isactive == 1) { + return data; + } + else if (data.group_name == that_1.pdDetails.product_abbr && data.sub_group_name == null && data.isactive == 1) { + return data; + } + } + }); + // this.mortage_type(this.propertyType); + } + console.log('this.m_mortageTypeProperty', _this.m_mortageTypeProperty); + }); + 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) { + console.log('mortage_value', mortage_value); + console.log('this.m_mortageTypeProperty', this.m_mortageTypeProperty); + var mortagetypes = this.m_mortageTypeProperty.filter(function (mor) { return mor.mortage_property_id == mortage_value; })[0]; + var property_name = mortagetypes.property_name.replace(/\s/g, "").toLowerCase(); + if (property_name == 'others(pleasespecify)' || property_name == 'others') { + 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.onChangeSubProduct = function (subproduct) { + var _this = this; + this.qustCat.getEndUseForLoan(this.pdid, subproduct).subscribe(function (data) { + _this.m_endUseForLoan = data['records'].filter(function (data) { return data.isactive == 1; }); + }); + }; + 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.parent_pdid = this.pdDetails.parent_pd_id; + 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; + records.sub_product = this.loanDetailsForm.controls['sub_product'].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) { + if (data['dataStatus'] == true) { + //TO CHANGE THE FORM STATE + // this.loanDetailsForm.markAsUntouched(); + _this.loanDetailsForm.reset(_this.loanDetailsForm.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + else { + _this.toast.pdTriggerappmessage('Error'); + } + // this.notifier.notify('success', 'Saved Successfully.'); + }); + // }else + // { + // this.toast.pdTriggerappmessage('Enter The All Field'); + // } + }; + PdQuestionLoansPage.prototype.getLoanDetails = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, '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['sub_product'].setValue(loanDetails_1.sub_product); + _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.own_contribution); + // if(loanDetails.own_contribution) + // { + // this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution); + // } + //this.loanDetailsForm.controls['source'].setValue(loanDetails.source); + if ((_this.isContribution == true) && (loanDetails_1.is_transfer != 'yes')) { + _this.loanDetailsForm.controls['own_contribution'].setValue(''); + _this.loanDetailsForm.controls['other_source'].setValue(''); + _this.loanDetailsForm.controls['source'].setValue(''); + } + else { + if (_this.isContribution == false && 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['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(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 && loanDetails_1.property_type != '') { + _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(); + } + }; + /*IMAGE SECTION*/ + PdQuestionLoansPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionLoansPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionLoansPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionLoansPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionLoansPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionLoansPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionLoansPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + // this.imageDisplay.push(this.imageBucket) + // console.log("length",this.imageDisplay.length) + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionLoansPage.prototype.localInsert = function (option) { + var _this = this; + var datas = this.loanDetailsForm.value; + datas.pd_id = this.pdDetails.pd_id; + datas.form_id = this.FormId.form_id; + datas.active = option; + // let form_id=this.FormId.form_id + // let recors={'records':datas} + this.storagedb.insertData(datas).then(function (res) { + var alert = _this.toast.setAlert('data', JSON.stringify(res)); + alert.present(); + console.log(res); + }); + }; + PdQuestionLoansPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-loans',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-loans/pd-question-loans.html"*/'\n\n \n \n {{FormId.form_name}}\n \n \n \n \n \n Form\n \n \n Pictures\n \n \n \n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \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 Loan Tenure applied for?\n \n \n \n \n Select\n {{sub.name}} ( {{sub.abbr}} )\n \n \n \n \n \n {{ enduse.enduse_of_loan }}\n \n \n \n \n \n \n \n \n Select\n Yes\n No\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 {{"₹"}} {{topUpAmtInWords}} Only\n \n \n \n \n {{ list.end_use_of_topup }}\n \n \n \n \n \n
\n \n \n {{"₹"}} {{ownContributionInWords}} Only\n \n \n \n \n \n {{ sour.name }}\n \n \n \n \n \n \n \n\n \n \n \n
\n \n \n {{"₹"}} {{emiAmtInWords}} Only\n \n
\n \n
\n \n \n

Details of Property being Mortgaged\n

\n \n \n \n \n Select\n {{ typeprop.property_name }}\n \n \n \n \n \n \n \n \n \n {{val.name}}\n \n \n \n \n \n \n \n \n Select\n {{ status.name }} \n \n \n \n \n \n \n \n \n \n {{"₹"}} {{emvAmtInWords}} Only\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'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], + __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_11__providers_storage_storage__["a" /* StorageProvider */]]) + ], PdQuestionLoansPage); + return PdQuestionLoansPage; +}()); + +//# sourceMappingURL=pd-question-loans.js.map + +/***/ }), + +/***/ 377: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __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); +}; + + + + + + + + + + + +/** + * 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, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.cons = cons; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.limitCaseFlag = []; + this.amtInwords = []; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_7_rxjs__["Subject"](); + this.m_btLenderListValue = []; + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + //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(); + // this.bankDetails.controls['bankitems'].valueChanges + // .pipe(takeUntil(this._onDestroy)) + // .subscribe(()=>{ + // this.filterBank(); + // }) + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionBankingPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBankingPage'); + this.getPDImages(); + }; + PdQuestionBankingPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.bankDetails.dirty); + if (this.bankDetails.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Form is Modified", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + PdQuestionBankingPage.prototype.checkImage = function () { + var value; + if (this.imageDisplay.length > 0) { + // return new Promise((resolve,reject)=>{ + var alert_1 = this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert_1.present(); + alert_1.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + // reject(); + value = false; + } + else { + // resolve(); + value = true; + } + }); + // }) + } + return value; + }; + PdQuestionBankingPage.prototype.searchFun = function (control) { + var _this = this; + control.controls['filterCtrl'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_8_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.filterBank(control); + }); + }; + PdQuestionBankingPage.prototype.filterBank = function (event) { + if (!this.m_btLenderListValue) { + return; + } + var search = event.controls['filterCtrl'].value; + if (!search) { + this.m_btLenderListValue = this.m_btLenderList.slice(); + return; + } + else { + search = search.toLowerCase(); + this.m_btLenderListValue = this.m_btLenderList.filter(function (val) { return val.lender_name.toLowerCase().indexOf(search) > -1; }); + } + }; + 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 && data.lender_type == 1; }); + _this.m_btLenderListValue = _this.m_btLenderList.slice(); + } + }); + 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: [''], + filterCtrl: [''], + 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; + answerData.bankitems.forEach(function (element) { + //console.log("items",element.filterCtrl); + // if(element.filterCtrl){ + // console.log("enter",element.filterCtrl) + delete element.filterCtrl; + // } + }); + // console.log("logs",answerData) + var records = {}; + records.parent_pdid = this.pdDetails.parent_pd_id; + 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.bankDetails.dirty=false; + // this.bankDetails.markAsDirty(); + // console.log("Dir",this.bankDetails.markAsDirty()) + // console.log("pristine",this.bankDetails.markAsPristine()); + // console.log("Touched",this.bankDetails.markAsTouched()); + //TO CHANGE THE FORM STATE + // this.bankDetails.markAsUntouched(); + // console.log("touched",this.bankDetails.touched) + // console.log("untouched",this.bankDetails.untouched) + // console.log("pristine",this.bankDetails.pristine) + _this.bankDetails.reset(_this.bankDetails.value); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + }); + }; + PdQuestionBankingPage.prototype.retiveBankDetails = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, '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) { + datas.filterCtrl = ''; + _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(); + } + }); + }; + /*IMAGE SECTION*/ + PdQuestionBankingPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionBankingPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionBankingPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionBankingPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionBankingPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionBankingPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_2 = _this.toast.setAlertForDocName(); + alert_2.present(); + alert_2.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionBankingPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionBankingPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('other_applicant').value; + value.get('other_applicant').setValue(this.cons.sentenceCase(name)); + }; + PdQuestionBankingPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-banking',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-banking/pd-question-banking.html"*/'\n\n \n \n \n Personal Banking\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \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 {{val.name | titlecase}} \n \n \n \n
\n \n \n \n
\n \n \n \n \n \n \n \n \n \n Select\n {{ btLen.lender_name }}\n \n \n \n
\n \n \n \n
\n \n\n \n Select\n {{bankacc.name}}\n\n \n\n \n \n
\n
\n \n\n \n Select\n Yes\n No\n NA\n \n \n \n
\n
\n In case of OD / CC account, What is the Limit \n \n {{"₹"}} {{amtInwords[i]}} only\n \n
\n\n \n \n \n \n \n \n \n \n \n
\n \n

Number of Years / Months since account was started

\n \n \n    \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\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:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], + __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionBankingPage); + return PdQuestionBankingPage; +}()); + +//# sourceMappingURL=pd-question-banking.js.map + +/***/ }), + +/***/ 378: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __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); +}; + + + + + + + + + + + +/** + * Generated class for the PdQuestionFamilyPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionFamilyPage = (function () { + function PdQuestionFamilyPage(navCtrl, navParams, fb, qustCat, aws, toast, cons, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.cons = cons; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.earningStatus = [{ + type: 'Earning', + id: 1 + }, { + type: 'Non Earning', + id: 2 + }]; + this.cityData = []; + this.pincodeData = []; + this.FamilyMemberAsLabel = []; + this.selectPerson = []; + this.apiFamilyMembers = []; + //isReadOnly: any=[]; + this.RentAmount = []; + this.IncomePerMonth = []; + // cons: any; + this.cityDataValue = []; + this.stateDataValue = []; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); + this.pincodeDataValue = []; + this.relationDataValue = []; + this.imageDisplay = []; + this.imageBucket = []; + this.tab = '0'; + this.titleList = []; + this.complete_status = false; + this.prevFamilyMembersCtrlLength = 0; + this.currFamilyMembersCtrlLength = 0; + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionFamilyPage.prototype.ionViewDidLoad = function () { + console.log("ionViewDidLoad PdQuestionFamilyPage"); + this.getFamilyData(); + this.getPDImages(); + }; + PdQuestionFamilyPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.familyForm.dirty); + if (this.familyForm.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + 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: [''], + residence_city: [''], + citySearch: [''], + residence_state: [''], + stateSearch: [''], + pinSearch: [''], + residence_pin: [''], + residence_other_pincode: [''], + residence_No_of_years: [''], + residence_ownership: [''], + 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.inWords(val.rent, index, 2); + } + _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, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + residence_place: [val.residence_place], + residence_city: [val.residence_city], + citySearch: [''], + residence_state: [val.residence_state], + stateSearch: [''], + pinSearch: [''], + residence_pin: [val.residence_pin], + residence_other_pincode: [val.residence_other_pincode], + residence_No_of_years: [val.residence_No_of_years], + 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: [''], + 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.inWords(vals.earning_gross_income_per_month, index, 1); + } + var datas = _this.fb.group({ + family_member_salutation: [vals.family_member_salutation || null], + family_member_name: [vals.family_member_name || null], + family_member_relationship: [vals.family_member_relationship || null], + relationSearch: [''], + family_member_age: [vals.family_member_age || null], + family_member_earning_status: [vals.family_member_earning_status || null], + earning_segment: [vals.earning_segment || null], + earning_if_others_segment: [vals.earning_if_others_segment || null], + earning_gross_income_per_month: [vals.earning_gross_income_per_month || null], + earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null], + earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null], + non_earning_occupation: [vals.non_earning_occupation || null], + non_earning_if_others: [vals.non_earning_if_others || null], + non_earning_if_schoolorcollege: [vals.non_earning_if_schoolorcollege || null], + non_earning_if_retired_from: [vals.non_earning_if_retired_from || null], + }); + control.push(datas); + }); + }; + /*return this.fb.group({ + family_member_name:[''], + family_member_relationship:[], + family_member_age:[], + family_member_earning_status:[''], + //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_salutation: [''], + family_member_name: [''], + family_member_relationship: [''], + relationSearch: [''], + family_member_age: [''], + family_member_earning_status: [''], + earning_segment: [''], + earning_if_others_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_schoolorcollege: [''], + non_earning_if_retired_from: [''], + }); + }; + 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.relationDataValue = _this.relationData.slice(); + } + }); + 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; }); + _this.stateDataValue = _this.stateData.slice(); + } + }); + this.qustCat.getcommondrop('TITLES').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.titleList = res['records'].filter(function (com) { return com.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.cityDataValue[i] = _this.cityData[i].slice(); + _this.pincodeData[i] = data.records.pincode; + _this.pincodeDataValue[i] = _this.pincodeData[i].slice(); + } + }); + }; + 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.setValidation = function (control) { + console.log(control); + if (control.controls['family_member_earning_status'].value == 1) { + control.controls['non_earning_occupation'].clearValidators(); + control.controls['non_earning_occupation'].updateValueAndValidity(); + } + if (control.controls['family_member_earning_status'].value == 2) { + control.controls['non_earning_occupation'].setValidators(__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])); + control.controls['non_earning_occupation'].updateValueAndValidity(); + } + }; + PdQuestionFamilyPage.prototype.savepdfamily = function (answerData) { + var _this = this; + if (!this.familyForm.valid) { + this.toast.pdTriggerappmessage("Please Fill all the Mandatory Fields"); + return; + } + var records = {}; + records = this.familyForm.value; + Object.keys(records).forEach(function (key) { return (records[key] == null) && delete records[key]; }); + records.parent_pdid = this.pdDetails.parent_pd_id; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.family_details.forEach(function (parVal) { + console.log("par", parVal); + delete parVal.stateSearch; + delete parVal.citySearch; + delete parVal.pinSearch; + parVal.family_members_details.forEach(function (childVal) { + console.log("childval", parVal); + delete childVal.relationSearch; + }); + }); + this.qustCat.saveForm(records).subscribe(function (res) { + //TO CHANGE THE FORM STATE + _this.familyForm.reset(_this.familyForm.value); + _this.toast.pdTriggerappmessage("Record Saved Successfully"); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + }, 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; + this.currFamilyMembersCtrlLength = control.length; + var i = 0; + for (i; i < this.prevFamilyMembersCtrlLength; i++) { + console.log(i, this.prevFamilyMembersCtrlLength); + control.removeAt(i); + } + // while(index < this.prevFamilyMembersCtrlLength) + // { + // } + this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength; + console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); + 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) { + this.prevFamilyMembersCtrlLength = data.length; + console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); + 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_salutation': '', + '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 { + this.prevFamilyMembersCtrlLength = 1; + console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); + 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_salutation: [val.family_member_salutation], + family_member_name: [val.family_member_name], + family_member_relationship: [val.family_member_relationship], + relationSearch: [''], + family_member_age: [val.family_member_age], + family_member_earning_status: [val.family_member_earning_status], + earning_segment: [val.earning_segment], + earning_if_others_segment: [val.earning_if_others_segment], + earning_gross_income_per_month: [val.earning_gross_income_per_month], + earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business], + earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business], + non_earning_occupation: [val.non_earning_occupation], + non_earning_if_others: [val.non_earning_if_others], + non_earning_if_schoolorcollege: [val.non_earning_if_schoolorcollege], + non_earning_if_retired_from: [val.non_earning_if_retired_from], + }); + }; + PdQuestionFamilyPage.prototype.getFamilyData = function () { + var _this = this; + this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(function (res) { + // console.log(res); + if (res['dataStatus'] == true) { + // console.log('res.record.from_general_form',res.record.from_general_form,res['record']); + 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); + // console.log('Temparr',Temparr); + } + 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 = { 'parent_pdid': this.pdDetails.parent_pd_id, '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) { + //FOR REMOVING CONTROL + res['records'].family_details.forEach(function (parVal) { + parVal.stateSearch = ''; + parVal.citySearch = ''; + parVal.pinSearch = ''; + parVal.family_members_details.forEach(function (childVal) { + delete childVal.relationSearch; + }); + }); + _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, i, flag) { + switch (flag) { + case 1: + this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); + break; + case 2: + this.RentAmount[i] = this.cons.convertNumberToWords(e); + 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, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + residence_place: [val.residence_place] + }); + } + }; + PdQuestionFamilyPage.prototype.searchFun = function (control, i, option) { + var _this = this; + console.log("control", control); + if (option == 'city') { + // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name) + control.controls['citySearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.SearchCity(control.controls['citySearch'].value, i); + }); + } + if (option == 'state') { + console.log("state"); + control.controls['stateSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.searchState(control.controls['stateSearch'].value); + }); + } + if (option == 'pin') { + console.log("pin"); + control.controls['pinSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.searchPin(control.controls['pinSearch'].value, i); + }); + } + }; + PdQuestionFamilyPage.prototype.searchPin = function (val, index) { + if (!this.pincodeData[index]) { + return; + } + var searchValue = val; + if (!searchValue) { + this.pincodeDataValue[index] = this.pincodeData[index].slice(); + return; + } + else { + searchValue = searchValue.toLowerCase(); + } + this.pincodeDataValue[index] = this.pincodeData[index].filter(function (value) { return value.pincode.toLowerCase().indexOf(searchValue) > -1; }); + }; + PdQuestionFamilyPage.prototype.SearchCity = function (val, i) { + // let cityData= + console.log(this.cityData[i]); + if (!this.cityData[i]) { + return; + } + var searchValue = val; + if (!searchValue) { + this.cityDataValue[i] = this.cityData[i].slice(); + return; + } + else { + searchValue = searchValue.toLowerCase(); + } + this.cityDataValue[i] = + this.cityData[i].filter(function (val) { return val.city_name.toLowerCase().indexOf(searchValue) > -1; }); + console.log("City Data value", this.cityDataValue[i]); + // this.filteredCity.next( + // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1) + // ) + }; + PdQuestionFamilyPage.prototype.searchState = function (val) { + console.log("statedata"); + if (!this.stateData) { + return; + } + var searchVal = val; + if (!searchVal) { + // this.filteredState.next(this.stateList.slice()) + this.stateDataValue = this.stateData.slice(); + return; + } + else { + searchVal = searchVal.toLowerCase(); + } + this.stateDataValue = this.stateData.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; }); + // this.filteredState.next( + // this.stateList.filter(res => res.state_name.toLowerCase().indexOf(searchVal) > -1) + // ) + }; + PdQuestionFamilyPage.prototype.searchRelation = function (val) { + var _this = this; + // val=val.controls['relationSearch'].value + console.log("val", val); + val.controls['relationSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.relationDataValue = _this.cons.searchData(_this.relationData, val.controls['relationSearch'].value, ''); + }); + }; + PdQuestionFamilyPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionFamilyPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionFamilyPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionFamilyPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionFamilyPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionFamilyPage.prototype.capture = function () { + //FOR CAPTURING PICS + var _this = this; + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionFamilyPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionFamilyPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('family_member_name').value; + value.get('family_member_name').setValue(this.cons.sentenceCase(name)); + }; + PdQuestionFamilyPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-family',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-family/pd-question-family.html"*/'\n\n \n \n {{FormId.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n \n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n\n
\n
\n \n \n \n

Family Details {{i+1}}

\n \n
\n \n \n \n Select\n {{pd.applicant_name | titlecase}}\n \n \n Applicant\n is Required\n \n
\n \n \n \n \n
Residence Details of {{FamilyMemberAsLabel[i]}}
\n \n \n \n \n \n \n \n Select\n \n {{s.name}}\n \n \n \n \n \n \n \n \n \n \n Select\n \n {{c.city_name}}\n \n \n \n \n \n \n \n \n \n \n \n \n \n Select\n \n {{p.pincode}}\n \n \n \n \n \n \n \n \n \n \n \n Select\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 Details # {{ix+1}} Of {{FamilyMemberAsLabel[i]}}\n \n \n Select\n {{t1.name}}\n \n \n \n \n \n \n \n \n \n \n \n \n Select\n {{relation.name}}\n \n \n \n \n \n \n \n \n Select\n {{earning.type}}\n \n \n \n
\n
Earning Details
\n \n \n Select\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 Select\n \n {{occupation.name}}\n \n \n \n Non Earning Occupation\n is 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
\n\n\n
\n\n \n\n\n\n
\n \n \n \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:"/home/rajasekar/Desktop/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 */], + __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionFamilyPage); + return PdQuestionFamilyPage; +}()); + +//# sourceMappingURL=pd-question-family.js.map + +/***/ }), + +/***/ 379: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_camera__ = __webpack_require__(128); +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 {CacheService} from 'ionic-cache-observable' +// import { Observable } from 'rxjs/Observable'; +/** + * Generated class for the PdQuestionAssestsPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssestsPage = (function () { + // data:Observable ; + function PdQuestionAssestsPage(navCtrl, navParams, fb, aws, qustCat, toast, constprovider, camera, alert) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.constprovider = constprovider; + this.camera = camera; + this.alert = alert; + this.tab = '0'; + this.m_any_asset_loan_type = [{ 'value': "yes", 'viewValue': "Yes" }, + { 'value': "no", 'viewValue': "No" }, + { 'value': "nan", 'viewValue': "NA" }]; + this.m_vehicle_type = []; + this.m_uom_type = []; + this.FormList = false; + this.loadDetails = true; + this.PremiumPaidInwords = []; + this.SumAssuredInwords = []; + this.AmtInvestInwords = []; + this.ApproxInwords = []; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.isOtherOwner = []; + this.currentYear = new Date().getFullYear(); + this.imageBucket = []; + this.imageDisplay = []; + this.complete_status = false; + 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([]), + assets_form_remark: [''] + }); + this.getAssetDetails(); + this.getdropList(); + this.loadDetails = true; + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionAssestsPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssestsPage'); + console.log("Form", this.AssetsDetailsForm); + this.getPDImages(); + }; + // ionViewWillLeave(){ + // console.log(this.AssetsDetailsForm.dirty); + // if(this.AssetsDetailsForm.dirty){ + // return; + // } + // } + PdQuestionAssestsPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.AssetsDetailsForm.dirty); + if (this.AssetsDetailsForm.dirty) { + // console.log("dirty",this.AssetsDetailsForm.dirty) + //return false; + // let val=this.toast.setAlert('Form is Modified','Are you sure want to Go Back'); + // console.log("v",val) + // if(val==1){ + // } + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Form is Modified", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + PdQuestionAssestsPage.prototype.getdropList = function () { + var _this = this; + //GETTING Asset Type + 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; }); + } + }); + //GETTING Property Type; + this.qustCat.getcommondrop('PROPERTIES').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_propertyType = res['records'].filter(function (data) { return data.isactive == 1; }); + } + }); + //GETTING Investment Type; + this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_investmentType = res['records'].filter(function (data) { return data.isactive == 1; }); + } + }); + //GETTING Insurance Type; + this.qustCat.getcommondrop('INSURANCETYPE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_insuranceType = res['records'].filter(function (data) { return data.isactive == 1; }); + } + }); + //GETTING Frequency Type; + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.m_freqOfPurchase = res['records'].filter(function (data) { return data.isactive == 1; }); + } + }); + //GETTING Relationship; + this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.m_relation = data['records'].filter(function (data) { return data.isactive == 1; }); + } + }); + //GETTING VEHICLE TYPE; + this.qustCat.getcommondrop('VEHICLETYPE').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.m_vehicle_type = data['records'].filter(function (data) { return data.is_active == 1; }); + } + }); + //GETTING UOM List; + this.qustCat.getcommondrop('UOM').subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.m_uom_type = data['records'].filter(function (data) { return data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2; }); + } + }); + //GETTING Company And Applicant List. + this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { + if (data['dataStatus'] == true) { + _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 }); + // 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, __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: [''], + 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: [''], + address_of_the_property: [''], + describe_of_the_property_asset: [''], + area_covered_by_this_property: [''], + uom_of_the_property: [''], + other_uom: [''] + }); + }; + PdQuestionAssestsPage.prototype.loadConsumerDurableDescription = function () { + return this.fb.group({ + consumer_durable_description: [null] + }); + }; + PdQuestionAssestsPage.prototype.loadEquipmentManufacturingDescription = function () { + return this.fb.group({ + equipment_manufacturing_description: [''] + }); + }; + 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_vehicle: [''], + vehicle_type: [''], + other_vehicle_type: [''] + }); + }; + 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], + address_of_the_property: [data.address_of_the_property], + describe_of_the_property_asset: [data.describe_of_the_property_asset], + area_covered_by_this_property: [data.area_covered_by_this_property], + uom_of_the_property: [data.uom_of_the_property], + other_uom: [data.other_uom] + }); + }; + 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.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], + vehicle_type: [data.vehicle_type], + other_vehicle_type: [data.other_vehicle_type] + }); + }; + 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.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, __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)])], + emi: [data.emi || 0], + }); + }; + PdQuestionAssestsPage.prototype.saveAssetDetails = function (answerData) { + var _this = this; + if (!this.AssetsDetailsForm.dirty) { + this.toast.pdTriggerappmessage("Modified" + ' ' + this.AssetsDetailsForm.dirty); + return; + } + 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.parent_pdid = this.pdDetails.parent_pd_id; + 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) { + //TO CHANGE THE FORM STATE + _this.AssetsDetailsForm.reset(_this.AssetsDetailsForm.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + }); + }; + // To Fetch The Asset Value; + PdQuestionAssestsPage.prototype.getAssetDetails = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, '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) { + assetArray.forEach(function (val, index) { + 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, + emi: val.emi, + }; + var Avaliablity = 1; + if (val.name_of_the_owner.length > 0) { + val.name_of_the_owner.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity = option.id; + } + }); + } + _this.isOtherOwner[index] = Avaliablity == 0 ? true : false; + var control = _this.AssetsDetailsForm.controls['assets_details']; + control.push(_this.initDetailsWithdata(vals)); + _this.inWords(+val.approximate_market_value, index, 4); + _this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length - 1); + // this.setRequiredValidation(val.name_of_the_owner, index, '', 4); + }); + } + _this.apiLoadFinish = true; + //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray); + } + else { + _this.apiLoadFinish = true; + _this.addAsset(1); + // this.addAsset(2); + } + }); + }; + PdQuestionAssestsPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionAssestsPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionAssestsPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionAssestsPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionAssestsPage.prototype.setAssetsDetailsWithData = function (assets_details_mode, datas, i) { + var _this = this; + var val = i; + 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 }; + }); + 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, + 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset, + 'uom_of_the_property': datas.uom_of_the_property, + 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom }; + }); + 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, + 'vehicle_type': datas.vehicle_type, + 'other_vehicle_type': datas.other_vehicle_type }; + }); + 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.inWords(+datas.premium_paid, i, 1); + _this.inWords(+datas.sum_assured, i, 2); + }); + 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.inWords(+datas.amount_of_invest, i, 3); + 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; + } + 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.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 2: + this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 3: + this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 4: + this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e); + break; + default: + break; + } + }; + PdQuestionAssestsPage.prototype.calculateVintagePurchase = function (value, controlKey, type) { + if (type == 1) { } + else if (type == 2) { } + else if (type == 3) { + var control = this.AssetsDetailsForm.controls['assets_details']; + control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : ''); + } + else if (type == 4) { + var control = this.AssetsDetailsForm.controls['assets_details']; + value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue(''); + value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue(''); + } + }; + PdQuestionAssestsPage.prototype.setRequiredValidation = function (value, ParInx, ChdInx, flag) { + var ParCtrls = this.AssetsDetailsForm.controls.assets_details; + var ChdCtrls = ParCtrls.controls[ParInx]; + if (flag == 4) { + var Avaliablity_1 = 1; + if (value.length > 0) { + value.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity_1 = option.id; + } + }); + } + if (Avaliablity_1 == 0) { + // ChdCtrls.controlsother_owner.setValidators([Validators.required]); + this.isOtherOwner[ParInx] = true; + } + else if (Avaliablity_1 == 1) { + ChdCtrls.controls.other_owner.setValue(''); + // ChdCtrls.controls.other_owner.clearValidators(); + this.isOtherOwner[ParInx] = false; + } + // ChdCtrls.controls.other_owner.updateValueAndValidity(); + } + }; + PdQuestionAssestsPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionAssestsPage.prototype.savePhoto = function () { + var _this = this; + var num_of_images = (this.imageBucket.length + 1) + (this.imageDisplay.length + 1); + console.log("num of images", num_of_images); + if (num_of_images <= 10) { + this.camera.getPicture({ + quality: 100, + destinationType: this.camera.DestinationType.DATA_URL, + targetWidth: 500, + targetHeight: 600, + correctOrientation: true + }).then(function (imageData) { + _this.base64 = 'data:image/png;base64,' + imageData; + _this.imageBucket.push({ 'image': _this.base64, 'Name': '' }); + // this.imageDisplay.push({'image':this.base64,'Name':''}) + _this.getImageName(_this.imageBucket.length - 1); + }, function (err) { + //alert("error"); + }); + this.tab = '1'; + // this.content.scrollToBottom(); + // let dimensions = this.content.getContentDimensions(); + // this.content.scrollTo(0, dimensions.contentHeight+100, 100); + // this.inputFocus.setFocus(); + } + else { + this.toast.pdTriggerappmessage("You are reached the image Limit. To Capture new one Delete the Previous image"); + } + }; + PdQuestionAssestsPage.prototype.getImageName = function (index) { + var _this = this; + console.log("index", index); + var alert = this.alert.create({ + title: 'Document Name', + message: 'Please Enter the Document Name', + cssClass: 'prompt_alert', + inputs: [ + { + name: 'Name', + //value:this.imageBucket[index].Name + placeholder: 'Document Name' + } + ], + buttons: [ + { + text: 'Submit', + handler: function (data) { + console.log(data.Name); + _this.imageBucket[index].Name = data.Name; + alert.dismiss; + } + } + ] + }); + alert.present(); + //this.inputFocus.setFocus(); + }; + // al(){ + // this.toast.pdTriggerappmessage("touched"); + // } + PdQuestionAssestsPage.prototype.sendImage = function () { + var _this = this; + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionAssestsPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('other_owner').value; + value.get('other_owner').setValue(this.constprovider.sentenceCase(name)); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('focusName'), + __metadata("design:type", Object) + ], PdQuestionAssestsPage.prototype, "inputFocus", void 0); + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('picContent'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) + ], PdQuestionAssestsPage.prototype, "content", void 0); + PdQuestionAssestsPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assests',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assests/pd-question-assests.html"*/'\n \n \n {{FormId.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n
\n \n \n \n No Documents Found\n \n \n \n \n
\n \n\n \n \n
\n
\n
\n
\n \n
\n
\n\n \n
\n \n \n
\n \n\n \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 Select\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 Select\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 Select\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 Select\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 {{"₹"}} {{PremiumPaidInwords[s]}} Only\n \n
\n
\n \n \n Select\n {{ freqn.name }}\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 Select\n {{ ins_type.name }}\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 {{"₹"}} {{ApproxInwords[i]}} Only\n \n
\n
\n
\n
\n \n \n \n \n \n {{val.name | titlecase}}\n \n \n \n \n \n \n \n
\n \n \n \n
\n \n\n \n Age of Asset in Years\n \n \n\n \n \n
\n \n Purchase Year\n \n \n \n
\n
\n \n \n \n \n \n

Is there a Loan Existing Against this Assets?

\n \n \n YES\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 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'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_7__ionic_native_camera__["a" /* Camera */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */]]) + ], PdQuestionAssestsPage); + return PdQuestionAssestsPage; +}()); + +//# sourceMappingURL=pd-question-assests.js.map + +/***/ }), + +/***/ 380: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__ = __webpack_require__(209); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_loading__ = __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); +}; + + + + + + + + + + +/** + * 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, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustCat = qustCat; + this.aws = aws; + this.toast = toast; + this.constant = constant; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.incomeEarnedBy = []; + this.amtInWords = []; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.applicants = []; + this.isOrganisationOwner = []; + this.imageDisplay = []; + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + this.pdDetails = this.navParams.get('pdDetails'); + this.pdid = this.pdDetails.pd_id; + this.FormId = this.navParams.get('FormId'); + this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; + console.log('this.customer_segment_abbr', this.customer_segment_abbr); + this.applicants = this.pdDetails.applicat_details.filter(function (val) { return val.pd_co_applicant_id != 0; }); + //this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': "Others"}) + this.getFrequency(); + this.users = this.aws.getlocale(); + // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=> + // { + // this.one = res; + // if(this.one.dataStatus == true) + // { + // this.one = this.one.records.template_forms; + // let one = this.one.records.template_forms.filter(val=>val.form_id == '17') + // console.log(this.one,one); + // } + // }); + 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()) + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionOtherIncomePage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionOtherIncomePage'); + this.getOtherIncome(); + this.getPDImages(); + }; + PdQuestionOtherIncomePage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.otherIncomeForm.dirty); + if (this.otherIncomeForm.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + 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 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 }); + } + console.log("company&Applicant", _this.mergeCompanyApplicant); + }); + var master_name = 'FREQUENCY'; + this.qustCat.getcommondrop(master_name).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.frequencyData = data['records'].filter(function (fre) { return fre.isactive == 1; }); + } + }); + this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.sourceIncome = res['records']; + if (_this.customer_segment_abbr == 'SE-RI') { + var inx = _this.sourceIncome.map(function (data) { return data.name; }).indexOf("Rental Income"); + /** -X- Please NOTE THIS : + * inx is '-1' -> this will remove the last item from array + * so that If Condition is given. */ + if (inx !== -1) { + _this.sourceIncome.splice(_this.sourceIncome.map(function (data) { return data.name; }).indexOf("Rental Income"), 1); + } + } + } + }); + }; + PdQuestionOtherIncomePage.prototype.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + PdQuestionOtherIncomePage.prototype.getOtherOrganisationOwner = function (value, i) { + //console.log('value',value,'I',i); + var Ctrls = this.otherIncomeForm.controls['income_details']; + console.log('ParCtrls', Ctrls); + var ChdCtrls = Ctrls.controls[i]; + // console.log('ChdCtrls',ChdCtrls); + // return; + var Avaliablity = 1; + console.log('val', value); + if (value.length > 0) { + value.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity = option.id; + } + }); + } + if (Avaliablity == 0) { + // console.log('if Avaliablity',Avaliablity); + console.log("chld", ChdCtrls); + ChdCtrls.controls.others_income_earned_by.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + this.isOrganisationOwner[i] = true; + } + else if (Avaliablity == 1) { + // console.log('else Avaliablity',Avaliablity); + // console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]); + ChdCtrls.controls.others_income_earned_by.setValue(''); + ChdCtrls.controls.others_income_earned_by.clearValidators(); + this.isOrganisationOwner[i] = false; + // console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]); + } + ChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); + }; + PdQuestionOtherIncomePage.prototype.inWords = function (val, i) { + this.amtInWords[i] = this.constant.convertNumberToWords(val.target.value); + }; + PdQuestionOtherIncomePage.prototype.Toview = function () { + // alert('Rental Income Details - Is inprogress'); + // here Hardcoded; + this.otherIncomeForm.reset(this.otherIncomeForm.value); + var RIFormDtls = { 'form_id': 17, 'form_name': 'Rental Verification' }; + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__["a" /* PdQuestionRentalDashPage */], { 'FormId': RIFormDtls, 'pdDetails': this.pdDetails }); + }; + PdQuestionOtherIncomePage.prototype.submitOtherIncome = function (answerData) { + var _this = this; + var records = {}; + records.parent_pdid = this.pdDetails.parent_pd_id; + records.pdid = this.pdDetails.pd_id; + records.formid = this.FormId.form_id; + records.fk_createdby = this.users; + records.other_income = answerData.other_income; + records.income_details = answerData.income_details; + records.otherincome_remarks = answerData.otherincome_remarks; + this.qustCat.saveForm(records).subscribe(function (data) { + //TO CHANGE THE FORM STATE + _this.otherIncomeForm.reset(_this.otherIncomeForm.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + }, function (error) { + }); + }; + PdQuestionOtherIncomePage.prototype.getOtherIncome = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + this.qustCat.retiverForm(records).subscribe(function (res) { + _this.incomeDetails = _this.otherIncomeForm.get('income_details'); + _this.otherIncomeDetails = res; + if (_this.otherIncomeDetails.dataStatus == true) { + _this.otherIncomeDetails = _this.otherIncomeDetails.records; + if (_this.otherIncomeDetails.other_income == 'Yes') { + var incomeArray = Object.keys(res['records'].income_details).map(function (key) { + return res['records'].income_details[key]; + }); + _this.otherIncomeForm.controls['other_income'].setValue(_this.otherIncomeDetails.other_income); + _this.otherIncomeForm.controls['otherincome_remarks'].setValue(_this.otherIncomeDetails.otherincome_remarks); + if (incomeArray.length == 0) { + // this.incomeDetails.push(this.createDetail()); + } + else { + incomeArray.forEach(function (datas, index) { + _this.incomeDetails.push(_this.createDetail()); + _this.amtInWords[index] = _this.constant.convertNumberToWords(datas.amount); + _this.getOtherOrganisationOwner(datas.income_earned_by, index); + }); + } + _this.otherIncomeForm.controls['income_details'].setValue(incomeArray); + } + else { + _this.otherIncomeForm.controls['other_income'].setValue(_this.otherIncomeDetails.other_income); + _this.otherIncomeForm.controls['otherincome_remarks'].setValue(_this.otherIncomeDetails.otherincome_remarks); + } + } + else { + // this.incomeDetails.push(this.createDetail()) + } + }); + }; + /*IMAGE SECTION*/ + PdQuestionOtherIncomePage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionOtherIncomePage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionOtherIncomePage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionOtherIncomePage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionOtherIncomePage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionOtherIncomePage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionOtherIncomePage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + // this.imageDisplay.push(this.imageBucket) + // console.log("length",this.imageDisplay.length) + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionOtherIncomePage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('others_income_earned_by').value; + value.get('others_income_earned_by').setValue(this.constant.sentenceCase(name)); + }; + PdQuestionOtherIncomePage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-other-income',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-other-income/pd-question-other-income.html"*/'\n\n \n \n {{FormId.form_name}}\n\n\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \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 Income of Loan Applicants

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

Income Details {{i+1}}

\n \n \n \n Select\n {{source.name}}\n \n \n
\n \n Address\n \n \n \n \n \n
\n \n \n \n \n \n \n {{app.name}}\n \n \n \n \n \n \n \n \n {{"₹"}} {{amtInWords[i]}}\n \n \n \n \n Select\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'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_camera__["a" /* CameraProvider */], + __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionOtherIncomePage); + return PdQuestionOtherIncomePage; +}()); + +//# sourceMappingURL=pd-question-other-income.js.map + +/***/ }), + +/***/ 381: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common__ = __webpack_require__(8); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(26); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_rxjs__ = __webpack_require__(12); +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, constprovider, alertCtrl, loading, cameraProvider) { + var _this = this; + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.toast = toast; + this.qustCat = qustCat; + this.fb = fb; + this.constprovider = constprovider; + this.alertCtrl = alertCtrl; + this.loading = loading; + this.cameraProvider = cameraProvider; + this.pipe = new __WEBPACK_IMPORTED_MODULE_7__angular_common__["d" /* DatePipe */]('en-US'); + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.personType = [{ id: 2, name: "Tenant / Lessee" }, { id: 3, name: "Owner of the Rented Property" }, { id: 4, name: "Property Caretaker" }, { id: 1, name: "Others (Please Specify)" }]; + this.relationShipList = []; + this.relationToList = []; + this.paymentOptions = [{ id: 1, name: "Received in Cash" }, { id: 2, name: "Received through Banking Channel" }, { id: 3, name: "Combination of Cash & Bank" }]; + this.paymentPaidOptions = [{ id: 1, name: "Paid in Cash" }, { id: 2, name: "Paid through Banking Channel" }, { id: 3, name: "Combination of Cash & Bank" }]; + this.propertyNature = [{ id: 2, name: "Residential Property" }, { id: 3, name: "Commercial Property" }, { id: 4, name: "Industrial Property" }, { id: 1, name: "Others (Please Specify)" }]; + this.unitTypeList = []; + this.stateData = []; + this.cityData = []; + this.pincodeData = []; + this.stateList = []; + this.cityList = []; + this.pincodeList = []; + this.documentList = [{ id: 2, name: "Property Title Document" }, { id: 3, name: "Electricity Bill with name of owner mentioned therein" }, { id: 4, name: "Property tax Receipts" }, { id: 1, name: "Others (Please Specify)" }]; + //floorList: any=[{id:1,name:"Ground Floor"},{id:1,name:"First Floor"},{id:1,name:"Second Floor"},{id:1,name:"Third Floor"}] + //unitMeasurementList: any=[{id:2,name:"Square Feet"},{id:3,name:"Square Yards"},{id:4,name:"Square Meters"},{id:5,name:"Acres"},{id:6,name:"Hectares"},{id:1,name:"Others (Please Specify)"}]; + this.unitMeasurementList = []; + this.rent_per_unit_Inwords = []; + this.amount_Inwords = []; + this.floor_rent_amount_Inwords = []; + this.monthly_rent_amount_Inwords = []; + this.amount_received_cash_Inwords = []; + this.amount_received_bank_Inwords = []; + this.securtity_deposit_amount_Inwords = []; + this.agreement_monthly_rent_amount_Inwords = []; + this.agreement_security_deposit_amount_Inwords = []; + this.paid_monthly_rent_per_met_Inwords = []; + this.amount_received_cash_per_met_Inwords = []; + this.amount_received_bank_per_met_Inwords = []; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_11_rxjs__["Subject"](); + this.imageBucket = []; + this.tab = '0'; + this.imageDisplay = []; + this.complete_status = false; + this.data = this.navParams.get('values'); // for get the data from dash page + console.log("values", this.data); + this.pageTitle = this.data.manage_status == 1 ? 'Add RI Details' : 'Update RI Details'; + this.FormId = this.navParams.get('FormId'); + this.pdDetails = this.navParams.get('pdDetails'); + 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.getdropList(); + this.rentalForms = this.fb.group({ + parent_pdid: this.pdDetails.parent_pd_id, + pdid: this.pdDetails.pd_id, + formid: this.FormId.form_id, + address_property: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + state: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + stateSearch: [''], + city: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + citySearch: [''], + pincode: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + pincodeSearch: [''], + validate_visited_address: [true], + person_met: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + property_owner: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + property_ownership_proof_documents: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + nature_property: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + unit_type: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + no_units: [''], + multistoried_building_details: this.fb.array([]), + property_unit_details: this.fb.array([]), + done_third_party_check: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + rental_remark: [''], + }); + // observe person met controls + this.rentalForms.controls['person_met'].valueChanges.subscribe(function (val) { + if (val && val.length > 0) { + var otherPersonMetCheck = val.filter(function (fVal) { return fVal.id == 0; }); + otherPersonMetCheck.length > 0 ? _this.rentalForms.addControl('other_person_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('other_person_met'); + otherPersonMetCheck.length > 0 ? _this.rentalForms.addControl('other_name_person_showing_property', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('other_name_person_showing_property'); + otherPersonMetCheck.length > 0 ? '' : _this.rentalForms.removeControl('other_name_person_type'); + } + else { + _this.rentalForms.removeControl('other_person_met'); + _this.rentalForms.removeControl('other_name_person_showing_property'); + _this.rentalForms.removeControl('other_name_person_type'); + } + }); + // observe owner of the property + this.rentalForms.controls['property_owner'].valueChanges.subscribe(function (val) { + if (val && val.length > 0) { + var otherOwnerCheck = val.filter(function (fVal) { return fVal.id == 0; }); + otherOwnerCheck.length > 0 ? _this.rentalForms.addControl('property_owner_other', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('property_owner_other'); + otherOwnerCheck.length > 0 ? _this.rentalForms.addControl('property_owner_other_relationship', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('property_owner_other_relationship'); + otherOwnerCheck.length > 0 ? _this.rentalForms.addControl('property_owner_other_relation_to', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('property_owner_other_relation_to'); + } + else { + _this.rentalForms.removeControl('property_owner_other'); + _this.rentalForms.removeControl('property_owner_other_relationship'); + _this.rentalForms.removeControl('other_name_person_type'); + _this.rentalForms.removeControl('property_owner_other_relation_to'); + } + }); + // observe other property type + this.rentalForms.controls['nature_property'].valueChanges.subscribe(function (val) { + val.id == 1 ? _this.rentalForms.addControl('other_nature_property', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('other_nature_property'); + }); + // observe unit type changes + this.rentalForms.controls['unit_type'].valueChanges.subscribe(function (val) { + val.id == 1 ? _this.rentalForms.addControl('other_unit_type', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('other_unit_type'); + val.group_id == 1 && val.id == 6 ? _this.rentalForms.removeControl('no_units') : val.group_id == 2 && val.id == 7 ? _this.rentalForms.removeControl('no_units') : _this.rentalForms.addControl('no_units', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + val.group_id == 1 && val.id == 6 ? _this.rentalForms.addControl('no_floor', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : val.group_id == 2 && val.id == 7 ? _this.rentalForms.addControl('no_floor', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('no_floor'); + val.group_id == 1 && val.id == 6 ? _this.rentalForms.addControl('multistoried_total_area', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : val.group_id == 2 && val.id == 7 ? _this.rentalForms.addControl('multistoried_total_area', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('multistoried_total_area'); + val.group_id == 1 && val.id == 6 ? _this.rentalForms.addControl('multistoried_uom', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : val.group_id == 2 && val.id == 7 ? _this.rentalForms.addControl('multistoried_uom', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('multistoried_uom'); + val.group_id == 1 && val.id == 6 ? '' : val.group_id == 2 && val.id == 7 ? '' : _this.rentalForms.setControl('multistoried_building_details', _this.fb.array([])); + }); + // observe visit address + this.rentalForms.controls['validate_visited_address'].valueChanges.subscribe(function (val) { + if (val === false) { + _this.rentalForms.addControl('other_visited_address', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + else { + _this.rentalForms.removeControl('other_visited_address'); + } + }); + // get city list based on state changes + this.rentalForms.controls['state'].valueChanges.subscribe(function (val) { + _this.qustCat.getStateWiseCities(val).subscribe(function (data) { + if (data.status == 200) { + _this.cityData = data.records.cities; + _this.cityList = _this.cityData.slice(); + _this.pincodeData = data.records.pincode; + _this.pincodeList = _this.pincodeData.slice(); + } + }); + }); + // ownership property documents during the visit + this.rentalForms.controls['property_ownership_proof_documents'].valueChanges.subscribe(function (val) { + val == "1" ? _this.rentalForms.addControl('sighted_documents', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('sighted_documents'); + val == "1" ? '' : _this.rentalForms.removeControl('other_sighted_documents'); + }); + // listen third party check + this.rentalForms.controls['done_third_party_check'].valueChanges.subscribe(function (val) { + val == "1" ? _this.rentalForms.addControl('whom_third_party_check_done', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('whom_third_party_check_done'); + val == "1" ? _this.rentalForms.addControl('description_third_party_check_done', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('description_third_party_check_done'); + val == "1" ? _this.rentalForms.addControl('rental_rates_third_party_check_done', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('rental_rates_third_party_check_done'); + val == "0" ? _this.rentalForms.addControl('why_third_party_check_not_done', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.rentalForms.removeControl('why_third_party_check_not_done'); + }); + if (this.data.manage_status != 1) { + this.getRentalDetails(); + } + else { + var control = this.rentalForms.controls['property_unit_details']; + control.push(this.createUnitDetails('')); + } + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionRentalInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionRentalInfoPage'); + this.getPDImages(); + }; + PdQuestionRentalInfoPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.rentalForms.dirty); + if (this.rentalForms.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + PdQuestionRentalInfoPage.prototype.getdropList = function () { + var _this = this; + 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 }); + } + // set unit type list details + var resiDentialProperty = [{ id: 2, name: 'Independent Flat', group_id: 1 }, { id: 3, name: 'Independent Floor', group_id: 1 }, + { id: 4, name: 'Independent House', group_id: 1 }, { id: 5, name: 'Independent Row House', group_id: 1 }, { id: 6, name: 'Multi Storey Building', group_id: 1 }, { id: 1, name: 'Other (Please Specify)', group_id: 1 }]; + var commercialProperty = [{ id: 2, name: 'Independent Office', group_id: 2 }, { id: 3, name: 'Independent Shop', group_id: 2 }, { id: 4, name: 'Warehouse/Godown', group_id: 2 }, + { id: 5, name: 'Workshop', group_id: 2 }, { id: 6, name: 'Independent Clinic', group_id: 2 }, { id: 7, name: 'Multi Storey Building', group_id: 2 }, { id: 1, name: 'Other (Please Specify)', group_id: 2 }]; + var industrialProperty = [{ id: 2, name: 'Factory', group_id: 3 }, { id: 3, name: 'Industrial Shed', group_id: 3 }, { id: 1, name: 'Other (Please Specify)', group_id: 3 }]; + this.unitTypeList.push({ groupID: 2, groupName: 'Residential Property', groupValues: resiDentialProperty }); + this.unitTypeList.push({ groupID: 3, groupName: 'Commercial Property', groupValues: commercialProperty }); + this.unitTypeList.push({ groupID: 4, groupName: 'Industrial Property', groupValues: industrialProperty }); + //GETTING RELATIONSHIPS + this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (res) { + if (res['dataStatus'] == true) { + var relationshipList = res['records'].filter(function (item) { return item.isactive == 1; }).map(function (element) { + return { id: element.relationship_id.toString(), name: element.name, group_id: 1 }; + }); + relationshipList.length > 0 ? _this.relationShipList.push({ groupName: 'Personal', groupValues: relationshipList }) : ''; + } + }); + //GETTING COMPANYRELATIONSHIPS; + this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (res) { + if (res['dataStatus'] == true) { + var companyRelationShipList = res['records'].filter(function (item) { return item.isactive == 1 && item.name != 'Others'; }).map(function (element) { + return { id: element.company_relationship_id.toString(), name: element.name, group_id: 2 }; + }); + companyRelationShipList.length > 0 ? _this.relationShipList.push({ groupName: 'Official', groupValues: companyRelationShipList }) : ''; + } + }); + //GETTING STATE; + this.qustCat.getcommondrop('STATE').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.stateData = res['records'].filter(function (data) { return data.isactive == 1; }); + _this.stateList = _this.stateData.slice(); + } + }); + //GETTING UOM; + this.qustCat.getcommondrop('UOM').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.unitMeasurementList = res['records'].filter(function (data) { return data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2; }).map(function (mval) { return ({ id: mval.uom_id, name: mval.name }); }); + } + }); + }; + // initRentalForm() { + // return this.rentalForms = this.fb.group({ + // pdid: this.pdDetails.pd_id, + // formid: this.FormId.form_id, + // address_property:['',Validators.required], + // state:['',Validators.required], + // city:['',Validators.required], + // pincode:['',Validators.required], + // validate_visited_address:[true], + // person_met: ['',Validators.required], + // property_owner: ['',Validators.required], + // property_ownership_proof_documents: ['',Validators.required], + // nature_property: ['',Validators.required], + // unit_type:['',Validators.required], + // no_units:[''], + // property_unit_details : this.fb.array([]), + // done_third_party_check :['',Validators.required], + // rental_remark: [''], + // }); + // } + // createrentalHome() + // { + // return this.fb.group( + // { + // complete_add:[null,Validators.compose([Validators.required])], + // area_of_property:[null,Validators.compose([Validators.required])], + // structure_property:[null,Validators.compose([Validators.required])], + // total_room:[null,Validators.compose([Validators.required])], + // is_rent:[null,Validators.compose([Validators.required])], + // date_agreement:[null,Validators.compose([Validators.required])], + // date_validity:[null,Validators.compose([Validators.required])], + // rent_agreement:[null,Validators.compose([Validators.required])], + // actual_rent:[null,Validators.compose([Validators.required])], + // photo_areegment:[null,Validators.compose([Validators.required])], + // property_photographs:[null], + // bank:[null,Validators.compose([Validators.required])], + // cash:[null,Validators.compose([Validators.required])], + // rent_each_floor:[null,Validators.compose([Validators.required])], + // total_rent:[null,Validators.compose([Validators.required])], + // related_doc_owner:[null,Validators.compose([Validators.required])], + // details_tenants:this.fb.array([]), + // third_party_check:[null,Validators.compose([Validators.required])], + // }) + // } + // other_name_person_showing_property changes + PdQuestionRentalInfoPage.prototype.personShowingChanges = function (value) { + if (value.length > 0) { + var otherCheck = value.filter(function (fVal) { return fVal.id == 1; }); + otherCheck.length > 0 ? this.rentalForms.addControl('other_name_person_type', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('other_name_person_type'); + } + else { + this.rentalForms.removeControl('other_name_person_type'); + } + }; + // dynamic form control generate for other documents sighted + PdQuestionRentalInfoPage.prototype.getSightedDocs = function (value) { + value.id == 1 ? this.rentalForms.addControl('other_sighted_documents', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('other_sighted_documents'); + }; + // add more unit details + PdQuestionRentalInfoPage.prototype.addMoreUnitDetails = function () { + var control = this.rentalForms.controls['property_unit_details']; + //control.push(this.createUnitDetails('')); + control.push(this.createUnitDetails('')); + }; + // create unit details + PdQuestionRentalInfoPage.prototype.createUnitDetails = function (details) { + return this.fb.group({ + tenant_lessees_options: ['1', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + name_tenant_lessees: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + monthly_rent_amount: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + payment_mode: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + securtity_deposit_amount: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + property_cover_area: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + unit_measurement: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + is_rent_agreement_executed: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + met_tenant_lessees_options: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], + }); + }; + // remove unit + PdQuestionRentalInfoPage.prototype.removeUnit = function (index) { + var control = this.rentalForms.controls['property_unit_details']; + control.removeAt(index); + }; + // generate payment dynamic fields + PdQuestionRentalInfoPage.prototype.generatePaymentOptions = function (value, index, type) { + if (type == 1) { + var control = this.rentalForms.controls['property_unit_details']; + if (value && value.payment_mode.id == 1) { + control.controls[index].addControl('amount_received_cash', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_cash ? value.amount_received_cash : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].removeControl('amount_received_bank'); + control.controls[index].removeControl('payment_received_reason'); + } + else if (value && value.payment_mode.id == 2) { + control.controls[index].addControl('amount_received_bank', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_bank ? value.amount_received_bank : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].removeControl('amount_received_cash'); + control.controls[index].removeControl('payment_received_reason'); + } + else if (value && value.payment_mode.id == 3) { + control.controls[index].addControl('amount_received_cash', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_cash ? value.amount_received_cash : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('amount_received_bank', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_bank ? value.amount_received_bank : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('payment_received_reason', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.payment_received_reason ? value.payment_received_reason : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + else { + control.controls[index].removeControl('amount_received_cash'); + control.controls[index].removeControl('amount_received_bank'); + control.controls[index].removeControl('payment_received_reason'); + } + } + else if (type == 2) { + var control = this.rentalForms.controls['property_unit_details']; + console.log("controls", control.controls['index']); + if (control.controls[index].controls['payment_difference_per_met']) { + console.log("pay"); + control.controls[index].controls['payment_difference_per_met'].setValue(''); + } + if (value && value.payment_mode_per_met.id == 1) { + control.controls[index].addControl('amount_received_cash_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].removeControl('amount_received_bank_per_met'); + control.controls[index].removeControl('payment_received_reason_per_met'); + } + else if (value && value.payment_mode_per_met.id == 2) { + control.controls[index].addControl('amount_received_bank_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].removeControl('amount_received_cash_per_met'); + control.controls[index].removeControl('payment_received_reason_per_met'); + } + else if (value && value.payment_mode_per_met.id == 3) { + control.controls[index].addControl('amount_received_cash_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_cash_per_met ? value.amount_received_cash_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('amount_received_bank_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.amount_received_bank_per_met ? value.amount_received_bank_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('payment_received_reason_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](value.payment_received_reason_per_met ? value.payment_received_reason_per_met : '', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + else { + control.controls[index].removeControl('amount_received_cash_per_met'); + control.controls[index].removeControl('amount_received_bank_per_met'); + control.controls[index].removeControl('payment_received_reason_per_met'); + } + } + }; + // tenant/lessees options + PdQuestionRentalInfoPage.prototype.generateTenantOptions = function (value, index) { + var control = this.rentalForms.controls['property_unit_details']; + if (value.tenant_lessees_options == "1") { + control.controls[index].addControl('name_tenant_lessees', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].removeControl('name_tenant_lessees_reason'); + } + else if (value.tenant_lessees_options == "0") { + control.controls[index].addControl('name_tenant_lessees_reason', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].removeControl('name_tenant_lessees'); + } + else { + control.controls[index].removeControl('name_tenant_lessees'); + control.controls[index].removeControl('name_tenant_lessees_reason'); + } + }; + // unit of measurement generate other field + PdQuestionRentalInfoPage.prototype.generateOtherunitMeasurement = function (value, index) { + var control = this.rentalForms.controls['property_unit_details']; + value.unit_measurement.id == "1" ? control.controls[index].addControl('other_unit_measurement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('other_unit_measurement'); + }; + // generate multistoried other uom + PdQuestionRentalInfoPage.prototype.generateMultistoriedOtherUOM = function (value) { + value.multistoried_uom.id == "1" ? this.rentalForms.addControl('multistoried_other_uom', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('multistoried_other_uom'); + }; + // generate Rent AgreementSeen + PdQuestionRentalInfoPage.prototype.generateRentAgreementSeen = function (value, index) { + var control = this.rentalForms.controls['property_unit_details']; + if (value.is_rent_agreement_executed == "1") { + control.controls[index].addControl('rent_agreement_seen', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + else { + control.controls[index].removeControl('rent_agreement_seen'); + // after no + control.controls[index].removeControl('rent_agreement_registered'); + // after No + control.controls[index].removeControl('agreement_date'); + control.controls[index].removeControl('agreement_no_months'); + control.controls[index].removeControl('agreement_expiring_date'); + control.controls[index].removeControl('rental_remaining_months'); + control.controls[index].removeControl('agreement_monthly_rent_amount'); + control.controls[index].removeControl('agreement_security_deposit_amount'); + control.controls[index].removeControl('agreement_property_owners_name'); + control.controls[index].removeControl('agreement_tenant_lessees_name'); + control.controls[index].removeControl('differences_loanapplicant_rentagreement'); + // remove agrement other ownres + control.controls[index].removeControl('agreement_property_owner_other'); + control.controls[index].removeControl('agreement_property_owner_other_relationship'); + control.controls[index].removeControl('agreement_property_owner_other_relation_to'); + } + }; + //genearate rent agreement registered options + PdQuestionRentalInfoPage.prototype.generateRegisterOptions = function (value, index) { + var control = this.rentalForms.controls['property_unit_details']; + if (value.rent_agreement_seen == "1") { + control.controls[index].addControl('rent_agreement_registered', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + else { + control.controls[index].removeControl('rent_agreement_registered'); + // after No + control.controls[index].removeControl('agreement_date'); + control.controls[index].removeControl('agreement_no_months'); + control.controls[index].removeControl('agreement_expiring_date'); + control.controls[index].removeControl('rental_remaining_months'); + control.controls[index].removeControl('agreement_monthly_rent_amount'); + control.controls[index].removeControl('agreement_security_deposit_amount'); + control.controls[index].removeControl('agreement_property_owners_name'); + control.controls[index].removeControl('agreement_tenant_lessees_name'); + control.controls[index].removeControl('differences_loanapplicant_rentagreement'); + // remove agrement other ownres + control.controls[index].removeControl('agreement_property_owner_other'); + control.controls[index].removeControl('agreement_property_owner_other_relationship'); + control.controls[index].removeControl('agreement_property_owner_other_relation_to'); + } + }; + //genearate if rent agreement yes registered details + PdQuestionRentalInfoPage.prototype.generateRegisterDetails = function (value, index) { + var control = this.rentalForms.controls['property_unit_details']; + if (value.rent_agreement_registered == "1") { + control.controls[index].addControl('agreement_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_no_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_expiring_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + control.controls[index].addControl('rental_remaining_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + control.controls[index].addControl('agreement_monthly_rent_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_property_owners_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_tenant_lessees_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('differences_loanapplicant_rentagreement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + } + else if (value.rent_agreement_registered == "0") { + control.controls[index].addControl('agreement_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_no_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_expiring_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + control.controls[index].addControl('rental_remaining_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + control.controls[index].addControl('agreement_monthly_rent_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_property_owners_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('agreement_tenant_lessees_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('differences_loanapplicant_rentagreement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + } + else { + control.controls[index].removeControl('agreement_date'); + control.controls[index].removeControl('agreement_no_months'); + control.controls[index].removeControl('agreement_expiring_date'); + control.controls[index].removeControl('rental_remaining_months'); + control.controls[index].removeControl('agreement_monthly_rent_amount'); + control.controls[index].removeControl('agreement_security_deposit_amount'); + control.controls[index].removeControl('agreement_property_owners_name'); + control.controls[index].removeControl('agreement_tenant_lessees_name'); + control.controls[index].removeControl('differences_loanapplicant_rentagreement'); + // remove agrement other ownres + control.controls[index].removeControl('agreement_property_owner_other'); + control.controls[index].removeControl('agreement_property_owner_other_relationship'); + control.controls[index].removeControl('agreement_property_owner_other_relation_to'); + } + }; + // calculate expiry date + // calculateExpiryDate(e: any,index){ + // let control: any = this.rentalForms.controls['property_unit_details']; + // // let getSeletedDate: any=control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd'): ''; + // let getSeletedDate: any=''; + // let getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0'; + // if(getSeletedDate && getEnteredMonth>0){ + // let modifySeletedDate:any = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth))); + // modifySeletedDate.setDate(modifySeletedDate.getDate() - 1); + // // let getExpiryDate=this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy'); + // let getExpiryDate=''; + // control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate); + // // calculate remaining month + // if(modifySeletedDate >= new Date()){ + // let currentDate:any = new Date(); + // // currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd'); + // currentDate = ''; + // let remaingMonths; + // remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12; + // remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth(); + // control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths); + // } + // else{ + // control.controls[index].controls['rental_remaining_months'].setValue(0); + // } + // } + // else { + // control.controls[index].controls['agreement_expiring_date'].setValue(''); + // control.controls[index].controls['rental_remaining_months'].setValue(''); + // } + // } + PdQuestionRentalInfoPage.prototype.calculateExpiryDate = function (e, index) { + var control = this.rentalForms.controls['property_unit_details']; + var getSeletedDate = control.value[index].agreement_date ? this.pipe.transform(control.value[index].agreement_date, 'yyyy/MM/dd') : ''; + var getEnteredMonth = control.value[index].agreement_no_months > 0 ? control.value[index].agreement_no_months : '0'; + if (getSeletedDate && getEnteredMonth > 0) { + var modifySeletedDate = new Date(new Date(getSeletedDate).setMonth(new Date(getSeletedDate).getMonth() + Number(getEnteredMonth))); + modifySeletedDate.setDate(modifySeletedDate.getDate() - 1); + var getExpiryDate = this.pipe.transform(modifySeletedDate, 'dd/MM/yyyy'); + console.log('getExpiryDate', getExpiryDate); + control.controls[index].controls['agreement_expiring_date'].setValue(getExpiryDate); + // calculate remaining month + if (modifySeletedDate >= new Date()) { + var currentDate = new Date(); + currentDate = this.pipe.transform(currentDate, 'yyyy/MM/dd'); + var remaingMonths = void 0; + remaingMonths = (modifySeletedDate.getFullYear() - new Date().getFullYear()) * 12; + remaingMonths += modifySeletedDate.getMonth() - new Date().getMonth(); + console.log('remaingMonths', remaingMonths); + control.controls[index].controls['rental_remaining_months'].setValue(remaingMonths); + } + else { + control.controls[index].controls['rental_remaining_months'].setValue(0); + } + } + else { + control.controls[index].controls['agreement_expiring_date'].setValue(''); + control.controls[index].controls['rental_remaining_months'].setValue(''); + } + }; + // generate other owners as per rent agreement + PdQuestionRentalInfoPage.prototype.generateAgreementOtherOwners = function (value, index) { + var control = this.rentalForms.controls['property_unit_details']; + if (value && value.length > 0) { + var otherOwnerCheck = value.filter(function (fVal) { return fVal.id == 0; }); + otherOwnerCheck.length > 0 ? control.controls[index].addControl('agreement_property_owner_other', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other'); + otherOwnerCheck.length > 0 ? control.controls[index].addControl('agreement_property_owner_other_relationship', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship'); + otherOwnerCheck.length > 0 ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to'); + } + else { + control.controls[index].removeControl('agreement_property_owner_other'); + control.controls[index].removeControl('agreement_property_owner_other_relationship'); + control.controls[index].removeControl('agreement_property_owner_other_relation_to'); + } + }; + // validate agreement amount + PdQuestionRentalInfoPage.prototype.validateAgreementAmt = function (actualRent, agreementRent) { + if (actualRent > 0 && agreementRent > 0) { + return (actualRent >= agreementRent) ? Number(actualRent) - Number(agreementRent) : Number(agreementRent) - Number(actualRent); + } + else { + return "0"; + } + }; + // generate tenant met details + PdQuestionRentalInfoPage.prototype.generateTenantMetDetails = function (value, index) { + var control = this.rentalForms.controls['property_unit_details']; + if (value.met_tenant_lessees_options == "1") { + // remove reason + control.controls[index].removeControl('name_tenant_lessees_reason_per_met'); + control.controls[index].addControl('name_tenant_lessees_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('property_owner_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('paid_monthly_rent_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('period_of_stay_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('payment_mode_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + control.controls[index].addControl('payment_difference_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + } + else { + control.controls[index].removeControl('name_tenant_lessees_per_met'); + control.controls[index].removeControl('property_owner_per_met'); + control.controls[index].removeControl('paid_monthly_rent_per_met'); + control.controls[index].removeControl('period_of_stay_per_met'); + control.controls[index].removeControl('payment_mode_per_met'); + control.controls[index].removeControl('payment_difference_per_met'); + // remove other owner details + control.controls[index].removeControl('property_owner_other_per_met'); + control.controls[index].removeControl('property_owner_other_relationship_per_met'); + control.controls[index].removeControl('property_owner_other_relation_to_per_met'); + // remove paymnet options + control.controls[index].removeControl('amount_received_cash_per_met'); + control.controls[index].removeControl('amount_received_bank_per_met'); + control.controls[index].removeControl('payment_received_reason_per_met'); + // add reason + control.controls[index].addControl('name_tenant_lessees_reason_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); + } + }; + // generate met others owner + PdQuestionRentalInfoPage.prototype.generateMetOtherOwners = function (value, index) { + var control = this.rentalForms.controls['property_unit_details']; + if (value.property_owner_per_met.length > 0) { + var otherCheck = value.property_owner_per_met.filter(function (fVal) { return fVal.id == 0; }); + otherCheck.length > 0 ? control.controls[index].addControl('property_owner_other_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_per_met'); + otherCheck.length > 0 ? control.controls[index].addControl('property_owner_other_relationship_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met'); + otherCheck.length > 0 ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met'); + } + else { + control.controls[index].removeControl('property_owner_other_per_met'); + control.controls[index].removeControl('property_owner_other_relationship_per_met'); + control.controls[index].removeControl('property_owner_other_relation_to_per_met'); + } + }; + // generate floor rows + PdQuestionRentalInfoPage.prototype.generateFloor = function (e) { + var control = this.rentalForms.controls['multistoried_building_details']; + if (e.target.value && Math.round(e.target.value) != 0) { + if (Math.round(e.target.value) > this.rentalForms.value.multistoried_building_details.length) { + var rowValue = Math.round(e.target.value) - this.rentalForms.value.multistoried_building_details.length; + for (var i = rowValue; i > 0; i--) { + control.push(this.createFloorDetails('')); + } + } + else if (Math.round(e.target.value) < this.rentalForms.value.multistoried_building_details.length) { + var rowValue = this.rentalForms.value.multistoried_building_details.length - Math.round(e.target.value); + for (var i = rowValue; i > 0; i--) { + control.removeAt(this.rentalForms.value.multistoried_building_details.length - 1); + } + } + } + else if (e.target.value && Math.round(e.target.value) == 0) { + control.controls = []; + control.setValue([]); + } + else { + control.controls = []; + control.setValue([]); + } + e.stopPropagation(); + }; + // create floor details + PdQuestionRentalInfoPage.prototype.createFloorDetails = function (details) { + if (details) { + return this.fb.group({ + floor_level: [this.rentalForms.value.multistoried_building_details.length == 0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length + ' Floor', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + no_units_in_floor: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + unit_rent_difference_options: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + floor_unit_details: this.fb.array([]), + floor_rent_amount: [''], + }); + } + else { + return this.fb.group({ + floor_level: [this.rentalForms.value.multistoried_building_details.length == 0 ? 'Ground Floor' : this.rentalForms.value.multistoried_building_details.length + ' Floor', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + no_units_in_floor: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + unit_rent_difference_options: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + floor_unit_details: this.fb.array([]), + floor_rent_amount: [''], + }); + } + }; + // generate floor unit details + PdQuestionRentalInfoPage.prototype.generateFloorUnit = function (values, index) { + var control = this.rentalForms.controls['multistoried_building_details']; + control = control.controls[index]; + control = control.controls['floor_unit_details']; + if (values.no_units_in_floor > 0 && values.unit_rent_difference_options == "0") { + if (Math.round(values.no_units_in_floor) > control.value.length) { + var rowValue = Math.round(values.no_units_in_floor) - control.value.length; + for (var i = rowValue; i > 0; i--) { + control.push(this.createFloorUnitDetails(2)); + } + } + else if (Math.round(values.no_units_in_floor) < control.value.length) { + var rowValue = control.value.length - Math.round(values.no_units_in_floor); + for (var i = rowValue; i > 0; i--) { + control.removeAt(control.value.length - 1); + } + } + else if (Math.round(values.no_units_in_floor) == 0) { + control.controls = []; + control.setValue([]); + } + else { + control.controls = []; + control.setValue([]); + } + this.calculateFloorRentAmt(values, index); + } + else if (values.no_units_in_floor > 0 && values.unit_rent_difference_options == "1") { + control.controls = []; + control.setValue([]); + control.push(this.createFloorUnitDetails(1)); + this.calculateFloorRentAmt(values, index); + } + else { + control.controls = []; + control.setValue([]); + } + }; + // create floor unit details + PdQuestionRentalInfoPage.prototype.createFloorUnitDetails = function (type) { + if (type == 1) { + return this.fb.group({ + rent_per_unit: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + amount: [''], + }); + } + else if (type == 2) { + return this.fb.group({ + rent_per_unit: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + }); + } + }; + // calculate floor rent amount + PdQuestionRentalInfoPage.prototype.calculateFloorRentAmt = function (values, index) { + // this.inWords(values,index,1); + if (values.unit_rent_difference_options == "1") { + var control = this.rentalForms.controls['multistoried_building_details']; + var unitcontrol = control.controls[index]; + unitcontrol = unitcontrol.controls['floor_unit_details']; + if (unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit > 0 && values.no_units_in_floor > 0) { + unitcontrol.controls[unitcontrol.value.length - 1].controls['amount'].setValue(unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit * values.no_units_in_floor); + this.inWords(unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit * values.no_units_in_floor, index, 2); + control.controls[index].controls['floor_rent_amount'].setValue(unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit * values.no_units_in_floor); + this.inWords(unitcontrol.value[unitcontrol.value.length - 1].rent_per_unit * values.no_units_in_floor, index, 4); + } + else { + unitcontrol.controls[unitcontrol.value.length - 1].controls['amount'].setValue(''); + control.controls[index].controls['floor_rent_amount'].setValue(''); + } + } + else if (values.unit_rent_difference_options == "0") { + var control = this.rentalForms.controls['multistoried_building_details']; + var unitcontrol = control.controls[index]; + unitcontrol = unitcontrol.controls['floor_unit_details']; + // console.log(unitcontrol) + var getunitValues = unitcontrol.value.filter(function (val) { return val.rent_per_unit != ''; }); + if (getunitValues.length > 0) { + control.controls[index].controls['floor_rent_amount'].setValue(getunitValues.map(function (mval) { return mval.rent_per_unit; }).reduce(function (acc, val) { return Number(acc) + Number(val); }, 0)); + this.inWords(getunitValues.map(function (mval) { return mval.rent_per_unit; }).reduce(function (acc, val) { return Number(acc) + Number(val); }), index, 4); + } + else { + control.controls[index].controls['floor_rent_amount'].setValue(''); + } + } + }; + PdQuestionRentalInfoPage.prototype.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + PdQuestionRentalInfoPage.prototype.compareSingleObjects = function (o1, o2) { + if (o1.id == o2.id) + return true; + else + return false; + }; + // createTenantsDetails() + // { + // return this.fb.group( + // { + // name:[null,Validators.compose([Validators.required])], + // mobile_no:[null,Validators.compose([Validators.required])], + // tenants_seen:[null,Validators.compose([Validators.required])], + // tenants_con_owner:[null,Validators.compose([Validators.required])], + // rent_paid:[null,Validators.compose([Validators.required])], + // staying_since:[null,Validators.compose([Validators.required])], + // }); + // } + // addrentalHome() + // { + // const control = this.rentalForms.get('rental_home') as FormArray; + // control.push(this.createrentalHome()); + // this.addTenantsDetails(0); + // } + // addTenantsDetails(i) + // { + // const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray; + // // control.controls.splice(0); + // control.push(this.createTenantsDetails()); + // } + // deleteTenantsDetails(rentIndex,TenantsIndex) + // { + // const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray; + // control.removeAt(TenantsIndex); + // } + // deleterentalHome(i) + // { + // const control = (this.rentalForms.controls['rental_home']) as FormArray; + // if(control.length==1) + // { + // this.rentalForms.controls['rental_home'].reset(); + // }else + // { + // control.removeAt(i); + // } + // } + PdQuestionRentalInfoPage.prototype.saveAlert = function (answerData) { + var _this = this; + var ApplicantRentAmt = 0; + var TenantRentAmt = 0; + var FloorsTotalRentAmt = 0; + var TempArray1 = []; + var TempArray2 = []; + var TempArray3 = []; + var TextMessage; + if (answerData.property_unit_details.length > 0) { + answerData.property_unit_details.forEach(function (data, index) { + TempArray1[index] = data.hasOwnProperty('monthly_rent_amount') ? data.monthly_rent_amount : 0; + ApplicantRentAmt = TempArray1.reduce(function (sum, val) { return sum + +val; }, 0); + TempArray2[index] = data.hasOwnProperty('paid_monthly_rent_per_met') ? data.paid_monthly_rent_per_met : 0; + TenantRentAmt = TempArray2.reduce(function (sum, val) { return sum + +val; }, 0); + }); + TextMessage = 'Monthly Rent as Per Loan Applicant =' + ApplicantRentAmt + '
'; + } + if (answerData.multistoried_building_details.length > 0) { + answerData.multistoried_building_details.forEach(function (val, index) { + TempArray3[index] = val.hasOwnProperty('floor_rent_amount') ? val.floor_rent_amount : 0; + FloorsTotalRentAmt = TempArray3.reduce(function (sum, val) { return sum + +val; }, 0); + }); + TextMessage = TextMessage + 'Rent amount calculated = ' + FloorsTotalRentAmt; + } + else { + TextMessage = TextMessage + 'Monthly Rent amount as Per Tenant met = ' + TenantRentAmt; + } + var alert = this.alertCtrl.create({ + title: 'Confirm The Rent Amount', + message: TextMessage, + buttons: [ + { + text: 'Cancel', + role: 'cancel', + handler: function () { + alert.dismiss; + } + }, + { + text: 'Confirm', + handler: function () { + _this.saveRentalDetails(answerData); + } + } + ] + }); + alert.present(); + }; + PdQuestionRentalInfoPage.prototype.saveRentalDetails = function (answerData) { + var _this = this; + answerData.rental_count_id = this.data.existing_rental_count_id; + console.log('answerData', answerData); + delete answerData.stateSearch; + delete answerData.citySearch; + delete answerData.pincodeSearch; + answerData.fk_createdby = this.users; + console.log('answerData', answerData); + this.qustCat.saveForm(answerData).subscribe(function (res) { + if (res['dataStatus'] == true) { + //TO CHANGE THE FORM STATE + _this.rentalForms.reset(_this.rentalForms.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + }); + }; + // s(answerData) + // { + // let records:any={} + // // 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((key) => (records.rental_home[key]==null) && delete answerData[key]); + // this.qustCat.saveForm(records).subscribe(res=> + // { + // if(res['dataStatus']==true) + // { + // this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + // setTimeout(()=>{ + // this.navCtrl.pop(); + // },2000); + // } + // }) + // // }else + // // { + // // this.toast.pdTriggerappmessage('Enter All Field'); + // // } + // } + PdQuestionRentalInfoPage.prototype.getRentalDetails = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; + // this.qustCat.retiverForm(records).subscribe(res=> { + console.log("enter", this.data.editData); + if (this.data.editData) { + var rentalDetails_1 = this.data.editData; + console.log("rental", rentalDetails_1); + rentalDetails_1.parent_pdid = this.pdDetails.parent_pd_id; + rentalDetails_1.pdid = this.pdDetails.pd_id, + rentalDetails_1.formid = this.FormId.form_id; + rentalDetails_1.other_name_person_type ? this.rentalForms.addControl('other_name_person_type', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('other_name_person_type'); + rentalDetails_1.other_sighted_documents ? this.rentalForms.addControl('other_sighted_documents', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.rentalForms.removeControl('other_sighted_documents'); + // this.rentalForms.addControl('stateSearch', new FormControl('')); + // this.rentalForms.addControl('citySearch', new FormControl('')); + // this.rentalForms.addControl('pincodeSearch', new FormControl('')); + rentalDetails_1.stateSearch = ''; + rentalDetails_1.citySearch = ''; + rentalDetails_1.pincodeSearch = ''; + //get Multistoried Building Details + if (rentalDetails_1.multistoried_building_details) { + var selectedMultistoriedBuilding = Object.keys(rentalDetails_1.multistoried_building_details).map(function (key) { + return rentalDetails_1.multistoried_building_details[key]; + }); + if (selectedMultistoriedBuilding.length > 0) { + var control_1 = this.rentalForms.controls['multistoried_building_details']; + selectedMultistoriedBuilding.forEach(function (floorElement, floorIndex) { + control_1.push(_this.createFloorDetails('')); + var unitControl = control_1.controls[floorIndex]; + unitControl = unitControl.controls['floor_unit_details']; + var floor_rent_amount_val; + floorElement.floor_unit_details.forEach(function (unitElement, unitIndex) { + floorElement.unit_rent_difference_options == "0" ? unitControl.push(_this.createFloorUnitDetails(2)) : unitControl.push(_this.createFloorUnitDetails(1)); + console.log("rent per unit", unitElement.rent_per_unit); + if (floorElement.unit_rent_difference_options == "1") { + console.log("check", unitElement.rent_per_unit); + if (unitElement.rent_per_unit != '') { + _this.inWords(unitElement.rent_per_unit, unitIndex, 1); + } + if (unitElement.amount != '') { + _this.inWords(unitElement.amount, floorIndex, 2); + } + } + else if (floorElement.unit_rent_difference_options == "0") { + if (unitElement.rent_per_unit != '') { + //floor_rent_amount_val+=unitElement.rent_per_unit + } + _this.inWords(floorElement.floor_rent_amount, floorIndex, 4); + } + }); + // this.inWords(floor_rent_amount_val,floorIndex,4) + }); + } + } + // get property unit details + if (rentalDetails_1.property_unit_details) { + console.log("property", rentalDetails_1.property_unit_details); + var selectedUnitDetails = Object.keys(rentalDetails_1.property_unit_details).map(function (key) { + return rentalDetails_1.property_unit_details[key]; + }); + if (selectedUnitDetails.length > 0) { + selectedUnitDetails.forEach(function (element, index) { + var control = _this.rentalForms.controls['property_unit_details']; + control.push(_this.createUnitDetails('')); + (element.name_tenant_lessees && element.tenant_lessees_options == "1") ? control.controls[index].addControl('name_tenant_lessees', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('name_tenant_lessees'); + (element.name_tenant_lessees_reason && element.tenant_lessees_options == "0") ? control.controls[index].addControl('name_tenant_lessees_reason', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('name_tenant_lessees_reason'); + // for payment options + element.amount_received_cash ? control.controls[index].addControl('amount_received_cash', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('amount_received_cash'); + element.amount_received_bank ? control.controls[index].addControl('amount_received_bank', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('amount_received_bank'); + element.payment_received_reason ? control.controls[index].addControl('payment_received_reason', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('payment_received_reason'); + // unit of other measurement + element.other_unit_measurement ? control.controls[index].addControl('other_unit_measurement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('other_unit_measurement'); + // rent agreement seen + element.rent_agreement_seen ? control.controls[index].addControl('rent_agreement_seen', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('rent_agreement_seen'); + element.rent_agreement_registered ? control.controls[index].addControl('rent_agreement_registered', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('rent_agreement_registered'); + element.agreement_date ? control.controls[index].addControl('agreement_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_date'); + element.agreement_no_months ? control.controls[index].addControl('agreement_no_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_no_months'); + element.agreement_expiring_date ? control.controls[index].addControl('agreement_expiring_date', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_expiring_date'); + (element.rental_remaining_months == '' || element.rental_remaining_months >= 0) ? control.controls[index].addControl('rental_remaining_months', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('rental_remaining_months'); + element.agreement_monthly_rent_amount ? control.controls[index].addControl('agreement_monthly_rent_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_monthly_rent_amount'); + element.agreement_security_deposit_amount ? control.controls[index].addControl('agreement_security_deposit_amount', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_security_deposit_amount'); + element.differences_loanapplicant_rentagreement ? control.controls[index].addControl('differences_loanapplicant_rentagreement', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('differences_loanapplicant_rentagreement'); + //agreement owners + element.agreement_property_owners_name ? control.controls[index].addControl('agreement_property_owners_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owners_name'); + element.agreement_property_owner_other ? control.controls[index].addControl('agreement_property_owner_other', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other'); + element.agreement_property_owner_other_relationship ? control.controls[index].addControl('agreement_property_owner_other_relationship', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other_relationship'); + element.agreement_property_owner_other_relation_to ? control.controls[index].addControl('agreement_property_owner_other_relation_to', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_property_owner_other_relation_to'); + // name of tenant/lessess as agreement + element.agreement_tenant_lessees_name ? control.controls[index].addControl('agreement_tenant_lessees_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('agreement_tenant_lessees_name'); + //met tenant details + element.name_tenant_lessees_per_met ? control.controls[index].addControl('name_tenant_lessees_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('name_tenant_lessees_per_met'); + element.name_tenant_lessees_reason_per_met ? control.controls[index].addControl('name_tenant_lessees_reason_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('name_tenant_lessees_reason_per_met'); + element.property_owner_per_met ? control.controls[index].addControl('property_owner_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_per_met'); + element.property_owner_other_per_met ? control.controls[index].addControl('property_owner_other_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_per_met'); + element.property_owner_other_relationship_per_met ? control.controls[index].addControl('property_owner_other_relationship_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_relationship_per_met'); + element.property_owner_other_relation_to_per_met ? control.controls[index].addControl('property_owner_other_relation_to_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('property_owner_other_relation_to_per_met'); + // tennat payment + // element.payment_difference_per_met='' + // control.controls[index].addControl('payment_difference_per_met',new FormControl('')) + console.log("payment", element); + element.paid_monthly_rent_per_met ? control.controls[index].addControl('paid_monthly_rent_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('paid_monthly_rent_per_met'); + element.period_of_stay_per_met ? control.controls[index].addControl('period_of_stay_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('period_of_stay_per_met'); + element.payment_mode_per_met ? control.controls[index].addControl('payment_mode_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('payment_mode_per_met'); + element.amount_received_cash_per_met ? control.controls[index].addControl('amount_received_cash_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('amount_received_cash_per_met'); + element.amount_received_bank_per_met ? control.controls[index].addControl('amount_received_bank_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('amount_received_bank_per_met'); + element.payment_received_reason_per_met ? control.controls[index].addControl('payment_received_reason_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[index].removeControl('payment_received_reason_per_met'); + if (element.payment_difference_per_met == '' || element.payment_difference_per_met != '') { + control.controls[index].addControl('payment_difference_per_met', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')); + } + // control.controls[index].removeControl('payment_difference_per_met'); + _this.inWords(element.monthly_rent_amount != '' ? +element.monthly_rent_amount : '', index, 5); + _this.inWords(element.amount_received_cash != '' ? +element.amount_received_cash : '', index, 6); + _this.inWords(element.amount_received_bank != '' ? +element.amount_received_bank : '', index, 7); + _this.inWords(element.securtity_deposit_amount != '' ? +element.securtity_deposit_amount : '', index, 8); + _this.inWords(element.agreement_monthly_rent_amount != '' ? +element.agreement_monthly_rent_amount : '', index, 9); + _this.inWords(element.agreement_security_deposit_amount != '' ? +element.agreement_security_deposit_amount : '', index, 10); + _this.inWords(element.paid_monthly_rent_per_met != '' ? +element.paid_monthly_rent_per_met : '', index, 11); + _this.inWords(element.amount_received_cash_per_met != '' ? +element.amount_received_cash_per_met : '', index, 12); + _this.inWords(element.amount_received_bank_per_met != '' ? +element.amount_received_bank_per_met : '', index, 13); + }); + } + } + this.rentalForms.patchValue(rentalDetails_1); + } + else { + var control = this.rentalForms.controls['property_unit_details']; + control.push(this.createUnitDetails('')); + } + // }); + // this.qustCat.retiverForm(records).subscribe(res=> + // { + // if(res['dataStatus']==true) + // { + // let 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']) as FormArray; + // var tanantscontrol; + // rentalData.forEach((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') as FormArray; + // rentalData[index].details_tenants.forEach((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); + // } + // }) + }; + // createTenantsDetailswithData(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.inWords = function (e, i, flag) { + // console.log(e,i,flag); + switch (flag) { + case 1: + this.rent_per_unit_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 2: + this.amount_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 3: + // this.rent_per_unit_2_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 4: + this.floor_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 5: + this.monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 6: + this.amount_received_cash_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 7: + this.amount_received_bank_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 8: + this.securtity_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 9: + this.agreement_monthly_rent_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 10: + this.agreement_security_deposit_amount_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 11: + this.paid_monthly_rent_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 12: + this.amount_received_cash_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + case 13: + this.amount_received_bank_per_met_Inwords[i] = this.constprovider.convertNumberToWords(e); + break; + } + }; + PdQuestionRentalInfoPage.prototype.inWordsmultiple = function (e, i, j, flag) { + // console.log(e,i,j,flag); + return this.constprovider.convertNumberToWords(e); + }; + 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); + } + }); + }; + // generate payment dynamic fields + PdQuestionRentalInfoPage.prototype.ValidatedRentAmount = function (value, index, type) { + var control = this.rentalForms.controls['property_unit_details']; + console.log("validated", value); + if (type == 1) { + if (value && value.payment_mode.id == 3) { + var ChildCtrl = control.controls[index]; + ChildCtrl.controls['amount_received_bank'].clearValidators(); + ChildCtrl.controls['amount_received_bank'].updateValueAndValidity(); + ChildCtrl.controls['amount_received_cash'].clearValidators(); + ; + ChildCtrl.controls['amount_received_cash'].updateValueAndValidity(); + var monthlyrentamt = value.monthly_rent_amount; + if (monthlyrentamt != '') { + var bank_amount = value.amount_received_bank; + ChildCtrl.controls['amount_received_bank'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(monthlyrentamt), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)]); + ChildCtrl.controls['amount_received_bank'].updateValueAndValidity(); + var maxamt = monthlyrentamt - bank_amount; + if (maxamt >= 0) { + ChildCtrl.controls['amount_received_cash'].setValue(maxamt); + ChildCtrl.controls['amount_received_cash'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(monthlyrentamt - bank_amount), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(monthlyrentamt - bank_amount)]); + this.inWords(maxamt, index, 6); + } + else { + ChildCtrl.controls['amount_received_cash'].setValue(0); + ChildCtrl.controls['amount_received_cash'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(0), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)]); + } + ChildCtrl.controls['amount_received_cash'].updateValueAndValidity(); + } + } + } + if (type == 2) { + if (value && value.payment_mode_per_met.id == 3) { + var ChildCtrl = control.controls[index]; + ChildCtrl.controls['amount_received_bank_per_met'].clearValidators(); + ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity(); + ChildCtrl.controls['amount_received_cash_per_met'].clearValidators(); + ; + ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity(); + var paidmonthlyrentamt = value.paid_monthly_rent_per_met; + if (paidmonthlyrentamt != '') { + var bank_amount = value.amount_received_bank_per_met; + ChildCtrl.controls['amount_received_bank_per_met'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(paidmonthlyrentamt), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)]); + ChildCtrl.controls['amount_received_bank_per_met'].updateValueAndValidity(); + var remainingAmt = paidmonthlyrentamt - bank_amount; + console.log("paid monthly", paidmonthlyrentamt); + console.log("remaining", remainingAmt); + if (remainingAmt >= 0) { + ChildCtrl.controls['amount_received_cash_per_met'].setValue(remainingAmt); + ChildCtrl.controls['amount_received_cash_per_met'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(paidmonthlyrentamt - bank_amount), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(paidmonthlyrentamt - bank_amount)]); + this.inWords(remainingAmt, index, 12); + } + else { + ChildCtrl.controls['amount_received_cash_per_met'].setValue(0); + ChildCtrl.controls['amount_received_cash_per_met'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].max(0), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].min(0)]); + } + ChildCtrl.controls['amount_received_cash_per_met'].updateValueAndValidity(); + } + } + } + }; + PdQuestionRentalInfoPage.prototype.forSearchableDropdown = function (val, Flag) { + var _this = this; + // val=val.controls['relationSearch'].value + console.log("val", val, 'Flag', Flag); + switch (Flag) { + case 'state': + console.log("val", val.controls['stateSearch'].value, 'Flag', Flag, '1'); + val.controls['stateSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_10_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.stateList = _this.constprovider.searchData(_this.stateData, val.controls['stateSearch'].value, Flag); + }); + break; + case 'city': + console.log("val", val.controls['citySearch'].value, 'Flag', Flag, '2'); + val.controls['citySearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_10_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.cityList = _this.constprovider.searchData(_this.cityData, val.controls['citySearch'].value, Flag); + }); + break; + case 'pin': + console.log("val", val.controls['pincodeSearch'].value, 'Flag', Flag, '3'); + val.controls['pincodeSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_10_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.pincodeList = _this.constprovider.searchData(_this.pincodeData, val.controls['pincodeSearch'].value, Flag); + }); + break; + } + }; + /*IMAGE SECTION*/ + PdQuestionRentalInfoPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionRentalInfoPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionRentalInfoPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionRentalInfoPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionRentalInfoPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionRentalInfoPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionRentalInfoPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + // this.imageDisplay.push(this.imageBucket) + // console.log("length",this.imageDisplay.length) + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionRentalInfoPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('agreement_property_owner_other').value; + value.get('agreement_property_owner_other').setValue(this.constprovider.sentenceCase(name)); + }; + PdQuestionRentalInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-rental-info',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.html"*/'\n \n \n {{pageTitle}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n\n
\n \n \n Property Details\n \n\n \n\n
\n\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n Select\n {{stVal.name}}\n \n \n \n \n \n \n \n \n \n \n \n \n Select\n \n {{ctVal.city_name}}\n \n \n \n \n \n \n \n \n \n \n \n \n Select\n \n {{pinVal.pincode}}\n \n \n \n \n
\n Is This the Address Visited ?\n ( {{rentalForms.value.validate_visited_address===true ? \'Yes\' : \'No\'}} )
\n
\n \n Actual Address Visited\n \n \n\n \n
\n\n
\n \n \n Name of the Person Who is Showing the Property to Sineedge Officer\n \n \n \n {{val.name}}\n \n \n \n \n\n \n Specify Other Person\n \n \n\n \n Who is {{rentalForms.controls[\'other_person_met\'].value}} ?\n \n \n {{pType.name}}\n \n \n \n\n \n Who is {{rentalForms.controls[\'other_person_met\'].value}} ?\n \n \n \n\n \n \n Name of the Owner/Owners of the Let out Property as per Loan Applicants\n \n \n \n {{val.name}}\n \n \n \n \n\n \n Specify Other Owner/Owners\n \n \n\n \n Relation of Owner to Loan Applicant\n \n \n \n {{relation.name |\n titlecase}}\n \n \n \n\n \n Relation To\n \n \n {{relationto.id=="0" ?\n \'Not Applicable\' : relationto.name | titlecase}}\n \n \n \n \n\n \n \n Ownership Proof Documents Sighted\n \n Yes\n No\n \n \n\n \n Type of Document Sighted\n \n {{prDocs.name | titlecase}}\n \n \n\n \n Other Type of Document\n \n \n \n\n \n \n Nature of Let Out Property as per Loan Applicant\n \n \n {{property.name}}\n \n \n \n\n \n Other Property\n \n \n \n\n \n \n Type of Units as per Loan Applicants\n \n \n \n {{unit.name}}\n \n \n \n \n \n Specify Other Unit Type\n \n \n \n \n Tot No of Units\n \n \n\n \n No of Floors\n \n \n\n \n Total Area Given on Rent\n \n \n \n\n \n \n Unit of Measurement\n \n \n {{unitM.name}}\n \n \n \n \n \n Other Unit of Measurement\n \n \n \n \n
\n
\n
\n\n \n \n \n \n \n Floor Level Name\n \n \n\n \n No of Units\n \n \n \n Is Rent Same for All Units\n \n Yes\n No\n \n \n \n \n
\n \n \n
\n
\n \n Rent per Unit\n \n {{"₹"}} {{rent_per_unit_Inwords[fu]}} Only\n \n \n \n Amount\n \n {{"₹"}} {{amount_Inwords[f] }} Only\n \n \n
\n
\n
\n \n \n
\n
\n \n Rent Unit {{fu+1}} \n \n {{"₹"}} {{fUnits.value.rent_per_unit != \'\' ? inWordsmultiple(fUnits.value.rent_per_unit,f,fu,1) : \'\'}} Only\n \n
\n
\n
\n
\n \n
\n \n
\n \n Total Rent Amount\n \n {{"₹"}} {{floor_rent_amount_Inwords[f]}} Only\n \n
\n
\n
\n
\n \n \n \n\n \n \n \n \n Unit {{u+1}}\n \n \n \n
\n \n \n Name of the Tenant(s)/Lessees(s) of the Let out Property\n \n Yes\n Name(s) not provided\n \n \n \n Name of Tenant(s)/Lessees(s)\n \n \n \n Why Tenant(s)/Lessees(s) Name not Provided\n \n \n \n \n \n Monthly Rent Amount as per Loan Applicant\n \n \n {{"₹"}} {{monthly_rent_amount_Inwords[u]}} Only\n \n \n Mode of Payment of Rent as per Loan Applicant\n \n \n {{payment.name}}\n \n \n \n\n \n Amount Received in Bank\n \n Given Value Is More Than Rent Amount\n Given Value Is Less Than Rent Amount\n {{"₹"}} {{amount_received_bank_Inwords[u]}} Only\n \n\n \n Amount Received in Cash\n \n Given Value Is More Than Rent Amount\n Given Value Is Less Than Rent Amount\n {{"₹"}} {{amount_received_cash_Inwords[u]}} Only\n \n\n \n \n Reason for Receiving Multiple Payment Mode\n \n \n \n Securtity Deposit amount as per Loan Applicant\n \n {{"₹"}} {{securtity_deposit_amount_Inwords[u]}} Only\n \n \n \n \n Area Covered by the Unit\n \n \n \n \n\n \n \n Unit of Measurement\n \n \n {{unitM.name}}\n \n \n \n\n \n Other Unit of Measurement\n \n \n \n \n \n Is Rent Agreement executed for the Property let out\n \n Yes\n No\n \n \n \n\n \n \n Rent Agreement Seen\n \n Yes\n No\n \n \n \n \n \n Is the Rent Agreement Registered at Sub-Registrar Office\n \n Yes\n No\n \n \n \n \n \n Date of Agreement\n \n \n \n\n \n No of Months for Which Property has been let out as per Agreement\n \n \n\n \n Date on which Agreement is Expiring\n \n \n \n No of Rental Months Remaining as per Agreement\n \n \n \n \n \n Monthly Rent Amount as per Agreement\n \n {{"₹"}} {{agreement_monthly_rent_amount_Inwords[u]}} Only\n \n \n\n \n \n Security Deposit Amount as per Agreement\n \n {{"₹"}} {{agreement_security_deposit_amount_Inwords[u]}} Only\n \n \n\n \n \n There is a Difference of\n Rs.{{validateAgreementAmt(units.value.monthly_rent_amount,units.value.agreement_monthly_rent_amount)}}\n in the rent amount as per agreement and actual rent received. Why?\n \n \n \n\n \n \n Name of Owner / Owners of Rented Property as per Rent Agreement\n \n \n \n {{val.name}}\n \n \n \n \n \n Specify Other Owner/Owners\n \n \n \n Relation of Owner to Loan Applicant\n \n \n \n {{relation.name |\n titlecase}}\n \n \n \n \n Relation To\n \n \n {{relationto.id=="0"\n ? \'Not Applicable\' : relationto.name | titlecase}}\n \n \n \n \n\n \n \n Name of Tenants / Lessees as per Rent Agreement\n \n \n \n \n\n \n \n Tenant(s) / Lessee(s) Met During Visit of the Rented Property\n \n Yes\n No\n \n \n \n Name of the Tenant / Lessee Met\n \n \n \n \n Why Tenant / Lessee not Met ?\n \n \n \n\n \n \n Name of Owner as per Tenant / Lessee Met\n \n \n \n {{val.name}}\n \n \n \n \n \n Specify Other Owner/Owners\n \n \n \n Relation of Owner to Loan Applicant\n \n \n \n {{relation.name |\n titlecase}}\n \n \n \n \n Relation To\n \n \n {{relationto.id=="0"\n ? \'Not Applicable\' : relationto.name | titlecase}}\n \n \n \n \n\n \n \n Monthly Rent Amount Paid as per Tenant / Lessee Met\n \n {{"₹"}} {{paid_monthly_rent_per_met_Inwords[u]}} Only\n \n\n \n Period (Months) of Stay as per Tenant / Lessee Met\n \n \n\n \n Mode of Payment of Rent as Validated by PD Officer with Tenant / Lessee During Visit\n \n \n {{payment.name}}\n \n \n \n\n \n Amount Paid in Bank\n \n Given Value Is More Than Rent Amount\n Given Value Is Less Than Rent Amount\n {{"₹"}} {{amount_received_bank_per_met_Inwords[u]}} Only\n \n\n \n Amount Paid in Cash\n \n Given Value Is More Than Rent Amount\n Given Value Is Less Than Rent Amount\n {{"₹"}} {{amount_received_cash_per_met_Inwords[u]}} Only\n \n\n \n \n Reason for Paid Multiple Payment Mode\n \n \n\n \n \n What is the Reason for Difference in Rent Amount or Mode of 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 Third Party Check\n \n \n \n
\n \n \n Third party check done on prevailing rent in the area\n \n Yes\n No\n \n \n\n \n Name of person with whom Third Party Check on going rentals in the area done\n \n \n \n Description of the person with whom the Third Party Check is done\n \n \n \n Rental rates in the area as per the person with whom Third Party Check is done\n \n \n \n Why Third party check not 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 '/*ion-inline-end:"/home/rajasekar/Desktop/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 */], + __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], + __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */]]) + ], PdQuestionRentalInfoPage); + return PdQuestionRentalInfoPage; +}()); + +//# sourceMappingURL=pd-question-rental-info.js.map + +/***/ }), + +/***/ 382: +/***/ (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__(4); +/* 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__(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 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.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + // 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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.html"*/'\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 Main Applicant\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 {{earning}}\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 {{education}}\n \n \n \n \n \n \n \n \n {{earning}}\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 Remarks\n \n \n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n
\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 383: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__ = __webpack_require__(384); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__ = __webpack_require__(385); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__ = __webpack_require__(386); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__ = __webpack_require__(387); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__ = __webpack_require__(388); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__ = __webpack_require__(389); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__ = __webpack_require__(390); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pipes_rupee_currency_format_rupee_currency_format__ = __webpack_require__(129); +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, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.fb = fb; + this.cons = cons; + this.check__purchse_type = [{ 'id': '1', 'name': 'Yes' }, { 'id': '2', 'name': 'No' }]; + 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.activateMarginCalculation = false; + this.SaleAmtInwords = []; + this.marginAmtInwords = []; + this.purchase_bill_wise = []; + this.purchase_bill_wise_data = []; + this.sales_type = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.pageId = this.navParams.get('pageId'); + // this.getAssessedDetails(); + 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], + comments: [null], + isactive: [1], + fk_createdby: [this.users], + }); + this.grossProfitForm = this.fb.group({ + calc_type_id: [''], + fk_pd_id: [this.pdDetails.pd_id], + company_id: [this.pdDetails.company_id], + mode: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], + margin: [''], + }); + // this.getdropList(); + } + PdQuestionAssessedInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedInfoPage'); + }; + PdQuestionAssessedInfoPage.prototype.ionViewDidEnter = function () { + }; + PdQuestionAssessedInfoPage.prototype.ionViewCanEnter = function () { + this.getAssessedDetails(); + }; + PdQuestionAssessedInfoPage.prototype.changeOptions = function (values) { + // console.log('values',values); + this.grossProfitForm.controls['margin'].setValue(''); + /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2 + * Refer => check_sales_type **/ + if (values.mode == 2) { + // console.log('2'); + this.grossProfitForm.controls['margin'].setValue('2'); + } + }; + //PURCHASE DETAILS SUBMIT + // submitDetails(records: any){ + // if (this.grossProfitForm.invalid) { + // this.toast.pdTriggerappmessage("Please Check All Manatory Fields.."); + // return; + // } + // // let datas:any; + // // datas=records; + // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => { + // this.toast.pdTriggerappmessage('Saved Successfully.'); + // //this.loadAssessedForms.next('1'); + // }, error => { + // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); + // // this.loadAssessedForms.next('1'); + // }); + // } + PdQuestionAssessedInfoPage.prototype.getMarginCalc = function () { + var margin_per = this.assessedForm.controls['margin_per'].value; + console.log("Margin Per", margin_per); + 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 = {}; + answerData.company_id = this.pdDetails.company_id; + 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.!'); + } + }); + setTimeout(function () { + _this.getAssessedDetails(); + }, 1500); + }; + PdQuestionAssessedInfoPage.prototype.salesCalculation = function (values) { + if (values.sales_declared_by_customer != '') { + this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer); + } + if (values.margin_per != '' && values.sales_declared_by_customer != '') { + this.assessedForm.controls['margin_value'].setValue((values.sales_declared_by_customer * (values.margin_per / 100)).toFixed(2)); + this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per / 100)); + } + }; + PdQuestionAssessedInfoPage.prototype.getAssessedDetails = function () { + var _this = this; + this.sales_item_month_value = []; + this.sales_month_wise_data = []; + this.sales_item_value = []; + this.purchase_bill_wise_data = []; + var records = { 'pd_id': this.pdDetails.pd_id, 'company_id': this.pdDetails.company_id }; + console.log("company", this.pdDetails.company_id); + console.log("getAssesed", records); + 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; + //SALE ANNUAL TOTAL + _this.totalAnnualSale_Item_wise = _this.sales_item_value.map(function (val) { return val.annual_sale_value; }).reduce(function (original, value) { return original + Number(value); }, 0); + console.log("this.sales_item", _this.totalAnnualSale_Item_wise); + _this.sales_item_month_value = res['records'].sales_items_by_monthwise; + _this.purchse_details = res['records'].purchase_details; + //PURCHASE ANNUAL TOTAL + _this.totalAnnualpurchase_Item_wise = _this.purchse_details.map(function (val) { return val.annual_purchase_value; }).reduce(function (original, value) { return original + Number(value); }, 0); + _this.purchase_bill_wise = res['records'].purchase_billwise; + _this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]; + _this.purchase_type = _this.grossprofitCalc.purchase_type; + console.log("gross", _this.grossprofitCalc); + _this.mode = _this.grossprofitCalc.mode; + var lenOfGrossProfit = res['records'].gross_profit_calculation_type.length; + console.log("len", lenOfGrossProfit); + _this.activateMarginCalculation = res['records'].gross_profit_calculation_type[lenOfGrossProfit - 1].margin == 2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit - 1].mode == 2 ? true : false; + console.log(_this.activateMarginCalculation); + var result = _this.purchse_details.reduce(function (p, c) { + return p; + }, []); + console.log(result); + _this.businessExpenses_details = res['records'].business_expenses; + //BUSINESS ANNUAL TOTAL + _this.totalAnnualBusiness_details = _this.businessExpenses_details.map(function (val) { return val.annual_expenses_value; }).reduce(function (original, value) { return original + Number(value); }, 0); + _this.houseHold_details = res['records'].house_hold_expenses; + //HOUSEHOLD ANNUAL TOTAL + _this.totalAnnual_House_hold_details = _this.houseHold_details.map(function (val) { return val.annual_expense_value; }).reduce(function (original, value) { return original + Number(value); }, 0); + _this.busissnessIncome = res['records'].othre_business_income; + // console.log(this.sales_item_month_value); + // this.getpurchaseDetails(this.purchse_details); + // this.grossProfitForm.controls['mode'].setValue(res['records'].gross) + // const control=this.grossProfitForm['controls'] + // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode); + // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin) + // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id) + _this.sales_item_month_value.forEach(function (itemElement, itemIndex) { + _this.sales_type[itemIndex] = itemElement.sales_type; + 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, otherSaleItem: itemElement.other_sales_item }); + }); + _this.purchase_bill_wise.forEach(function (itemElement, itemIndex) { + console.log("0index", itemElement.items[0]); + var result = Object.assign.apply(Object, [{}].concat(itemElement.items)); + console.log("result", result); + var expandBodyContent = Object.keys(result).map(function (key) { return ({ header: key, value: result[key] }); }); + console.log("expanBody", expandBodyContent); + var listItems = []; + expandBodyContent.forEach(function (expandElement, expandIndex) { + var calculateItems = expandElement.value.reduce(function (acc, calculate) { return acc + Number(calculate.purchase_value); }, 0); + listItems.push({ items: expandElement, itemsTotal: calculateItems }); + }); + var calculateAllItemsTotal = listItems.reduce(function (va, rcalc) { return va + Number(rcalc.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.purchase_bill_wise_data.push({ purchaseItem: itemElement.purchase_item, expandElements: expandBodyContent, footerMessage: footerMessage, pbw_id: itemElement.pbw_id, otherPurchaseItem: itemElement.other_purchase_item }); + }); + console.log("val purchase0", _this.purchase_bill_wise_data); + console.log("value", _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['comments'].setValue(sales_value.comments); + _this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per); + if (sales_value.sales_declared_by_customer != null) { + _this.SaleAmtInwords = _this.cons.convertNumberToWords(sales_value.sales_declared_by_customer); + } + if (sales_value.margin_value != null) { + _this.marginAmtInwords = _this.cons.convertNumberToWords(sales_value.margin_value); + } + } + } + }); + }; + PdQuestionAssessedInfoPage.prototype.grossProfitWithData = function (data) { + return this.fb.group({ + calc_type_id: [data.calc_type_id], + fk_pd_id: [this.pdDetails.pd_id], + company_id: [data.company_id], + mode: [data.mode], + margin: [data.margin], + }); + }; + /** + * 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, 'margin_calculation_status': this.activateMarginCalculation }); + }; + 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(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': salesData, 'margin_calculation_status': this.activateMarginCalculation }); + }; + 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, 'margin_calculation_status': this.activateMarginCalculation }); + }; + /**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, 'margin_calculation_status': this.activateMarginCalculation }); + }; + 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, 'margin_calculation_status': this.activateMarginCalculation }); + }; + PdQuestionAssessedInfoPage.prototype.allEditSalesDailyWise = function (values) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], { 'pdDetails': this.pdDetails, 'salesDaily': values, 'margin_calculation_status': this.activateMarginCalculation }); + }; + /**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 }); + }; + PdQuestionAssessedInfoPage.prototype.AddPurchaseBillWiseForm = function () { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], { 'pdDetails': this.pdDetails, 'purchaseDaily': null }); + }; + PdQuestionAssessedInfoPage.prototype.alleditPurchaseBillWise = function (all_purchase_daily) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], { 'pdDetails': this.pdDetails, 'purchaseDaily': all_purchase_daily }); + }; + PdQuestionAssessedInfoPage.prototype.editPurchaseBillWise = function (daily_purchase) { + var single_purchase = this.purchase_bill_wise.filter(function (val) { return val.pbw_id == daily_purchase; }); + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], { 'pdDetails': this.pdDetails, 'purchaseDaily': single_purchase }); + }; + /**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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.html"*/'\n\n \n \n {{FormName}}\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 Sales Declared by the Customer as the Annual Sales Actually Done\n \n {{"₹"}} {{SaleAmtInwords}} Only\n \n
\n \n \n \n \n \n \n {{"₹"}} {{marginAmtInwords}} 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 Item-Wise Sales Calculation\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 {{salesItem.sales_item}}({{salesItem.other_sales_item}})\n \n \n {{"₹"}} {{salesItem.annual_sale_value}}\n \n \n
\n
\n
\n \n \n

Total of Sales

\n
\n \n
{{totalAnnualSale_Item_wise | rupeeCurrencyFormat}}
\n
\n
\n
\n \n \n
\n \n \n \n \n Sales Calculation as per Kutcha Records / Bills\n \n \n

Daily Sales Details

\n \n \n \n

{{"✎"}}

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

{{monthwise.salesItem | titlecase}}({{monthwise.otherSaleItem | titlecase}})

\n \n \n \n {{eachItem.header | titlecase}}\n YearWise Sale\n \n
\n \n \n \n \n {{eachmonthItem.sales_date | date:\'dd-MM-yyyy\'}}\n \n {{eachmonthItem.frequency_name}}\n \n \n \n {{"₹"}} {{eachmonthItem.sales_value}}\n \n {{"₹"}} {{eachmonthItem.frequency_value}}\n \n \n \n
\n
\n \n \n \n \n \n Annual Sale : {{ monthwise.footerMessage[0].month_value}}\n \n \n {{monthwise.footerMessage[0].month_message}}
\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

Item-wise Purchase Calculation

\n \n

{{"✎"}}

\n \n \n \n \n \n
\n \n \n \n \n {{purchase.purchase_item}}({{purchase.other_purchase_item}})\n \n \n {{"₹"}} {{purchase.annual_purchase_value}}\n \n \n
\n
\n
\n \n \n

Total of purchase

\n
\n \n
{{totalAnnualpurchase_Item_wise | rupeeCurrencyFormat}}
\n
\n
\n
\n\n \n

Purchase Calculation as per Kutcha Records / Bills

\n \n \n \n

{{"✎"}}

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

{{purchase.purchaseItem | titlecase}}({{purchase.otherPurchaseItem | titlecase}})

\n \n \n \n {{eachItem.header | titlecase}}\n \n \n
\n \n \n \n \n {{eachmonthItem.purchase_date | date:\'dd-MM-yyyy\'}}\n \n \n \n \n \n {{"₹"}} {{eachmonthItem.purchase_value}}\n \n \n \n \n \n
\n
\n \n \n {{purchase.footerMessage[0].month_message}}
\n {{purchase.footerMessage[0].year_message}}\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 {{expense.expense_item}}\n \n \n {{"₹"}} {{expense.annual_expenses_value}}\n \n \n
\n
\n \n
\n \n \n

Total of Expense

\n
\n \n
{{totalAnnualBusiness_details | rupeeCurrencyFormat}}
\n
\n
\n \n
\n
\n
\n \n

Household Expenses

\n \n \n

{{"✎"}}

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

Total of Expense

\n
\n \n
{{totalAnnual_House_hold_details | rupeeCurrencyFormat}}
\n
\n
\n
\n
\n
\n \n

Other Business Income Items

\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 {{"₹"}} {{busIncome.income_value}}\n \n \n
\n
\n \n
\n
\n
\n \n\n\n
'/*ion-inline-end:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.html"*/, + providers: [__WEBPACK_IMPORTED_MODULE_14__pipes_rupee_currency_format_rupee_currency_format__["a" /* RupeeCurrencyFormatPipe */]] + }), + __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_12__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssessedInfoPage); + return PdQuestionAssessedInfoPage; +}()); + +//# sourceMappingURL=pd-question-assessed-info.js.map + +/***/ }), + +/***/ 384: +/***/ (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__(4); +/* 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__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(12); +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, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.qustCat = qustCat; + this.toast = toast; + this.cons = cons; + this.salesData = []; + this.annual = []; + this.annualSaleAmtInwords = []; + this.marginAmtInwords = []; + this.marginFinalAmtInwords = []; + this.ratePerUnitAmtInwords = []; + this.margin_calculation_status = []; + this.check_type = [{ 'type_id': "1", 'type_name': 'Quantity and Rate Information' }, { 'type_id': "2", 'type_name': 'Value Information' }]; + this.product_and_services = []; + this.complete_status = false; + this.UOMData = []; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + //this.grossprofitCalc = this.navParams.get('grossprofit'); + this.margin_calculation_status = this.navParams.get('margin_calculation_status'); + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + 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; }); + _this.UOMData = _this.UOM.slice(); + } + }); + this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.pdDetails.company_id).subscribe(function (res) { + if (res.dataStatus == true) { + var datas_1 = res.records; + 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 == 2) { + if (val.prodcuts) { + _this.product_and_services.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 3) { + if (val.prodcuts) { + _this.product_and_services.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 4) { + if (val.prodcuts) { + _this.product_and_services.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 5) { + if (val.prodcuts) { + _this.product_and_services.push(val.prodcuts); + } + } + }); + } + console.log("before", _this.product_and_services); + _this.product_and_services = [].concat.apply([], _this.product_and_services); + console.log("After", _this.product_and_services); + } + }); + }; + PdQuestionAssessedSalesPage.prototype.createSalesCal = function () { + return this.fb.group({ + sci_id: [null], + fk_pd_id: [this.pdDetails.pd_id], + company_id: [this.pdDetails.company_id], + sales_item: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + other_sales_item: [null], + sales_qty: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + sales_type: ["1"], + fk_uom_id: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + uomSearch: [null], + uom_other: [null], + 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], + comments: [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, item) { + var _this = this; + console.log("value", item); + 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); + console.log("pd", this.pdDetails); + var deleteRecords; + if (item.sci_id != null && item.fk_pd_id != null) { + deleteRecords = [{ + sci_id: item.sci_id, + fk_pd_id: item.fk_pd_id, + company_id: this.pdDetails.company_id, + isactive: false + }]; + var records = { 'records': deleteRecords }; + this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Record Deleted Successfully"); + } + else { + _this.toast.pdTriggerappmessage("Something Went Wrong"); + } + }); + } + 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 (indexVal, values) { + // console.log("Det",details); + // let frequencyId = details.value.fk_frequency_id; + // let salesQty = details.value.sales_qty; + // let UOM = details.value.rate_per_unit; + // // console.log(frequencyId,salesQty,UOM,index); + // // console.log(frequencyId); + // let 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((a,b)=> a+b,0); + // }else + // { + // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM'); + // } + // console.log(this.annual); + var control = this.assessedForm.controls['salesCalItemwise']; + if (values.rate_per_unit != '' && values.rate_per_unit != null) { + console.log("Rate Per value", values.rate_per_unit); + this.inWords(values.rate_per_unit, indexVal, 4); + } + if (values.sales_qty != '' && values.rate_per_unit != '' && values.fk_frequency_id != '' && values.fk_frequency_id != null) { + console.log("Frequency", values.fk_frequency_id); + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + var AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor); + control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)); + this.inWords(AnnualSalesValue, indexVal, 1); + } + else { + control.controls[indexVal].controls['annual_sale_value'].setValue(''); + } + if (this.margin_calculation_status === true) { + values.margin_per_uom == '' && values.margin_per != '' ? this.salesMarginPerCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom != '' && values.margin_per == '' ? this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom != '' && values.margin_per != '' ? this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]); + } + }; + PdQuestionAssessedSalesPage.prototype.salesCalculation = function (indexVal, values) { + var control = this.assessedForm.controls['salesCalItemwise']; + if (values.sales_type == "1" && values.sales_qty != '' && values.rate_per_unit != '' && values.fk_frequency_id != '' && values.fk_frequency_id != null) { + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.sales_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); + this.inWords(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 1); + } + else if (values.sales_type == "2" && values.rate_per_unit != '' && values.fk_frequency_id != '' && values.fk_frequency_id != null) { + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + control.controls[indexVal].controls['annual_sale_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); + this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 1); + } + else { + control.controls[indexVal].controls['annual_sale_value'].setValue(''); + } + if (this.margin_calculation_status === true) { + values.margin_per_uom == '' && values.margin_per != '' ? this.salesMarginPerCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom != '' && values.margin_per == '' ? this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom != '' && values.margin_per != '' ? this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]) : this.salesMarginAmtCalculation(indexVal, this.assessedForm.value.salesCalItemwise[indexVal]); + } + }; + PdQuestionAssessedSalesPage.prototype.salesMarginPerCalculation = function (indexVal, values) { + var control = this.assessedForm.controls['salesCalItemwise']; + control.controls[indexVal].controls['margin_per_uom'].setValue(''); + if (values.margin_per != '' && values.annual_sale_value != '' && values.margin_per != null && values.annual_sale_value != null) { + control.controls[indexVal].controls['margin_final_value'].setValue((parseFloat(values.annual_sale_value) * (parseFloat(values.margin_per) / 100)).toFixed(2)); + this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per) / 100), indexVal, 3); + } + else { + control.controls[indexVal].controls['margin_final_value'].setValue(''); + } + }; + PdQuestionAssessedSalesPage.prototype.salesMarginAmtCalculation = function (indexVal, values) { + var control = this.assessedForm.controls['salesCalItemwise']; + control.controls[indexVal].controls['margin_per'].setValue(''); + if (values.sales_type == "1" && values.margin_per_uom != '' && values.margin_per_uom != null && values.sales_qty != '' && values.sales_qty != null && values.fk_frequency_id != '' && values.fk_frequency_id != null) { + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + var Type1CalculatedValue = parseFloat(values.sales_qty) * parseFloat(values.margin_per_uom) * parseFloat(filterFrequencyValue[0].mutiple_factor); + control.controls[indexVal].controls['margin_final_value'].setValue(Type1CalculatedValue.toFixed(2)); + this.inWords(Type1CalculatedValue.toFixed(2), indexVal, 3); + } + else if (values.sales_type == "2" && values.margin_per_uom != '' && values.margin_per_uom != null && values.rate_per_unit != '' && values.rate_per_unit != null) { + var Type2CalculatedValue = parseFloat(values.rate_per_unit) * parseFloat(values.margin_per_uom); + control.controls[indexVal].controls['margin_final_value'].setValue(Type2CalculatedValue.toFixed(2)); + this.inWords(Type2CalculatedValue.toFixed(2), indexVal, 3); + } + else { + control.controls[indexVal].controls['margin_final_value'].setValue(''); + } + }; + /*OLD NOT USED CALCULATION*/ + PdQuestionAssessedSalesPage.prototype.getSalesCalc = function (indexVal, values) { + // // console.log(details); + // let margin_per = details.value.margin_per; + // let margin_amount = details.value.margin_per_uom; + // let annual_sale_value = details.value.annual_sale_value; + // let sales_qty = details.value.sales_qty; + // // console.log(sales_qty,margin_amount); + // let value:any = ''; + // 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); + // } + var control = this.assessedForm.controls['salesCalItemwise']; + control.controls[indexVal].controls['margin_per_uom'].setValue(''); + if (values.margin_per != '' && values.annual_sale_value != '' && values.margin_per != null && values.annual_sale_value != null) { + control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per) / 100)); + this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per) / 100), indexVal, 3); + } + else { + control.controls[indexVal].controls['margin_final_value'].setValue(''); + } + }; + PdQuestionAssessedSalesPage.prototype.inWords = function (value, inx, flag) { + switch (flag) { + case 1: + this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value); + break; + case 2: + this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value); + break; + case 3: + this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value); + break; + case 4: + console.log("Rate", value); + this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value); + break; + default: break; + } + }; + PdQuestionAssessedSalesPage.prototype.saveData = function (answerData) { + var _this = this; + if (this.assessedForm.valid) { + answerData.salesCalItemwise.forEach(function (parVal) { + delete parVal.uomSearch; + }); + var records = { 'records': answerData.salesCalItemwise }; + console.log(records); + this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 1500); + } + }); + } + else { + console.log(answerData); + this.toast.pdTriggerappmessage("Please Fill all the Fields"); + } + }; + 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)); + if (sale.rate_per_unit != null) { + _this.ratePerUnitAmtInwords[index] = _this.cons.convertNumberToWords(sale.rate_per_unit); + } + if (sale.annual_sale_value != null) { + _this.annualSaleAmtInwords[index] = _this.cons.convertNumberToWords(sale.annual_sale_value); + } + if (sale.margin_per_uom != null) { + _this.marginAmtInwords[index] = _this.cons.convertNumberToWords(sale.margin_per_uom); + } + if (sale.margin_final_value != null) { + _this.marginFinalAmtInwords[index] = _this.cons.convertNumberToWords(sale.margin_final_value); + } + _this.changeOptions(index, sale.sales_type); + }); + // this.assessedForm.controls['salesCalItemwise'].setValue(salesData); + // console.log(control); + this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); + }; + PdQuestionAssessedSalesPage.prototype.changeOptions = function (indexVal, event) { + console.log("ai"); + var control = this.assessedForm.controls['salesCalItemwise']; + if (event.value == "1") { + control.controls[indexVal].controls['fk_frequency_id'].setValue(""); + control.controls[indexVal].controls['fk_frequency_id'].clearValidators(); + control.controls[indexVal].controls['fk_frequency_id'].updateValueAndValidity(); + control.controls[indexVal].controls['annual_sale_value'].setValue(""); + control.controls[indexVal].controls['annual_sale_value'].clearValidators(); + control.controls[indexVal].controls['annual_sale_value'].updateValueAndValidity(); + control.controls[indexVal].controls['rate_per_unit'].setValue(""); + control.controls[indexVal].controls['rate_per_unit'].clearValidators(); + control.controls[indexVal].controls['rate_per_unit'].updateValueAndValidity(); + control.controls[indexVal].controls['sales_qty'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + control.controls[indexVal].controls['sales_qty'].updateValueAndValidity(); + control.controls[indexVal].controls['fk_uom_id'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity(); + this.salesCalculation(indexVal, control.controls[indexVal].value); + } + else if (event.value == "2") { + control.controls[indexVal].controls['sales_qty'].setValue(""); + control.controls[indexVal].controls['sales_qty'].clearValidators(); + control.controls[indexVal].controls['sales_qty'].updateValueAndValidity(); + control.controls[indexVal].controls['fk_uom_id'].setValue(""); + control.controls[indexVal].controls['fk_uom_id'].clearValidators(); + control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity(); + control.controls[indexVal].controls['margin_per_uom'].setValue(""); + this.salesCalculation(indexVal, control.controls[indexVal].value); + } + }; + PdQuestionAssessedSalesPage.prototype.createSaleswithData = function (data) { + return this.fb.group({ + sci_id: [data.sci_id], + company_id: [this.pdDetails.company_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])], + other_sales_item: [data.other_sales_item], + sales_type: [data.sales_type, __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])], + uomSearch: [null], + uom_other: [data.uom_other], + 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], + comments: [data.comments] + }); + }; + PdQuestionAssessedSalesPage.prototype.searchUOM = function (control, i) { + var _this = this; + control.controls['uomSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + var val = control.controls['uomSearch'].value; + if (!_this.UOM) { + return; + } + var searchVal = val; + if (!searchVal) { + _this.UOMData = _this.UOM.slice(); + return; + } + else { + searchVal = searchVal.toLowerCase(); + } + _this.UOMData = _this.UOM.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; }); + }); + }; + PdQuestionAssessedSalesPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-sales',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.html"*/'\n\n \n \n Item-Wise Sales Calculation \n\n\n \n\n\n\n\n\n
\n
\n
\n \n \n \n \n \n Select\n {{product.name | titlecase}}\n Others\n \n \n \n \n \n \n {{types.type_name}}\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n {{U.name}}\n \n \n \n \n \n \n
\n \n
\n \n
\n \n \n \n {{"₹"}} {{ratePerUnitAmtInwords[i]}} Only\n \n \n \n Select\n {{frq.name}}\n \n \n \n \n {{"₹"}} {{annualSaleAmtInwords[i]}} Only\n \n
\n \n
\n \n \n \n Select\n {{frq.name}}\n \n \n \n \n {{"₹"}} {{ratePerUnitAmtInwords[i]}} Only\n \n \n \n {{"₹"}} {{annualSaleAmtInwords[i]}} Only\n \n
\n\n
\n
\n \n \n \n \n \n {{"₹"}} {{marginAmtInwords[i]}} Only\n \n \n \n {{"₹"}} {{marginFinalAmtInwords[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'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssessedSalesPage); + return PdQuestionAssessedSalesPage; +}()); + +//# sourceMappingURL=pd-question-assessed-sales.js.map + +/***/ }), + +/***/ 385: +/***/ (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__(4); +/* 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__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common__ = __webpack_require__(8); +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.pipe = new __WEBPACK_IMPORTED_MODULE_7__angular_common__["d" /* DatePipe */]('en-US'); + this.Value = []; + this.marginAmtInwords = []; + this.frequencyData = []; + this.freqAmtInwords = []; + this.check_type = [{ 'type_id': "1", 'type_name': 'Date Information' }, { 'type_id': "2", 'type_name': 'Frequency Information' }]; + this.product_and_services = []; + this.complete_status = false; + this.temparr = []; + this.tempdate = []; + // this.maxDate=new Date() + var today = new Date; + console.log("today", today); + var date = today.getDate() < 10 ? ("0" + (today.getDate())) : today.getDate(); + var month = today.getMonth() < 10 ? ("0" + (today.getMonth() + 1)) : (today.getMonth() + 1); + this.maxDate = today.getFullYear() + '-' + month + '-' + date; + console.log("max", this.maxDate); + 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.margin_calculation_status = this.navParams.get('margin_calculation_status'); + 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(); + } + this.getDropDown(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionAssessedDailySalesPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage'); + }; + PdQuestionAssessedDailySalesPage.prototype.getDropDown = function () { + var _this = this; + this.qustCat.getcommondrop('FREQUENCY').subscribe(function (data) { + _this.frequencyData = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.pdDetails.company_id).subscribe(function (res) { + if (res.dataStatus == true) { + var datas_1 = res.records; + 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 == 2) { + if (val.prodcuts) { + _this.product_and_services.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 3) { + if (val.prodcuts) { + _this.product_and_services.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 4) { + if (val.prodcuts) { + _this.product_and_services.push(val.prodcuts); + } + } + if (val.type_of_activity_id == 5) { + if (val.prodcuts) { + _this.product_and_services.push(val.prodcuts); + } + } + }); + } + console.log("before", _this.product_and_services); + _this.product_and_services = [].concat.apply([], _this.product_and_services); + console.log("After", _this.product_and_services); + } + }); + }; + // change options for either Date/Frequency Information + PdQuestionAssessedDailySalesPage.prototype.changeOptions = function (indexVal, event) { + console.log("event", event); + var control = this.salesDailyForm.controls['sales_product']; + console.log("control", control); + var innercontrol = control.controls[indexVal].get('child'); + if (event == "1") { + for (var i = 0; i < innercontrol.value.length - 1; i++) { + innercontrol.removeAt(i); + } + innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].updateValueAndValidity(); + innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].setValue(""); + innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].clearValidators(); + innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].updateValueAndValidity(); + innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].setValue(""); + innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].clearValidators(); + innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].updateValueAndValidity(); + innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue(""); + // control.controls[indexVal].controls['comments'].setValue(""); + // control.controls[indexVal].controls['comments'].clearValidators(); + //control.controls[indexVal].controls['comments'].updateValueAndValidity(); + } + else if (event == "2") { + for (var i = 0; i < innercontrol.value.length - 1; i++) { + innercontrol.removeAt(i); + } + innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].setValue(""); + innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].clearValidators(); + innercontrol.controls[innercontrol.value.length - 1].controls['sales_date'].updateValueAndValidity(); + innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].setValue(""); + innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + innercontrol.controls[innercontrol.value.length - 1].controls['fk_frequency_id'].updateValueAndValidity(); + innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].setValue(""); + innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + innercontrol.controls[innercontrol.value.length - 1].controls['frequency_value'].updateValueAndValidity(); + innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue(""); + control.controls[indexVal].controls['comments'].setValue(""); + // control.controls[indexVal].controls['comments'].setValidators([Validators.required]); + // control.controls[indexVal].controls['comments'].updateValueAndValidity(); + } + control.controls[indexVal].controls['margin_per'].setValue(""); + control.controls[indexVal].controls['margin_value'].setValue(""); + }; + 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])], + other_sales_item: [null], + sales_type: ["1"], + child: this.fb.array([]), + fk_pd_id: [this.pdDetails.pd_id], + company_id: [this.pdDetails.company_id], + margin_per: [null], + margin_value: [null], + comments: [null], + fk_createdby: [this.users], + isactive: [true], + }); + }; + PdQuestionAssessedDailySalesPage.prototype.createdailyChildSaleProduct = function () { + return this.fb.group({ + simc_id: [null], + fk_sim_id: [null], + sales_date: [null], + sales_value: [null], + fk_frequency_id: [null], + frequency_value: [null], + isactive: [true], + }); + }; + 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.salesCalculation = function (indexVal, values) { + var _this = this; + console.log(indexVal, values); + console.log("Margin", this.margin_calculation_status); + if (this.margin_calculation_status === true && values.sales_type == "1") { + console.log("value == 1"); + var control = this.salesDailyForm.controls['sales_product']; + if (values.child.length > 0 && values.margin_per != '' && values.margin_per != null) { + // let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{ + var transformData = values.child.filter(function (val) { return val.sales_date != '' && val.sales_date != null && val.sales_date != undefined && val.sales_value != '' && val.isactive == true; }).map(function (mval) { + mval.custum_date = _this.pipe.transform(mval.sales_date, 'yyyy-MM'); + return mval; + }); + console.log("transform", transformData); + if (transformData.length > 0) { + var getUniqueMonthCounts = transformData.map(function (val) { return val.custum_date; }) + .filter(function (fVal, fIndex, fArray) { + return fIndex === fArray.indexOf(fVal); + }); + var getTotalValueCounts = transformData.map(function (val) { return val.sales_value; }) + .reduce(function (sum, curr) { return parseFloat(sum) + parseFloat(curr); }); + console.log("value", (parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per) / 100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2)); + console.log(control.controls[indexVal]); + control.controls[indexVal].controls['margin_value'].setValue((parseFloat(getTotalValueCounts) * (parseFloat(values.margin_per) / 100) * (12 / parseFloat(getUniqueMonthCounts.length))).toFixed(2)); + this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per) / 100) * (12 / parseInt(getUniqueMonthCounts.length)), indexVal, 2); + } + else { + console.log("else 1"); + control.controls[indexVal].controls['margin_value'].setValue(""); + } + console.log("else 1"); + } + else { + console.log("else 2"); + control.controls[indexVal].controls['margin_value'].setValue(''); + } + } + else if (this.margin_calculation_status === true && values.sales_type == "2") { + var control = this.salesDailyForm.controls['sales_product']; + var innercontrol = control.controls[indexVal].get('child'); + if (values.child[values.child.length - 1].fk_frequency_id != '' && values.child[values.child.length - 1].frequency_value != '' && values.child[values.child.length - 1].fk_frequency_id != null && values.child[values.child.length - 1].frequency_value != null) { + var filterFrequencyValue = this.frequencyData.filter(function (val) { return val.frequency_id == values.child[values.child.length - 1].fk_frequency_id; }); + innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length - 1].frequency_value)).toFixed(2)); + this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length - 1].frequency_value), innercontrol.value.length - 1, 1); + var getTotalValueCounts = parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length - 1].frequency_value); + values.margin_per != '' ? control.controls[indexVal].controls['margin_value'].setValue((getTotalValueCounts * (parseFloat(values.margin_per) / 100)).toFixed(2)) : ''; + values.margin_per != '' ? this.inWords(getTotalValueCounts * (parseInt(values.margin_per) / 100), indexVal, 2) : ''; + } + else { + innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue(""); + control.controls[indexVal].controls['margin_value'].setValue(""); + } + } + else if (this.margin_calculation_status === false && values.sales_type == "2") { + var control = this.salesDailyForm.controls['sales_product']; + var innercontrol = control.controls[indexVal].get('child'); + if (values.child[values.child.length - 1].fk_frequency_id != '' && values.child[values.child.length - 1].frequency_value != '' && values.child[values.child.length - 1].fk_frequency_id != null && values.child[values.child.length - 1].frequency_value != null) { + var filterFrequencyValue = this.frequencyData.filter(function (val) { return val.frequency_id == values.child[values.child.length - 1].fk_frequency_id; }); + innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue((parseFloat(filterFrequencyValue[0].mutiple_factor) * parseFloat(values.child[values.child.length - 1].frequency_value)).toFixed(2)); + this.inWords(parseInt(filterFrequencyValue[0].mutiple_factor) * parseInt(values.child[values.child.length - 1].frequency_value), innercontrol.value.length - 1, 1); + } + else { + innercontrol.controls[innercontrol.value.length - 1].controls['sales_value'].setValue(""); + } + } + }; + PdQuestionAssessedDailySalesPage.prototype.inWords = function (e, c, flag) { + switch (flag) { + case 1: + this.Value[c] = this.constant.convertNumberToWords(e); + break; + case 2: + this.marginAmtInwords[c] = this.constant.convertNumberToWords(e); + break; + case 3: + this.freqAmtInwords[c] = this.constant.convertNumberToWords(e); + default: break; + } + }; + 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, item) { + var _this = this; + console.log("fk_pd_id", item); + this.tempdate.slice(index, 1); + var deleteRecords; + if (item.fk_pd_id != null) { + deleteRecords = [{ + sim_id: item.sim_id, + fk_pd_id: item.fk_pd_id, + company_id: this.pdDetails.company_id, + isactive: false + }]; + var records = { 'records': deleteRecords }; + this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Record Deleted Successfully"); + } + else { + _this.toast.pdTriggerappmessage("Something Went Wrong"); + } + }); + } + 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, childVal) { + var control = this.salesDailyForm.controls['sales_product']; + control = control.controls[saleIndex].get('child'); + if (childVal == '' || childVal == null) { + control.removeAt(saleChildIndex); + } + else { + console.log("control", control.controls[saleChildIndex]); + control.controls[saleChildIndex].get('isactive').setValue(false); + } + // this.tempdate = []; + // const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray; + // if(control.length==1) + // { + // control.removeAt(saleChildIndex); + // this.adddailyChildSaleProduct(saleIndex); + // }else{ + // control.removeAt(saleChildIndex); + // } + }; + PdQuestionAssessedDailySalesPage.prototype.saveData = function (answerData) { + var _this = this; + answerData.sales_product.forEach(function (parVal) { + parVal.child.forEach(function (childVal) { + if (childVal['custum_date']) { + delete childVal['custum_date']; + } + if (childVal['sales_date']) + childVal['sales_date'] = _this.pipe.transform(childVal['sales_date'], 'yyyy-MM-dd'); + }); + }); + if (this.salesDailyForm.valid) { + var records = { 'records': answerData.sales_product }; + console.log("answer Data", records); + this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 1500); + } + }); + } + else { + console.log("pd", this.salesDailyForm); + this.toast.pdTriggerappmessage("Please Fill all the Fields"); + } + }; + PdQuestionAssessedDailySalesPage.prototype.getDailySalesData = function (dailySalesData) { + var _this = this; + console.log("daily sale", dailySalesData); + var control = this.salesDailyForm.get('sales_product'); + var control1 = this.salesDailyForm.controls['sales_product']; + var salesChildControl; + var salesChildControlarr = []; + dailySalesData.forEach(function (val, index) { + if (val.margin_per != null && val.margin_per != '') { + console.log("c", parseInt(val.margin_per).toFixed(2)); + val.margin_per = parseInt(val.margin_per).toFixed(2); + } + if (val.margin_value != null && val.margin_value != '') { + val.margin_value = parseInt(val.margin_value).toFixed(2); + } + control.push(_this.dailySalesWithData(val)); + if (val.margin_value != null) { + _this.marginAmtInwords[index] = _this.constant.convertNumberToWords(val.margin_value); + } + 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) { + console.log("item", item, 'key', key); + if (val.sales_type != 2) { + var saleDate = new Date(item.sales_date); + var date = saleDate.getDate() < 10 ? ("0" + (saleDate.getDate())) : saleDate.getDate(); + var month = saleDate.getMonth() < 10 ? ("0" + (saleDate.getMonth() + 1)) : (saleDate.getMonth() + 1); + // item.sales_date = saleDate.getFullYear() + '-' + ("0" + (saleDate.getMonth() + 1)).slice(-2) + '-' + ("0" + (saleDate.getDay()+1 )).slice(-2); + console.log("sale Day", saleDate.getDay()); + item.sales_date = saleDate.getFullYear() + '-' + month + '-' + date; + } + //console.log("sale data",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy'))) + console.log("itme", val); + console.log("sale", item.sales_date); + salesChildControl.push(_this.dailySalesChildWithData(item, val.sim_id, val.sales_type)); + if (item.sales_value != null) { + _this.Value[i] = _this.constant.convertNumberToWords(item.sales_value); + } + if (item.frequency_value != null) { + _this.freqAmtInwords[i] = _this.constant.convertNumberToWords(item.frequency_value); + } + }); + }); + // this.changeOptions(index,val.sales_type) + if (val.sales_type == "2") { + salesChildControl.controls[salesChildControl.value.length - 1].controls['sales_date'].setValue(""); + salesChildControl.controls[salesChildControl.value.length - 1].controls['sales_date'].clearValidators(); + salesChildControl.controls[salesChildControl.value.length - 1].controls['sales_date'].updateValueAndValidity(); + salesChildControl.controls[salesChildControl.value.length - 1].controls['fk_frequency_id'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + salesChildControl.controls[salesChildControl.value.length - 1].controls['fk_frequency_id'].updateValueAndValidity(); + salesChildControl.controls[salesChildControl.value.length - 1].controls['frequency_value'].setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); + salesChildControl.controls[salesChildControl.value.length - 1].controls['frequency_value'].updateValueAndValidity(); + // control1.controls[control.value.length-1].controls['comments'].setValidators([Validators.required]); + // control1.controls[control.value.length-1].controls['comments'].updateValueAndValidity(); + } + }); + console.log("aall", this.salesDailyForm.value); + }; + PdQuestionAssessedDailySalesPage.prototype.dailySalesWithData = function (data) { + return this.fb.group({ + sim_id: [data.sim_id], + sales_item: [data.sales_item], + other_sales_item: [data.other_sales_item], + sales_type: [data.sales_type], + child: this.fb.array([]), + fk_pd_id: [this.pdDetails.pd_id], + company_id: [this.pdDetails.company_id], + fk_createdby: [this.users], + isactive: [true], + margin_per: [data.margin_per == null ? '' : data.margin_per], + margin_value: [data.margin_value == null ? '' : data.margin_value], + comments: [data.comments] + }); + }; + PdQuestionAssessedDailySalesPage.prototype.dailySalesChildWithData = function (data, fk_id, salesType) { + console.log("Sales type", salesType); + return this.fb.group({ + simc_id: [data.simc_id], + fk_sim_id: [fk_id], + // sales_date: [data.sales_date, Validators.compose([Validators.required])], + sales_date: [salesType == 2 ? '' : data.sales_date], + // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])], + sales_value: [data.sales_value], + fk_frequency_id: [data.fk_frequency_id], + frequency_value: [data.frequency_value], + isactive: [true], + }); + }; + PdQuestionAssessedDailySalesPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-daily-sales',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.html"*/'\n\n \n \n Sales Calculation as per Kutcha Records / Bills\n\n\n \n\n\n\n\n
\n
\n \n
\n \n \n \n Select\n {{product.name | titlecase}}\n Others\n \n \n \n \n \n \n {{types.type_name}}\n \n \n
\n \n
\n

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

\n
\n
\n
\n \n \n Sales Date is Required\n \n \n \n {{"₹"}} {{Value[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 {{frq.name}}\n \n \n \n \n \n {{"₹"}} {{freqAmtInwords[i]}} Only\n \n \n {{"₹"}} {{Value[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 {{"₹"}} {{marginAmtInwords[sale_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'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 386: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(12); +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, cons) { + this.navCtrl = navCtrl; + this.fb = fb; + this.navParams = navParams; + this.qustCat = qustCat; + this.toast = toast; + this.aws = aws; + this.cons = cons; + this.annual = []; + this.RateOfPurchase = []; + this.AnnualPurchase = []; + this.productListData = []; + this.UOMData = []; + this.check_type = [{ 'type_id': "1", 'type_name': 'Quantity and Rate Information' }, { 'type_id': "2", 'type_name': 'Value Information' }]; + this.complete_status = false; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); + this.pdDetails = this.navParams.get('pdDetails'); + this.purchaseDetails = this.navParams.get('purchase'); + console.log("purchase", this.purchaseDetails); + console.log("pd", this.pdDetails); + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + 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], + company_id: [this.pdDetails.company_id], + purchase_item: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + other_purchase_item: [null], + purchase_type: ['1'], + 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])], + uomSearch: [null], + uom_other: [null], + 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])], + comments: [null], + 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.UOMData = _this.UOM.slice(); + } + }); + this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.businessExpenses = res['records'].filter(function (bus) { return bus.isactive == 1; }); + } + }); + this.qustCat.stockFormAccess(this.pdDetails.pd_id, this.pdDetails.company_id).subscribe(function (data) { + if (data.dataStatus) { + var datas = data.record; + var type2 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); + if (type2[0].hasOwnProperty("products")) { + // this.productListData.push(type2[0].products); + } + var type3 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 3; }); + if (type3[0].hasOwnProperty("products")) { + _this.productListData.push(type3[0].products); + } + var type4 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 4; }); + if (type4[0].hasOwnProperty("products")) { + _this.productListData.push(type4[0].products); + } + if (datas.from_supplier.hasOwnProperty("raw_material")) { + _this.productListData.push(datas.from_supplier.raw_material); + } + _this.productListData = [].concat.apply([], _this.productListData); + } + }); + }; + PdQuestionAssessedPurchasePage.prototype.addPurchaseDetails = function () { + var control = this.rawMaterialForm.controls['purchase']; + control.push(this.createPurchaseDetails()); + }; + PdQuestionAssessedPurchasePage.prototype.deletePurchaseDetails = function (i, item) { + var _this = this; + this.annual.splice(i, 1); + // this.annual[i].spl + this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return +a + +b; }, 0); + var deleteRecords; + if (item.fk_pd_id != null) { + deleteRecords = [{ + purchase_id: item.purchase_id, + fk_pd_id: item.fk_pd_id, + company_id: this.pdDetails.company_id, + isactive: false + }]; + var records = { 'records': deleteRecords }; + this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Record Deleted Successfully"); + } + else { + _this.toast.pdTriggerappmessage("Something Went Wrong"); + } + }); + } + var control = this.rawMaterialForm.controls['purchase']; + if (control.length == 1) { + control.reset(); + } + else { + control.removeAt(i); + } + }; + PdQuestionAssessedPurchasePage.prototype.purchaseCalculation = function (indexVal, values) { + var control = this.rawMaterialForm.controls['purchase']; + if (values.rate_per_unit != null) { + if (values.rate_per_unit != '') { + this.inWords(values.rate_per_unit, indexVal, 1); + } + } + if (values.purchase_type == "1" && values.purchase_qty != '' && values.rate_per_unit != '' && values.fk_frequency_id != '' && values.purchase_qty != null && values.rate_per_unit != null && values.fk_frequency_id != null) { + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.purchase_qty) * parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); + this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); + } + else if (values.purchase_type == "2" && values.rate_per_unit != '' && values.rate_per_unit != null && values.fk_frequency_id != '' && values.fk_frequency_id != null) { + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + control.controls[indexVal].controls['annual_purchase_value'].setValue((parseFloat(values.rate_per_unit) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); + this.inWords(parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); + } + else { + control.controls[indexVal].controls['annual_purchase_value'].setValue(null); + } + // console.log(this.grandpurchaseTotal); + // console.log(details,index); + // let frequencyId = details.value.fk_frequency_id; + // let purchaseQty = details.value.purchase_qty; + // let UOM = details.value.rate_per_unit; + // console.log(frequencyId,purchaseQty,UOM,index); + // // console.log(frequencyId); + // let 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((a,b)=> +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) { + answerData.purchase.forEach(function (parVal) { + delete parVal.uomSearch; + }); + var records = { 'records': answerData.purchase }; + console.log('data', records); + this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 1500); + // 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; + if (val.rate_per_unit != null) { + _this.RateOfPurchase[index] = _this.cons.convertNumberToWords(val.rate_per_unit); + } + if (val.annual_purchase_value != null) { + _this.AnnualPurchase[index] = _this.cons.convertNumberToWords(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], + company_id: [this.pdDetails.company_id], + purchase_item: [data.purchase_item, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + other_purchase_item: [data.other_purchase_item], + purchase_type: [data.purchase_type], + 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])], + uomSearch: [null], + uom_other: [data.uom_other], + 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])], + comments: [data.comments], + isactive: ['1'], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedPurchasePage.prototype.changeOptions = function (indexVal, event) { + console.log('event', event); + var control = this.rawMaterialForm.controls['purchase']; + if (event.value == "1") { + control.controls[indexVal].controls['purchase_qty'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity(); + control.controls[indexVal].controls['fk_uom_id'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity(); + this.purchaseCalculation(indexVal, control.controls[indexVal].value); + } + else if (event.value == "2") { + control.controls[indexVal].controls['purchase_qty'].setValue(""); + control.controls[indexVal].controls['purchase_qty'].clearValidators(); + control.controls[indexVal].controls['purchase_qty'].updateValueAndValidity(); + control.controls[indexVal].controls['fk_uom_id'].setValue(""); + control.controls[indexVal].controls['fk_uom_id'].clearValidators(); + control.controls[indexVal].controls['fk_uom_id'].updateValueAndValidity(); + this.purchaseCalculation(indexVal, control.controls[indexVal].value); + } + }; + PdQuestionAssessedPurchasePage.prototype.searchUOM = function (control, i) { + var _this = this; + control.controls['uomSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_7_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + var val = control.controls['uomSearch'].value; + if (!_this.UOM) { + return; + } + var searchVal = val; + if (!searchVal) { + _this.UOMData = _this.UOM.slice(); + return; + } + else { + searchVal = searchVal.toLowerCase(); + } + _this.UOMData = _this.UOM.filter(function (res) { return res.name.toLowerCase().indexOf(searchVal) > -1; }); + }); + }; + PdQuestionAssessedPurchasePage.prototype.inWords = function (e, c, flag) { + switch (flag) { + case 1: + this.RateOfPurchase[c] = this.cons.convertNumberToWords(e); + break; + case 2: + this.AnnualPurchase[c] = this.cons.convertNumberToWords(e); + break; + default: break; + } + }; + PdQuestionAssessedPurchasePage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-purchase',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.html"*/'\n\n \n \n Item-wise Purchase Calculation\n\n\n \n\n\n\n\n\n
\n
\n
\n \n\n
\n \n \n \n Select\n {{ prod }}\n Others\n \n \n \n \n \n \n
\n \n {{types.type_name}}\n \n\n
\n \n \n \n
\n
\n \n \n \n \n \n \n \n \n {{U.name}}\n \n \n \n \n
\n \n \n \n
\n
\n \n \n {{"₹"}} {{RateOfPurchase[i]}} Only\n \n
\n
\n \n\n \n Select\n {{frq.name}}\n \n \n
\n
\n \n \n {{"₹"}} {{AnnualPurchase[i]}} Only\n \n
\n
\n
\n \n\n \n Select\n {{frq.name}}\n \n \n \n \n {{"₹"}} {{RateOfPurchase[i]}} Only\n \n \n \n {{"₹"}} {{AnnualPurchase[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

Grand Total:

\n
\n \n

{{grandpurchaseTotal}}

\n
\n
\n
\n \n
\n
\n \n \n \n \n \n
\n
\n\n \n \n\n\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssessedPurchasePage); + return PdQuestionAssessedPurchasePage; +}()); + +//# sourceMappingURL=pd-question-assessed-purchase.js.map + +/***/ }), + +/***/ 387: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +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, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.cons = cons; + this.Value = []; + this.AnnualExpenses = []; + this.complete_status = false; + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + 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])], + comments: [null], + isactive: ['1'], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedBusinessPage.prototype.businessCalculation = function (indexVal, values) { + var control = this.BuissnessForm.controls['busExpense']; + if (values.expense_value != '' && values.fk_frequency_id != '' && values.expense_value != null && values.fk_frequency_id != null) { + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + control.controls[indexVal].controls['annual_expenses_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); + this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); + } + else { + control.controls[indexVal].controls['annual_expenses_value'].setValue(null); + } + }; + PdQuestionAssessedBusinessPage.prototype.addBusinessDetails = function () { + var control = this.BuissnessForm.controls['busExpense']; + control.push(this.createBusinessDetails()); + }; + PdQuestionAssessedBusinessPage.prototype.deleteBuisnessDetails = function (i, item) { + var _this = this; + console.log("item", item); + this.expenseannual.splice(i, 1); + this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); + var deleteRecords; + if (item.fk_pd_id != null) { + deleteRecords = [{ + pd_expense_id: item.pd_expense_id, + fk_pd_id: item.fk_pd_id, + company_id: this.pdDetails.company_id, + isactive: false + }]; + var records = { 'records': deleteRecords }; + this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Record Deleted Successfully"); + } + else { + _this.toast.pdTriggerappmessage("Something Went Wrong"); + } + }); + } + var control = this.BuissnessForm.controls['busExpense']; + if (control.length == 1) { + control.reset(); + } + else { + 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); + this.inWords(annual, index, 2); + } + else if (frequencyId == 3) { + annual = (expenseValue); + this.expenseannual[index] = annual; + details.controls['annual_expenses_value'].setValue(annual); + this.inWords(annual, index, 2); + } + else if (frequencyId == 4) { + } + else if (frequencyId == 5) { + annual = (expenseValue * 12); + this.expenseannual[index] = annual; + details.controls['annual_expenses_value'].setValue(annual); + this.inWords(annual, index, 2); + } + 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.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 1500); + } + }); + } + 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)); + if (val.expense_value != null) { + _this.Value[index] = _this.cons.convertNumberToWords(val.expense_value); + _this.AnnualExpenses[index] = _this.cons.convertNumberToWords(val.annual_expenses_value); + } + }); + 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])], + comments: [data.comments], + isactive: ['1'], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedBusinessPage.prototype.inWords = function (e, c, flag) { + switch (flag) { + case 1: + this.Value[c] = this.cons.convertNumberToWords(e); + break; + case 2: + this.AnnualExpenses[c] = this.cons.convertNumberToWords(e); + break; + default: break; + } + }; + PdQuestionAssessedBusinessPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-business',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.html"*/'\n\n \n \n Business Expenses\n\n\n \n\n\n\n\n\n
\n
\n
\n \n \n \n Select\n {{expense.expense_item}}\n \n \n \n \n {{"₹"}} {{Value[i]}} Only\n \n \n \n Select\n {{frq.name}}\n \n \n \n \n {{"₹"}} {{AnnualExpenses[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

Total Business Expenses:

\n
\n \n

{{grandExpenseTotal}}

\n
\n
\n
\n \n
\n
\n \n \n \n \n \n
\n
\n\n \n \n \n\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssessedBusinessPage); + return PdQuestionAssessedBusinessPage; +}()); + +//# sourceMappingURL=pd-question-assessed-business.js.map + +/***/ }), + +/***/ 388: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(16); +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 () { + // nn:Object[][]=[] + function PdQuestionAssessedHouseholdPage(navCtrl, navParams, fb, aws, toast, qustCat, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.toast = toast; + this.qustCat = qustCat; + this.cons = cons; + this.houseannual = []; + this.grandHouseExpenseTotal = []; + this.Value = []; + this.AnnualExpenses = []; + this.complete_status = false; + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + 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], + company_id: [this.pdDetails.company_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])], + comments: [null], + 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, item) { + var _this = this; + this.houseannual.splice(i, 1); + this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); + var deleteRecords; + if (item.household_expense_id != null) { + deleteRecords = [{ + household_expense_id: item.household_expense_id, + fk_pd_id: item.fk_pd_id, + company_id: this.pdDetails.company_id, + isactive: false + }]; + var records = { 'records': deleteRecords }; + this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Record Deleted Successfully"); + } + else { + _this.toast.pdTriggerappmessage("Something Went Wrong"); + } + }); + } + var control = this.houseHoldForm.controls['houseExpense']; + if (control.length == 1) { + control.reset(); + } + else { + control.removeAt(i); + } + }; + PdQuestionAssessedHouseholdPage.prototype.houseExpensecalculat = function (indexVal, values) { + var control = this.houseHoldForm.controls['houseExpense']; + if (values.expense_value != '' && values.fk_frequency_id != '' && values.expense_value != null && values.fk_frequency_id != null) { + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + control.controls[indexVal].controls['annual_expense_value'].setValue((parseFloat(values.expense_value) * parseFloat(filterFrequencyValue[0].mutiple_factor)).toFixed(2)); + this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); + } + else { + control.controls[indexVal].controls['annual_expense_value'].setValue(null); + } + //OLD CALCULATION + // let frequencyId = details.value.fk_frequency_id; + // let expenseValue = details.value.expense_value; + // // let UOM = details.value.rate_per_unit; + // // console.log(frequencyId,purchaseQty,UOM,index); + // // console.log(details); + // let 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((a,b)=> +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.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 1500); + } + }); + } + 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)); + if (val.expense_value != null) { + _this.Value[index] = _this.cons.convertNumberToWords(val.expense_value); + _this.AnnualExpenses[index] = _this.cons.convertNumberToWords(val.annual_expense_value); + } + }); + 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], + company_id: [this.pdDetails.company_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])], + comments: [data.comments], + isactive: ["1"], + fk_createdby: [this.users] + }); + }; + PdQuestionAssessedHouseholdPage.prototype.inWords = function (e, c, flag) { + switch (flag) { + case 1: + this.Value[c] = this.cons.convertNumberToWords(e); + break; + case 2: + this.AnnualExpenses[c] = this.cons.convertNumberToWords(e); + break; + default: break; + } + }; + PdQuestionAssessedHouseholdPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-household',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.html"*/'\n\n \n \n Household Expenses\n\n\n \n\n\n\n\n\n
\n
\n
\n \n \n \n \n \n \n {{"₹"}} {{Value[i]}} Only\n \n \n \n Select\n {{frq.name}}\n \n \n \n \n {{"₹"}} {{AnnualExpenses[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

Total Household Expenses :

\n
\n \n

{{grandHouseExpenseTotal}}

\n
\n
\n
\n
\n
\n \n \n \n \n \n
\n
\n\n \n \n\n\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssessedHouseholdPage); + return PdQuestionAssessedHouseholdPage; +}()); + +//# sourceMappingURL=pd-question-assessed-household.js.map + +/***/ }), + +/***/ 389: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +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, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.cons = cons; + this.m_freqOfPurchase = []; + this.grandIncomeTotal = []; + this.incomeannual = []; + this.Value = []; + this.AnnualExpenses = []; + this.complete_status = false; + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + 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])], + comments: [null], + 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 (indexVal, values) { + var control = this.BuissnessForm.controls['busIncome']; + if (values.income_value != '' && values.fk_frequency_id != '' && values.income_value != null && values.fk_frequency_id != null) { + var filterFrequencyValue = this.m_freqOfPurchase.filter(function (val) { return val.frequency_id == values.fk_frequency_id; }); + control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor)); + this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor), indexVal, 2); + } + else { + control.controls[indexVal].controls['annual_income_value'].setValue(''); + } + //OLD CALCULATION + // let frequencyId = details.value.fk_frequency_id; + // let incomeValue = details.value.income_value; + // // let UOM = details.value.rate_per_unit; + // let annual:any; + // if(incomeValue!=null && incomeValue !=null){ + // let frequency_factor = this.m_freqOfPurchase.filter(frq=>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((a,b)=> +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.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 1500); + } + }); + } + 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)); + if (val.income_value != null) { + _this.Value[index] = _this.cons.convertNumberToWords(val.income_value); + _this.AnnualExpenses[index] = _this.cons.convertNumberToWords(val.annual_income_value); + } + }); + 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])], + comments: [data.comments], + isactive: ['1'], + fk_createdby: [this.users], + other_income_item: [data.other_income_item], + other_frequncy_item: [data.other_frequncy_item], + }); + }; + PdQuestionAssessedBusinessIncomePage.prototype.inWords = function (e, c, flag) { + switch (flag) { + case 1: + this.Value[c] = this.cons.convertNumberToWords(e); + break; + case 2: + this.AnnualExpenses[c] = this.cons.convertNumberToWords(e); + break; + default: break; + } + }; + PdQuestionAssessedBusinessIncomePage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-business-income',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.html"*/'\n\n \n \n Business Income\n\n\n \n\n\n\n\n\n
\n
\n
\n \n \n \n Select\n {{income.business_income_item}}\n \n \n\n \n \n \n \n \n \n {{"₹"}} {{Value[i]}} Only\n \n \n \n Select\n {{frq.name}}\n \n \n \n \n \n \n \n {{"₹"}} {{AnnualExpenses[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

Total Business Income:

\n
\n \n

{{grandIncomeTotal}}

\n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n \n
\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssessedBusinessIncomePage); + return PdQuestionAssessedBusinessIncomePage; +}()); + +//# sourceMappingURL=pd-question-assessed-business-income.js.map + +/***/ }), + +/***/ 390: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedDailyPurchasePage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(4); +/* 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__(5); +/* 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__angular_common__ = __webpack_require__(8); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__ = __webpack_require__(16); +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 PdQuestionAssessedDailyPurchasePage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedDailyPurchasePage = (function () { + function PdQuestionAssessedDailyPurchasePage(navCtrl, navParams, aws, fb, quesCat, toast, cons) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.quesCat = quesCat; + this.toast = toast; + this.cons = cons; + this.pipe = new __WEBPACK_IMPORTED_MODULE_6__angular_common__["d" /* DatePipe */]('en-US'); + this.productListData = []; + this.purchaseAmtInWords = []; + this.complete_status = false; + var today = new Date; + console.log("today", today); + var date = today.getDate() < 10 ? ("0" + (today.getDate())) : today.getDate(); + var month = today.getMonth() < 10 ? ("0" + (today.getMonth() + 1)) : (today.getMonth() + 1); + this.maxDate = today.getFullYear() + '-' + month + '-' + date; + console.log("max", this.maxDate); + this.pdDetails = this.navParams.get('pdDetails'); + console.log("pd", this.pdDetails); + this.formId = this.navParams.get('FormId'); + this.purchaseData = this.navParams.get('purchaseDaily'); + console.log("data", this.purchaseData); + this.margin_calculation_status = this.navParams.get('margin_calculation_status'); + this.users = this.aws.getlocale(); + this.purchaseItemForm = this.fb.group({ + // purchase_item:[''], + // other_purchase_item:[''], + purchase_product: this.fb.array([]) + // child:this.fb.array([]) + }); + this.getDropDown(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionAssessedDailyPurchasePage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedDailyPurchasePage'); + if (this.purchaseData != null) { + this.getDailyPurchase(this.purchaseData); + } + else { + this.addPurchase(); + } + }; + PdQuestionAssessedDailyPurchasePage.prototype.getDropDown = function () { + var _this = this; + this.quesCat.stockFormAccess(this.pdDetails.pd_id, this.pdDetails.company_id).subscribe(function (data) { + if (data.dataStatus) { + var datas = data.record; + var type2 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); + if (type2[0].hasOwnProperty("products")) { + // this.productListData.push(type2[0].products); + } + var type3 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 3; }); + if (type3[0].hasOwnProperty("products")) { + _this.productListData.push(type3[0].products); + } + var type4 = datas.from_business.filter(function (data) { return data.type_of_activity_id == 4; }); + if (type4[0].hasOwnProperty("products")) { + _this.productListData.push(type4[0].products); + } + if (datas.from_supplier.hasOwnProperty("raw_material")) { + _this.productListData.push(datas.from_supplier.raw_material); + } + _this.productListData = [].concat.apply([], _this.productListData); + } + }); + }; + PdQuestionAssessedDailyPurchasePage.prototype.addPurchase = function () { + var control = this.purchaseItemForm.get('purchase_product'); + control.push(this.createDailyPurchase()); + this.addDailyPurchaseChild(control.length - 1); + }; + PdQuestionAssessedDailyPurchasePage.prototype.createDailyPurchase = function () { + return this.fb.group({ + fk_pd_id: [this.pdDetails.pd_id], + company_id: [this.pdDetails.company_id], + pbw_id: [''], + purchase_item: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + other_purchase_item: [''], + annual_purchase_value: [''], + child: this.fb.array([]), + comments: [''], + isactive: [true], + }); + }; + PdQuestionAssessedDailyPurchasePage.prototype.addDailyPurchaseChild = function (index) { + var control = this.purchaseItemForm.get('purchase_product').at(index).get('child'); + control.push(this.createDailyPurchaseChild('')); + }; + PdQuestionAssessedDailyPurchasePage.prototype.createDailyPurchaseChild = function (value) { + return this.fb.group({ + pbwc_id: [''], + fk_pbw_id: [value], + purchase_date: [''], + purchase_value: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + isactive: [true], + }); + }; + PdQuestionAssessedDailyPurchasePage.prototype.createPurchaseItemWithData = function (values) { + return this.fb.group({ + fk_pd_id: [this.pdDetails.pd_id], + company_id: [this.pdDetails.company_id], + pbw_id: [values.pbw_id], + purchase_item: [values.purchase_item, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + other_purchase_item: [values.other_purchase_item === null ? '' : values.other_purchase_item], + annual_purchase_value: [values.annual_purchase_value], + child: this.fb.array([]), + comments: [values.comments], + isactive: [true], + }); + }; + // create daily purchase product with Data + PdQuestionAssessedDailyPurchasePage.prototype.createDailyPurchaseWithData = function (values, parent) { + console.log("dd", new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd'))); + return this.fb.group({ + pbwc_id: [values.pbwc_id], + fk_pbw_id: [parent.pbw_id], + // purchase_date: [parent.purchase_date=='' ? '' :new Date(this.pipe.transform(values.purchase_date, 'yyyy-MM-dd')), Validators.compose([Validators.required])], + purchase_date: [values.purchase_date], + purchase_value: [values.purchase_value, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + isactive: [true] + }); + }; + PdQuestionAssessedDailyPurchasePage.prototype.inWords = function (values, index) { + console.log("value", values); + if (values != '') { + this.purchaseAmtInWords[index] = this.cons.convertNumberToWords(values); + } + }; + // this caculation for running total + PdQuestionAssessedDailyPurchasePage.prototype.purchaseCalculation = function (indexVal, values) { + var _this = this; + var control = this.purchaseItemForm.controls['purchase_product']; + if (values.child.length > 0) { + var transformData = values.child.filter(function (val) { return val.purchase_date != '' && val.purchase_date != null && val.purchase_date != undefined && val.purchase_value != '' && val.isactive === true; }).map(function (mval) { + mval.custum_date = _this.pipe.transform(mval.purchase_date, 'yyyy-MM'); + return mval; + }); + if (transformData.length > 0) { + // let getUniqueMonthCounts = transformData.map(val=>val.custum_date) + // .filter((fVal,fIndex,fArray)=>{ + // return fIndex === fArray.indexOf(fVal); + // }); + var TotalAnnualValue = transformData.map(function (val) { return val.purchase_value; }) + .reduce(function (sum, curr) { return parseInt(sum) + parseInt(curr); }); + // let months:number=12/values.child.length; + control.controls[indexVal].controls['annual_purchase_value'].setValue(TotalAnnualValue); + } + else { + control.controls[indexVal].controls['annual_purchase_value'].setValue(""); + } + } + else { + var innercontrol = control.controls[indexVal].get('child'); + innercontrol.controls[innercontrol.value.length - 1].controls['purchase_value'].setValue(""); + control.controls[indexVal].controls['annual_purchase_value'].setValue(""); + } + }; + PdQuestionAssessedDailyPurchasePage.prototype.addDailyPurchase = function (len) { + var control = this.purchaseItemForm.get('purchase_product'); + control.push(this.createDailyPurchase()); + var innercontrol = control.at(len).get('child'); + innercontrol.push(this.createDailyPurchaseChild('')); + }; + PdQuestionAssessedDailyPurchasePage.prototype.removeDailyPurchase = function (index) { + var control = this.purchaseItemForm.get('purchase_product'); + control.removeAt(index); + }; + PdQuestionAssessedDailyPurchasePage.prototype.addChild = function (parentIndex, values) { + var control = this.purchaseItemForm.controls['purchase_product']; + control = control.controls[parentIndex].get('child'); + control.push(this.createDailyPurchaseChild(values.pbw_id)); + }; + PdQuestionAssessedDailyPurchasePage.prototype.removeChild = function (parentIndex, childIndex, childValue) { + var control = this.purchaseItemForm.controls['purchase_product']; + control = control.controls[parentIndex].get('child'); + if (childValue.pbwc_id == '' || childValue.pbwc_id == null) { + control.removeAt(childIndex); + var calculatControlValues = this.purchaseItemForm.controls['purchase_product']; + calculatControlValues = calculatControlValues.controls[parentIndex]; + this.purchaseCalculation(parentIndex, calculatControlValues.value); + } + else { + control.controls[childIndex].controls.isactive.setValue(false); + var calculatControlValues = this.purchaseItemForm.controls['purchase_product']; + calculatControlValues = calculatControlValues.controls[parentIndex]; + this.purchaseCalculation(parentIndex, calculatControlValues.value); + } + }; + PdQuestionAssessedDailyPurchasePage.prototype.getDailyPurchase = function (records) { + var _this = this; + var control = this.purchaseItemForm.get('purchase_product'); + // const innercontrol=control.at(0).get('child') as FormArray + records.forEach(function (element, index) { + var purchaseChildControlarr = []; + var nexContro = []; + control.push(_this.createPurchaseItemWithData(element)); + console.log("records", element); + var result = Object.assign.apply(Object, [{}].concat(element.items)); + console.log("result", result); + // let expandBodyContent= Object.keys(result).map(key => ({ header:key, value: result[key] })); + // console.log("expandBody",expandBodyContent); + // let listItems: any=[]; + nexContro[index] = Object.keys(element['items']).map(function (key) { return element['items'][key]; }); + console.log("purchasechildcontrol", nexContro[index]); + purchaseChildControlarr[index] = Object.keys(result).map(function (key) { return result[key]; }); + console.log("nexcontrol", purchaseChildControlarr[index]); + // expandBodyContent.forEach((expnadElement, expnadIndex) => { + // console.log("expand",expnadElement) + // let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.purchase_value), 0); + // console.log("calculateItems",calculateItems) + // listItems.push({items:expnadElement, itemsTotal:calculateItems}) + var innercontrol = control.at(index).get('child'); + purchaseChildControlarr[index].forEach(function (chilVal, childIndex) { + chilVal.forEach(function (val, innerIndex) { + if (val.purchase_date) { + var saleDate = new Date(val.purchase_date); + console.log(saleDate.getDay()); + console.log(saleDate.getDate()); + // val.purchase_date= saleDate.getFullYear() + '-' + ("0" + (saleDate.getMonth() + 1)).slice(-2) + '-' + ("0" + (saleDate.getDay() )).slice(-2); + var date = saleDate.getDate() < 10 ? ("0" + (saleDate.getDate())) : saleDate.getDate(); + var month = saleDate.getMonth() < 10 ? ("0" + (saleDate.getMonth() + 1)) : (saleDate.getMonth() + 1); + console.log("datamonth"); + console.log(date, month); + val.purchase_date = saleDate.getFullYear() + '-' + month + '-' + date; + console.log(val.purchase_date); + } + if (val.purchase_value != '') { + _this.inWords(val.purchase_value, childIndex); + } + console.log("child", val); + innercontrol.push(_this.createDailyPurchaseWithData(val, element)); + }); + }); + }); + // console.log("list_items",listItems) + // }) + // control.push(this.createPurchaseItemWithData(records)) + //console.log('innercontrol',innercontrol) + // records.items.forEach((element,index)=>{ + // innercontrol.push(this.createDailyPurchaseWithData(element,records)) + // }) + }; + PdQuestionAssessedDailyPurchasePage.prototype.submitDetails = function (records) { + var _this = this; + records.purchase_product.forEach(function (parVal) { + parVal.child.forEach(function (childVal) { + if (childVal['custum_date']) { + delete childVal['custum_date']; + } + if (childVal['purchase_date']) { + childVal['purchase_date'] = _this.pipe.transform(childVal['purchase_date'], 'yyyy-MM-dd'); + } + }); + }); + var recordVal = { 'records': records.purchase_product }; + this.quesCat.saveassessedForms('saveAssessedIncomePurchaseBillwise', recordVal).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Record Saved Successfully..!"); + setTimeout(function () { + _this.navCtrl.pop(); + }, 1500); + } + else { + _this.toast.pdTriggerappmessage("Error"); + } + }); + }; + PdQuestionAssessedDailyPurchasePage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-daily-purchase',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.html"*/'\n\n\n \n \n Purchase Calculation as per Kutcha Records / Bills\n \n\n\n\n\n
\n \n \n
\n \n Daily Purchase Item # {{s+1}}\n \n \n \n Select\n {{ prod }}\n Others\n \n \n \n \n \n
\n
\n
\n
\n \n \n \n \n \n \n {{"₹"}} {{purchaseAmtInWords[c]}} 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'/*ion-inline-end:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-daily-purchase/pd-question-assessed-daily-purchase.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 */], __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionAssessedDailyPurchasePage); + return PdQuestionAssessedDailyPurchasePage; +}()); + +//# sourceMappingURL=pd-question-assessed-daily-purchase.js.map + +/***/ }), + +/***/ 391: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedSummaryPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pipes_rupee_currency_format_rupee_currency_format__ = __webpack_require__(129); +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 PdQuestionAssessedSummaryPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedSummaryPage = (function () { + function PdQuestionAssessedSummaryPage(navCtrl, navParams, qustCat) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.qustCat = qustCat; + this.loadData = false; + this.pdDetails = this.navParams.get('pdDetails'); + // console.log(this.pdDetails) + this.getAssessedDetails(); + } + PdQuestionAssessedSummaryPage.prototype.ionViewWillEnter = function () { + //console.log("ionViewWillEnter") + //this.getAssessedDetails(); + }; + PdQuestionAssessedSummaryPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedSummaryPage'); + }; + PdQuestionAssessedSummaryPage.prototype.getAssessedDetails = function () { + var _this = this; + var records = { 'pd_id': this.pdDetails.pd_id, 'company_id': this.pdDetails.company_id }; + this.qustCat.retiverassessedForm('getAssessedIncome', records).subscribe(function (res) { + if (res['dataStatus'] == true) { + if (res['records'].final_data.length != 0) { + _this.salesCustomer = res['records'].final_data[0].sales_declared_by_customer; + _this.salesItemWise = res['records'].final_data[0].sales_calculated_by_itemwise; + _this.salesMonthWise = res['records'].final_data[0].sales_calculated_by_monthwise; + _this.consolidatedReport = res['records'].final_data[0].consolidated_report; + console.log(_this.salesCustomer); + } + _this.loadData = true; + } + }); + }; + PdQuestionAssessedSummaryPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-summary',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.html"*/'\n\n\n \n Summary\n \n\n\n\n\n\n
\n \n\n \n \n
Declared By Customer
\n
\n \n \n a. Sales/Revenue\n \n \n {{salesCustomer.sales_revenue | rupeeCurrencyFormat}}\n \n \n \n \n b. Purchases\n \n \n {{salesCustomer.purchases | rupeeCurrencyFormat}}\n \n \n \n \n b. Cost of Goods Sold\n \n \n {{salesCustomer.cost_of_goods_sold | rupeeCurrencyFormat}}\n \n \n \n \n c. Gross Profit / Loss(a-b)\n \n \n {{salesCustomer.grossprofit | rupeeCurrencyFormat}}\n \n \n \n \n d. Business Expenses\n \n \n {{salesCustomer.business_expenses | rupeeCurrencyFormat}}\n \n \n \n \n e. Net Profit / Loss(c-d)\n \n \n {{salesCustomer.netprofit | rupeeCurrencyFormat}}\n \n \n \n \n f. Household Expenses\n \n \n {{salesCustomer.house_hold_expenses | rupeeCurrencyFormat}}\n \n \n \n \n g. Disposable Income\n \n \n {{salesCustomer.disposable_income | rupeeCurrencyFormat}}\n \n \n \n \n h. Net Margin %\n \n \n {{salesCustomer.netmargin}} %\n \n \n \n
\n
\n
\n\n \n \n \n
As Derived from Item Wise Sales
\n
\n \n \n a. Sales Revenue\n \n \n {{salesItemWise.sales_revenue | rupeeCurrencyFormat}}\n \n \n \n \n b. Purchases\n \n \n {{salesItemWise.purchases | rupeeCurrencyFormat}}\n \n \n \n \n b. Cost of Goods Sold\n \n \n {{salesItemWise.cost_of_goods_sold | rupeeCurrencyFormat}}\n \n \n \n \n c. Gross Profit / Loss(a-b)\n \n \n {{salesItemWise.grossprofit | rupeeCurrencyFormat}}\n \n \n \n \n d. Business Expenses\n \n \n {{salesItemWise.business_expenses | rupeeCurrencyFormat}}\n \n \n \n \n e. Net Profit / Loss(c-d)\n \n \n {{salesItemWise.netprofit | rupeeCurrencyFormat}}\n \n \n \n \n f. Household Expenses\n \n \n {{salesItemWise.house_hold_expenses | rupeeCurrencyFormat}}\n \n \n \n \n g. Disposable Income\n \n \n {{salesItemWise.disposable_income | rupeeCurrencyFormat}}\n \n \n \n \n h. Net Margin %\n \n \n {{salesItemWise.netmargin}} %\n \n \n \n
\n
\n
\n\n\n \n \n \n \n
As Derived from Kuchha Sales Book/Bills
\n
\n \n \n a. Sales Revenue\n \n \n {{salesMonthWise.sales_revenue | rupeeCurrencyFormat}}\n \n \n \n \n b. Purchases\n \n \n {{salesMonthWise.purchases | rupeeCurrencyFormat}}\n \n \n \n \n b. Cost of Goods Sold\n \n \n {{salesMonthWise.cost_of_goods_sold | rupeeCurrencyFormat}}\n \n \n \n \n c. Gross Profit / Loss(a-b)\n \n \n {{salesMonthWise.grossprofit | rupeeCurrencyFormat}}\n \n \n \n \n d. Business Expenses\n \n \n {{salesMonthWise.business_expenses | rupeeCurrencyFormat}}\n \n \n \n \n e. Net Profit / Loss(c-d)\n \n \n {{salesMonthWise.netprofit | rupeeCurrencyFormat}}\n \n \n \n \n f. Household Expenses\n \n \n {{salesMonthWise.house_hold_expenses | rupeeCurrencyFormat}}\n \n \n \n \n g. Disposable Income\n \n \n {{salesMonthWise.disposable_income | rupeeCurrencyFormat}}\n \n \n \n \n h. Net Margin %\n \n \n {{salesMonthWise.netmargin}} %\n \n \n \n
\n
\n
\n\n \n \n \n Considered Sales / Revenue\n \n \n {{consolidatedReport.consolidated_sales_revenue | rupeeCurrencyFormat}}\n \n \n \n \n Considered Net Profit\n \n \n {{consolidatedReport.consolidated_nerprofit | rupeeCurrencyFormat}}\n \n \n \n \n Considered Net Margin %\n \n \n {{consolidatedReport.consolidated_nermagin}} %\n \n \n \n \n\n
\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.html"*/, + providers: [__WEBPACK_IMPORTED_MODULE_3__pipes_rupee_currency_format_rupee_currency_format__["a" /* RupeeCurrencyFormatPipe */]] + }), + __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 */]]) + ], PdQuestionAssessedSummaryPage); + return PdQuestionAssessedSummaryPage; +}()); + +//# sourceMappingURL=pd-question-assessed-summary.js.map + +/***/ }), + +/***/ 392: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedImagesPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_loading__ = __webpack_require__(26); +/* 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 PdQuestionAssessedImagesPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var PdQuestionAssessedImagesPage = (function () { + function PdQuestionAssessedImagesPage(navCtrl, navParams, cameraProvider, loading, toast, qustCat) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.toast = toast; + this.qustCat = qustCat; + this.imageDisplay = []; + this.imageBucket = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('formdetails'); + console.log("pd", this.pdDetails, "form", this.FormId); + } + PdQuestionAssessedImagesPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionAssessedImagesPage'); + this.getPDImages(); + }; + /*IMAGE SECTION*/ + PdQuestionAssessedImagesPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': this.pdDetails.company_id }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionAssessedImagesPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionAssessedImagesPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionAssessedImagesPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionAssessedImagesPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionAssessedImagesPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + }; + PdQuestionAssessedImagesPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': this.pdDetails.company_id + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + console.log("res", res); + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + console.log("Fail"); + _this.toast.pdTriggerappmessage('Fail'); + } + }, function (ERR) { + console.log(JSON.stringify(ERR)); + _this.toast.pdTriggerappmessage(JSON.stringify(ERR)); + }); + }; + PdQuestionAssessedImagesPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-assessed-images',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-images.html"*/'\n\n\n \n Images For Assessed Income\n \n\n\n\n\n\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n\n \n \n
\n
\n
\n
\n \n \n\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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-assessed-images/pd-question-assessed-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_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__["a" /* QuestionCategoryProvider */]]) + ], PdQuestionAssessedImagesPage); + return PdQuestionAssessedImagesPage; +}()); + +//# sourceMappingURL=pd-question-assessed-images.js.map + +/***/ }), + +/***/ 393: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __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); +}; + + + + + + + + +/** + * 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, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.fb = fb; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + this.users = this.aws.getlocale(); + this.representativeForm = this.fb.group({ + parent_pdid: [this.pdDetails.parent_pd_id], + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionLenderRepresentativePage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionLenderRepresentativePage'); + this.getPDImages(); + }; + PdQuestionLenderRepresentativePage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.representativeForm.dirty); + if (this.representativeForm.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + 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) { + //TO CHANGE THE FORM STATE + _this.representativeForm.reset(_this.representativeForm.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + }); + } + else { + this.toast.pdTriggerappmessage('Enter All Field'); + } + }; + PdQuestionLenderRepresentativePage.prototype.getLenderReDetails = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, '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); + } + } + }); + }; + /*IMAGE SECTION*/ + PdQuestionLenderRepresentativePage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionLenderRepresentativePage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionLenderRepresentativePage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionLenderRepresentativePage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionLenderRepresentativePage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionLenderRepresentativePage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionLenderRepresentativePage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + // this.imageDisplay.push(this.imageBucket) + // console.log("length",this.imageDisplay.length) + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionLenderRepresentativePage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-lender-representative',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.html"*/'\n\n \n \n {{FormId.form_name}}\n \n \n \n \n \n Form\n \n \n Pictures\n \n \n \n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \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 Yes\n No\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'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], + __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionLenderRepresentativePage); + return PdQuestionLenderRepresentativePage; +}()); + +//# sourceMappingURL=pd-question-lender-representative.js.map + +/***/ }), + +/***/ 394: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_general_other_applicant_pd_question_general_other_applicant__ = __webpack_require__(395); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common__ = __webpack_require__(8); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pipes_pd_pd__ = __webpack_require__(396); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__angular_material__ = __webpack_require__(124); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__providers_common_provider_loading__ = __webpack_require__(26); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_constants_constants__ = __webpack_require__(16); +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 {} from 'moment' +/** + * 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, cameraProvider, loading, cons) { + 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.cameraProvider = cameraProvider; + this.loading = loading; + this.cons = cons; + 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.complete_status = false; + this.imageBucket = []; + this.tab = '0'; + this.cart = []; + this.temp = 0; + 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.customer_segment_abbr = this.pdDetails.customer_segment_abbr; + console.log('this.customer_segment_abbr', this.customer_segment_abbr); + this.users = this.aws.getlocale(); + this.getdropdown(); + this.generalForm = this.fb.group({ + parent_pdid: this.pdDetails.parent_pd_id, + 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([]), + rental_income_rcv_in_years: [''], + rental_income_rcv_in_month: [''], + 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; + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionGeneralInfoPage.prototype.ionViewDidLoad = function () { + // this.pd_applicants_details.pop(); + console.log('ionViewDidLoad PdQuestionGeneralInfoPage'); + this.getGeneralForm(); + this.getPDImages(); + }; + PdQuestionGeneralInfoPage.prototype.ionViewLoaded = function () { + // setTimeout(() => { + // this.generalForm.controls['general_remark']['controls'].setFocus(); + // },150); + }; + PdQuestionGeneralInfoPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.generalForm.dirty); + if (this.generalForm.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + 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], + associate_pd_id: [this.pdDetails.pd_id], + 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], + associate_pd_id: [val.associate_pd_id], + 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: [''], + qualification: [''], + 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], + qualification: [data.qualification], + 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) { + console.log(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 { + console.log("data", value); + 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') { + console.log("companies", this.h_companies); + this.addComp = true; + // this.h_companies=true; + this.h_companies = !this.h_companies; + console.log("companies", this.h_companies); + this.initCompanies(null); + } + }; + 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); + // this.nameField.nativeElement.focus(); + }; + 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, controlVal) { + console.log("index", v); + if (v == '1') { + var values = this.generalForm.controls['individuals'].value[0]; + // let control=(this.generalForm.controls['individuals']).at(0) as FormArray; + // console.log("full",this.generalForm) + // console.log(control,values); + if (values.is_person_met == true && values.is_applicant != true) { + controlVal.controls['age'].clearValidators(); + controlVal.controls['age'].updateValueAndValidity(); + controlVal.controls['qualification'].clearValidators(); + controlVal.controls['qualification'].updateValueAndValidity(); + } + if (values.is_person_met != true) { + console.log("1st"); + controlVal.controls['age'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); + controlVal.controls['age'].updateValueAndValidity(); + controlVal.controls['qualification'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); + controlVal.controls['qualification'].updateValueAndValidity(); + } + if (values.is_person_met == true && values.is_applicant == true) { + controlVal.controls['age'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); + controlVal.controls['age'].updateValueAndValidity(); + controlVal.controls['qualification'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); + controlVal.controls['qualification'].updateValueAndValidity(); + } + 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.addParticular = function (v, controlVal) { + //console.log("controlVAl",controlVal) + // 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') { + var values = this.generalForm.controls['individuals'].value[0]; + var control = this.generalForm.controls['individuals'].at(0); + // console.log("full",this.generalForm) + // console.log(control,values); + if (values.is_person_met == true && values.is_applicant != true) { + controlVal.controls['age'].clearValidators(); + controlVal.controls['age'].updateValueAndValidity(); + controlVal.controls['qualification'].clearValidators(); + controlVal.controls['qualification'].updateValueAndValidity(); + } + if (values.is_person_met != true) { + // console.log("1st"); + controlVal.controls['age'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); + controlVal.controls['age'].updateValueAndValidity(); + controlVal.controls['qualification'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); + controlVal.controls['qualification'].updateValueAndValidity(); + } + if (values.is_person_met == true && values.is_applicant == true) { + controlVal.controls['age'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); + controlVal.controls['age'].updateValueAndValidity(); + controlVal.controls['qualification'].setValidators(__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])); + controlVal.controls['qualification'].updateValueAndValidity(); + } + 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, flag) { + var converted_month = e % 12; + var converted_year = e / 12; + if (flag == 1) { + var control = this.generalForm.get('companies'); + control = control.controls[controlIndex]; + var business_year = control.controls.business_years.value; + control.controls.business_years.setValue(+business_year + +Math.floor(converted_year)); + control.controls.business_month.setValue(Math.floor(converted_month)); + } + else if (flag == 2) { + var ri_year = this.generalForm.controls.rental_income_rcv_in_years.value; + this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year)); + this.generalForm.controls['rental_income_rcv_in_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 date = new Date(); + var curr_date = date.getFullYear() + '/' + ('0' + (date.getMonth() + 1)) + '/' + ('0' + date.getDate()); + console.log("current date", curr_date); + var selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); + ; + console.log("pd date", pd_initiation_date); + console.log("selected date", selected_date); + /*WORKING STATEMENT*/ + var months = date.getMonth() - values.getMonth() + (12 * (date.getFullYear() - values.getFullYear())); + if (months >= 12) { + console.log('years:', (months - (months % 12)) / 12); + console.log("moth", months % 12); + } + else { + console.log('only months', months); + } + control.controls['business_years'].setValue((months - (months % 12)) / 12); + control.controls['business_month'].setValue(months % 12); + /*END OF WORKING STATEMENT*/ + //let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date); + // function monthDiff(d1, d2) { + // var months; + // months = (d2.getFullYear() - d1.getFullYear()) * 12; + // months -= d1.getMonth() + 1; + // months += d2.getMonth(); + // return months <= 0 ? 0 : months; + // } + // console.log("new",monthDiff( new Date(2008, 10, 4), new Date(2010, 2, 12) )) // March 12th, 2010); + //var start_date=moment(start_date) + /* old working statement*/ + // let diffInMs: number = Date.parse(selected_date) - Date.parse(curr_date); + // let diff: number = Math.floor(diffInMs / 1000); + // console.log("diff",diff) + // diff /= (60 * 60 * 24 * 30); + // console.log("diff /",diff) + // 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; + console.log('1)', this.temp); + 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]; + }); + if (this.customer_segment_abbr != 'SE-RI') { + var count_1 = 0; + existData.forEach(function (element, index) { + // console.log("company value",element) + if (element.business_entity_type == '' || element.business_entity_type == null) { + _this.editCompanies(index); + // this.focus_business_entity.focused=true; + count_1 = count_1 + 1; + } + valuesData.push(element); + }); + if (count_1 > 0) { + this.toast.pdTriggerappmessage("Please choose business entity type for each companies"); + return; + } + } + if (this.OldData.length > 0) { + this.OldData.forEach(function (element) { + valuesData.push(element); + }); + } + if (valuesData_indi.length > 0) { + // console.log('2)',this.temp); + valuesData_indi.forEach(function (val, index) { + if (val.is_person_met == false) { + _this.temp++; + } + // console.log('3)',this.temp); + }); + // console.log('4)',this.temp,'length',valuesData_indi.length); + if (this.temp == valuesData_indi.length) { + // console.log('5)',this.temp); + this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!'); + this.temp = 0; + // console.log('6)',this.temp); + return; + } + } + if (this.customer_segment_abbr != 'SE-RI') { + saveRecords.companies = valuesData; + saveRecords.company_with_relationships = answerData.company_with_relationships; + saveRecords.rental_income_rcv_in_years = null; + saveRecords.rental_income_rcv_in_month = null; + //saveRecords.applicant_relation=answerData.applicant_relation; + } + else if (this.customer_segment_abbr == 'SE-RI') { + saveRecords.companies = []; + saveRecords.company_with_relationships = []; + saveRecords.rental_income_rcv_in_years = answerData.rental_income_rcv_in_years; + saveRecords.rental_income_rcv_in_month = answerData.rental_income_rcv_in_month; + //saveRecords.applicant_relation=answerData.applicant_relation; + } + saveRecords.individuals = valuesData_indi; + // saveRecords.companies=valuesData + saveRecords.parent_pdid = answerData.parent_pdid; + 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) { + //TO CHANGE THE FORM STATE + _this.generalForm.reset(_this.generalForm.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 3000); + } + 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 = { 'parent_pdid': this.pdDetails.parent_pd_id, '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 exist_company_with_relationship; + var companyControl = _this.generalForm.get('company_value'); + 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'); + if (_this.data_all.persons_with_relationships != '') { + _this.initPersonRelationship(_this.data_all.persons_with_relationships); + } + //Create Company with Relationship + exist_company_with_relationship = Object.keys(res['records'].company_with_relationships).map(function (key) { + return res['records'].company_with_relationships[key]; + }); + console.log("Customer Segment", _this.customer_segment_abbr); + if (_this.customer_segment_abbr != 'SE-RI') { + if (exist_company_with_relationship.length > 0) { + // exist_company_with_relationship.forEach(key=>{ + // console.log("company relation",key) + // this.initCompanyRelationShip(key) + // }) + _this.initCompanyRelationShip(exist_company_with_relationship); + } + else if (exist_company_with_relationship.length == 0) { + _this.initCompanyRelationShip(''); + } + //create Companies + exist_companies = Object.keys(res['records'].companies).map(function (key) { + return res['records'].companies[key]; + }); + var arraylis = []; + 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'); + _this.generalForm.controls['rental_income_rcv_in_years'].setValue(null); + _this.generalForm.controls['rental_income_rcv_in_month'].setValue(null); + } + else if (_this.customer_segment_abbr == 'SE-RI') { + _this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years : ''); + _this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month : ''); + } + // var arraylis:any=[] + // if(exist_companies.length>0){ + // exist_companies.forEach((element,cindex)=>{ + // if(element.is_active!=false){ + // arraylis.push(element); + // } + // else{ + // this.OldData.push(element); + // } + // }) + // } + // this.initCompanyValue(arraylis,'get'); + // if(this.data_all.company_with_relationships != ''){ + // this.initCompanyRelationShip(this.data_all.company_with_relationships); + // } + } + else { + console.log("Else data", _this.pd_applicants_details); + _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) { + console.log("company"); + 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, associate_pd_id: _this.pdDetails.pd_id }; + 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) { + var name = this.businessEntityById(elementValue.business_entity_type); + 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], + business_entity_type_name: [name], + associate_pd_id: [elementValue.associate_pd_id] + }); + }; + /*IMAGE SECTION*/ + PdQuestionGeneralInfoPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionGeneralInfoPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionGeneralInfoPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionGeneralInfoPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionGeneralInfoPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionGeneralInfoPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionGeneralInfoPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + // this.imageDisplay.push(this.imageBucket) + // console.log("length",this.imageDisplay.length) + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionGeneralInfoPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('applicant_name').value; + value.get('applicant_name').setValue(this.cons.sentenceCase(name)); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('remark'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) + ], PdQuestionGeneralInfoPage.prototype, "nameField", void 0); + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('focusBusiness'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_9__angular_material__["w" /* MatSelect */]) + ], PdQuestionGeneralInfoPage.prototype, "focus_business_entity", void 0); + PdQuestionGeneralInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-general-info',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html"*/'\n\n \n \n {{FormId.form_name}}\n\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \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 Person(s) Met and Individual Loan Applicant(s)
\n \n \n \n \n \n

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

\n

Age : {{item.get(\'age\').value}}  \n \n \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

Person

\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 Add Name of Person(s) Met and Individual Loan Applicant(s)\n Update Name of Person(s) Met and Individual Loan Applicant(s)\n \n \n
\n
\n \n \n Select\n {{t1.name}}\n \n \n\n \n \n Name\n is Required\n \n \n \n Age\n is Required\n \n\n \n \n Select\n {{qu.qualification_name}}\n \n Qualification\n is Required\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
Number of Years for which rental income is being received
\n
\n \n \n Please Enter Correct Year\n \n \n \n \n
\n\n\n\n \n \n
Company/Firm
\n
\n \n \n \n \n \n

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

\n

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

\n

\n   {{item.get(\'business_years\').value}}\n Years {{item.get(\'business_month\').value}}\n Months\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 Add Company/Firm\n Update Company/Firm\n \n
\n
\n \n Company / Firm\n \n Company\n Name is Required\n \n Is\n Applicant
\n\n\n
\n \n \n Select\n \n {{business.business_entity_type_name}}\n \n \n Business\n Entity Required\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 Relationship Between Individuals\n \n\n
\n\n \n
Applicant {{i+1}}
\n \n \n Select\n {{name.applicant_name |\n titlecase}}\n \n \n \n \n Select\n {{member.name + \'\n Of\' | titlecase}}\n Not Applicable \n \n \n \n \n\n Select\n {{rel.applicant_name\n | titlecase}}\n Not Applicable \n \n \n
\n
\n\n
\n
\n\n \n
\n \n Relationship of Individuals to Company / Firm\n \n
\n
Applicant {{i+1}}
\n \n \n Select\n {{name.applicant_name\n | titlecase}}\n \n \n \n \n Select\n \n {{comrelShip.name | titlecase}}\n \n Not Applicable \n \n \n \n \n Select\n {{comp.company_name |\n titlecase}}\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\n \n \n\n \n
\n\n\n \n
\n \n \n
\n\n \n \n\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], + __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_11__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_12__providers_constants_constants__["a" /* ConstantsProvider */]]) + ], PdQuestionGeneralInfoPage); + return PdQuestionGeneralInfoPage; +}()); + +//# sourceMappingURL=pd-question-general-info.js.map + +/***/ }), + +/***/ 395: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __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 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:"/home/rajasekar/Desktop/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 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'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 396: +/***/ (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 + +/***/ }), + +/***/ 397: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __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); +}; + + + + + + + + + +/** + * 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, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.qustCat = qustCat; + this.toast = toast; + this.fb = fb; + this.constant = constant; + this.cameraProvider = cameraProvider; + this.loading = loading; + 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.isDisplay = []; + this.isDisplay2 = []; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.isOrganisationOwner = []; + this.imageDisplay = []; + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + 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 && appt.pd_co_applicant_id != 0; }); + this.applicants.push({ 'pd_co_applicant_id': 0, 'applicant_name': "Others" }); + this.neighbourhoodForm = this.fb.group({ + parent_pdid: this.pdDetails.parent_pd_id, + 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.getdropdown(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionNeighbourHoodPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionNeighbourHoodPage'); + this.getneighbourhood(); + this.getPDImages(); + }; + PdQuestionNeighbourHoodPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this.neighbourhoodForm.dirty); + if (this.neighbourhoodForm.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + 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; }); + } + }); + this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function (res) { + if (res.dataStatus == true) { + _this.existCompanyList = res.records.filter(function (val) { return val.is_active == true; }); + console.log(_this.existCompanyList); + } + 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 }); + } + console.log("company&Applicant", _this.mergeCompanyApplicant); + }); + }; + 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.compareObjects = function (o1, o2) { + if (o1.id == o2.id && o1.group_id == o2.group_id) + return true; + else + return false; + }; + PdQuestionNeighbourHoodPage.prototype.getOtherOrganisationOwner = function (value, i) { + //console.log('value',value,'I',i); + var Ctrls = this.neighbourhoodForm.controls['neighbourhood_list']; + //console.log('ParCtrls',Ctrls); + var ChdCtrls = Ctrls.controls[i]; + // console.log('ChdCtrls',ChdCtrls); + // return; + var Avaliablity = 1; + console.log('val', value); + if (value.length > 0) { + value.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity = option.id; + } + }); + } + if (Avaliablity == 0) { + // console.log('if Avaliablity',Avaliablity); + ChdCtrls.controls.other_organisation_owner.setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); + this.isOrganisationOwner[i] = true; + } + else if (Avaliablity == 1) { + // console.log('else Avaliablity',Avaliablity); + // console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]); + ChdCtrls.controls.other_organisation_owner.setValue(''); + ChdCtrls.controls.other_organisation_owner.clearValidators(); + this.isOrganisationOwner[i] = false; + // console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]); + } + ChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); + }; + 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 neighbourhoodControl = this.neighbourhoodForm.controls['neighbourhood_list']; + var NbhdCtrlLength = neighbourhoodControl.controls.length; + // this.neighbourhoodForm.controls['neighbourhood_status'].setValidators([Validators.required]); + // this.neighbourhoodForm.controls['neighbourhood_status'].updateValueAndValidity(); + // this.neighbourhoodForm.controls['neighbour_reference_remark'].setValidators([Validators.required]) + // this.neighbourhoodForm.controls['neighbour_reference_remark'].updateValueAndValidity(); + if (NbhdCtrlLength > 0) { + var Ncnt = 0; + while (Ncnt < NbhdCtrlLength) { + var nbhdChildCtrl = neighbourhoodControl.controls[Ncnt]; + // nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]); + // nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity(); + // nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]); + // nbhdChildCtrl.controls['do_know'].updateValueAndValidity(); + if (nbhdChildCtrl.controls.do_know.value != '') { + // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value) + if (nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false) { + // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value) + // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]); + // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity(); + nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); + nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); + } + else if (nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true) { + // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value) + nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue(''); + // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators(); + nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity(); + nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue(''); + nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators(); + nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); + } + if (nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false) { + nbhdChildCtrl.controls['organisation_owner'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); + nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity(); + } + else if (nbhdChildCtrl.controls.did_not_know_the_owner.value == true) { + nbhdChildCtrl.controls['organisation_owner'].setValue(''); + nbhdChildCtrl.controls['organisation_owner'].clearValidators(); + nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity(); + } + } + Ncnt++; + } + this.neighbourhoodForm.controls.neighbourhood_status.setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); + this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity(); + } + if (this.neighbourhoodForm.invalid) { + // this.validateAllFormFields(this._neighbourhoodForm); + this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!'); + return; + } + 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.parent_pdid = answerData.parent_pd_id; + 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) { + //TO CHANGE THE FORM STATE + _this.neighbourhoodForm.reset(_this.neighbourhoodForm.value); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + }); + }; + PdQuestionNeighbourHoodPage.prototype.getneighbourhood = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, '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(0); //this one for mobile only + _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]; + }); + console.log('neighbourhood_list', neighbourhood_list); + console.log('length', neighbourhood_list.length); + if (neighbourhood_list.length > 0) { + 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.getOtherOrganisationOwner(element.organisation_owner, index); + }); + _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]; + }); + console.log('referencecheck_list', referencecheck_list_1); + console.log('length', referencecheck_list_1.length); + if (referencecheck_list_1.length > 0) { + // 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(); + } + }); + }; + /*Image SECTION*/ + PdQuestionNeighbourHoodPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionNeighbourHoodPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionNeighbourHoodPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionNeighbourHoodPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionNeighbourHoodPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionNeighbourHoodPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionNeighbourHoodPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + // this.imageDisplay.push(this.imageBucket) + // console.log("length",this.imageDisplay.length) + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionNeighbourHoodPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('other_organisation_owner').value; + value.get('other_organisation_owner').setValue(this.constant.sentenceCase(name)); + }; + PdQuestionNeighbourHoodPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-neighbour-hood',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.html"*/'\n\n \n \n Neighbourhood Details\n \n \n \n \n \n \n Form\n \n \n Pictures\n \n \n \n \n \n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n \n \n
\n
\n \n
Neighbour Details {{n+1}}

\n \n \n \n Neighbourhood Name is Required \n \n \n \n Select\n Yes\n No\n \n Please Choose \n \n
\n
\n
\n \n
\n \n \n \n Year is Required \n \n \n \n \n \n \n
\n
\n
\n \n \n \n \n {{app.name}}\n \n \n pick atleast one organisation owner \n \n \n \n organisation owner is 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 Select\n Positive\n Negative\n Could not verify\n \n Status is Required\n \n
\n
\n \n \n \n
\n
\n \n
Reference Details #{{r+1}}

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

Enter valid Mobile Number

\n

Landline Number

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

Period of Relationship

\n \n \n \n \n \n \n \n \n \n \n \n \n Select\n \n {{volume.name | titlecase}}\n \n \n \n \n \n \n \n \n Select\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 Remarks is Required\n \n \n \n \n \n \n \n
\n \n
\n\n \n
\n \n \n \n \n '/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionNeighbourHoodPage); + return PdQuestionNeighbourHoodPage; +}()); + +//# sourceMappingURL=pd-question-neighbour-hood.js.map + +/***/ }), + +/***/ 398: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__ = __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 { 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, cameraProvider, loading) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.fb = fb; + this.qustcat = qustcat; + this.aws = aws; + this.toast = toast; + this.cameraProvider = cameraProvider; + this.loading = loading; + this.m_remarkTypeCustomerBehaviour = []; + this.m_recommendationList = []; + this.imageDisplay = []; + this.imageBucket = []; + this.tab = '0'; + this.mode_of_transport_values = [{ 'id': 'two_wheeler', 'name': 'Two Wheeler' }, + { 'id': 'four_wheeler', 'name': 'Four Wheeler' }, + { 'id': 'public_transport', 'name': 'Public Transport' }, + { 'id': 'others', 'name': 'Others' }]; + this.complete_status = false; + 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], + parent_pdid: [this.pdDetails.parent_pd_id], + pdid: [this.pdid], + formid: [this.FormId.form_id], + final_custormer_remark_type: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + 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:[''], + recommendation_positive: this.fb.array([]), + recommendation_negative: this.fb.array([]), + recommendation_refer_to_credit: this.fb.array([]), + was_the_pd_address_ogl: [''], + mode_of_transport_during_visit: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], + others_transport: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])] + }); + this.getDropDown(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionFinalRemarkPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionFinalRemarkPage'); + this.getFinalRemark(); + this.getPDImages(); + }; + PdQuestionFinalRemarkPage.prototype.ionViewCanLeave = function () { + var _this = this; + console.log("dirty", this._finalRemarkForm.dirty); + if (this._finalRemarkForm.dirty) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Data will be Lost", "Are you sure want to Go Back"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + return true; + } + else { + //AFTER FORM DIRTY CHECK + if (_this.imageBucket.length > 0) { + return new Promise(function (resolve1, reject1) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the Save Image button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + //reject1(); + reject(); + } + else { + resolve1(); + resolve(); + } + }); + }); + } + resolve(); + } + }); + }); + } + else { + //REGULAR CHECK FOR IMAGE IS CAPTURED + if (this.imageBucket.length > 0) { + return new Promise(function (resolve, reject) { + var alert = _this.toast.setAlert("Captured Images are not Saved", "Note:To Save the image press the 'Save Image' button
Are you sure want to Go Back?"); + alert.present(); + alert.onDidDismiss(function (data) { + console.log("d", data); + if (data == false) { + reject(); + } + else { + resolve(); + } + }); + }); + } + } + }; + 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.createRecomendationPositive = function (data) { + console.log("val", data); + return this.fb.group({ + reason_for_positive: data != null ? [data.reason_for_positive] : [''] + }); + }; + PdQuestionFinalRemarkPage.prototype.addRecomendationPositive = function () { + var control = this._finalRemarkForm.controls['recommendation_positive']; + control.push(this.createRecomendationPositive(null)); + }; + PdQuestionFinalRemarkPage.prototype.removeRecomendationPositive = function (index) { + var control = this._finalRemarkForm.controls['recommendation_positive']; + control.removeAt(index); + }; + PdQuestionFinalRemarkPage.prototype.createRecomendationNegative = function (data) { + return this.fb.group({ + reason_for_negative: data != null ? [data.reason_for_negative] : [''] + }); + }; + PdQuestionFinalRemarkPage.prototype.addRecomendationNegative = function () { + var control = this._finalRemarkForm.controls['recommendation_negative']; + control.push(this.createRecomendationNegative(null)); + }; + PdQuestionFinalRemarkPage.prototype.removeRecomendationNegative = function (index) { + var control = this._finalRemarkForm.controls['recommendation_negative']; + control.removeAt(index); + }; + PdQuestionFinalRemarkPage.prototype.createRecomendationCreditRefer = function (data) { + return this.fb.group({ + reason_for_refer_to_credit: data != null ? [data.reason_for_refer_to_credit] : [''] + }); + }; + PdQuestionFinalRemarkPage.prototype.addRecomendationCreditRefer = function () { + var control = this._finalRemarkForm.controls['recommendation_refer_to_credit']; + control.push(this.createRecomendationCreditRefer(null)); + }; + PdQuestionFinalRemarkPage.prototype.removeRecomendationCreditRefer = function (index) { + var control = this._finalRemarkForm.controls['recommendation_refer_to_credit']; + control.removeAt(index); + }; + PdQuestionFinalRemarkPage.prototype.RecommendationChange = function (e) { + // console.log('Event',e); + var recommendationPositiveCtrl = this._finalRemarkForm.get('recommendation_positive'); + var recommendationNegativeCtrl = this._finalRemarkForm.get('recommendation_negative'); + var recommendationReferToCredit = this._finalRemarkForm.get('recommendation_refer_to_credit'); + if (e == 1) { + this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); + if (recommendationNegativeCtrl.controls.length > 0) { + var i = 0; + for (i; i < recommendationNegativeCtrl.controls.length; i++) { + recommendationNegativeCtrl.removeAt(i + 1); + recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0]; + recommendationNegativeCtrl.controls['reason_for_negative'].setValue(''); + recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators(); + recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity(); + } + } + if (recommendationPositiveCtrl.controls.length > 0) { + var i = 0; + for (i; i < recommendationPositiveCtrl.controls.length; i++) { + recommendationPositiveCtrl.removeAt(i + 1); + recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0]; + recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators(); + recommendationPositiveCtrl.controls['reason_for_positive'].setValue(''); + recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity(); + } + } + if (recommendationReferToCredit.controls.length > 0) { + var i = 0; + for (i; i < recommendationReferToCredit.controls.length; i++) { + recommendationReferToCredit.removeAt(i + 1); + recommendationReferToCredit = recommendationReferToCredit.controls[0]; + recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue(''); + recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators(); + recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity(); + } + } + } + if (e == 2) { + this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); + if (recommendationReferToCredit.controls.length > 0) { + var i = 0; + for (i; i < recommendationReferToCredit.controls.length; i++) { + recommendationReferToCredit.removeAt(i + 1); + recommendationReferToCredit = recommendationReferToCredit.controls[0]; + recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue(''); + recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators(); + recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity(); + } + } + // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]); + if (recommendationPositiveCtrl.controls.length > 0) { + var i = 0; + for (i; i < recommendationPositiveCtrl.controls.length; i++) { + recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i]; + recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity(); + } + } + if (recommendationNegativeCtrl.controls.length > 0) { + var i = 0; + for (i; i < recommendationNegativeCtrl.controls.length; i++) { + recommendationNegativeCtrl.removeAt(i + 1); + recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0]; + recommendationNegativeCtrl.controls['reason_for_negative'].setValue(''); + recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators(); + recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity(); + } + } + } + if (e == 3) { + this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); + if (recommendationReferToCredit.controls.length > 0) { + var i = 0; + for (i; i < recommendationReferToCredit.controls.length; i++) { + recommendationReferToCredit.removeAt(i + 1); + recommendationReferToCredit = recommendationReferToCredit.controls[0]; + recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue(''); + recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators(); + recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity(); + } + } + if (recommendationPositiveCtrl.controls.length > 0) { + var i = 0; + for (i; i < recommendationPositiveCtrl.controls.length; i++) { + recommendationPositiveCtrl.removeAt(i + 1); + recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0]; + recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators(); + recommendationPositiveCtrl.controls['reason_for_positive'].setValue(''); + recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity(); + } + } + if (recommendationNegativeCtrl.controls.length > 0) { + var i = 0; + for (i; i < recommendationNegativeCtrl.controls.length; i++) { + recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i]; + recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity(); + } + } + // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]); + } + if (e == 4) { + this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); + this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); + if (recommendationReferToCredit.controls.length > 0) { + var i = 0; + for (i; i < recommendationReferToCredit.controls.length; i++) { + recommendationReferToCredit = recommendationReferToCredit.controls[i]; + recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); + recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity(); + } + } + if (recommendationNegativeCtrl.controls.length > 0) { + var i = 0; + for (i; i < recommendationNegativeCtrl.controls.length; i++) { + recommendationNegativeCtrl.removeAt(i + 1); + recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0]; + recommendationNegativeCtrl.controls['reason_for_negative'].setValue(''); + recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators(); + recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity(); + } + } + if (recommendationPositiveCtrl.controls.length > 0) { + var i = 0; + for (i; i < recommendationPositiveCtrl.controls.length; i++) { + recommendationPositiveCtrl.removeAt(i + 1); + recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0]; + recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators(); + recommendationPositiveCtrl.controls['reason_for_positive'].setValue(''); + recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity(); + } + } + } + }; + PdQuestionFinalRemarkPage.prototype.getFinalRemark = function () { + var _this = this; + var saveRecords = { 'parent_pdid': this.pdDetails.parent_pd_id, '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.was_the_pd_address_ogl.setValue(data['records'].was_the_pd_address_ogl); + _this._finalRemarkForm.controls.mode_of_transport_during_visit.setValue(data['records'].mode_of_transport_during_visit); + _this._finalRemarkForm.controls.others_transport.setValue(data['records'].others_transport); + // 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); + if (data['records'].recommendation_positive.length > 0) { + var recommendationPositiveCtrl_1 = _this._finalRemarkForm.get('recommendation_positive'); + data['records'].recommendation_positive.forEach(function (val, index) { + console.log("for", val); + if (val.reason_for_positive != null) { + var obj = { 'reason_for_positive': val.reason_for_positive }; + recommendationPositiveCtrl_1.push(_this.createRecomendationPositive(obj)); + } + }); + } + if (data['records'].recommendation_negative.length > 0) { + var recommendationNegativeCtrl_1 = _this._finalRemarkForm.get('recommendation_negative'); + data['records'].recommendation_negative.forEach(function (val, index) { + console.log("for", val); + var obj = { 'reason_for_negative': val.reason_for_negative }; + recommendationNegativeCtrl_1.push(_this.createRecomendationNegative(obj)); + }); + } + if (data['records'].recommendation_refer_to_credit.length > 0) { + var recommendationReferToCredit_1 = _this._finalRemarkForm.get('recommendation_refer_to_credit'); + data['records'].recommendation_refer_to_credit.forEach(function (val) { + var obj = { 'reason_for_refer_to_credit': val.reason_for_refer_to_credit }; + recommendationReferToCredit_1.push(_this.createRecomendationCreditRefer(obj)); + }); + } + _this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks); + } + else { + var recommendationPositiveCtrl = _this._finalRemarkForm.get('recommendation_positive'); + recommendationPositiveCtrl.push(_this.createRecomendationPositive(null)); + var recommendationNegativeCtrl = _this._finalRemarkForm.get('recommendation_negative'); + recommendationNegativeCtrl.push(_this.createRecomendationNegative(null)); + var recommendationReferToCredit = _this._finalRemarkForm.get('recommendation_refer_to_credit'); + recommendationReferToCredit.push(_this.createRecomendationCreditRefer(null)); + } + }); + }; + PdQuestionFinalRemarkPage.prototype.saveFinalRemark = function () { + var _this = this; + if (this._finalRemarkForm.invalid) { + this.toast.pdTriggerappmessage("Please Fill all the Fields marked with '*' "); + } + 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) { + //TO CHANGE THE FORM STATE + _this._finalRemarkForm.reset(_this._finalRemarkForm.value); + _this.toast.pdTriggerappmessage("Record Saved Successfully"); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + else { + _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); + } + }); + } + }; + PdQuestionFinalRemarkPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId.form_id, 'company_id': null }; + this.qustcat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionFinalRemarkPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionFinalRemarkPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionFinalRemarkPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionFinalRemarkPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionFinalRemarkPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionFinalRemarkPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId.form_id, + 'images': this.imageBucket, + 'company_id': '' + }; + console.log("records", JSON.stringify(records)); + this.qustcat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionFinalRemarkPage.prototype.setValidation = function () { + console.log("enter"); + if (this._finalRemarkForm.controls['mode_of_transport_during_visit'].value == 'others') { + this._finalRemarkForm.controls['others_transport'].setValue(''); + this._finalRemarkForm.controls['others_transport'].setValidators(__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])); + this._finalRemarkForm.controls['others_transport'].updateValueAndValidity(); + } + else { + this._finalRemarkForm.controls['others_transport'].setValue(''); + this._finalRemarkForm.controls['others_transport'].clearValidators(); + this._finalRemarkForm.controls['others_transport'].updateValueAndValidity(); + } + }; + PdQuestionFinalRemarkPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-final-remark',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.html"*/'\n\n\n \n \n {{FormId.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \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 {{pm.customer_behaviour_id == 1 ? \'Other Negative Behaviour\': pm.description }}\n \n Customer Behaviour\n is Required\n \n \n \n \n \n \n \n \n Location\n
\n \n \n Is the location of the business / profession suited to the nature of business / service provided?
\n \n Select \n \n Well Suited\n Fairly Suited\n Not Suited\n \n
\n \n \n Select \n {{ list.pdofficer_recommendation }}\n \n \n \n \n \n
\n
\n
\n \n Reason for Marking PD Status as Positive\n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n Reasons for marking PD status as Negative\n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n Reasons for marking PD status as Refer to Credit\n \n \n \n \n \n \n \n \n \n \n
\n
\n

\nWas the PD Address Outside Geographic Limit (OGL)\n \n
\n\n \n Select\n {{transport.name}}\n \n\n\n \n\n \n
\n
\n \n \n Other Remarks\n \n \n \n \n \n \n
\n
\n\n \n
\n\n \n \n \n\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_loading__["a" /* LoadingProvider */]]) + ], PdQuestionFinalRemarkPage); + return PdQuestionFinalRemarkPage; +}()); + +//# sourceMappingURL=pd-question-final-remark.js.map + +/***/ }), + +/***/ 399: +/***/ (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__(4); +/* 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__(210); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(213); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(211); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__ = __webpack_require__(400); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__ = __webpack_require__(401); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__ = __webpack_require__(402); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(212); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(214); +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.forms_order = []; + this.pdDetails = this.navParams.get('pdDetails'); + this.FormId = this.navParams.get('FormId'); + // this.getCompanyListForBusiness(); + } + PdQuestionBusinessGroupPage.prototype.ionViewCanEnter = function () { + this.getCompanyListForBusiness(); + //this.colorChange(); + }; + /** 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; }); + // let forms=Object.keys(this.existCompanyList.form_status).map(function (key){ + // return this.existCompanyList.form_status[key] + // }) + //console.log(forms) + // console.log(this.existCompanyList) + _this.existCompanyList.forEach(function (key, ele) { + _this.forms_order.push(key.form_status); + }); + console.log(_this.forms_order); + _this.forms_order = _this.forms_order.filter(function (val) { return val.isAnswerable == true; }); + console.log(_this.forms_order); + // this.existCompanyList.forEach(element=>{ + // console.log(element); + // }) + // this.existCompanyList.array.forEach(element => { + // console.log(element) + // }); + // this.forms_order=this.existCompanyList.form_status.filter(val=>val.isAnswerable==true) + if (_this.existCompanyList.length == 1) { + _this.count = 0; + } + _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; + console.log(details.form_id); + 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 }); + } + if (details.form_id == 16) { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], { '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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-business-group.html"*/'\n\n\n \n \n {{FormId.form_name}}\n \n\n\n\n\n\n \n \n \n \n {{companyList.company_name}}\n \n \n
\n \n \n {{quesIndex+1}}\n {{quesIndex+1}}\n
\n

{{formButton.form_name }}

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

Business Related Information is Not Available.Please Check General Information

\n \n
\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 400: +/***/ (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__(4); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__ = __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); +}; + + + + + + + + + + + +/** + * 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, loading, cameraProvider) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.toast = toast; + this.qustCat = qustCat; + this.fb = fb; + this.cons = cons; + this.loading = loading; + this.cameraProvider = cameraProvider; + 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.bankListValue = []; + this.temp_additiondetailofposmachine = []; + this.isreadonlyyear = []; + this.isreadonlymonth = []; + this.EntityTypeFlag = false; + this.yearErrorMessage = []; + this.monthErrorMessage = []; + this.errorMessageForExistTotalWorkExperience = []; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["Subject"](); + this.filteredCity = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["ReplaySubject"](1); + //public filterCity=new Rx.Subject() + this.filteredState = new __WEBPACK_IMPORTED_MODULE_8_rxjs__["ReplaySubject"](1); + this.cityData = []; + this.cityDataValue = []; + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + this.ManufacturingCounterArray = []; + this.RetailCounterArray = []; + this.WholeSaleCounterArray = []; + this.ServiceCounterArray = []; + this.getStateCityDet(); + // console.log(typeof this.filteredCity) + 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; + console.log("pd", this.pdDetails); + this.generalExistEntityType = this.pdDetails.business_entity_type; + this.generalExistEntityType_other = this.pdDetails.business_entity_type_other; + this.generalExistBusinessYear = this.pdDetails.business_years; + this.generalExistBusinessMonth = this.pdDetails.business_month; + this.step = 0; + // this.initBusinessForm(); + // this.getBuisnessDetails(); + this.businessForm = this.fb.group({ + fk_createdby: [this.users], + parent_pdid: [this.pdDetails.parent_pd_id], + 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:[''], + // no_of_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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionBusinessInfoPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBusinessInfoPage'); + this.getPDImages(); + }; + 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('BUSINESSENTITYTYPE').subscribe(function (data) { + if (data['dataStatus'] == true) { + var filterList = data['records'].filter(function (val) { return val.business_entity_type_id == _this.generalExistEntityType; }); + console.log("Filter", filterList); + if (filterList.length > 0) { + _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('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('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; }); + _this.bankListValue = _this.bankList.slice(); + }); + }; + PdQuestionBusinessInfoPage.prototype.getStateCityDet = function () { + var _this = this; + this.qustCat.getStateCityDetails().subscribe(function (data) { + _this.stateList = data.records; + _this.filteredState.next(_this.stateList.slice()); + _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.parent_pdid = this.pdDetails.parent_pd_id; + params.pd_id = this.pdid; + params.pd_form_id = 13; + params.company_id = this.pdDetails.company_id; + this.qustCat.retiverForm(params).subscribe(function (data) { + console.log('data[records]', data['records']); + 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']; + // const othersControl:any=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.parent_pdid = _this.pdDetails.parent_pd_id; + 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) { + _this.CheckExport(element.area_of_sale, 'MActivity', 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = manufacture_details.controls[index].get('india_where_sale_done'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = manufacture_details.controls[index].get('max_sale_state_name'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = manufacture_details.controls[index].get('india_where_sale_done'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + innercontrol.push(_this.indiaSalesDone()); + }); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = manufacture_details.controls[index].get('max_sale_state_name'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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) { + _this.CheckExport(element.area_of_sale, 'RActivity', 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = retailControl.controls[index].get('india_where_sale_done'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + innercontrol.push(_this.indiaSalesDone()); + }); + retailControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = retailControl.controls[index].get('max_sale_state_name'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = retailControl.controls[index].get('india_where_sale_done'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + innercontrol.push(_this.indiaSalesDone()); + }); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = retailControl.controls[index].get('max_sale_state_name'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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) { + _this.CheckExport(element.area_of_sale, 'WActivity', 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = wholesaleControl.controls[index].get('india_where_sale_done'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + innercontrol.push(_this.indiaSalesDone()); + }); + wholesaleControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = wholesaleControl.controls[index].get('max_sale_state_name'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = wholesaleControl.controls[index].get('india_where_sale_done'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + innercontrol.push(_this.indiaSalesDone()); + }); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = wholesaleControl.controls[index].get('max_sale_state_name'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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) { + _this.CheckExport(element.area_of_sale, 'SPActivity', 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = serviceProviderControl.controls[index].get('india_where_sale_done'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + innercontrol.push(_this.indiaSalesDone()); + }); + serviceProviderControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = serviceProviderControl.controls[index].get('max_sale_state_name'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = serviceProviderControl.controls[index].get('india_where_sale_done'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + innercontrol.push(_this.indiaSalesDone()); + }); + element.max_sale_state_name.forEach(function (innerElement, innerIndex) { + _this.filterCityData(_this.stateList, innerElement.state_name, innerIndex); + var innercontrol = serviceProviderControl.controls[index].get('max_sale_state_name'); + innerElement.stateSearch = ''; + innerElement.citySearch = ''; + 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 + // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) { + // return data['records'].others_activity_details[key]; + // }); + // if(selectedOthers.length > 0) { + // selectedOthers.forEach((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') { + //For Adding the bank search in data + businessVal.pos_machines_details.forEach(function (value) { + value.bankSearch = ''; + }); + //----------------------- + _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(val){ + // console.log("val",val) + // return val + // } + if (filterid) { + console.log("val filter", filterid); + var filter = this.stateList.filter(function (x) { return x.state_id == filterid; }); + return filter.length > 0 ? filter[0].cities : []; + } + }; + PdQuestionBusinessInfoPage.prototype.filterCityData = function (datasource, filterid, index) { + console.log("test"); + console.log(filterid, index); + if (filterid) { + var filter = this.stateList.filter(function (x) { return x.state_id == filterid; }); + this.cityData[index] = filter.length > 0 ? filter[0].cities : []; + // this.filteredCity.next(this.cityData[index].slice()) + this.cityDataValue[index] = this.cityData[index].slice(); + console.log("filter ", this.cityDataValue[index]); + } + // console.log("City value",this.cityData[index]) + }; + // 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) { + if (filterValues) { + var setCityValues_1 = []; + var getOriginalStateList_2 = datasource.map(function (dval) { return dval.state_id; }); + filterValues.forEach(function (stateElement, statePos) { + selectedCites.forEach(function (existElement, existPos) { + if (stateElement == existElement.state_name && existElement.city_name.length > 0) { + var findIndex = getOriginalStateList_2.indexOf(stateElement); + findIndex = datasource[findIndex].cities; + var getAllCities = existElement.city_name.filter(function (cVal) { return cVal == "1"; }); + // this is for throuh out states city + if (getAllCities.length > 0) { + setCityValues_1 = setCityValues_1.concat.apply(setCityValues_1, findIndex); + // console.log("First",setCityValues) + } + else { + var check = findIndex.filter(function (fVal) { + return existElement.city_name.some(function (sVal) { + return fVal.city_id == sVal; + }); + }); + setCityValues_1 = setCityValues_1.concat.apply(setCityValues_1, check); + // console.log("second",setCityValues) + } + } + }); + }); + return setCityValues_1.length > 0 ? setCityValues_1.filter(function (fVal) { return fVal.city_id != "1"; }) : []; + } + else { + return []; + } + }; + // filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { + // console.log(selectedCites) + // let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name); + // console.log("selectd",existCities) + // existCities = [].concat.apply([], existCities); + // existCities.forEach(element=>{ + // if(element== 1){ + // } + // }) + // console.log("concat",existCities) + // if(filterValues){ + // let getOriginalStateList = datasource.map(dval => dval.state_id); + // console.log("Original map",getOriginalStateList) + // let setCityFilter = filterValues.map(x => { + // let findIndex = getOriginalStateList.indexOf(x); + // findIndex = datasource[findIndex].cities; + // return findIndex; + // }); + // console.log("findindex",setCityFilter) + // let merged = [].concat.apply([], setCityFilter); + // console.log("merge",merged) + // if(merged.length>0){ + // let check: any = merged.filter(function(fVal){ + // return existCities.some(function(sVal){ + // return fVal.city_id==sVal; + // }); + // }) + // console.log(check); + // 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)); + }; + // checkWithExistBusinessYear(e,i){ + // if(e > this.generalExistBusinessYear){ + // this.errorMessage[i] = "Higher than Business Vintage"; + // } + // else{ + // this.errorMessage[i] = ''; + // } + // } + PdQuestionBusinessInfoPage.prototype.checkWithExistBusinessYear = function (e, i, members) { + if (+e > this.generalExistBusinessYear) { + this.yearErrorMessage[i] = "Higher than Business Vintage"; + members.controls.current_business_experiance_year.setValue(''); + } + else { + this.yearErrorMessage[i] = ''; + } + }; + PdQuestionBusinessInfoPage.prototype.checkWithExistTotalWorkExperience = function (e, i, members) { + if (+members.value.current_business_experiance_year > +e) { + this.errorMessageForExistTotalWorkExperience[i] = "Total Experience is Lower Than Experience in The Current Company"; + members.controls.total_business_experiance.setValue(''); + } + else { + this.errorMessageForExistTotalWorkExperience[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){ + // let 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){ + // let 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.ManufacturingChecked == undefined && this.RetailedChecked || this.RetailedChecked == undefined && this.WholeSalesChecked || this.WholeSalesChecked == undefined && this.ServiceChecked || this.ServiceChecked == undefined) { + 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(); + // } + }; + // Out of Total Export Sales what % of Sales is done in Albania? + PdQuestionBusinessInfoPage.prototype.getPlaceHolderName = function (id) { + var name = this.countryDataList.filter(function (value) { return value.country_id == id; }); + return 'Out of Total Export Sales what % of Sales is done in ' + name[0].country_name + ' ?'; + // return name[0].country_name +'?'; + }; + PdQuestionBusinessInfoPage.prototype.ConvertMonthintoYear = function (itemrow, e, i) { + console.log('datas', e, i); + 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)); + // if (year > this.generalExistBusinessYear) { + // console.log('data') + // this.yearErrorMessage[i] = "Higher than Business Vintage"; + // itemrow.controls.current_business_experiance_year.setValue(''); + // itemrow.controls.current_business_experiance_month.setValue(''); + // } + // else { + // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { + // this.monthErrorMessage[i] = "Higher than Business Vintage"; + // itemrow.controls.current_business_experiance_year.setValue(''); + // itemrow.controls.current_business_experiance_month.setValue(''); + // } else { + // this.monthErrorMessage[i] = ''; + // this.yearErrorMessage[i] = ''; + // itemrow.controls.current_business_experiance_year.setValue(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: [''], + }); + }; + 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: [''], + stateSearch: [''], + citySearch: [''] + }); + }; + PdQuestionBusinessInfoPage.prototype.maxSaleState = function () { + return this.fb.group({ + state_name: [''], + city_name: [''], + stateSearch: [''], + citySearch: [''] + }); + }; + 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.removeManufacturing = function (index) { + var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; + if (manufacturingControl.length > 1) { + manufacturingControl.removeAt(index); + } + else { + manufacturingControl.reset(); + } + }; + PdQuestionBusinessInfoPage.prototype.addMoreRetail = function () { + var retailControl = this.businessForm.controls['retail_trading_activity_details']; + retailControl.push(this.manufactureDetails()); + }; + PdQuestionBusinessInfoPage.prototype.removeRetail = function (index) { + var retailControl = this.businessForm.controls['retail_trading_activity_details']; + if (retailControl.length > 1) { + retailControl.removeAt(index); + } + else { + retailControl.reset(); + } + }; + PdQuestionBusinessInfoPage.prototype.addMoreWholesale = function () { + var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; + wholesaleControl.push(this.manufactureDetails()); + }; + PdQuestionBusinessInfoPage.prototype.removeWholesale = function (index) { + var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; + if (wholesaleControl.length > 1) { + wholesaleControl.removeAt(index); + } + else { + wholesaleControl.reset(); + } + }; + PdQuestionBusinessInfoPage.prototype.addMoreServiceprovider = function () { + var serviceControl = this.businessForm.controls['service_provider_activity_details']; + serviceControl.push(this.manufactureDetails()); + }; + PdQuestionBusinessInfoPage.prototype.removeServiceProvider = function (index) { + var serviceControl = this.businessForm.controls['service_provider_activity_details']; + if (serviceControl.length > 1) { + serviceControl.removeAt(index); + } + else { + serviceControl.reset(); + } + }; + // addMoreOthersActivity(){ + // let othersControl = this.businessForm.controls['others_activity_details']; + // othersControl.push(this.createOthersActivity()); + // } + 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()); + } + }; + // 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: [''], + bankSearch: [''], + tid_no_of_pos_machine: [''], + }); + } + else { + return this.fb.group({ + pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name], + bankSearch: [''], + tid_no_of_pos_machine: [data.tid_no_of_pos_machine], + }); + } + }; + PdQuestionBusinessInfoPage.prototype.initBusinessForm = function () { + this.businessForm = this.fb.group({ + parent_pdid: this.pdDetails.parent_pd_id, + pdid: this.pdDetails.pd_id, + formid: this.FormId, + 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_1 = this.businessForm.controls['partners']; + var control2 = control_1.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 control = this.businessForm.get('manufacturing_activity_details'); + console.log("manufacture", control); + // control.controls.forEach(element=>{ + // if(element.controls['india_where_sale_done']){ + // element.controls + // } + // }) + 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; + if (!this.EntityTypeFlag) { + var count_1 = 0; + if (records.partners.length > 0) { + records.partners.forEach(function (element) { + console.log(element); + count_1 += element.shareholding; + }); + } + if (count_1 >= 101) { + this.toast.pdTriggerappmessage("Share Holding is Greater than 100 %"); + // this.businessForm.get('shareholding').value.setFocus() + //this.businessForm.controls['partners'] + console.log(this.businessForm.controls); + // const control=this.businessForm.controls['partners'] as FormArray + this.share_focus.nativeElement.focus(); + //control.get('shareholding').Focus() + // this.businessForm.get('business_remarks').value.setFocus() + return; + } + } + 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; }); + if (records.pos_machines_details) { + records.pos_machines_details.forEach(function (value) { + delete value.bankSearch; + }); + } + // if(records.manufacturing_activity_details.length > 0){ + // records.manufacturing_activity_details.forEach((val,index) => { + // let manufacturingControl: any = this.businessForm.get('manufacturing_activity_details') as FormArray; + // let childCtrl1 : any = manufacturingControl.controls[index].get('india_where_sale_done') as FormArray; + // let childCtrl2 : any = manufacturingControl.controls[index].get('max_sale_state_name') as FormArray; + // if(val.area_of_sale != "Export"){ + // if(val.india_where_sale_done.length > 0){ + // val.india_where_sale_done.forEach((vals,inx) => { + // childCtrl1.controls[inx].removeControl('citySearch'); + // delete vals.citySearch; + // childCtrl1.controls[inx].removeControl('stateSearch'); + // delete vals.stateSearch; + // }); + // } + // if(val.max_sale_state_name.length > 0){ + // val.max_sale_state_name.forEach((vals,inx) => { + // childCtrl2.controls[inx].removeControl('citySearch'); + // childCtrl2.controls[inx].removeControl('stateSearch'); + // }); + // } + // } + // }); + // } + // console.log('records',records); + this.qustCat.saveForm(records).subscribe(function (data) { + if (data['dataStatus'] == true) { + _this.businessForm.markAsUntouched(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 3000); + } + }); + }; + PdQuestionBusinessInfoPage.prototype.getBuisnessDetails = function () { + var _this = this; + var records = { 'parent_pdid': this.pdDetails.parent_pd_id, 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId }; + 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.parent_pdid = _this.pdDetails.parent_pd_id; + businessVal.pdid = _this.pdDetails.pd_id; + businessVal.formid = _this.FormId; + 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) { + // console.log("Manu") + if (stringFlag == 'MActivity' && value == "Both") { + this.ManufacturingCounterArray[index] = 1; + } + else if (stringFlag == 'MActivity' && value != "Both") { + this.ManufacturingCounterArray[index] = 0; + } + } + else if (this.ManufacturingChecked && stringFlag == 'MActivity') { + // console.log("manu"); + this.ManufacturingCounterArray[index] = 0; + } + if (!this.RetailedChecked) { + if (stringFlag == 'RActivity' && value == "Both") { + this.RetailCounterArray[index] = 1; + } + else if (stringFlag == 'RActivity' && value != "Both") { + this.RetailCounterArray[index] = 0; + } + } + else if (stringFlag == 'RActivity' && this.RetailedChecked) { + this.RetailCounterArray[index] = 0; + } + if (!this.WholeSalesChecked) { + if (stringFlag == 'WActivity' && value == "Both") { + this.WholeSaleCounterArray[index] = 1; + } + else if (stringFlag == 'WActivity' && value != "Both") { + this.WholeSaleCounterArray[index] = 0; + } + } + else if (stringFlag == 'WActivity' && this.WholeSalesChecked) { + this.WholeSaleCounterArray[index] = 0; + } + if (!this.ServiceChecked) { + if (stringFlag == 'SPActivity' && value == "Both") { + this.ServiceCounterArray[index] = 1; + } + else if (stringFlag == 'SPActivity' && value != "Both") { + 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; + // console.log(this.ExportFlag); + //console.log(overallCounter) + }; + PdQuestionBusinessInfoPage.prototype.changePOSMachinesAvailablity = function (e, flag) { + e == 'yes' + ? this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) + : this.businessForm.removeControl('no_of_pos_machines'); + if (flag == 2) { + e == 'yes' + ? this.businessForm.controls.no_of_pos_machines.setValue('') + : this.businessForm.removeControl('no_of_pos_machines'); + } + }; + 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.prototype.searchFun = function (control, i, option) { + var _this = this; + if (option == 'city') { + // this.cityData[i]=this.filterCity(this.stateList,control.value.state_name) + control.controls['citySearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_6_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.SearchCity(control.controls['citySearch'].value, i); + }); + } + if (option == 'state') { + // console.log("state") + control.controls['stateSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_6_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.searchState(control.controls['stateSearch'].value); + }); + } + //For Pos bank search using constant provider + if (option == 'bank') { + console.log("bank", control.controls['bankSearch'].value); + control.controls['bankSearch'].valueChanges + .pipe(Object(__WEBPACK_IMPORTED_MODULE_6_rxjs_operators__["takeUntil"])(this._onDestroy)) + .subscribe(function () { + _this.bankListValue = _this.cons.searchData(_this.bankList, control.controls['bankSearch'].value, option); + }); + } + }; + PdQuestionBusinessInfoPage.prototype.SearchCity = function (val, i) { + // let cityData= + // console.log(this.cityData[i]) + if (!this.cityData[i]) { + return; + } + var searchValue = val; + if (!searchValue) { + this.cityDataValue[i] = this.cityData[i].slice(); + return; + } + else { + searchValue = searchValue.toLowerCase(); + } + this.cityDataValue[i] = + this.cityData[i].filter(function (val) { return val.city_name.toLowerCase().indexOf(searchValue) > -1; }); + // console.log("City Data value",this.cityDataValue[i]) + // this.filterCity('',1,this.cityData[i]) + // this.filteredCity.next( + // this.cityData[i].filter(value => value.city_name.toLowerCase().indexOf(searchValue) > -1) + // ) + }; + PdQuestionBusinessInfoPage.prototype.searchState = function (val) { + console.log("statedata"); + if (!this.stateList) { + return; + } + var searchVal = val; + if (!searchVal) { + this.filteredState.next(this.stateList.slice()); + return; + } + else { + searchVal = searchVal.toLowerCase(); + } + this.filteredState.next(this.stateList.filter(function (res) { return res.state_name.toLowerCase().indexOf(searchVal) > -1; })); + }; + /*IMAGE SECTION*/ + PdQuestionBusinessInfoPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.FormId, 'company_id': this.pdDetails.company_id }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionBusinessInfoPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionBusinessInfoPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionBusinessInfoPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionBusinessInfoPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionBusinessInfoPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionBusinessInfoPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.FormId, + 'images': this.imageBucket, + 'company_id': this.pdDetails.company_id + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionBusinessInfoPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('partner_other_name').value; + value.get('partner_other_name').setValue(this.cons.sentenceCase(name)); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('shareholding'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) + ], PdQuestionBusinessInfoPage.prototype, "share_focus", void 0); + PdQuestionBusinessInfoPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-business-info',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.html"*/'\n\n \n \n {{formdetails.form_name}}\n\n\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n \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 }} # {{i+1}}
\n
\n
\n \n \n \n {{app.applicant_name}}\n Others\n \n \n \n \n \n
\n \n \n \n
\n \n \n Select\n Yes\n No\n \n \n

No of Years in Current Business

\n \n \n {{yearErrorMessage[i]}}\n   \n \n \n {{monthErrorMessage[i]}}\n \n \n \n {{errorMessageForExistTotalWorkExperience[i]}}\n \n \n \n \n \n\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 Other Family Members Involved in Business

\n \n \n \n \n \n
Family Member #{{i+1}}
\n
\n
\n \n \n \n {{title.name}}\n \n \n \n \n \n \n \n {{member.name\n + \' Of\' | titlecase}}\n \n \n \n \n {{member.applicant_name\n | titlecase}}\n \n \n \n \n {{comrelship.name\n | titlecase}}\n \n \n \n \n Select\n Yes\n No\n \n \n \n \n \n \n \n \n
\n
\n
\n \n

\n \n Type of Business Activity\n \n
\n\n {{entityType.controls.name.value\n | titlecase}}\n\n
\n
\n
\n\n \n \n
\n
Manufacturing Details {{i+1}}
\n \n \n \n \n \n Within India\n Export\n Both\n \n \n \n \n Yes\n No\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 {{Cl.city_name}}\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 {{MSL.state_name}}\n \n \n \n \n Cities Where Max Sales Done for {{manufacturing.value.main_products}}\n \n \n {{MCL.city_name}}\n \n \n \n
\n
\n
\n \n
\n
\n \n Countries Where The Export Is Being Done for\n {{manufacturing.value.main_products}}\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
Within India
\n
\n \n \n Yes\n No\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 States Where Max Sales Done for {{manufacturing.value.main_products}}\n \n \n {{MSL.state_name}}\n \n \n \n \n Cities Where Max Sales Done for {{manufacturing.value.main_products}}\n \n \n {{MCL.city_name}}\n \n \n \n
\n
\n

Export

\n
\n
\n \n Countries Where The Export Is Being Done for\n {{manufacturing.value.main_products}}\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 Description of {{manufacturing.value.main_products}} Manufacturing Process\n \n \n \n \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 Within India\n Export\n Both\n \n \n \n \n Yes\n No\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 {{CL.city_name}}\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 {{MSL.state_name}}\n \n \n \n \n Cities Where Max Sales Done for {{retail.value.main_products}}\n\n \n \n {{MCL.city_name}}\n \n \n \n
\n
\n
\n \n
\n
\n\n \n Countries Where Export Is Being Done for\n {{retail.value.main_products}}\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

Within India

\n\n
\n \n \n Yes\n No\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 {{CL.city_name}}\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 {{MSL.state_name}}\n \n \n \n \n Cities Where Max Sales Done for {{retail.value.main_products}}\n\n \n \n {{MCL.city_name}}\n \n \n \n
\n
\n

Export

\n
\n
\n \n Countries Where The Export Is Being Done for\n {{retail.value.main_products}}\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 Description of {{retail.value.main_products}} Retailing\n process\n \n \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 Within India\n Export\n Both\n \n \n \n \n \n Yes\n No\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 {{CL.city_name}}\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 {{MSL.state_name}}\n \n \n \n \n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n \n \n {{MCL.city_name}}\n \n \n \n
\n
\n
\n\n \n
\n
\n\n \n Countries Where The Export Is Being Done for\n {{wholesale.value.main_products}}\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

Within India

\n
\n \n \n Yes\n No\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 {{CL.city_name}}\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 {{MSL.state_name}}\n \n \n \n \n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n \n \n {{MCL.city_name}}\n \n \n \n
\n
\n

Export

\n
\n
\n \n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n Countries Where The Export Is Being Done for\n {{wholesale.value.main_products}}\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 Description of {{wholesale.value.main_products}} Wholesale\n process \n \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 Within India\n Export\n Both\n \n \n \n \n \n Yes\n No\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 {{CL.city_name}}\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\n {{serviceprovider.value.main_products}}\n\n \n \n {{MSL.state_name}}\n \n \n \n \n Cities Where Max Revenue From Services for\n {{serviceprovider.value.main_products}}\n\n \n \n {{MCL.city_name}}\n \n \n \n
\n
\n
\n\n \n
\n
\n\n \n Countries Where The Export Is Being Done for\n {{serviceprovider.value.main_products}}\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

Within India

\n
\n \n \n Yes\n No\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 {{CL.city_name}}\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\n {{serviceprovider.value.main_products}}\n\n \n \n {{MSL.state_name}}\n \n \n \n \n Cities Where Max Revenue From Services for\n {{serviceprovider.value.main_products}}\n\n \n \n {{MCL.city_name}}\n \n \n \n
\n
\n

Export

\n
\n
\n \n Countries Where The Export Is Being Done for\n {{serviceprovider.value.main_products}}\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 Description of {{serviceprovider.value.main_products}} Service Process\n \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 Digital Payments\n \n \n \n \n Yes\n No\n \n \n \n \n Yes\n No\n \n \n
\n \n \n \n
\n
\n
\n \n Machine Details {{i+1}}\n \n \n \n \n \n \n \n \n Select\n {{b.lender_name}}\n \n \n \n \n \n\n
\n
\n
\n
\n\n
\n\n
\n\n \n \n Seasonality\n \n \n
\n\n

Is The Business Seasonal

\n \n\n Yes\n No Major Changes In Sales\n\n\n \n \n In Which Period Is Maximum Sale / Service Done\n \n January\n February\n March\n April\n May\n June\n July\n August\n September\n October\n November\n December\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 {{appxSalaryAmtInwords}} Only\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 Yes\n No\n \n \n \n \n \n\n \n \n Documents Sighted \n \n \n\n\n

Shop and Est Act Cert

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

GST Regn Cert

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

Export / Import cert

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

Factory Cert

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

Cert of Practice

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

PF Regn

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

ESIC Regn

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

Do You Want to Add Other Documents?

\n \n\n Yes\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 Remarks\n \n \n \n \n\n \n\n
\n
\n\n\n \n
\n\n \n \n \n'/*ion-inline-end:"/home/rajasekar/Desktop/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_7__providers_constants_constants__["a" /* ConstantsProvider */], + __WEBPACK_IMPORTED_MODULE_10__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_camera__["a" /* CameraProvider */]]) + ], PdQuestionBusinessInfoPage); + return PdQuestionBusinessInfoPage; +}()); + +//# sourceMappingURL=pd-question-business-info.js.map + +/***/ }), + +/***/ 401: +/***/ (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__(4); +/* 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__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __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); +}; + + + + + + + + + +/** + * 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, loading, cameraProvider) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.qustcat = qustcat; + this.cons = cons; + this.toast = toast; + this.loading = loading; + this.cameraProvider = cameraProvider; + 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.cityArr = []; + this.pinArr = []; + this.m_state_for_address = []; + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + this.addressType = ''; + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionBusinessAssetsPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBusinessAssetsPage'); + this.getDetails(); + //this.getAddress() + this.getPDImages(); + }; + PdQuestionBusinessAssetsPage.prototype.getAddress = function () { + var _this = this; + var params = {}; + params.parent_pdid = this.pdDetails.parent_pd_id; + 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] = ''; + console.log("address", data); + _this.qustcat.getStateWiseCities(data.state).subscribe(function (res) { + if (res.dataStatus == true) { + console.log("state", res); + _this.cityArr = res.records.cities; + _this.pinArr = res.records.pincode; + var selectedAddressType = _this.m_address_type.filter(function (element) { return element.address_type_id == data.address_type; })[0]; + var selectedState = _this.m_state_for_address.filter(function (element) { return element.state_id == data.state; })[0]; + var selectedCity = _this.cityArr.filter(function (element) { return element.city_id == data.city; })[0]; + var selectedPincode = _this.pinArr.filter(function (element) { return element.pincode_id == data.pincode; })[0]; + console.log(selectedCity); + if (selectedAddressType != '' && selectedAddressType != undefined) { + _this.addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others; + console.log('this.addressType', _this.addressType); + } + else { + _this.addressType = ''; + } + var address = data.address + ' , ' + selectedCity.city_name + ',' + selectedState.name + '-' + (data.pincode == 1 ? data.pincode_others : selectedPincode.pincode); + // let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0]; + // let address = data.address; + // let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others; + _this.placeholderName[inx] = 'Was any business activity seen at the ' + _this.addressType + ' during PD visit?'; + //console.log(this.placeholderName) + var addressLabel = " : " + address + ' / ' + _this.addressType; + console.log("dd", addressLabel); + 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: '' + }; + console.log('this.addressType', _this.addressType); + 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 }); + } + }); + this.qustcat.getcommondrop('STATE').subscribe(function (data) { + _this.m_state_for_address = data['records'].filter(function (val) { return val.isactive == 1; }); + }); + }; + PdQuestionBusinessAssetsPage.prototype.getDetails = function () { + var _this = this; + var params = {}; + params.parent_pdid = this.pdDetails.parent_pd_id; + 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({ + parent_pdid: [this.pdDetails.parent_pd_id], + 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({ + parent_pdid: [this.pdDetails.parent_pd_id], + 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: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], + 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; + console.log("add business"); + var result = Object.keys(data).map(function (key) { + return data[key]; + }); + if (result.length > 0) { + result.forEach(function (datas, index) { + //this.placeholderName[index]=datas.address_label.split('/') + // console.log(datas.address_label.split('/')) + // console.log(datas.address_label.split('/')[0]) + if (datas.address_label != null && datas.address_label != '') { + var splitted = datas.address_label.split('/')[1]; + _this.placeholderName[index] = 'Was any business activity seen at the ' + splitted + ' during PD visit?'; + _this.addressType = splitted; + } + _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) { + console.log("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; + //console.log("Remarks",this.focusRemark); + if (!this._businessAssetsQuesFrom.valid) { + this.toast.pdTriggerappmessage("Please Fill the Required Field"); + this._businessAssetsQuesFrom.value.business_assets_for_address.forEach(function (element) { + console.log(element); + if (element.business_address_availability != 'no' && element.business_pd_visited_remark == '') { + _this.focusRemark.nativeElement.focus(); + } + }); + return; + } + 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"); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + 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.length > 0) { + // return values.id==0 ? true : false; + var Avaliablity_1 = 1; + values.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity_1 = option.id; + } + }); + return Avaliablity_1 == 0 ? true : false; + } + else { + return false; + } + }; + PdQuestionBusinessAssetsPage.prototype.setRequiredValidation = function (value, item, flag, i) { + if (flag == 11) { + if (value == 'yes') { + this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators(); + } + else if (value == 'no') { + 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_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity(); + } + 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_2 = 1; + value.forEach(function (option) { + if (option.id == 0 && option.group_id == 2) { + Avaliablity_2 = option.id; + } + }); + if (Avaliablity_2 == 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){ + // let Avaliablity = 1; + // value.forEach(option => { + // if(option.id == 0 && option.group_id == 2){ + // Avaliablity = option.id; + // } + // }); + // this.isOtherOwner = false; + // if(Avaliablity == 0){ + // item.controls.business_name_of_the_other_owner.setValidators([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; + } + }; + /*IMAGE SECTION*/ + PdQuestionBusinessAssetsPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; + this.qustcat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionBusinessAssetsPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionBusinessAssetsPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionBusinessAssetsPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionBusinessAssetsPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionBusinessAssetsPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionBusinessAssetsPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.formDetails.form_id, + 'images': this.imageBucket, + 'company_id': this.pdDetails.company_id + }; + console.log("records", JSON.stringify(records)); + this.qustcat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionBusinessAssetsPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('business_name_of_the_other_owner').value; + value.get('business_name_of_the_other_owner').setValue(this.cons.sentenceCase(name)); + }; + __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('remarksFocus'), + __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) + ], PdQuestionBusinessAssetsPage.prototype, "focusRemark", void 0); + PdQuestionBusinessAssetsPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-business-assets',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.html"*/'\n\n\n \n \n {{formDetails.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n\n\n\n\n\n \n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n\n \n \n
\n
\n
\n
\n
\n
\n \n \n\n \n
\n \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 Yes\n No\n \n \n
\n

How long has business been operated from this premise?

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

Is There a Loan Existing Against This Asset?

\n \n Yes\n No\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 Select\n \n {{asset.name | titlecase}}\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 {{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 Description is Required\n \n \n \n \n \n {{data.viewValue | titlecase}}\n \n \n
\n
\n
\n\n
\n\n \n \n \n Owned\n Rented\n \n \n\n\n\n \n \n \n {{"₹"}} {{RentAmtInwords[i]}} Only\n Monthly Rent Amount Required\n \n\n
\n \n \n \n {{"₹"}}\n {{appxMarketAmtInwords[i]}} Only\n Approximate Market Value Required\n \n \n \n \n \n \n {{val.name}}\n \n \n \n \n\n \n \n \n\n \n
\n \n Approx Vintage\n \n \n \n Purchase Year\n \n \n
\n
\n\n \n \n\n

Is There a Loan Existing Against This Asset?

\n \n Yes\n No\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'/*ion-inline-end:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */], + __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_camera__["a" /* CameraProvider */]]) + ], PdQuestionBusinessAssetsPage); + return PdQuestionBusinessAssetsPage; +}()); + +//# sourceMappingURL=pd-question-business-assets.js.map + +/***/ }), + +/***/ 402: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* 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__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_loading__ = __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 { 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, loading, cameraProvider) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.aws = aws; + this.fb = fb; + this.qustCat = qustCat; + this.cons = cons; + this.toast = toast; + this.loading = loading; + this.cameraProvider = cameraProvider; + this.existCompanyList = []; + this.mergeCompanyApplicant = []; + this.amtInwords = []; + this.emiAmtInwords = []; + this.limitCaseFlag = []; + this.yearErrorMessage = []; + this.monthErrorMessage = []; + this.m_btLenderListValue = []; + this._onDestroy = new __WEBPACK_IMPORTED_MODULE_7_rxjs__["Subject"](); + this.imageBucket = []; + this.tab = '0'; + this.complete_status = false; + 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.generalExistBusinessMonth = this.pdDetails.business_month; + this.generalExistBusinessYear = this.pdDetails.business_years; + 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(); + //To checking Completed Status For CompleteList Menu + this.complete_status = this.pdDetails.pd_status == 'COMPLETED' ? true : false; + } + PdQuestionBusinessBankingPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad PdQuestionBusinessBankingPage'); + this.getPDImages(); + }; + PdQuestionBusinessBankingPage.prototype.searchFun = function (control) { + if (!this.m_btLenderListValue) { + return; + } + var searchVal = control.controls['filterCtrl'].value; + if (!searchVal) { + this.m_btLenderListValue = this.m_btLenderList.slice(); + return; + } + else { + searchVal = searchVal.toLowerCase(); + this.m_btLenderListValue = this.m_btLenderList.filter(function (val) { return val.lender_name.toLowerCase().indexOf(searchVal) > -1; }); + } + }; + 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.m_btLenderListValue = _this.m_btLenderList.slice(); + } + }); + 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.checkWithExistBusinessYear = function (itemrow, e, i) { + console.log(this.generalExistBusinessYear); + if (+e > this.generalExistBusinessYear) { + this.yearErrorMessage[i] = "Higher than Business Vintage"; + itemrow.controls.vintage_year.setValue(''); + } + else { + this.yearErrorMessage[i] = ''; + } + }; + 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, i) { + console.log(this.generalExistBusinessMonth); + var year = itemrow.controls.vintage_year.value; + var converted_month = e % 12; + var converted_year = e / 12; + var Year = +year + +Math.floor(converted_year); + if (Year > this.generalExistBusinessYear) { + this.yearErrorMessage[i] = "Higher than Business Vintage"; + itemrow.controls.vintage_year.setValue(''); + itemrow.controls.vintage_month.setValue(''); + } + else { + if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { + this.monthErrorMessage[i] = "Higher than Business Vintage"; + itemrow.controls.vintage_year.setValue(''); + itemrow.controls.vintage_month.setValue(''); + console.log(this.monthErrorMessage[i]); + } + else { + this.monthErrorMessage[i] = ''; + this.yearErrorMessage[i] = ''; + itemrow.controls.vintage_year.setValue(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: [''], + filterCtrl: [''], + 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 = { 'parent_pdid': this.pdDetails.parent_pd_id, '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) { + datas.filterCtrl = ''; + _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; + answerData.itemRows.forEach(function (element) { + delete element.filterCtrl; + }); + console.log("logs", answerData); + var records = {}; + records.parent_pdid = this.pdDetails.parent_pd_id; + 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.bankingForm.markAsUntouched(); + _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); + setTimeout(function () { + _this.navCtrl.pop(); + }, 2000); + } + else { + _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); + } + }); + }; + /*IMAGE SECTION*/ + PdQuestionBusinessBankingPage.prototype.getPDImages = function () { + var _this = this; + //FOR RETRIEVING PICTURES + this.imageDisplay = []; + var record_for_pic = { 'pd_id': this.pdDetails.pd_id, 'form_id': this.formDetails.form_id, 'company_id': this.pdDetails.company_id }; + this.qustCat.getPDImages(record_for_pic).subscribe(function (val) { + if (!val['msg']) { + console.log(val['records']); + if (val['records'].length > 0) { + val['records'].forEach(function (result) { + _this.imageDisplay.push({ 'image': result.doc_url, 'Name': result.pd_document_title, 'option': 'dummy' }); + }); + console.log("imageBuck", _this.imageDisplay); + } + } + }); + }; + PdQuestionBusinessBankingPage.prototype.changeName = function (value, index, img) { + console.log(value); + this.imageDisplay[index] = { 'image': img, 'Name': value }; + }; + PdQuestionBusinessBankingPage.prototype.changeNameForBucket = function (value, index, img) { + this.imageBucket[index] = { 'image': img, 'Name': value }; + }; + PdQuestionBusinessBankingPage.prototype.removeImg = function (index) { + this.imageDisplay.splice(index, 1); + }; + PdQuestionBusinessBankingPage.prototype.removeImgForBucket = function (index) { + this.imageBucket.splice(index, 1); + }; + PdQuestionBusinessBankingPage.prototype.capture = function () { + var _this = this; + //FOR CAPTURING PICS + this.cameraProvider.getpicture().then(function (res) { + console.log("Value", res); + if (res != 'error') { + _this.imageBucket.push({ 'image': res, 'Name': '' }); + //FOR GETTING THE DOC NAME FROM ALERT + var alert_1 = _this.toast.setAlertForDocName(); + alert_1.present(); + alert_1.onDidDismiss(function (value) { + console.log("alert value", value); + if (value) { + _this.imageBucket[_this.imageBucket.length - 1].Name = value.Name; + } + }); + } + }, function (error) { + console.log("Camera Error ", JSON.stringify(error)); + }); + this.tab = '1'; + }; + PdQuestionBusinessBankingPage.prototype.sendImage = function () { + var _this = this; + this.loading.loaderForSendImage(); + console.log("ll", JSON.stringify(this.imageBucket)); + var records = { + 'pd_id': this.pdDetails.pd_id, + 'formid': this.formDetails.form_id, + 'images': this.imageBucket, + 'company_id': this.pdDetails.company_id + }; + console.log("records", JSON.stringify(records)); + this.qustCat.savePDImages(records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Image Saved Successfully"); + _this.imageBucket = []; + _this.getPDImages(); + } + else { + _this.toast.pdTriggerappmessage('Fail'); + } + }); + }; + PdQuestionBusinessBankingPage.prototype.changeSentence = function (value) { + console.log("val", value); + var name = value.get('other_applicant').value; + value.get('other_applicant').setValue(this.cons.sentenceCase(name)); + }; + PdQuestionBusinessBankingPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-pd-question-business-banking',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.html"*/'\n\n\n \n {{formDetails.form_name}}\n \n \n \n Form\n \n \n Pictures\n \n \n\n\n\n\n
\n \n \n \n No Documents Found. Press the camera button below to capture\n \n \n \n \n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \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 {{val.name}} \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Select\n {{ btLen.lender_name }}\n \n \n \n \n \n \n
\n \n \n \n {{bankacc.name}}\n \n \n \n \n \n
\n \n \n Yes\n No\n \n \n
\n \n \n \n Yes\n No\n NA\n \n \n \n
\n \n
\n Limit In case of OD / CC account, What is the Limit \n \n \n {{"₹"}} {{amtInwords[i]}} Only\n \n
\n\n \n \n \n \n \n\n
\n \n \n \n {{yearErrorMessage[i]}}\n \n \n \n {{monthErrorMessage[i]}}\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n \n \n \n \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:"/home/rajasekar/Desktop/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 */], __WEBPACK_IMPORTED_MODULE_9__providers_common_provider_loading__["a" /* LoadingProvider */], + __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_camera__["a" /* CameraProvider */]]) + ], PdQuestionBusinessBankingPage); + return PdQuestionBusinessBankingPage; +}()); + +//# sourceMappingURL=pd-question-business-banking.js.map + +/***/ }), + +/***/ 404: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__ = __webpack_require__(25); +/* 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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-general-images/pd-general-images.html"*/'\n \n \n {{applicatentDetails.lender_full_name}} - {{applicatentDetails.lender_applicant_id}}\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 {{img.Name}}\n
\n
\n
\n \n \n \n \n
\n \n \n \n \n \n \n \n \n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 405: +/***/ (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__(4); +/* 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__(75); +/* 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__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__ = __webpack_require__(79); +/* 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:"/home/rajasekar/Desktop/pd_officer/src/pages/input/bounced-reject/bounced-reject.html"*/'\n \n \n Bounced Reject Reason\n \n\n\n\n\n \n \n \n \n \n \n Reason to Reject
\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'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 406: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MapAddressPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); +/* 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 MapAddressPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +var MapAddressPage = (function () { + function MapAddressPage(navCtrl, navParams, qustCat, fb, aws, pdTrigger, toast) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.qustCat = qustCat; + this.fb = fb; + this.aws = aws; + this.pdTrigger = pdTrigger; + this.toast = toast; + this.cus_seg = []; + this.mobileDisable = false; + this.master = []; + this.addressData = []; + this.applicants = []; + this.pageTitle = "Choose customer segment For this PD address"; + this.master = this.navParams.get('master'); + this.addressData = this.navParams.get('address'); + this.applicants = this.navParams.get('applicants'); + console.log("d", this.master, 'kd', this.applicants, 'dks', this.applicants); + this.addressMapping = this.fb.group({ + fk_customer_segment: [''], + pd_co_applicant_id: [''], + mobile_no: [''] + }); + this.dropDown(); + } + MapAddressPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad MapAddressPage'); + }; + MapAddressPage.prototype.updateMobile = function (data) { + var mobile = this.applicants.filter(function (val) { return val.pd_co_applicant_id == data.pd_co_applicant_id; }).map(function (val) { return val.mobile_no; })[0]; + console.log(mobile); + if (mobile != '' && mobile != null) { + this.addressMapping.controls['mobile_no'].setValue(mobile); + this.addressMapping.controls['mobile_no'].clearValidators(); + this.addressMapping.controls['mobile_no'].updateValueAndValidity(); + this.mobileDisable = true; + } + else { + this.addressMapping.controls['mobile_no'].setValue(''); + this.addressMapping.controls['mobile_no'].setValidators(__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])); + this.addressMapping.controls['mobile_no'].updateValueAndValidity(); + this.mobileDisable = false; + } + }; + MapAddressPage.prototype.dropDown = function () { + var _this = this; + this.qustCat.getCustomersDetails().subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.cus_seg = res['records']; + } + }); + }; + MapAddressPage.prototype.cancel = function () { + this.navCtrl.pop(); + }; + MapAddressPage.prototype.submit = function (values) { + var _this = this; + if (this.addressMapping.invalid) { + this.toast.pdTriggerappmessage("Please Fill all the Fields"); + return; + } + var update_records = { "pd_id": null, "parent_pd_id": this.master.parent_pd_id, "fk_address_id": this.addressData.pd_address_id, "pd_status": "ACCEPTED", "fk_updatedby": this.aws.getlocale(), + "fk_customer_segment": values.fk_customer_segment, + "pd_co_applicant_id": values.pd_co_applicant_id, + "mobile_no": values.mobile_no + }; + console.log("update", update_records); + this.pdTrigger.updatepdStatus(update_records).subscribe(function (res) { + if (res['dataStatus'] == true) { + _this.toast.pdTriggerappmessage("Saved Successfully.."); + _this.navCtrl.pop(); + } + else { + _this.toast.pdTriggerappmessage("Something went wrong!!"); + } + }, function (err) { + console.log("Error", JSON.stringify(err)); + }); + }; + MapAddressPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-map-address',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/map-address/map-address.html"*/'\n\n\n\n\n \n \n\n
\n {{pageTitle}}


\n \n \n Select\n {{data.abbr}}\n \n \n \n \n Select\n {{data.applicant_name}}\n \n \n \n \n \n
\n \n \n \n \n
\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/pd_officer/src/pages/map-address/map-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__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], + __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */]]) + ], MapAddressPage); + return MapAddressPage; +}()); + +//# sourceMappingURL=map-address.js.map + +/***/ }), + +/***/ 408: +/***/ (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__(4); +/* 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__(79); +/* 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__(16); +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:"/home/rajasekar/Desktop/pd_officer/src/pages/password/password.html"*/'\n\n\n \n password\n \n\n\n\n\n\n\n \n \n \n \n Circle Image\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'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 409: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__ = __webpack_require__(79); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(63); +/* 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__(410); +/* 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__(26); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_constants_constants__ = __webpack_require__(16); +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:"/home/rajasekar/Desktop/pd_officer/src/pages/auth/auth.html"*/'\n\n\n\n\n \n \n \n \n \n \n Circle Image\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 Circle Image\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'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 411: +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CompleteListPage; }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(4); +/* 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__(75); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(63); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_database_database__ = __webpack_require__(216); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_android_permissions__ = __webpack_require__(104); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__input_input__ = __webpack_require__(204); +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 CompleteListPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ +//@IonicPage() +var CompleteListPage = (function () { + function CompleteListPage(navCtrl, navParams, awsservice, PdtriggerProvider, shared, db, androidPermissions) { + this.navCtrl = navCtrl; + this.navParams = navParams; + this.awsservice = awsservice; + this.PdtriggerProvider = PdtriggerProvider; + this.shared = shared; + this.db = db; + this.androidPermissions = androidPermissions; + this.pdlistdetails = []; + this.pdcomplete = []; + this.bgColorPast = []; + this.bgColor = []; + this.pdlist = "0"; + } + CompleteListPage.prototype.ionViewDidLoad = function () { + console.log('ionViewDidLoad CompleteListPage'); + this.db.getuserDetails(); + }; + CompleteListPage.prototype.ionViewCanEnter = function () { + console.log("Pd list ionViewCanEnter"); + this.getpdTriggerdetails(); + }; + CompleteListPage.prototype.doRefresh = function (refresher) { + this.bgColor = []; + this.pdschduleDetails = []; + this.pdcomplete = []; + // this.pdlistaccess = true; + this.shared.refresh(); + this.getpdTriggerdetails(); + setTimeout(function () { + refresher.complete(); + }, 2000); + }; + CompleteListPage.prototype.getpdTriggerdetails = function () { + var _this = this; + var userid = this.awsservice.getlocale(); + //.log("User",userid) + // this.pdlistaccess = true; + this.PdtriggerProvider.getpddetails(userid).subscribe(function (res) { + console.log('res', res); + _this.pdlistdetails = res; + if (_this.pdlistdetails.dataStatus == true) { + _this.pdlistaccess = false; + // this.searchpast = this.pdschduleDetails; + _this.pdcomplete = _this.pdlistdetails.records.filter(function (complete) { return complete.pd_status == "COMPLETED"; }); + _this.searchcomplete = _this.pdcomplete; + _this.random_bg_color(); + _this.random_ng_past(); + } + else { + _this.pdlistaccess = false; + _this.pdlistdetails = "No Records Found"; + } + }); + }; + CompleteListPage.prototype.random_bg_color = function () { + for (var _i = 0, _a = this.pdcomplete; _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; + }; + CompleteListPage.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 + ")"); + } + }; + CompleteListPage.prototype.PdAllocation = function (pddetails) { + if (pddetails.pd_status == 'COMPLETED') { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__input_input__["a" /* InputPage */], { 'pdDetails': pddetails }); + } + }; + CompleteListPage = __decorate([ + Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ + selector: 'page-complete-list',template:/*ion-inline-start:"/home/rajasekar/Desktop/pd_officer/src/pages/complete-list/complete-list.html"*/'\n \n \n Complete List\n \n\n\n \n\n\n\n \n \n \n \n

{{progess.pd_id}}

\n \n \n

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

\n \n
\n \n
\n
{{progess.pd_date_of_initiation}}
\n
{{progess.city_name}}
\n
\n
\n
\n \n \n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n
\n \n
{{progess.pd_status}}
\n
\n
\n
\n\n \n \n \n

{{progess.pd_id}}

\n \n \n

Add On for {{progess.parent_pd_id}}

\n \n
\n \n
\n
{{progess.pd_date_of_initiation}}
\n
{{progess.city_name}}
\n
\n
\n
\n \n \n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n
\n \n
{{progess.pd_status}}
\n
\n
\n
\n
\n
\n
\n
\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/pd_officer/src/pages/complete-list/complete-list.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_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_database_database__["a" /* DatabaseProvider */], __WEBPACK_IMPORTED_MODULE_6__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) + ], CompleteListPage); + return CompleteListPage; +}()); + +//# sourceMappingURL=complete-list.js.map + +/***/ }), + +/***/ 414: +/***/ (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__(415); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(544); +/* 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 + +/***/ }), + +/***/ 544: +/***/ (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__(44); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(583); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(193); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__ = __webpack_require__(343); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_platform_browser_animations__ = __webpack_require__(688); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_sqlite__ = __webpack_require__(407); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_database_database__ = __webpack_require__(216); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__ = __webpack_require__(104); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_map_address_map_address__ = __webpack_require__(406); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__angular_material__ = __webpack_require__(124); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_aws_service_aws_service__ = __webpack_require__(7); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__angular_common_http__ = __webpack_require__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_guard_auth_guard__ = __webpack_require__(690); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_guard_token_interceptor__ = __webpack_require__(691); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__providers_aws_service_cognito_service__ = __webpack_require__(63); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__providers_constants_constants__ = __webpack_require__(16); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pages_auth_auth__ = __webpack_require__(409); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__pages_login_login__ = __webpack_require__(344); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__pages_pd_list_pd_list__ = __webpack_require__(79); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_category_pd_question_category__ = __webpack_require__(127); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__pages_pd_question_pd_question__ = __webpack_require__(372); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__pages_googleplaytab_googleplaytab__ = __webpack_require__(692); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__pages_password_password__ = __webpack_require__(408); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__pages_pd_allocation_pd_allocation__ = __webpack_require__(693); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__pages_input_input__ = __webpack_require__(204); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__providers_common_provider_toast__ = __webpack_require__(9); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__providers_pdtrigger_pdtrigger__ = __webpack_require__(75); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__ionic_native_fingerprint_aio__ = __webpack_require__(410); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__ionic_native_launch_navigator__ = __webpack_require__(368); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__pages_otp_otp__ = __webpack_require__(205); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__providers_question_category_question_category__ = __webpack_require__(10); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__angular_forms__ = __webpack_require__(5); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34_ionic_img_viewer__ = __webpack_require__(694); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__providers_common_provider_camera__ = __webpack_require__(25); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__providers_common_provider_loading__ = __webpack_require__(26); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__ionic_native_camera__ = __webpack_require__(128); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_address_pd_question_address__ = __webpack_require__(373); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_assests_pd_question_assests__ = __webpack_require__(379); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_banking_pd_question_banking__ = __webpack_require__(377); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_current_loans_pd_question_current_loans__ = __webpack_require__(375); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_emp_info_pd_question_emp_info__ = __webpack_require__(374); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_family_pd_question_family__ = __webpack_require__(378); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_loans_pd_question_loans__ = __webpack_require__(376); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(212); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_other_income_pd_question_other_income__ = __webpack_require__(380); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(210); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__ionic_native_geolocation__ = __webpack_require__(215); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_personal_info_pd_question_personal_info__ = __webpack_require__(382); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(211); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(213); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__ = __webpack_require__(400); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_rental_info_pd_question_rental_info__ = __webpack_require__(381); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__ = __webpack_require__(383); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__ = __webpack_require__(385); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__ = __webpack_require__(384); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__ = __webpack_require__(388); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__ = __webpack_require__(386); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(214); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__pages_input_bounced_reject_bounced_reject__ = __webpack_require__(405); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__ = __webpack_require__(387); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__ = __webpack_require__(393); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_info__ = __webpack_require__(394); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__ = __webpack_require__(395); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__ = __webpack_require__(397); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_final_remark_pd_question_final_remark__ = __webpack_require__(398); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_pd_question_business__ = __webpack_require__(701); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_group__ = __webpack_require__(399); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__ = __webpack_require__(401); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__ = __webpack_require__(402); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__pipes_pd_pd__ = __webpack_require__(396); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_72__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__ = __webpack_require__(389); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_73__pages_pd_general_images_pd_general_images__ = __webpack_require__(404); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_74__pages_pd_question_pd_question_salary_info_pd_question_salary_info__ = __webpack_require__(702); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_75__ionic_native_location_accuracy__ = __webpack_require__(403); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_76__pages_pd_question_pd_question_assessed_summary_pd_question_assessed_summary__ = __webpack_require__(391); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_77_ngx_mat_select_search__ = __webpack_require__(703); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_78__netbasal_content_loader__ = __webpack_require__(704); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_79__pages_pd_question_pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__ = __webpack_require__(390); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_80__pipes_rupee_currency_format_rupee_currency_format__ = __webpack_require__(129); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_81__pages_pd_question_pd_question_assessed_images_pd_question_assessed_images__ = __webpack_require__(392); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_82__ionic_storage__ = __webpack_require__(207); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_83__providers_storage_storage__ = __webpack_require__(208); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_84__pages_pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__ = __webpack_require__(209); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_85_ionic_cache__ = __webpack_require__(206); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_86__pages_complete_list_complete_list__ = __webpack_require__(411); +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'; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +// import {PipesModule} from '../pipes/pipes.module' + + + + + +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_18__pages_auth_auth__["a" /* AuthPage */], + __WEBPACK_IMPORTED_MODULE_19__pages_login_login__["a" /* LoginPage */], + __WEBPACK_IMPORTED_MODULE_20__pages_pd_list_pd_list__["a" /* PdListPage */], + __WEBPACK_IMPORTED_MODULE_86__pages_complete_list_complete_list__["a" /* CompleteListPage */], + __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], + __WEBPACK_IMPORTED_MODULE_22__pages_pd_question_pd_question__["a" /* PdQuestionPage */], + __WEBPACK_IMPORTED_MODULE_23__pages_googleplaytab_googleplaytab__["a" /* GoogleplaytabPage */], + __WEBPACK_IMPORTED_MODULE_24__pages_password_password__["a" /* PasswordPage */], + __WEBPACK_IMPORTED_MODULE_25__pages_pd_allocation_pd_allocation__["a" /* PdAllocationPage */], + __WEBPACK_IMPORTED_MODULE_26__pages_input_input__["a" /* InputPage */], + __WEBPACK_IMPORTED_MODULE_31__pages_otp_otp__["a" /* OtpPage */], + __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], + __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], + __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], + __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], + __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], + __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], + __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], + __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], + __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], + __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], + __WEBPACK_IMPORTED_MODULE_47__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], + __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], + __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], + __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], + __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], + __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], + __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], + __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], + __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], + __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], + __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], + __WEBPACK_IMPORTED_MODULE_59__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], + __WEBPACK_IMPORTED_MODULE_60__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], + __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], + __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], + __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], + __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */], + __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], + __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], + __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_pd_question_business__["a" /* PdQuestionBusinessPage */], + __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], + __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], + __WEBPACK_IMPORTED_MODULE_70__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], + __WEBPACK_IMPORTED_MODULE_72__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], + __WEBPACK_IMPORTED_MODULE_73__pages_pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], + __WEBPACK_IMPORTED_MODULE_74__pages_pd_question_pd_question_salary_info_pd_question_salary_info__["a" /* PdQuestionSalaryInfoPage */], + __WEBPACK_IMPORTED_MODULE_76__pages_pd_question_pd_question_assessed_summary_pd_question_assessed_summary__["a" /* PdQuestionAssessedSummaryPage */], + __WEBPACK_IMPORTED_MODULE_79__pages_pd_question_pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], + __WEBPACK_IMPORTED_MODULE_81__pages_pd_question_pd_question_assessed_images_pd_question_assessed_images__["a" /* PdQuestionAssessedImagesPage */], + __WEBPACK_IMPORTED_MODULE_80__pipes_rupee_currency_format_rupee_currency_format__["a" /* RupeeCurrencyFormatPipe */], + __WEBPACK_IMPORTED_MODULE_84__pages_pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__["a" /* PdQuestionRentalDashPage */], + __WEBPACK_IMPORTED_MODULE_10__pages_map_address_map_address__["a" /* MapAddressPage */] + // PipesModule + ], + imports: [ + __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */], __WEBPACK_IMPORTED_MODULE_33__angular_forms__["l" /* ReactiveFormsModule */], __WEBPACK_IMPORTED_MODULE_33__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_11__angular_material__["a" /* MatAutocompleteModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["b" /* MatButtonModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["c" /* MatButtonToggleModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["d" /* MatCardModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["e" /* MatCheckboxModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["f" /* MatChipsModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["g" /* MatDatepickerModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["i" /* MatDialogModule */], __WEBPACK_IMPORTED_MODULE_11__angular_material__["n" /* MatListModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["j" /* MatExpansionModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["k" /* MatGridListModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["l" /* MatIconModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["m" /* MatInputModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["n" /* MatListModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["o" /* MatMenuModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["p" /* MatNativeDateModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["r" /* MatPaginatorModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["s" /* MatProgressBarModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["t" /* MatProgressSpinnerModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["u" /* MatRadioModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["v" /* MatRippleModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["x" /* MatSelectModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["y" /* MatSidenavModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["A" /* MatSliderModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["z" /* MatSlideToggleModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["B" /* MatSnackBarModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["C" /* MatSortModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["E" /* MatTableModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["F" /* MatTabsModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["G" /* MatToolbarModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["H" /* MatTooltipModule */], + __WEBPACK_IMPORTED_MODULE_11__angular_material__["D" /* MatStepperModule */], __WEBPACK_IMPORTED_MODULE_13__angular_common_http__["c" /* HttpClientModule */], __WEBPACK_IMPORTED_MODULE_34_ionic_img_viewer__["a" /* IonicImageViewerModule */], __WEBPACK_IMPORTED_MODULE_77_ngx_mat_select_search__["a" /* NgxMatSelectSearchModule */], + __WEBPACK_IMPORTED_MODULE_78__netbasal_content_loader__["a" /* ContentLoaderModule */], + __WEBPACK_IMPORTED_MODULE_82__ionic_storage__["a" /* IonicStorageModule */].forRoot(), + __WEBPACK_IMPORTED_MODULE_85_ionic_cache__["a" /* CacheModule */].forRoot() + ], + bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["k" /* IonicApp */]], + entryComponents: [ + __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], + __WEBPACK_IMPORTED_MODULE_18__pages_auth_auth__["a" /* AuthPage */], + __WEBPACK_IMPORTED_MODULE_19__pages_login_login__["a" /* LoginPage */], + __WEBPACK_IMPORTED_MODULE_20__pages_pd_list_pd_list__["a" /* PdListPage */], + __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], + __WEBPACK_IMPORTED_MODULE_22__pages_pd_question_pd_question__["a" /* PdQuestionPage */], + __WEBPACK_IMPORTED_MODULE_23__pages_googleplaytab_googleplaytab__["a" /* GoogleplaytabPage */], + __WEBPACK_IMPORTED_MODULE_24__pages_password_password__["a" /* PasswordPage */], + __WEBPACK_IMPORTED_MODULE_86__pages_complete_list_complete_list__["a" /* CompleteListPage */], + __WEBPACK_IMPORTED_MODULE_25__pages_pd_allocation_pd_allocation__["a" /* PdAllocationPage */], + __WEBPACK_IMPORTED_MODULE_26__pages_input_input__["a" /* InputPage */], + __WEBPACK_IMPORTED_MODULE_31__pages_otp_otp__["a" /* OtpPage */], + __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], + __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], + __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], + __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], + __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], + __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], + __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], + __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], + __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], + __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], + __WEBPACK_IMPORTED_MODULE_47__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], + __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], + __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], + __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], + __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], + __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], + __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], + __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], + __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], + __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], + __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], + __WEBPACK_IMPORTED_MODULE_59__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], + __WEBPACK_IMPORTED_MODULE_60__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], + __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], + __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], + __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], + __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */], + __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], + __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], + __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_pd_question_business__["a" /* PdQuestionBusinessPage */], + __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], + __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], + __WEBPACK_IMPORTED_MODULE_70__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], + __WEBPACK_IMPORTED_MODULE_72__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], + __WEBPACK_IMPORTED_MODULE_73__pages_pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], + __WEBPACK_IMPORTED_MODULE_74__pages_pd_question_pd_question_salary_info_pd_question_salary_info__["a" /* PdQuestionSalaryInfoPage */], + __WEBPACK_IMPORTED_MODULE_76__pages_pd_question_pd_question_assessed_summary_pd_question_assessed_summary__["a" /* PdQuestionAssessedSummaryPage */], + __WEBPACK_IMPORTED_MODULE_79__pages_pd_question_pd_question_assessed_daily_purchase_pd_question_assessed_daily_purchase__["a" /* PdQuestionAssessedDailyPurchasePage */], + __WEBPACK_IMPORTED_MODULE_81__pages_pd_question_pd_question_assessed_images_pd_question_assessed_images__["a" /* PdQuestionAssessedImagesPage */], + __WEBPACK_IMPORTED_MODULE_84__pages_pd_question_pd_question_rental_info_pd_question_rental_dash_pd_question_rental_dash__["a" /* PdQuestionRentalDashPage */], + __WEBPACK_IMPORTED_MODULE_10__pages_map_address_map_address__["a" /* MapAddressPage */] + ], + providers: [ + __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_12__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_14__providers_guard_auth_guard__["a" /* AuthGuard */], __WEBPACK_IMPORTED_MODULE_15__providers_guard_token_interceptor__["a" /* TokenInterceptor */], __WEBPACK_IMPORTED_MODULE_27__providers_common_provider_toast__["a" /* ToastProvider */], + __WEBPACK_IMPORTED_MODULE_17__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_16__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__["a" /* SplashScreen */], __WEBPACK_IMPORTED_MODULE_28__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_29__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_13__angular_common_http__["a" /* HTTP_INTERCEPTORS */], + useClass: __WEBPACK_IMPORTED_MODULE_15__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_30__ionic_native_launch_navigator__["a" /* LaunchNavigator */], + __WEBPACK_IMPORTED_MODULE_12__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], + __WEBPACK_IMPORTED_MODULE_32__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], + __WEBPACK_IMPORTED_MODULE_35__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_37__ionic_native_camera__["a" /* Camera */], + __WEBPACK_IMPORTED_MODULE_71__pipes_pd_pd__["a" /* PdPipe */], __WEBPACK_IMPORTED_MODULE_75__ionic_native_location_accuracy__["a" /* LocationAccuracy */], + __WEBPACK_IMPORTED_MODULE_36__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_48__ionic_native_geolocation__["a" /* Geolocation */], + __WEBPACK_IMPORTED_MODULE_8__providers_database_database__["a" /* DatabaseProvider */], + __WEBPACK_IMPORTED_MODULE_83__providers_storage_storage__["a" /* StorageProvider */] + ] + }) + ], AppModule); + return AppModule; +}()); + +//# sourceMappingURL=app.module.js.map + +/***/ }), + +/***/ 583: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(193); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(343); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_login_login__ = __webpack_require__(344); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_pd_list_pd_list__ = __webpack_require__(79); +/* 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__(63); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_auth_auth__ = __webpack_require__(409); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_ionic_cache__ = __webpack_require__(206); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_complete_list_complete_list__ = __webpack_require__(411); +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, alertCtrl, cache) { + var _this = this; + this.platform = platform; + this.statusBar = statusBar; + this.splashScreen = splashScreen; + this.aws = aws; + this.shared = shared; + this.AWS = AWS; + this.alertCtrl = alertCtrl; + this.userAccess = false; + this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]; + this.alertShown = false; + cache.setDefaultTTL(60 * 60); + 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); } }, + { title: 'Complete List', icon: 'checkmark-circle', method: function () { return _this.menulist(3); } } + ]; + } + 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); + }); + }); + this.platform.registerBackButtonAction(function () { + if (_this.nav.length() == 1) { + if (_this.alertShown == false) { + //this.presentConfirm(); + var alert_1 = _this.alertCtrl.create({ + title: 'Confirm Exit', + message: 'Do You Want Exit ?', + buttons: [ + { + text: 'Cancel', + role: 'cancel', + handler: function () { + console.log("Cancel clicked"); + _this.alertShown = false; + alert_1.dismiss; + } + }, + { + text: 'Yes', + handler: function () { + console.log("Exit"); + _this.platform.exitApp(); + } + } + ] + }); + alert_1.present(); + _this.alertShown = true; + } + } + else { + _this.nav.pop(); + } + }); + }; + MyApp.prototype.presentConfirm = function () { + var _this = this; + var alert = this.alertCtrl.create({ + title: 'Confirm Exit', + message: 'Do You Want Exit ?', + buttons: [ + { + text: 'Cancel', + role: 'cancel', + handler: function () { + console.log("Cancel clicked"); + // this.alertShown=false + alert.dismiss; + } + }, + { + text: 'Yes', + handler: function () { + console.log("Exit"); + _this.platform.exitApp(); + } + } + ] + }); + alert.present(); + // this.alertShown=true; + }; + MyApp.prototype.getuserDetails = function () { + var _this = this; + this.userDetails = ''; + 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: + this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_10__pages_complete_list_complete_list__["a" /* CompleteListPage */]); + 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:"/home/rajasekar/Desktop/pd_officer/src/app/app.html"*/'\n \n \n \n
\n \n \n \n
\n
\n \n '/*ion-inline-end:"/home/rajasekar/Desktop/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 */], + __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_9_ionic_cache__["b" /* CacheService */]]) + ], MyApp); + return MyApp; +}()); + +//# sourceMappingURL=app.component.js.map + +/***/ }), + +/***/ 63: +/***/ (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__(345); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs__ = __webpack_require__(12); +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 + +/***/ }), + +/***/ 690: +/***/ (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 + +/***/ }), + +/***/ 691: +/***/ (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__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs__ = __webpack_require__(12); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_operators__ = __webpack_require__(13); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__aws_service_cognito_service__ = __webpack_require__(63); +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 + +/***/ }), + +/***/ 692: +/***/ (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__(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 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:"/home/rajasekar/Desktop/pd_officer/src/pages/googleplaytab/googleplaytab.html"*/'\n\n\n \n \n PD Listing\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

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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\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

1. 28.5

\n
\n \n

2. 47.6

\n
\n \n

3. 86.6

\n
\n \n

4. 58.4

\n
\n
\n
\n
\n\n\n
\n
\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 693: +/***/ (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__(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 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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-allocation/pd-allocation.html"*/'\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

{{pdFullDetails.lender_full_name}}

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

Product

\n

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

\n

{{pdFullDetails.pd_type_name}}

\n

{{pdFullDetails.pd_allocated_to}}

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

\n \n \n

{{pdFullDetails.pd_status_name}}

\n
\n \n

{{pdFullDetails.loan_amount}}

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

Applicants

\n
\n
\n
\n
\n \n \n \n   {{Mainapplicatent.applicant_name}} (Main)\n \n \n  {{Mainapplicatent.mobile_no}} \n \n \n \n \n   {{Mainapplicatent.applicant_name}}\n \n \n  {{Mainapplicatent.mobile_no}} \n \n \n \n
\n \n\n
\n\n \n\n
'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 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__(41); +/* 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__(345); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__ = __webpack_require__(50); +/* 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__(627); +/* 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__(63); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__constants_constants__ = __webpack_require__(16); +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 + +/***/ }), + +/***/ 701: +/***/ (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__(4); +/* 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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-business/pd-question-business.html"*/'\n\n\n \n {{FormId.form_name}}\n \n\n\n\n\n\n\n\n'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 702: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __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 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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.html"*/'\n\n \n \n Salary Category\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'/*ion-inline-end:"/home/rajasekar/Desktop/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 + +/***/ }), + +/***/ 75: +/***/ (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__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants_constants__ = __webpack_require__(16); +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.prototype.getPDCompleteDetails = function (details) { + return this.http.post(this.apiurl + 'getPDCompleteDetails', { 'records': details }); + }; + 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 + +/***/ }), + +/***/ 79: +/***/ (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__(4); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__input_input__ = __webpack_require__(204); +/* 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__(75); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_cognito_service__ = __webpack_require__(63); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__otp_otp__ = __webpack_require__(205); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_database_database__ = __webpack_require__(216); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_android_permissions__ = __webpack_require__(104); +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.pdlistaccess = true; + this.pdofficer.getpddetails(userid).subscribe(function (res) { + _this.pdlistdetails = res; + if (_this.pdlistdetails.dataStatus == true) { + _this.pdlistaccess = false; + _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.pd_status == "ADD_ON_PENDING"; }); + _this.searchpast = _this.pdschduleDetails; + _this.pdinprogress = _this.pdlistdetails.records.filter(function (allocate) { return allocate.pd_status == "ALLOCATED"; }); + _this.searchinprogress = _this.pdinprogress; + console.log("allocated", _this.pdinprogress); + console.log("inpr", _this.pdschduleDetails); + _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.pdlistaccess = true; + this.shared.refresh(); + this.getpdTriggerdetails(); + setTimeout(function () { + refresher.complete(); + }, 2000); + }; + PdListPage.prototype.PdAllocation = function (pddetails) { + if (pddetails.pd_status == '') { + this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__otp_otp__["a" /* OtpPage */], { 'pdDetails': pddetails }); + // }else if(pddetails.pd_status == 'INPROGRESS'){ + // this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails}); + } + else { + //FOR ASSIGNING THE PARENT PD ID + //pddetails.pd_id=pddetails.parent_pd_id + // pddetails.pd_id=pddetails.parent_pd_id + 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:"/home/rajasekar/Desktop/pd_officer/src/pages/pd-list/pd-list.html"*/'\n \n \n PD Cases\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Allocated\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

{{progess.pd_id}}

\n \n \n

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

\n \n
\n \n
\n
{{progess.pd_date_of_initiation}}
\n
{{progess.city_name}}
\n
\n
\n
\n \n \n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n
\n \n
{{progess.pd_status}}
\n
\n
\n
\n\n \n \n \n

{{progess.pd_id}}

\n \n \n

Add On for {{progess.parent_pd_id}}

\n \n
\n \n
\n
{{progess.pd_date_of_initiation}}
\n
{{progess.city_name}}
\n
\n
\n
\n \n \n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\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

{{progess.pd_id}}

\n \n \n \n \n

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

\n \n
\n
\n \n \n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n
\n \n
{{progess.city_name}}
\n
\n
\n \n \n
{{progess.pd_status}}
\n
\n \n
\n
{{progess.pd_date_of_initiation}}
\n
{{progess.scheduled_on}}
\n
\n
\n
\n \n
\n \n \n

{{progess.pd_id}}

\n \n \n \n \n

Add On for {{progess.parent_pd_id}}

\n
\n
\n \n \n \n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n
\n \n
{{progess.city_name}}
\n
\n
\n \n \n
{{progess.pd_status}}
\n
\n \n
\n
{{progess.pd_date_of_initiation}}
\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
'/*ion-inline-end:"/home/rajasekar/Desktop/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_7__providers_database_database__["a" /* DatabaseProvider */], __WEBPACK_IMPORTED_MODULE_8__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) + ], PdListPage); + return PdListPage; +}()); + +//# sourceMappingURL=pd-list.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__(41); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __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 ToastProvider provider. + + See https://angular.io/guide/dependency-injection for more info on providers + and Angular DI. +*/ +var ToastProvider = (function () { + function ToastProvider(http, toast, alertCtrl) { + this.http = http; + this.toast = toast; + this.alertCtrl = alertCtrl; + 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.prototype.setAlert = function (title_name, msg) { + var alert = this.alertCtrl.create({ + title: title_name, + message: msg, + cssClass: 'buttoncss', + buttons: [ + { + text: 'No', + cssClass: 'btnNo', + handler: function () { + alert.dismiss(false); + return false; + } + }, { + text: 'Yes', + cssClass: 'btnYes', + handler: function () { + alert.dismiss('s'); + return false; + } + } + ] + }); + //alert.present() + return alert; + }; + ToastProvider.prototype.setAlertForDocName = function () { + var alert = this.alertCtrl.create({ + title: 'Document Name', + message: 'Please Enter the Document Name', + cssClass: 'prompt_alert', + inputs: [ + { + name: 'Name', + //value:this.imageBucket[index].Name + placeholder: 'Document Name' + } + ], + buttons: [ + { + text: 'Submit', + handler: function (data) { + console.log(data.Name); + alert.dismiss(data.Name); + } + } + ] + }); + //alert.present(); + //this.inputFocus.setFocus(); + return alert; + }; + ToastProvider.prototype.setAlertForCompletePD = function () { + var alert = this.alertCtrl.create({ + title: 'Complete Discussion', + message: 'Please confirm you are completing the Discussion and forwarding for Quality Check ?', + cssClass: 'complete_alert', + buttons: [ + { + text: 'Yes / Allow Addon PD', + handler: function () { + alert.dismiss('addon'); + return false; + } + }, + { + text: 'Yes', + handler: function () { + alert.dismiss('yes'); + return false; + } + }, + { + text: 'No', + handler: function () { + alert.dismiss('no'); + return false; + } + } + ] + }); + //alert.present(); + //this.inputFocus.setFocus(); + return alert; + }; + 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 */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["a" /* AlertController */]]) + ], ToastProvider); + return ToastProvider; +}()); + +//# sourceMappingURL=toast.js.map + +/***/ }) + +},[414]); +//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/platforms/android/app/src/main/assets/www/build/polyfills.js b/platforms/android/app/src/main/assets/www/build/polyfills.js old mode 100755 new mode 100644 diff --git a/platforms/android/app/src/main/assets/www/build/sw-toolbox.js b/platforms/android/app/src/main/assets/www/build/sw-toolbox.js old mode 100755 new mode 100644 diff --git a/platforms/android/app/src/main/assets/www/build/vendor.js b/platforms/android/app/src/main/assets/www/build/vendor.js old mode 100755 new mode 100644 index 2f7c8b19..20537d11 --- a/platforms/android/app/src/main/assets/www/build/vendor.js +++ b/platforms/android/app/src/main/assets/www/build/vendor.js @@ -1 +1,203813 @@ -!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(Ui,"\n ")}function _(t,e){return new Error(y(t,e))}function b(t){return t[Yi]}function v(t){return t[Gi]}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[Gi]=e,i}(o,i):Error(o);return a.addKey=C,a.keys=r,a.injectors=[t],a.constructResolvingMessage=n,a[Gi]=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 ro&&(e(t)&&n.push(t),nt(t,e,n))})}function it(t,e,n){t instanceof ro&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof ro&&it(t,e,n)})}function rt(t){return oo.get(t)||null}function ot(t){oo.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),To.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 Ho(t,e,n,i,r,o)}function de(t,e,n){return new Wo(t,e,n)}function he(t){return new qo(t)}function fe(t,e){return new Yo(t,e)}function me(t,e){return new Go(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 ye(t){return new Ko(t.renderer)}function _e(t,e,n,i){return new Xo(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 y=0!=(32768&m.flags);!(0!=(8192&m.flags))||y?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),y&&(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,Xe(m)||(u=m);else for(;c&&f===c.nodeIndex+c.childCount;){var _=c.parent;_&&(_.childFlags|=c.childFlags,_.childMatchedQueries|=c.childMatchedQueries),u=(c=_)&&Xe(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Io,updateRenderer:i||Io,handleEvent:function(t,n,i,r){return e[n].element.handleEvent(t,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:h}}function Xe(t){return 0!=(1&t.flags)&&null===t.element.name}function Ze(t,e,n,i){var r=Qe(t.root,t.renderer,t,e,n);return tn(r,t.component,i),en(r),r}function $e(t,e,n){var i=Qe(t,t.renderer,null,null,e);return tn(i,n,n),en(i),i}function Je(t,e,n,i){var r,o=e.element.componentRendererType;return r=o?t.root.rendererFactory.createRenderer(i,o):t.root.renderer,Qe(t.root,r,t,e.element.componentProvider,n)}function Qe(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 tn(t,e,n){t.component=e,t.context=n}function en(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+=Ge(n,h[0])),f>1&&(m+=Ge(i,h[1])),f>2&&(m+=Ge(r,h[2])),f>3&&(m+=Ge(o,h[3])),f>4&&(m+=Ge(a,h[4])),f>5&&(m+=Ge(s,h[5])),f>6&&(m+=Ge(l,h[6])),f>7&&(m+=Ge(c,h[7])),f>8&&(m+=Ge(u,h[8])),f>9&&(m+=Ge(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 y=n;switch(f){case 1:g=y.transform(n);break;case 2:g=y.transform(i);break;case 3:g=y.transform(i,r);break;case 4:g=y.transform(i,r,o);break;case 5:g=y.transform(i,r,o,a);break;case 6:g=y.transform(i,r,o,a,s);break;case 7:g=y.transform(i,r,o,a,s,l);break;case 8:g=y.transform(i,r,o,a,s,l,c);break;case 9:g=y.transform(i,r,o,a,s,l,c,u);break;case 10:g=y.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:xi}],t.ctorParameters=function(){return[{type:ji}]},t}(),Ur=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 Un.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 Un.Observable(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Dr.assertNotInAngularZone(),l(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Dr.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(Wn.merge)(s,qn.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 vr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);var r=i instanceof Sr?null:this._injector.get(Or),o=i.create(ji.NULL,[],e||i.selector,r);o.onDestroy(function(){n._unloadComponent(o)});var a=o.injector.get(Mr,null);return a&&o.injector.get(Nr).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,Tr(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(mr,[]).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=Pr("ApplicationRef#tick()"),t.decorators=[{type:xi}],t.ctorParameters=function(){return[{type:Dr},{type:gr},{type:ji},{type:Xi},{type:Cr},{type:ur}]},t}(),Wr=(function(){}(),function(){}(),function(){return function(){}}()),qr=(new Gn("Renderer2Interceptor"),function(){}(),function(){return function(){}}()),Yr={Important:1,DashCase:2};Yr[Yr.Important]="Important",Yr[Yr.DashCase]="DashCase";var Gr=function(){return function(){}}(),Kr=function(){return function(t){this.nativeElement=t}}(),Xr=(function(){}(),new Map,function(){function t(){this.dirty=!0,this._results=[],this.changes=new Ir}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}()),Zr=function(){return function(){}}(),$r={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Jr=(function(){function t(t,e){this._compiler=t,this._config=e||$r}t.prototype.load=function(t){return this._compiler instanceof yr?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(293)(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(293)(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:xi}],t.ctorParameters=function(){return[{type:yr},{type:Zr,decorators:[{type:wi}]}]}}(),function(){return function(){}}()),Qr=function(){return function(){}}(),to=function(){return function(){}}(),eo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Hn.b)(e,t),e}(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Hn.b)(e,t),e}(to)),no=function(){return function(t,e){this.name=t,this.callback=e}}(),io=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof ro?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}(),ro=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(Hn.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}(io),oo=new Map,ao=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),so=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof ao?(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}()),lo=function(){function t(){}return t.prototype.supports=function(t){return st(t)},t.prototype.create=function(t){return new uo(t)},t}(),co=function(t,e){return e},uo=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||co}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);To.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new qo(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 Sr||(r=o.get(Or));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),To.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&&To.destroyView(e)},t.prototype.detach=function(t){var e=ae(this._data,t);return e?new qo(e):null},t}(),qo=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(),To.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){To.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)),To.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,le(this._view),To.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(Hn.b)(e,t),e.prototype.createEmbeddedView=function(t){return new qo(To.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Kr(ft(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Jr),Go=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=ji.THROW_IF_NOT_FOUND);return To.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:wt(t)},e)},t}(),Ko=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=Yt(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;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),y(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?"+":"")+y(a,2,o)+y(Math.abs(r%60),2,o);case St.ShortGMT:return"GMT"+(r>=0?"+":"")+y(a,1,o);case St.Long:return"GMT"+(r>=0?"+":"")+y(a,2,o)+":"+y(Math.abs(r%60),2,o);case St.Extended:return 0===i?"Z":(r>=0?"+":"")+y(a,2,o)+":"+y(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 y(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._39)(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(Yt));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,y=u.maxFrac;if(i){var _=i.match(Vt);if(null===_)return a.error=i+" is not a valid digit info",a;var b=_[1],v=_[3],w=_[5];null!=b&&(m=F(b)),null!=v&&(g=F(v)),null!=w?y=F(w):null!=v&&g>y&&(y=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,"l",function(){return at}),n.d(e,"m",function(){return ot}),n.d(e,"y",function(){return h}),n.d(e,"c",function(){return de}),n.d(e,"i",function(){return st}),n.d(e,"j",function(){return ut}),n.d(e,"k",function(){return dt}),n.d(e,"n",function(){return vt}),n.d(e,"o",function(){return mt}),n.d(e,"p",function(){return gt}),n.d(e,"q",function(){return yt}),n.d(e,"d",function(){return fe}),n.d(e,"b",function(){return Qt}),n.d(e,"e",function(){return Dt}),n.d(e,"t",function(){return ue}),n.d(e,"v",function(){return ne}),n.d(e,"u",function(){return ee}),n.d(e,"w",function(){return me}),n.d(e,"s",function(){return H}),n.d(e,"h",function(){return U}),n.d(e,"a",function(){return W}),n.d(e,"f",function(){return Y}),n.d(e,"r",function(){return G}),n.d(e,"g",function(){return q}),n.d(e,"x",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"),q=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}(),Y=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=q.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+q.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+q.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 q.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+q.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+q.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+q.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._39)(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";function i(t){return null==t||0===t.length}function r(t){return null!=t}function o(t){var e=Object(P._24)(t)?Object(I.fromPromise)(t):t;if(!Object(P._23)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function a(t){var e=t.reduce(function(t,e){return null!=e?Object(A.a)({},t,e):t},{});return 0===Object.keys(e).length?null:e}function s(t){return t.validate?function(e){return t.validate(e)}:t}function l(t){return t.validate?function(e){return t.validate(e)}:t}function c(){throw new Error("unimplemented")}function u(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function p(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t,e){return e.path.concat([t])}function h(t,e){t||y(e,"Cannot find control with"),e.valueAccessor||y(e,"No value accessor for form control with"),t.validator=B.compose([t.validator,e.validator]),t.asyncValidator=B.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&f(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&f(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function f(t,e){e.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function m(t,e){null==t&&y(e,"Cannot find control with"),t.validator=B.compose([t.validator,e.validator]),t.asyncValidator=B.composeAsync([t.asyncValidator,e.asyncValidator])}function g(t){return y(t,"There is no FormControl instance attached to form control element with")}function y(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function _(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===q?n=e:!function(t){return at.some(function(e){return t.constructor===e})}(e)?(r&&y(t,"More than one custom value accessor matches form control with"),r=e):(i&&y(t,"More than one built-in value accessor matches form control with"),i=e)}),r||(i||(n||(y(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)?_(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 q}),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 Yt}),n.d(e,"n",function(){return Jt}),n.d(e,"o",function(){return Zt}),n.d(e,"x",function(){return qt}),n.d(e,"g",function(){return ee}),n.d(e,"e",function(){return yt}),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(302),I=(n.n(T),n(392)),D=(n.n(I),n(303)),j=(n.n(D),n(68)),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 q}),multi:!0},W=new P.y("CompositionEventMode"),q=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}(),Y={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:[Y]}]}],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),yt=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),_t={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({},_(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:[_t],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 _(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 _(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=_(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 _(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 _(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 qt}),multi:!0},Wt={provide:N,useExisting:Object(P._6)(function(){return Yt}),multi:!0},qt=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}(),Yt=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}(qt),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 yt(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 yt)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,q,G,Q,H,et,rt,$,ut,pt,qt,Zt,Jt,te,Yt,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";var i=n(0),r=n(70),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(12);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(12),o=n(112),a=n(10),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}(),q=800,Y=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(y.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!==_.f&&t.keyCode!==_.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.c,$],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(68),l=n(152),c=n(2),u=n(112),p=n(26),d=n(5),h=n(81),f=n(12),m=n(132),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)}}(),y="opacity",_="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(_,i,"0%",!0).fromTo(y,.8,1,!0):p.beforeClearStyles([y]).fromTo(_,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(y,.01,1,!0),v.fromTo(y,.01,1,!0),s)g.fromTo(_,i,"0%",!0),r.enableBack()&&x.beforeAddClass(b).fromTo(y,.01,1,!0);else if(g.fromTo(_,n,"0%",!0),w.beforeClearStyles([y]).fromTo(_,n,"0%",!0),r.enableBack()){x.beforeAddClass(b).fromTo(y,.01,1,!0);var C=new h.a(e,d.querySelector(".back-button-text"));C.fromTo(_,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([y]).fromTo(_,"0%",e.isRTL?"-100%":"100%"):S.fromTo(_,"0%",i).fromTo(y,1,.8).afterClearStyles(["transform",y]),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(y,.99,0),A.fromTo(y,.99,0),P.fromTo(y,.99,0),s){A.fromTo(_,"0%",e.isRTL?"-100%":"100%"),T.beforeClearStyles([y]).fromTo(_,"0%",e.isRTL?"-100%":"100%");var D=new h.a(e,O.querySelector(".back-button-text"));D.fromTo(_,"0%",(e.isRTL?-300:300)+"px"),E.add(D)}else A.fromTo(_,"0%",i).afterClearStyles(["transform"]),I.afterClearStyles([y]),A.afterClearStyles([y]),P.afterClearStyles([y])}}},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(t){return function(t){return t}}var r=n(151),o=n(26),a=n(220),s=n(221),l=n(172),c=n(222),u=n(99),p=n(173),d=n(8),h=n(296),f=n(95),m=n(297),g=n(18),y=n(298),_=n(299),b=n(300),v=n(301),w=n(174),x=n(308),C=n(15),k=n(309),S=n(53),O=n(56),E=n(223),A=n(35),P=n(57),T=n(31),I=n(45),D=n(20),j=n(311),R=n(224),M=n(312),N=n(177),F=n(66),L=n(96),B=n(314),V=n(315),z=n(178),H=n(84),U=n(179),W=n(180),q=n(122),Y=n(91),G=n(225),K=n(316),X=n(226),Z=n(181),$=n(182),J=n(227),Q=n(38),tt=n(81),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(318),st=n(183),lt=n(156),ct=n(155),ut=n(230),pt=n(320),dt=n(231),ht=n(321),ft=n(322),mt=n(232),gt=n(310),yt=n(176),_t=n(154),bt=n(175),vt=n(233),wt=n(184),xt=n(234),Ct=n(185),kt=n(157),St=n(323),Ot=n(324),Et=n(123),At=n(134),Pt=n(186),Tt=n(118),It=n(61),Dt=n(58),jt=n(325),Rt=n(187),Mt=n(326),Nt=n(235),Ft=n(327),Lt=n(135),Bt=n(119),Vt=n(158),zt=n(117),Ht=n(329),Ut=n(330),Wt=n(237),qt=n(236),Yt=n(331),Gt=n(188),Kt=n(238),Xt=n(332),Zt=n(43),$t=n(27),Jt=n(21),Qt=n(36),te=n(28),ee=n(19),ne=n(333),ie=n(334),re=n(239),oe=n(240),ae=n(241),se=n(335),le=n(2),ce=n(9),ue=n(5),pe=n(116),de=n(76),he=n(14),fe=n(170),me=n(10),ge=(n(112),n(242)),ye=n(153),_e=n(6),be=n(171),ve=n(12),we=n(336),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(45),p=n(112),d=n(12),h=n(17),f=n(14),m=n(5),g=n(306),y=n(6),_=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 _(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 _(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:y.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,"c",function(){return a}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return l});var i=n(0),r=n(3),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.d},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(70),s=n(103),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 l});var i=n(0),r=n(2),o=n(45),a=n(12),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,"a",function(){return p});var i=n(0),r=n(8),o=n(2),a=n(12),s=n(14),l=n(317),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(12),o=n(2),a=n(45),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";n.d(e,"a",function(){return s});var i=n(0),r=n(2),o=n(317),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";function i(t){return r._42(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(18),a=n(2),s=r._16({encapsulation:2,styles:[],data:{}});r._14("[ion-button]",o.a,function(t){return r._42(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";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 Y});var u=n(0),p=n(54),d=n(85),h=(n.n(d),n(11)),f=n(3),m=n(1),g=n(55),y=(n.n(g),n(105)),_=(n.n(y),n(73)),b=n(250),v=(n.n(b),n(101)),w=(n.n(v),n(139)),x=(n.n(w),n(251)),C=(n.n(x),n(100)),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.d]}]}]},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.d]}]}]},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=_.a&&e<=_.q||e>=_.r&&e<=_.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.d]}]}]},t}(),H={provide:z,deps:[[new u.I,new u.V,z],[new u.I,new u.w(V)],f.d],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}(),q={provide:U,deps:[[new u.I,new u.V,U],u.H,h.a],useFactory:l},Y=function(){function t(){}return t.decorators=[{type:u.E,args:[{imports:[f.c,h.b],declarations:[A,E,W],exports:[A,E,W],providers:[k,O,M,H,N,q]}]}],t.ctorParameters=function(){return[]},t}()},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 y}),n.d(e,"g",function(){return _}),n.d(e,"f",function(){return b});var r=n(3),o=n(0),a=n(11),s=n(54),l=n(85),c=(n.n(l),n(106)),u=(n.n(c),n(7)),p=n(159),d=(n.n(p),n(82)),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,y=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}(),_=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:[_]}],_labelChild:[{type:o.m,args:[b]}],_errorChildren:[{type:o.n,args:[f]}],_hintChildren:[{type:o.n,args:[y]}],_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,y,k,_,v,w,b],imports:[r.c,a.b],exports:[f,y,k,_,v,w,b]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return r._42(2,[r._38(402653184,1,{_fixedContent:0}),r._38(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(17),p=n(6),d=n(14),h=r._16({encapsulation:2,styles:[],data:{}});r._14("ion-content",o.a,function(t){return r._42(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 r});var i=n(12),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 l});var i=n(0),r=n(2),o=n(45),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";n.d(e,"a",function(){return c});var i=n(0),r=n(2),o=n(45),a=n(19),s=n(21),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";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 y}),n.d(e,"i",function(){return _}),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}(),y=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}(),_=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._42(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.i,[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.i,[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.i,[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.i,[r.B,r.C,r.p,r.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),r._40(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.i,[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(3),a=n(22),s=n(18),l=n(2),c=n(20),u=n(19),p=n(8),d=n(6),h=n(14),f=r._16({encapsulation:2,styles:[],data:{}});r._14("ion-navbar",u.a,function(t){return r._42(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";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 a._42(2,[a._31(null,0),a._31(null,1)],null,null)}function r(t){return a._42(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._42(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(29),l=n(16),c=n(3),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.d]),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._42(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._42(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._42(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._42(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.i,[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(3),a=n(28),s=n(2),l=n(21),c=n(19),u=r._16({encapsulation:2,styles:[],data:{}});r._14("ion-title",a.a,function(t){return r._42(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(1),r=n(144),o=n(270),a=n(69),s=n(207),l=n(163),c=n(206),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 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";n.d(e,"a",function(){return u});var i=n(0),r=n(18),o=n(2),a=n(45),s=n(19),l=n(21),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(3),o=n(0),a=n(24),s=n(159),l=(n.n(s),n(346)),c=(n.n(l),n(120)),u=(n.n(c),n(55)),p=(n.n(u),n(1)),d=n(54),h=n(4),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"),y=["button","checkbox","file","hidden","image","radio","range","reset","submit"],_=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-"+_++,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(y.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.c,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,"a",function(){return l});var i=n(0),r=n(18),o=n(26),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";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 y(t.name,this.newID(),this,t.priority||0,!!t.disableScroll)},t.prototype.createBlocker=function(t){return void 0===t&&(t={}),new _(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}(),y=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}(),_=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";function i(t,e,n){return t||new f(e,n)}function r(t,e,n){return t||new y(e,n)}n.d(e,"c",function(){return f}),n.d(e,"a",function(){return i}),n.d(e,"f",function(){return y}),n.d(e,"e",function(){return r}),n.d(e,"d",function(){return _}),n.d(e,"b",function(){return b});var o=n(0),a=n(11),s=n(55),l=(n.n(s),n(93)),c=(n.n(l),n(100)),u=(n.n(c),n(159)),p=(n.n(u),n(346)),d=(n.n(p),n(101)),h=(n.n(d),n(87)),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}(),y=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}(),_={provide:y,deps:[[new o.I,new o.V,y],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";function i(t){return h._42(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._42(0,[(t()(),h._18(0,0,null,null,2,null,null,null,null,null,null,null)),h._31(null,2),(t()(),h._40(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function o(t){return h._42(0,[h._31(null,3),(t()(),h._13(0,null,null,0))],null,null)}function a(t){return h._42(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._40(-1,null,[" *"]))],null,null)}function s(t){return h._42(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.o,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),h._13(16777216,null,null,1,null,r)),h._17(3,278528,null,0,m.p,[h._1,h.W,m.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),h._13(16777216,null,null,1,null,o)),h._17(5,278528,null,0,m.p,[h._1,h.W,m.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),h._13(16777216,null,null,1,null,a)),h._17(7,16384,null,0,m.k,[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._42(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._42(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._42(0,[(t()(),h._18(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),h._40(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._42(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.k,[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._42(2,[h._38(402653184,1,{underlineRef:0}),h._38(402653184,2,{_connectionContainerRef:0}),h._38(402653184,3,{_inputContainerRef:0}),h._38(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.k,[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.k,[h._1,h.W],{ngIf:[0,"ngIf"]},null),(t()(),h._13(16777216,null,null,1,null,l)),h._17(14,16384,null,0,m.k,[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.o,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),h._13(16777216,null,null,1,null,c)),h._17(20,278528,null,0,m.p,[h._1,h.W,m.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),h._13(16777216,null,null,1,null,p)),h._17(22,278528,null,0,m.p,[h._1,h.W,m.o],{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 _}),e.b=d;var h=n(0),f=n(24),m=n(3),g=n(11),y=n(7),_=(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.m,m.l,[h.D,[2,m.x]]),h._30(4608,g.a,g.a,[]),h._30(512,m.c,m.c,[]),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._42(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,_)),h._17(1,7389184,null,7,f.b,[h.p,h.i,[2,y.j]],null,null),h._38(335544320,1,{_control:0}),h._38(335544320,2,{_placeholderChild:0}),h._38(335544320,3,{_labelChild:0}),h._38(603979776,4,{_errorChildren:1}),h._38(603979776,5,{_hintChildren:1}),h._38(603979776,6,{_prefixChildren:1}),h._38(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){"use strict";function i(t){return function(){return t.scrollStrategies.reposition()}}n.d(e,"d",function(){return N}),n.d(e,"a",function(){return P}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return M});var r=n(0),o=n(3),a=n(1),s=n(23),l=n(16),c=n(54),u=n(60),p=n(73),d=n(77),h=n(101),f=(n.n(h),n(85)),m=(n.n(f),n(139)),g=(n.n(m),n(252)),y=(n.n(g),n(106)),_=(n.n(y),n(120)),b=(n.n(_),n(4)),v=n(7),w=n(24),x=n(93),C=(n.n(x),n(87)),k=(n.n(C),n(55)),S=(n.n(k),n(253)),O=(n.n(S),n(82)),E={transformPanel:Object(O.k)("transformPanel",[Object(O.h)("showing",Object(O.i)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(O.h)("showing-multiple",Object(O.i)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(O.j)("void => *",[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(y.startWith)(null),Object(_.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(_.takeUntil)(this._destroy)).subscribe(function(){return t.close()}),this._keyManager.change.pipe(Object(_.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(_.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(_.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.c,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 l});var i=n(0),r=n(2),o=n(45),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){!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;u1?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(47),A=n(273),P=n(275),T=n(130),I=n(75),D=n(276),j=n(210),R=n(167),M=n(281),N=n(80),F=n(277),L=n(1),B=n(145),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(146),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),q=n(278),Y=n(69),G=n(34),K=n(166),X=n(208),Z=n(164),$=n(131),J=n(147),Q=n(148),tt=n(165),et=n(272),nt=n(282),it=n(90),rt=n(205),ot=n(78),at=n(89),st=n(214),lt=n(168),ct=n(216),ut=n(79),pt=n(51),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=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(_n.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 q(){return function(t){return t.lift(new Mn)}}function Y(){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 qn(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(_n.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=Yi),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=Yi),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 qt(){return J(Wt,[])}function Yt(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(_e.a)(arguments[3])&&(e=arguments[3]),Object(_e.a)(arguments[2])?e=arguments[2]:Object(Fi.a)(arguments[2])&&(i=arguments[2]),Object(_e.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),ye=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),_e=n(89),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(69),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(111),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(214),Ie=n(78),De=n(98),je=n(168),Re=n(289),Me=n(150),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(166),qe=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Ye(t,this.delay,this.scheduler))},t}(),Ye=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(47),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(147),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(164),un=n(144),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(148),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(79),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 yn(t,this.total))},t}(),yn=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),_n=n(110),bn=n(212),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(90),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(131),Rn=n(275),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(273),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(279),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(75),ai=n(276),si=n(167),li=n(210),ci=n(291),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 yi(t,this.notifier,this.source))},t}(),yi=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),_i=n(209),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),yr=n(217);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 y}),n.d(e,"concatMapTo",function(){return _}),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 q}),n.d(e,"isEmpty",function(){return Y}),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 yt}),n.d(e,"refCount",function(){return _i.a}),n.d(e,"sample",function(){return _t}),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 qt}),n.d(e,"window",function(){return Yt}),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 s._42(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._42(2,[(t()(),s._13(16777216,null,null,1,null,i)),s._17(1,16384,null,0,u.k,[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._42(2,[(t()(),s._18(0,0,null,null,1,"label",[["class","mat-optgroup-label"]],[[8,"id",0]],null,null,null,null)),(t()(),s._40(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._42(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(16),u=n(3),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.d]),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.d]),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.d]),s._30(4608,c.c,c.c,[[2,c.b]]),s._30(4608,p.a,p.a,[]),s._30(4608,u.m,u.l,[s.D,[2,u.x]]),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.c,u.c,[]),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.d]),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._42(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._42(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._42(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";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(34).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(111),r=n(283)},function(t,e,n){"use strict";function i(t){return c._42(0,[(t()(),c._18(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),c._40(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.placeholder||" ")})}function r(t){return c._42(0,[(t()(),c._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),c._40(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.triggerValue)})}function o(t){return c._42(0,[c._31(null,0),(t()(),c._13(0,null,null,0))],null,null)}function a(t){return c._42(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.o,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),c._13(16777216,null,null,1,null,r)),c._17(3,16384,null,0,p.q,[c._1,c.W,p.o],null,null),(t()(),c._13(16777216,null,null,1,null,o)),c._17(5,278528,null,0,p.p,[c._1,c.W,p.o],{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._42(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.i,[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._42(2,[c._38(402653184,1,{trigger:0}),c._38(671088640,2,{panel:0}),c._38(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.o,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),c._13(16777216,null,null,1,null,i)),c._17(8,278528,null,0,p.p,[c._1,c.W,p.o],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),c._13(16777216,null,null,1,null,a)),c._17(10,278528,null,0,p.p,[c._1,c.W,p.o],{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(42),p=n(3),d=n(16),h=n(11),f=n(40),m=n(77),g=n(7),y=n(74),_=n(24),b=n(4),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.m,p.l,[c.D,[2,p.x]]),c._30(6144,d.b,null,[p.d]),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.d]),c._30(5120,m.e,m.k,[[3,m.e],p.d]),c._30(4608,m.h,m.h,[f.f,p.d]),c._30(5120,m.f,m.n,[[3,m.f],p.d]),c._30(4608,m.c,m.c,[m.i,m.e,c.l,m.h,m.f,c.f,c.z,c.H,p.d]),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.c,p.c,[]),c._30(512,d.a,d.a,[]),c._30(512,y.g,y.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,_.d,_.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._42(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._37(6144,null,_.c,null,[u.c]),c._37(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,_.b],[8,null],[8,null],u.a],null,null),c._38(603979776,1,{options:1}),c._38(603979776,2,{optionGroups:1}),c._38(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 s});var i=n(0),r=n(2),o=n(45),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";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";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(390))},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(5),o=n(113),a=n(53),s=n(223),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 \n\n\n
\n {{noEntriesFoundLabel}}\n
\n\x3c!--\nCopyright (c) 2018 Bithost GmbH All Rights Reserved.\n\nUse of this source code is governed by an MIT-style license that can be\nfound in the LICENSE file at https://angular.io/license\n--\x3e\n',providers:[{provide:i.q,useExisting:Object(s._6)(function(){return t}),multi:!0}],changeDetection:s.h.OnPush,styles:[".mat-select-search-hidden{visibility:hidden}.mat-select-search-inner{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple{width:100%}/deep/ .mat-select-search-panel{-webkit-transform:none!important;transform:none!important;overflow-x:hidden}.mat-select-search-input{padding:16px 36px 16px 16px;box-sizing:border-box}.mat-select-search-no-entries-found{padding:16px}.mat-select-search-clear{position:absolute;right:4px;top:5px}.mat-select-search-spinner{position:absolute;right:16px;top:calc(50% - 8px)}:host.mat-select-search-inside-mat-option .mat-select-search-input{padding-top:0;padding-bottom:0;height:3em;line-height:3em}:host.mat-select-search-inside-mat-option .mat-select-search-clear{top:3px}/deep/ .cdk-overlay-pane-select-search.cdk-overlay-pane-select-search-with-offset{margin-top:-50px}/deep/ .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0}/deep/ .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0}/deep/ .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none}/deep/ .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}"]}]}],t.ctorParameters=function(){return[{type:l.w,decorators:[{type:s.w,args:[l.w]}]},{type:s.i},{type:l.q,decorators:[{type:s.I},{type:s.w,args:[l.q]}]}]},t.propDecorators={placeholderLabel:[{type:s.A}],noEntriesFoundLabel:[{type:s.A}],clearSearchInput:[{type:s.A}],searching:[{type:s.A}],disableInitialFocus:[{type:s.A}],searchSelectInput:[{type:s.Z,args:["searchSelectInput",{read:s.p}]}],innerSelectSearch:[{type:s.Z,args:["innerSelectSearch",{read:s.p}]}],clearIcon:[{type:s.m,args:[u]}],isInsideMatOption:[{type:s.u,args:["class.mat-select-search-inside-mat-option"]}]},t}(),d=function(){function t(){}return t.decorators=[{type:s.E,args:[{imports:[c.c,l.b,l.l,l.m,l.t],declarations:[p,u],exports:[p,u]}]}],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(375))},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(88)},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";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){return r._42(2,[r._38(402653184,1,{_ripple:0}),r._38(402653184,2,{_inputElement:0}),(t()(),r._18(2,0,[["label",1]],null,10,"label",[["class","mat-radio-label"]],[[1,"for",0]],null,null,null,null)),(t()(),r._18(3,0,null,null,4,"div",[["class","mat-radio-container"]],null,null,null,null,null)),(t()(),r._18(4,0,null,null,0,"div",[["class","mat-radio-outer-circle"]],null,null,null,null,null)),(t()(),r._18(5,0,null,null,0,"div",[["class","mat-radio-inner-circle"]],null,null,null,null,null)),(t()(),r._18(6,0,null,null,1,"div",[["class","mat-radio-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),r._17(7,212992,[[1,4]],0,p.x,[r.p,r.H,l.a,[2,p.m]],{centered:[0,"centered"],radius:[1,"radius"],speedFactor:[2,"speedFactor"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),(t()(),r._18(8,0,[[2,0],["input",1]],null,0,"input",[["class","mat-radio-input cdk-visually-hidden"],["type","radio"]],[[8,"id",0],[8,"checked",0],[8,"disabled",0],[1,"name",0],[8,"required",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"change"],[null,"click"]],function(t,e,n){var i=!0,r=t.component;if("change"===e){i=!1!==r._onInputChange(n)&&i}if("click"===e){i=!1!==r._onInputClick(n)&&i}return i},null,null)),(t()(),r._18(9,0,null,null,3,"div",[["class","mat-radio-label-content"]],[[2,"mat-radio-label-before",null]],null,null,null,null)),(t()(),r._18(10,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),r._40(-1,null,[" "])),r._31(null,0)],function(t,e){var n=e.component;t(e,7,0,n._rippleConfig.centered,n._rippleConfig.radius,n._rippleConfig.speedFactor,n._isRippleDisabled(),r._32(e,2))},function(t,e){var n=e.component;t(e,2,0,n.inputId);t(e,6,0,r._32(e,7).unbounded);t(e,8,0,n.inputId,n.checked,n.disabled,n.name,n.required,n.ariaLabel,n.ariaLabelledby);t(e,9,0,"before"==n.labelPosition)})}n.d(e,"a",function(){return d}),e.b=i;var r=n(0),o=n(83),a=n(3),s=n(16),l=n(11),c=n(23),u=n(60),p=n(7),d=(r._15(o.c,[],function(t){return r._29([r._30(512,r.l,r._11,[[8,[]],[3,r.l],r.F]),r._30(4608,a.m,a.l,[r.D,[2,a.x]]),r._30(6144,s.b,null,[a.d]),r._30(4608,s.c,s.c,[[2,s.b]]),r._30(4608,l.a,l.a,[]),r._30(4608,c.l,c.l,[l.a]),r._30(4608,c.k,c.k,[c.l,r.H,a.d]),r._30(136192,c.e,c.c,[[3,c.e],a.d]),r._30(5120,c.p,c.o,[[3,c.p],[2,c.m],a.d]),r._30(5120,c.j,c.h,[[3,c.j],r.H,l.a]),r._30(5120,u.d,u.e,[[3,u.d]]),r._30(512,a.c,a.c,[]),r._30(512,s.a,s.a,[]),r._30(256,p.f,!0,[]),r._30(512,p.n,p.n,[[2,p.f]]),r._30(512,l.b,l.b,[]),r._30(512,p.y,p.y,[]),r._30(512,c.a,c.a,[]),r._30(512,o.c,o.c,[])])}),r._16({encapsulation:2,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}"],data:{}}));r._14("mat-radio-button",o.a,function(t){return r._42(0,[(t()(),r._18(0,0,null,null,1,"mat-radio-button",[["class","mat-radio-button"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(t,e,n){var i=!0;return"focus"===e&&(i=!1!==r._32(t,1)._inputElement.nativeElement.focus()&&i),i},i,d)),r._17(1,4440064,null,0,o.a,[[2,o.b],r.p,r.i,c.j,u.d],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,r._32(e,1).checked,r._32(e,1).disabled,r._32(e,1).id)})},{color:"color",disableRipple:"disableRipple",id:"id",name:"name",ariaLabel:"aria-label",ariaLabelledby:"aria-labelledby",checked:"checked",value:"value",align:"align",labelPosition:"labelPosition",disabled:"disabled",required:"required"},{change:"change"},["*"])},function(t,e,n){"use strict";var i=n(47),r=n(288),o=n(287),a=n(130),s=n(149),l=n(110),c=n(69),u=n(284),p=n(285),d=n(286),h=n(283);e.a=function(t,e){if(!e)return t instanceof i.a?t:new i.a(Object(h.a)(t));if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return new i.a(e?function(n){var i=new c.a;return i.add(e.schedule(function(){var r=t[a.a]();i.add(r.subscribe({next:function(t){i.add(e.schedule(function(){return n.next(t)}))},error:function(t){i.add(e.schedule(function(){return n.error(t)}))},complete:function(){i.add(e.schedule(function(){return n.complete()}))}}))})),i}:Object(d.a)(t))}(t,e);if(Object(r.a)(t))return function(t,e){return new i.a(e?function(n){var i=new c.a;return i.add(e.schedule(function(){return t.then(function(t){i.add(e.schedule(function(){n.next(t),i.add(e.schedule(function(){return n.complete()}))}))},function(t){i.add(e.schedule(function(){return n.error(t)}))})})),i}:Object(u.a)(t))}(t,e);if(Object(o.a)(t))return Object(l.a)(t,e);if(function(t){return t&&"function"==typeof t[s.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(e?function(n){var i,r=new c.a;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(function(){i=t[s.a](),r.add(e.schedule(function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}}))})),r}:Object(p.a)(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=n(222),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";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(399))},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(436))},function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(104),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,"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";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;r 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(_.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 y.n:case y.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.c,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";function i(t){return s._42(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._42(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._42(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._42(2,[s._38(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.k,[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.k,[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(122),c=n(2),u=n(20),p=n(180),d=s._16({encapsulation:2,styles:[],data:{}}),h=(s._14("ion-reorder",p.a,function(t){return s._42(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(3)),f=n(66),m=n(63),g=n(84);n.d(e,"a",function(){return y}),e.b=a;var y=s._16({encapsulation:2,styles:[],data:{}});s._14("ion-list-header,ion-item,[ion-item],ion-item-divider",f.a,function(t){return s._42(0,[(t()(),s._18(0,0,null,null,4,"ion-list-header",[["class","item"]],null,null,null,a,y)),s._17(1,1097728,null,3,f.a,[m.a,c.a,s.p,s.O,[2,g.a]],null,null),s._38(335544320,1,{contentLabel:0}),s._38(603979776,2,{_buttons:1}),s._38(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";function i(t){return p._42(2,[(t()(),p._18(0,0,null,null,1,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),(t()(),p._18(1,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._elementSize,n._elementSize,n._viewBox);t(e,1,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function r(t){return p._42(2,[(t()(),p._18(0,0,null,null,1,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),(t()(),p._18(1,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._elementSize,n._elementSize,n._viewBox);t(e,1,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function o(t){return p._42(0,[(t()(),p._18(0,0,null,null,1,"mat-spinner",[["class","mat-select-search-spinner mat-spinner mat-progress-spinner"],["diameter","16"],["mode","indeterminate"],["role","progressbar"]],[[4,"width","px"],[4,"height","px"]],null,null,r,O)),p._17(1,573440,null,0,k.c,[p.p,m.a,[2,h.d]],{diameter:[0,"diameter"]},null)],function(t,e){t(e,1,0,"16")},function(t,e){t(e,0,0,p._32(e,1)._elementSize,p._32(e,1)._elementSize)})}function a(t){return p._42(0,[p._31(null,0),(t()(),p._13(0,null,null,0))],null,null)}function s(t){return p._42(0,[(t()(),p._40(-1,null,["\n "])),(t()(),p._18(1,0,null,null,2,"mat-icon",[["class","mat-icon"],["role","img"]],null,null,null,E.b,E.a)),p._17(2,638976,null,0,y.b,[p.p,y.d,[8,null]],null,null),(t()(),p._40(-1,0,["close"])),(t()(),p._40(-1,null,["\n "]))],function(t,e){t(e,2,0)},null)}function l(t){return p._42(0,[(t()(),p._18(0,0,null,null,9,"button",[["aria-label","Clear"],["class","mat-select-search-clear mat-button mat-icon-button"],["mat-button",""],["mat-icon-button",""]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component._reset(!0)&&i}return i},A.b,A.a)),p._17(1,180224,null,0,w.b,[p.p,m.a,g.j],null,null),p._17(2,16384,null,0,w.c,[],null,null),p._17(3,16384,null,0,w.e,[],null,null),(t()(),p._40(-1,0,["\n "])),(t()(),p._13(16777216,null,0,1,null,a)),p._17(6,16384,null,0,h.k,[p._1,p.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),p._40(-1,0,["\n "])),(t()(),p._13(0,[["defaultIcon",2]],0,0,null,s)),(t()(),p._40(-1,0,["\n "]))],function(t,e){t(e,6,0,e.component.clearIcon,p._32(e,8))},function(t,e){t(e,0,0,p._32(e,1).disabled||null)})}function c(t){return p._42(0,[(t()(),p._18(0,0,null,null,1,"div",[["class","mat-select-search-no-entries-found"]],null,null,null,null,null)),(t()(),p._40(1,null,["\n ","\n"]))],null,function(t,e){t(e,1,0,e.component.noEntriesFoundLabel)})}function u(t){return p._42(2,[p._38(402653184,1,{searchSelectInput:0}),p._38(402653184,2,{innerSelectSearch:0}),(t()(),p._40(-1,null,["\n"])),(t()(),p._18(3,0,null,null,2,"input",[["class","mat-select-search-input mat-select-search-hidden mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[8,"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(t,e,n){var i=!0;if("blur"===e){i=!1!==p._32(t,5)._focusChanged(!1)&&i}if("focus"===e){i=!1!==p._32(t,5)._focusChanged(!0)&&i}if("input"===e){i=!1!==p._32(t,5)._onInput()&&i}return i},null,null)),p._37(6144,null,x.c,null,[C.b]),p._17(5,933888,null,0,C.b,[p.p,m.a,[8,null],[2,P.u],[2,P.k],v.d,[8,null]],null,null),(t()(),p._40(-1,null,["\n\n"])),(t()(),p._40(-1,null,["\n"])),(t()(),p._18(8,0,[[2,0],["innerSelectSearch",1]],null,13,"div",[["class","mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header"]],null,null,null,null,null)),p._17(9,278528,null,0,h.i,[p.B,p.C,p.p,p.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),p._35(10,{"mat-select-search-inner-multiple":0}),(t()(),p._40(-1,null,["\n "])),(t()(),p._18(12,0,[[1,0],["searchSelectInput",1]],null,2,"input",[["autocomplete","off"],["class","mat-select-search-input mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keydown"],[null,"input"],[null,"blur"],[null,"focus"]],function(t,e,n){var i=!0,r=t.component;if("blur"===e){i=!1!==p._32(t,14)._focusChanged(!1)&&i}if("focus"===e){i=!1!==p._32(t,14)._focusChanged(!0)&&i}if("input"===e){i=!1!==p._32(t,14)._onInput()&&i}if("keydown"===e){i=!1!==r._handleKeydown(n)&&i}if("input"===e){i=!1!==r.onInputChange(n.target.value)&&i}if("blur"===e){i=!1!==r.onBlur(n.target.value)&&i}return i},null,null)),p._37(6144,null,x.c,null,[C.b]),p._17(14,933888,null,0,C.b,[p.p,m.a,[8,null],[2,P.u],[2,P.k],v.d,[8,null]],{placeholder:[0,"placeholder"]},null),(t()(),p._40(-1,null,["\n "])),(t()(),p._13(16777216,null,null,1,null,o)),p._17(17,16384,null,0,h.k,[p._1,p.W],{ngIf:[0,"ngIf"]},null),(t()(),p._40(-1,null,["\n\n "])),(t()(),p._13(16777216,null,null,1,null,l)),p._17(20,16384,null,0,h.k,[p._1,p.W],{ngIf:[0,"ngIf"]},null),(t()(),p._40(-1,null,["\n"])),(t()(),p._40(-1,null,["\n\n"])),(t()(),p._13(16777216,null,null,1,null,c)),p._17(24,16384,null,0,h.k,[p._1,p.W],{ngIf:[0,"ngIf"]},null),(t()(),p._40(-1,null,["\n"])),(t()(),p._40(-1,null,["\n"]))],function(t,e){var n=e.component;t(e,5,0);t(e,9,0,"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header",t(e,10,0,n.matSelect.multiple));t(e,14,0,n.placeholderLabel);t(e,17,0,n.searching);t(e,20,0,n.value&&!n.searching);t(e,24,0,n._noEntriesFound())},function(t,e){t(e,3,0,p._32(e,5)._isServer,p._32(e,5).id,p._32(e,5).placeholder,p._32(e,5).disabled,p._32(e,5).required,p._32(e,5).readonly,p._32(e,5)._ariaDescribedby||null,p._32(e,5).errorState,p._32(e,5).required.toString());t(e,12,0,p._32(e,14)._isServer,p._32(e,14).id,p._32(e,14).placeholder,p._32(e,14).disabled,p._32(e,14).required,p._32(e,14).readonly,p._32(e,14)._ariaDescribedby||null,p._32(e,14).errorState,p._32(e,14).required.toString())})}var p=n(0),d=n(92),h=n(3),f=n(16),m=n(11),g=n(23),y=n(127),_=n(71),b=n(68),v=n(7),w=n(86),x=n(24),C=n(37),k=n(194),S=(p._15(k.b,[],function(t){return p._29([p._30(512,p.l,p._11,[[8,[]],[3,p.l],p.F]),p._30(6144,f.b,null,[h.d]),p._30(4608,f.c,f.c,[[2,f.b]]),p._30(4608,m.a,m.a,[]),p._30(512,f.a,f.a,[]),p._30(256,v.f,!0,[]),p._30(512,v.n,v.n,[[2,v.f]]),p._30(512,m.b,m.b,[]),p._30(512,k.b,k.b,[])])}),p._16({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.51%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.1%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.51%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.01%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.51%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.01%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.51%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}})),O=(p._14("mat-progress-spinner",k.a,function(t){return p._42(0,[(t()(),p._18(0,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["role","progressbar"]],[[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,i,S)),p._17(1,573440,null,0,k.a,[p.p,m.a,[2,h.d]],null,null)],null,function(t,e){t(e,0,0,p._32(e,1)._elementSize,p._32(e,1)._elementSize,"determinate"===p._32(e,1).mode?0:null,"determinate"===p._32(e,1).mode?100:null,p._32(e,1).value,p._32(e,1).mode)})},{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},{},[]),p._16({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.51%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.1%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.51%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.01%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.51%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.01%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.51%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}})),E=(p._14("mat-spinner",k.c,function(t){return p._42(0,[(t()(),p._18(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[4,"width","px"],[4,"height","px"]],null,null,r,O)),p._17(1,573440,null,0,k.c,[p.p,m.a,[2,h.d]],null,null)],null,function(t,e){t(e,0,0,p._32(e,1)._elementSize,p._32(e,1)._elementSize)})},{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},{},[]),n(371)),A=n(129),P=n(4),T=n(42);n.d(e,"a",function(){return I}),e.b=u;p._15(d.b,[],function(t){return p._29([p._30(512,p.l,p._11,[[8,[]],[3,p.l],p.F]),p._30(4608,h.m,h.l,[p.D,[2,h.x]]),p._30(6144,f.b,null,[h.d]),p._30(4608,f.c,f.c,[[2,f.b]]),p._30(4608,m.a,m.a,[]),p._30(4608,g.l,g.l,[m.a]),p._30(4608,g.k,g.k,[g.l,p.H,h.d]),p._30(136192,g.e,g.c,[[3,g.e],h.d]),p._30(5120,g.p,g.o,[[3,g.p],[2,g.m],h.d]),p._30(5120,g.j,g.h,[[3,g.j],p.H,m.a]),p._30(5120,y.d,y.a,[[3,y.d],[2,_.c],b.c,[2,h.d]]),p._30(4608,v.d,v.d,[]),p._30(512,h.c,h.c,[]),p._30(512,f.a,f.a,[]),p._30(256,v.f,!0,[]),p._30(512,v.n,v.n,[[2,v.f]]),p._30(512,m.b,m.b,[]),p._30(512,v.y,v.y,[]),p._30(512,g.a,g.a,[]),p._30(512,w.d,w.d,[]),p._30(512,y.c,y.c,[]),p._30(512,x.d,x.d,[]),p._30(512,C.c,C.c,[]),p._30(512,k.b,k.b,[]),p._30(512,d.b,d.b,[])])});var I=p._16({encapsulation:0,styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%} .mat-select-search-panel{-webkit-transform:none!important;transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 36px 16px 16px;box-sizing:border-box}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .cdk-overlay-pane-select-search.cdk-overlay-pane-select-search-with-offset{margin-top:-50px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}"],data:{}});p._14("ngx-mat-select-search",d.a,function(t){return p._42(0,[(t()(),p._18(0,0,null,null,3,"ngx-mat-select-search",[],[[2,"mat-select-search-inside-mat-option",null]],null,null,u,I)),p._37(5120,null,P.q,function(t){return[t]},[d.a]),p._17(2,4440064,null,1,d.a,[T.c,p.i,[2,v.t]],null,null),p._38(335544320,1,{clearIcon:0})],function(t,e){t(e,2,0)},function(t,e){t(e,0,0,p._32(e,2).isInsideMatOption)})},{placeholderLabel:"placeholderLabel",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus"},{},["[ngxMatSelectSearchClear]"])},function(t,e,n){"use strict";e.a=function(t,e){return new i.a(e?function(n){var i=new r.a,o=0;return i.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||i.add(this.schedule())):n.complete()})),i}:Object(o.a)(t))};var i=n(47),r=n(69),o=n(280)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(1),r=function(t){function e(e,n,i){var r=t.call(this)||this;return r.parent=e,r.outerValue=n,r.outerIndex=i,r.index=0,r}return i.b(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n(34).a)},function(t,e,n){"use strict";function i(t,e,n){return"function"==typeof e?Promise.resolve(new a.a(e,n)):"string"==typeof e?t.getComponentFromName(e).then(function(t){var i=new a.a(t,n);return i.id=e,i}):Promise.resolve(null)}function r(t,e,n){return e?Object(a.b)(e)?Promise.resolve(e):i(t,e,n):Promise.resolve(null)}e.j=i,e.i=function(t,e){var n=[];if(Object(o.e)(e))for(var i=0;i0)},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 o});var i=n(0),r=n(5),o=function(){function t(t){var e=this;t&&t.ready().then(function(){e._p=t.win().TapticEngine})}return t.prototype.available=function(){return!!this._p},t.prototype.selection=function(){this._p&&this._p.selection()},t.prototype.gestureSelectionStart=function(){this._p&&this._p.gestureSelectionStart()},t.prototype.gestureSelectionChanged=function(){this._p&&this._p.gestureSelectionChanged()},t.prototype.gestureSelectionEnd=function(){this._p&&this._p.gestureSelectionEnd()},t.prototype.notification=function(t){this._p&&this._p.notification(t)},t.prototype.impact=function(t){this._p&&this._p.impact(t)},t.decorators=[{type:i.x}],t.ctorParameters=function(){return[{type:r.a}]},t}()},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(45),o=n(12),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(4),o=n(2),a=n(115),s=n(12),l=n(305),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";function i(t){return Math.floor(t)}function r(t,e){if(t)if(t.length)for(var n=0;n-1}function y(t){return-t._snapGrid[0]}function _(t){return-t._snapGrid[t._snapGrid.length-1]}function b(t,e,n){var i,r,o,a=t._rtl?-1:1;i=e.getAttribute("data-swiper-parallax")||"0",r=e.getAttribute("data-swiper-parallax-x"),o=e.getAttribute("data-swiper-parallax-y"),r||o?(r=r||"0",o=o||"0"):m(t)?(r=i,o="0"):(o=i,r="0"),u(e,"translate3d("+(r=r.indexOf("%")>=0?parseInt(r,10)*n*a+"%":r*n*a+"px")+", "+(o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":o*n+"px")+",0px)")}function v(t){c(t.container,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(e){b(t,e,t.progress)});for(var e=0;e=1),t._zone.run(function(){t._isBeginning&&!i&&t.ionSlideReachStart.emit(),t._isEnd&&!r&&t.ionSlideReachEnd.emit(),t.watchSlidesProgress&&function(t,e){void 0===e&&(e=t._translate||0);if(0===t._slides.length)return;void 0===t._slides[0].swiperSlideOffset&&f(t);var n=-e;t._rtl&&(n=e);a(t._slides,vt.slideVisible);for(var i=0;i=0&&s0&&l<=t._renderedSize||s<=0&&l>=t._renderedSize;c&&t._slides[i].classList.add(vt.slideVisible)}r.progress=t._rtl?-o:o}}(t,e),t.ionSlideProgress.emit(t.progress)})}function x(t,e){e?t.setAttribute("aria-disabled","true"):t.hasAttribute("aria-disabled")&&t.removeAttribute("aria-disabled")}function C(t,e){e?t.setAttribute("aria-hidden","true"):t.hasAttribute("aria-hidden")&&t.removeAttribute("aria-hidden")}function k(t){if(t.paginationType&&t._paginationContainer){var e="";if("bullets"===t.paginationType)for(var n=t.loop?Math.ceil((t._slides.length-2*t.loopedSlides)/t.slidesPerGroup):t._snapGrid.length,i=0;i';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=_(t)-y(t);(0===l?0:(n-y(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;ay&&(l=y),c_&&(c=_)}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),q(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?(Y(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 q(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-(_=Math.floor(n/p))*p,(_>h||_===h&&b===p-1)&&++b>=p&&(b=0,_++),r(g,{"-webkit-box-ordinal-group":y=_+b*c/p,"-moz-box-ordinal-group":y,"-ms-flex-order":y,"-webkit-order":y,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",_),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 Y(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>_(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&&(Y(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),q(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,_(t)),y(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>=y(t))return}else if(t._touches.currentYt._touches.startY&&t._translate>=y(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&&Y(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>y(t)?(a=!1,t.resistance&&(ut=y(t)-1+Math.pow(-y(t)+pt+o,t.resistanceRatio))):o<0&&ut<_(t)&&(a=!1,t.resistance&&(ut=_(t)+1-Math.pow(_(t)-pt-o,t.resistanceRatio))),a&&(n.preventedByNestedSwiper=!0),!t._allowSwipeToNext&&"next"===t.swipeDirection&&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?(Y(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?(Y(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<-y(t))return void G(t,e,t._activeIndex);if(o>-_(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(p>y(t))t.freeModeMomentumBounce?(p-y(t)>f&&(p=y(t)+f),d=y(t),h=!0,ft=!0):p=y(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,yt=n(0),_t=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=(_(i)-y(i))/(_(t)-y(t)),s=(n-y(t))*a+y(i)),t.controlInverse&&(s=_(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 y=Math.abs(i)-90*Math.floor(Math.abs(i)/90),_=1.5-(Math.sin(2*y*Math.PI/360)/2+Math.cos(2*y*Math.PI/360)/2),b=t.cube.shadowScale/_;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:yt.k,args:[{selector:"ion-slides",template:'
',changeDetection:yt.h.OnPush,encapsulation:yt._2.None}]}],e.ctorParameters=function(){return[{type:_t.a},{type:At.a},{type:yt.H},{type:Pt.a,decorators:[{type:yt.I}]},{type:yt.p},{type:yt.O}]},e.propDecorators={autoplay:[{type:yt.A}],control:[{type:yt.A}],effect:[{type:yt.A}],direction:[{type:yt.A}],initialSlide:[{type:yt.A}],loop:[{type:yt.A}],pager:[{type:yt.A}],dir:[{type:yt.A}],paginationType:[{type:yt.A}],parallax:[{type:yt.A}],speed:[{type:yt.A}],zoom:[{type:yt.A}],spaceBetween:[{type:yt.A}],slidesPerView:[{type:yt.A}],centeredSlides:[{type:yt.A}],ionSlideWillChange:[{type:yt.J}],ionSlideDidChange:[{type:yt.J}],ionSlideDrag:[{type:yt.J}],ionSlideReachStart:[{type:yt.J}],ionSlideReachEnd:[{type:yt.J}],ionSlideAutoplay:[{type:yt.J}],ionSlideAutoplayStart:[{type:yt.J}],ionSlideAutoplayStop:[{type:yt.J}],ionSlideNextStart:[{type:yt.J}],ionSlidePrevStart:[{type:yt.J}],ionSlideNextEnd:[{type:yt.J}],ionSlidePrevEnd:[{type:yt.J}],ionSlideTap:[{type:yt.J}],ionSlideDoubleTap:[{type:yt.J}]},e}(kt.a),Dt=-1},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(452))},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(81),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(45),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 u});var i=n(0),r=n(15),o=n(39),a=n(12),s=n(5),l=n(70),c=n(113),u=function(){function t(t,e,n,r){this._plt=t,this._content=e,this._zone=n,this._appliedStyles=!1,this._lastCheck=0,this._isEnabled=!0,this._top="",this.state=p,this.startY=null,this.currentY=null,this.deltaY=null,this.progress=0,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration=280,this.snapbackDuration=280,this.ionRefresh=new i.s,this.ionPull=new i.s,this.ionStart=new i.s,this._events=new c.a(t),e._hasRefresher=!0,this._gesture=r.createGesture({name:o.j,priority:o.g})}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._isEnabled},set:function(t){this._isEnabled=Object(a.o)(t),this._setListeners(this._isEnabled)},enumerable:!0,configurable:!0}),t.prototype._onStart=function(t){if(t.touches&&t.touches.length>1)return!1;if(this.state!==p)return!1;if(this._content.getContentDimensions().scrollTop>0)return!1;if(!this._gesture.canStart())return!1;var e=Object(l.f)(t);if(this._content.contentTop>0){var n=this._content.contentTop+"px";this._top!==n&&(this._top=n)}return this.startY=this.currentY=e.y,this.progress=0,this.state=p,!0},t.prototype._onMove=function(t){var e=this;if(t.touches&&t.touches.length>1)return 1;if(!this._gesture.canStart())return 0;if(null===this.startY||this.state===f||this.state===m||this.state===g)return 2;var n=Date.now();if(this._lastCheck+16>n)return 3;this._lastCheck=n;var i=Object(l.f)(t);if(this.currentY=i.y,this.deltaY=i.y-this.startY,this.deltaY<=0)return this.progress=0,this.state!==p&&this._zone.run(function(){e.state=p}),this._appliedStyles?(this._setCss(0,"",!1,""),5):6;if(this.state===p){if(this._content.getContentDimensions().scrollTop>0)return this.progress=0,this.startY=null,7;this.state=d}if(t.preventDefault(),this._setCss(this.deltaY,"0ms",!0,""),!this.deltaY)return this.progress=0,8;this._zone.run(function(){e._onMoveInZone()})},t.prototype._onMoveInZone=function(){return this.progress=this.deltaY/this.pullMin,this._didStart||(this._didStart=!0,this.ionStart.emit(this)),this.ionPull.emit(this),this.deltaYthis.pullMax?(this._beginRefresh(),3):(this.state=h,4)},t.prototype._onEnd=function(){var t=this;this.state===h?this._zone.run(function(){t._beginRefresh()}):this.state===d&&this._zone.run(function(){t.cancel()}),this.startY=null},t.prototype._beginRefresh=function(){this.state=f,this._setCss(this.pullMin,this.snapbackDuration+"ms",!0,""),this.ionRefresh.emit(this)},t.prototype.complete=function(){this._close(g,"120ms")},t.prototype.cancel=function(){this._close(m,"")},t.prototype._close=function(t,e){function n(t){t&&clearTimeout(i),this.state=p,this.progress=0,this._didStart=this.startY=this.currentY=this.deltaY=null,this._setCss(0,"0ms",!1,"")}var i;i=setTimeout(n.bind(this),600),this._content.onScrollElementTransitionEnd(n.bind(this)),this.state=t,this._setCss(0,"",!0,e),this._pointerEvents&&this._pointerEvents.stop()},t.prototype._setCss=function(t,e,n,i){this._appliedStyles=t>0;var r=this._content,o=this._plt.Css;r.setScrollElementStyle(o.transform,t>0?"translateY("+t+"px) translateZ(0px)":"translateZ(0px)"),r.setScrollElementStyle(o.transitionDuration,e),r.setScrollElementStyle(o.transitionDelay,i),r.setScrollElementStyle("overflow",n?"hidden":"")},t.prototype._setListeners=function(t){this._events.unlistenAll(),this._pointerEvents=null,t&&(this._pointerEvents=this._events.pointerEvents({element:this._content.getScrollElement(),pointerDown:this._onStart.bind(this),pointerMove:this._onMove.bind(this),pointerUp:this._onEnd.bind(this),zone:!1}))},t.prototype.ngOnInit=function(){this._setListeners(this._isEnabled)},t.prototype.ngOnDestroy=function(){this._setListeners(!1),this._events.destroy(),this._gesture.destroy()},t.decorators=[{type:i.o,args:[{selector:"ion-refresher",host:{"[class.refresher-active]":'state !== "inactive"',"[style.top]":"_top"}}]}],t.ctorParameters=function(){return[{type:s.a},{type:r.a,decorators:[{type:i.t}]},{type:i.H},{type:o.l}]},t.propDecorators={pullMin:[{type:i.A}],pullMax:[{type:i.A}],closeDuration:[{type:i.A}],snapbackDuration:[{type:i.A}],enabled:[{type:i.A}],ionRefresh:[{type:i.J}],ionPull:[{type:i.J}],ionStart:[{type:i.J}]},t}(),p="inactive",d="pulling",h="ready",f="refreshing",m="cancelling",g="completing"},function(t,e,n){!function(e,i,r){t.exports=i(n(44),n(248),n(249))}(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.length0&&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"))),_={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:[_],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.c,l.y,l.n,u.c,r.a],exports:[y,b,l.n],declarations:[y,b]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(){throw Error("Attempting to attach dialog content after content is already attached")}function r(t){return function(){return t.scrollStrategies.block()}}n.d(e,"g",function(){return F}),n.d(e,"a",function(){return A}),n.d(e,"b",function(){return P}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return I}),n.d(e,"f",function(){return k}),n.d(e,"e",function(){return N});var o=n(0),a=n(3),s=n(77),l=n(74),c=n(23),u=n(7),p=n(1),d=n(16),h=n(253),f=(n.n(h),n(100)),m=(n.n(f),n(106)),g=(n.n(m),n(55)),y=(n.n(g),n(82)),_=n(73),b=n(101),v=(n.n(b),n(85)),w=(n.n(v),n(105)),x=(n.n(w),function(){return function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.direction="ltr",this.ariaDescribedBy=null,this.ariaLabel=null,this.autoFocus=!0,this.closeOnNavigation=!0}}()),C={slideDialog:Object(y.k)("slideDialog",[Object(y.h)("enter",Object(y.i)({transform:"none",opacity:1})),Object(y.h)("void",Object(y.i)({transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0})),Object(y.h)("exit",Object(y.i)({transform:"translate3d(0, 25%, 0)",opacity:0})),Object(y.j)("* => *",Object(y.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.d]}]}]},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===_.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.g,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.c,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 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(85),d=(n.n(p),n(446)),h=(n.n(d),n(251)),f=(n.n(h),n(448)),m=(n.n(f),n(139)),g=(n.n(m),n(450)),y=(n.n(g),n(71)),_=n(68),b=n(302),v=(n.n(b),n(100)),w=(n.n(v),n(340)),x=(n.n(w),n(3)),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 f});var i,r=n(0),o=n(104),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=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)};!function(t){t[t.DATA_URL=0]="DATA_URL",t[t.FILE_URL=1]="FILE_URL",t[t.NATIVE_URI=2]="NATIVE_URI"}(i||(i={}));var c;!function(t){t[t.JPEG=0]="JPEG",t[t.PNG=1]="PNG"}(c||(c={}));var u;!function(t){t[t.PICTURE=0]="PICTURE",t[t.VIDEO=1]="VIDEO",t[t.ALLMEDIA=2]="ALLMEDIA"}(u||(u={}));var p;!function(t){t[t.PHOTOLIBRARY=0]="PHOTOLIBRARY",t[t.CAMERA=1]="CAMERA",t[t.SAVEDPHOTOALBUM=2]="SAVEDPHOTOALBUM"}(p||(p={}));var d;!function(t){t[t.ARROW_UP=1]="ARROW_UP",t[t.ARROW_DOWN=2]="ARROW_DOWN",t[t.ARROW_LEFT=3]="ARROW_LEFT",t[t.ARROW_RIGHT=4]="ARROW_RIGHT",t[t.ARROW_ANY=5]="ARROW_ANY"}(d||(d={}));var h;!function(t){t[t.BACK=0]="BACK",t[t.FRONT=1]="FRONT"}(h||(h={}));var f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.DestinationType={DATA_URL:0,FILE_URI:1,NATIVE_URI:2},e.EncodingType={JPEG:0,PNG:1},e.MediaType={PICTURE:0,VIDEO:1,ALLMEDIA:2},e.PictureSourceType={PHOTOLIBRARY:0,CAMERA:1,SAVEDPHOTOALBUM:2},e.PopoverArrowDirection={ARROW_UP:1,ARROW_DOWN:2,ARROW_LEFT:4,ARROW_RIGHT:8,ARROW_ANY:15},e.Direction={BACK:0,FRONT:1},e}return a(e,t),e.prototype.getPicture=function(t){},e.prototype.cleanup=function(){},e.decorators=[{type:r.x}],s([Object(o.a)({callbackOrder:"reverse"}),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],e.prototype,"getPicture",null),s([Object(o.a)({platforms:["iOS"]}),l("design:type",Function),l("design:paramtypes",[]),l("design:returntype",Promise)],e.prototype,"cleanup",null),e=s([Object(o.g)({pluginName:"Camera",plugin:"cordova-plugin-camera",pluginRef:"navigator.camera",repo:"https://github.com/apache/cordova-plugin-camera",platforms:["Android","Browser","iOS","Windows"]})],e)}(o.f)},function(t,e,n){"use strict";function i(t){return o._42(2,[(t()(),o._18(0,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),o._31(null,0),(t()(),o._18(2,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),o._17(3,212992,null,0,p.x,[o.p,o.H,c.a,[2,p.m]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),o._18(4,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,3,0,n._isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,2,0,n._isRoundButton||n._isIconButton,o._32(e,3).unbounded)})}function r(t){return o._42(2,[(t()(),o._18(0,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),o._31(null,0),(t()(),o._18(2,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),o._17(3,212992,null,0,p.x,[o.p,o.H,c.a,[2,p.m]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),o._18(4,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,3,0,n._isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,2,0,n._isRoundButton||n._isIconButton,o._32(e,3).unbounded)})}n.d(e,"a",function(){return d}),e.b=i;var o=n(0),a=n(86),s=n(3),l=n(16),c=n(11),u=n(23),p=n(7),d=(o._15(a.d,[],function(t){return o._29([o._30(512,o.l,o._11,[[8,[]],[3,o.l],o.F]),o._30(4608,s.m,s.l,[o.D,[2,s.x]]),o._30(6144,l.b,null,[s.d]),o._30(4608,l.c,l.c,[[2,l.b]]),o._30(4608,c.a,c.a,[]),o._30(4608,u.l,u.l,[c.a]),o._30(4608,u.k,u.k,[u.l,o.H,s.d]),o._30(136192,u.e,u.c,[[3,u.e],s.d]),o._30(5120,u.p,u.o,[[3,u.p],[2,u.m],s.d]),o._30(5120,u.j,u.h,[[3,u.j],o.H,c.a]),o._30(512,s.c,s.c,[]),o._30(512,l.a,l.a,[]),o._30(256,p.f,!0,[]),o._30(512,p.n,p.n,[[2,p.f]]),o._30(512,c.b,c.b,[]),o._30(512,p.y,p.y,[]),o._30(512,u.a,u.a,[]),o._30(512,a.d,a.d,[])])}),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:{}})),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._42(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._42(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";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(81),r=n(121),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 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(229),o=n(12),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(123),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 o});var i=n(0),r=n(119),o=function(){function t(t,e,n){this._slides=n,e.setElementClass(t.nativeElement,"swiper-slide",!0),n.update(10)}return t.prototype.ngOnDestroy=function(){this._slides.update(10)},t.decorators=[{type:i.k,args:[{selector:"ion-slide",template:'
',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(104),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(44))}(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(44))}(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],y=t[e+6],_=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,y,17,p[6]),T,E,_,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,y,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,_,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,_,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,y,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,_,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,y,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(437))},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(54),o=n(55),a=(n.n(o),n(250)),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";n.d(e,"c",function(){return D}),n.d(e,"e",function(){return y}),n.d(e,"a",function(){return _}),n.d(e,"b",function(){return x}),n.d(e,"d",function(){return T}),n.d(e,"f",function(){return I});var i=n(3),r=n(0),o=n(7),a=n(1),s=n(23),l=n(54),c=n(60),u=n(73),p=n(4),d=n(193),h=function(){return function(){}}(),f=Object(o.E)(h),m=function(){return function(){}}(),g=Object(o.E)(m),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-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),_=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:y,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.c],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 c});var i=n(0),r=n(104),o=n(93),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";function i(t){return l._42(2,[],null,null)}function r(t){return l._42(0,[(t()(),l._13(0,null,null,0))],null,null)}function o(t){return l._42(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._42(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._42(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.k,[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 _}),e.d=o,n.d(e,"b",function(){return b}),e.c=s;var l=n(0),c=n(107),u=n(3),p=n(11),d=n(23),h=n(60),f=n(254),m=n(74),g=n(7),y=(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.m,u.l,[l.D,[2,u.x]]),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.d]),l._30(136192,d.e,d.c,[[3,d.e],u.d]),l._30(5120,d.p,d.o,[[3,d.p],[2,d.m],u.d]),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.c,u.c,[]),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:{}})),_=(l._14("ng-component",c.d,function(t){return l._42(0,[(t()(),l._18(0,0,null,null,1,"ng-component",[],null,null,null,i,y)),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._42(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,_)),l._37(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._38(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._42(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._35(2,{collapsedHeight:0,expandedHeight:1}),l._35(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";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(69).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(278),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(51),a=n(50),s=n(111),l=n(90),c=n(98),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(45),s=n(218),l=n(5),c=n(152),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(12),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(12),o=n(2),a=n(9),s=n(116),l="picker-opt-selected",c=n(5),u=n(70),p=n(113);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,y=this.col.selectedIndex=Math.min(Math.max(Math.round(-t/this.optHeight),0),g-1),_=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=y===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]=_),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=y,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 g});var i=n(0),r=n(8),o=n(2),a=n(76),s=n(9),l=n(39),c=n(14),u=n(170),p=n(5),d=n(114),h=n(6),f=n(117),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 l});var i=n(0),r=n(8),o=n(2),a=n(318),s=n(76),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 s});var i=n(0),r=n(4),o=n(225),a=n(12),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 l});var i=n(0),r=n(2),o=n(45),a=n(12),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(439))},function(t,e,n){"use strict";function i(t){return Error('Tooltip position "'+t+'" is invalid.')}function r(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:w})}}n.d(e,"e",function(){return A}),n.d(e,"b",function(){return x}),n.d(e,"c",function(){return r}),n.d(e,"a",function(){return k}),n.d(e,"d",function(){return S}),n.d(e,"f",function(){return O});var o=n(23),a=n(77),s=n(11),l=n(3),c=n(0),u=n(7),p=n(16),d=n(54),h=n(73),f=n(74),m=n(85),g=(n.n(m),n(87)),y=(n.n(g),n(40)),_=n(55),b=(n.n(_),n(82)),v={tooltipState:Object(b.k)("state",[Object(b.h)("initial, void, hidden",Object(b.i)({transform:"scale(0)"})),Object(b.h)("visible",Object(b.i)({transform:"scale(1)"})),Object(b.j)("* => visible",Object(b.e)("150ms cubic-bezier(0.0, 0.0, 0.2, 1)")),Object(b.j)("* => hidden",Object(b.e)("150ms cubic-bezier(0.4, 0.0, 1, 1)"))])},w=20,x=new c.y("mat-tooltip-scroll-strategy"),C={provide:x,deps:[a.c],useFactory:r},k=new c.y("mat-tooltip-default-options"),S=function(){function t(t,e,n,i,r,o,a,s,l,c,u){var p=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=o,this._ariaDescriber=a,this._focusMonitor=s,this._scrollStrategy=l,this._dir=c,this._defaultOptions=u,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions?this._defaultOptions.showDelay:0,this.hideDelay=this._defaultOptions?this._defaultOptions.hideDelay:0,this._message="",this._manualListeners=new Map;var d=e.nativeElement;o.IOS?"INPUT"!==d.nodeName&&"TEXTAREA"!==d.nodeName||(d.style.webkitUserSelect=d.style.userSelect=""):(this._manualListeners.set("mouseenter",function(){return p.show()}),this._manualListeners.set("mouseleave",function(){return p.hide()}),this._manualListeners.forEach(function(t,n){return e.nativeElement.addEventListener(n,t)})),s.monitor(d).subscribe(function(t){t?"program"!==t&&r.run(function(){return p.show()}):r.run(function(){return p.hide(0)})})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._tooltipInstance&&this._disposeTooltip())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(d.b)(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_positionDeprecated",{get:function(){return this._position},set:function(t){this._position=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.message))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){var t=this;this._tooltipInstance&&this._disposeTooltip(),this._platform.IOS||(this._manualListeners.forEach(function(e,n){t._elementRef.nativeElement.removeEventListener(n,e)}),this._manualListeners.clear()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef.nativeElement)},t.prototype.show=function(t){void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(this._tooltipInstance||this._createTooltip(),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(this._position,t))},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===h.g&&(t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions?this._defaultOptions.touchendHideDelay:1500)},t.prototype._createTooltip=function(){var t=this,e=this._createOverlay(),n=new f.d(O,this._viewContainerRef);this._tooltipInstance=e.attach(n).instance,Object(g.merge)(this._tooltipInstance.afterHidden(),e.detachments()).subscribe(function(){t._tooltipInstance&&t._disposeTooltip()})},t.prototype._createOverlay=function(){var t=this,e=this._getOrigin(),n=this._getOverlayPosition(),i=this._overlay.position().connectedTo(this._elementRef,e.main,n.main).withFallbackPosition(e.fallback,n.fallback),r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef);i.withScrollableContainers(r),i.onPositionChange.subscribe(function(e){t._tooltipInstance&&(e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()?t._ngZone.run(function(){return t.hide(0)}):t._tooltipInstance._setTransformOrigin(e.connectionPair))});var o=new a.d({direction:this._dir?this._dir.value:"ltr",positionStrategy:i,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()});return this._overlayRef=this._overlay.create(o),this._overlayRef},t.prototype._disposeTooltip=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._tooltipInstance=null},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value;if("above"==this.position||"below"==this.position)t={originX:"center",originY:"above"==this.position?"top":"bottom"};else if("left"==this.position||"before"==this.position&&e||"after"==this.position&&!e)t={originX:"start",originY:"center"};else{if(!("right"==this.position||"after"==this.position&&e||"before"==this.position&&!e))throw i(this.position);t={originX:"end",originY:"center"}}var n=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:n.x,originY:n.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value;if("above"==this.position)t={overlayX:"center",overlayY:"bottom"};else if("below"==this.position)t={overlayX:"center",overlayY:"top"};else if("left"==this.position||"before"==this.position&&e||"after"==this.position&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("right"==this.position||"after"==this.position&&e||"before"==this.position&&!e))throw i(this.position);t={overlayX:"start",overlayY:"center"}}var n=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:n.x,overlayY:n.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(m.take)(1)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t.decorators=[{type:c.o,args:[{selector:"[matTooltip]",exportAs:"matTooltip",host:{"(longpress)":"show()","(keydown)":"_handleKeydown($event)","(touchend)":"_handleTouchend()"}}]}],t.ctorParameters=function(){return[{type:a.c},{type:c.p},{type:y.c},{type:c._1},{type:c.H},{type:s.a},{type:o.e},{type:o.j},{type:void 0,decorators:[{type:c.w,args:[x]}]},{type:p.c,decorators:[{type:c.I}]},{type:void 0,decorators:[{type:c.I},{type:c.w,args:[k]}]}]},t.propDecorators={position:[{type:c.A,args:["matTooltipPosition"]}],disabled:[{type:c.A,args:["matTooltipDisabled"]}],_positionDeprecated:[{type:c.A,args:["tooltip-position"]}],showDelay:[{type:c.A,args:["matTooltipShowDelay"]}],hideDelay:[{type:c.A,args:["matTooltipHideDelay"]}],message:[{type:c.A,args:["matTooltip"]}],tooltipClass:[{type:c.A,args:["matTooltipClass"]}]},t}(),O=function(){function t(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._transformOrigin="bottom",this._onHide=new _.Subject}return t.prototype.show=function(t,e){var n=this;this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._position=t,this._showTimeoutId=setTimeout(function(){n._visibility="visible",n._markForCheck()},e)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._markForCheck()},t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype._setTransformOrigin=function(t){var e="X"==("above"===this._position||"below"===this._position?"Y":"X")?t.overlayX:t.overlayY;if("top"===e||"bottom"===e)this._transformOrigin=e;else if("start"===e)this._transformOrigin="left";else{if("end"!==e)throw i(this._position);this._transformOrigin="right"}},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=this,n=t.toState;"hidden"!==n||this.isVisible()||this._onHide.next(),"visible"!==n&&"hidden"!==n||Promise.resolve().then(function(){return e._closeOnInteraction=!0})},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t.decorators=[{type:c.k,args:[{selector:"mat-tooltip-component",template:'
{{message}}
',styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:2px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px}@media screen and (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}"],encapsulation:c._2.None,preserveWhitespaces:!1,changeDetection:c.h.OnPush,animations:[v.tooltipState],host:{"[style.zoom]":'_visibility === "visible" ? 1 : null',"(body:click)":"this._handleBodyInteraction()","aria-hidden":"true"}}]}],t.ctorParameters=function(){return[{type:c.i}]},t}(),E={showDelay:0,hideDelay:0,touchendHideDelay:1500},A=function(){function t(){}return t.decorators=[{type:c.E,args:[{imports:[l.c,a.g,u.n,s.b,o.a],exports:[S,O,u.n],declarations:[S,O],entryComponents:[O],providers:[C,o.b,{provide:k,useValue:E}]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";n.d(e,"b",function(){return y}),n.d(e,"a",function(){return m});var i=n(140),r=n(11),o=n(0),a=n(7),s=n(68),l=n(23),c=n(1),u=n(54),p=0,d={provide:n(4).q,useExisting:Object(o._6)(function(){return m}),multi:!0},h=function(){return function(t,e){this.source=t,this.checked=e}}(),f=function(){return function(t){this._elementRef=t}}(),m=function(t){function e(e,n,i,r,a){var s=t.call(this,e)||this;return s._platform=n,s._focusMonitor=i,s._changeDetectorRef=r,s.onChange=function(t){},s.onTouched=function(){},s._uniqueId="mat-slide-toggle-"+ ++p,s._required=!1,s._checked=!1,s.name=null,s.id=s._uniqueId,s.labelPosition="after",s.ariaLabel=null,s.ariaLabelledby=null,s.change=new o.s,s._rippleConfig={centered:!0,radius:23,speedFactor:1.5},s.tabIndex=parseInt(a)||0,s}return Object(c.b)(e,t),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(u.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=Object(u.b)(t),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var t=this;this._slideRenderer=new g(this._elementRef,this._platform),this._focusMonitor.monitor(this._inputElement.nativeElement).subscribe(function(e){return t._onInputFocusChange(e)})},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._inputElement.nativeElement)},e.prototype._onChangeEvent=function(t){t.stopPropagation(),this._slideRenderer.dragging?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())},e.prototype._onInputClick=function(t){t.stopPropagation()},e.prototype.writeValue=function(t){this.checked=!!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()},e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement.nativeElement,"keyboard")},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputFocusChange=function(t){this._focusRipple||"keyboard"!==t?t||(this.onTouched(),this._focusRipple&&(this._focusRipple.fadeOut(),this._focusRipple=null)):this._focusRipple=this._ripple.launch(0,0,Object(c.a)({persistent:!0},this._rippleConfig))},e.prototype._emitChangeEvent=function(){this.onChange(this.checked),this.change.emit(new h(this,this.checked))},e.prototype._onDragStart=function(){this.disabled||this._slideRenderer.startThumbDrag(this.checked)},e.prototype._onDrag=function(t){this._slideRenderer.dragging&&this._slideRenderer.updateThumbPosition(t.deltaX)},e.prototype._onDragEnd=function(){var t=this;if(this._slideRenderer.dragging){var e=this._slideRenderer.dragPercentage>50;e!==this.checked&&(this.checked=e,this._emitChangeEvent()),setTimeout(function(){return t._slideRenderer.stopThumbDrag()})}},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.markForCheck()},e.decorators=[{type:o.k,args:[{selector:"mat-slide-toggle",exportAs:"matSlideToggle",host:{class:"mat-slide-toggle","[id]":"id","[class.mat-checked]":"checked","[class.mat-disabled]":"disabled","[class.mat-slide-toggle-label-before]":'labelPosition == "before"'},template:'',styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging,.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing;transition-duration:0s}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:solid 1px #000}}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}@media screen and (-ms-high-contrast:active){.mat-slide-toggle-bar{background:#fff}}.mat-slide-toggle-input{bottom:0;left:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}.mat-slide-toggle-ripple{position:absolute;top:-13px;left:-13px;height:46px;width:46px;z-index:1;pointer-events:none}"],providers:[d],inputs:["disabled","disableRipple","color","tabIndex"],encapsulation:o._2.None,preserveWhitespaces:!1,changeDetection:o.h.OnPush}]}],e.ctorParameters=function(){return[{type:o.p},{type:r.a},{type:l.j},{type:o.i},{type:void 0,decorators:[{type:o.g,args:["tabindex"]}]}]},e.propDecorators={name:[{type:o.A}],id:[{type:o.A}],labelPosition:[{type:o.A}],ariaLabel:[{type:o.A,args:["aria-label"]}],ariaLabelledby:[{type:o.A,args:["aria-labelledby"]}],required:[{type:o.A}],checked:[{type:o.A}],change:[{type:o.J}],_inputElement:[{type:o.Z,args:["input"]}],_ripple:[{type:o.Z,args:[a.x]}]},e}(Object(a.H)(Object(a.D)(Object(a.E)(Object(a.F)(f)),"accent"))),g=function(){function t(t,e){this.dragging=!1,e.isBrowser&&(this._thumbEl=t.nativeElement.querySelector(".mat-slide-toggle-thumb-container"),this._thumbBarEl=t.nativeElement.querySelector(".mat-slide-toggle-bar"))}return t.prototype.startThumbDrag=function(t){this.dragging||(this._thumbBarWidth=this._thumbBarEl.clientWidth-this._thumbEl.clientWidth,this._thumbEl.classList.add("mat-dragging"),this._previousChecked=t,this.dragging=!0)},t.prototype.stopThumbDrag=function(){return!!this.dragging&&(this.dragging=!1,this._thumbEl.classList.remove("mat-dragging"),Object(a.C)(this._thumbEl,""),this.dragPercentage>50)},t.prototype.updateThumbPosition=function(t){this.dragPercentage=this._getDragPercentage(t);var e=this.dragPercentage/100*this._thumbBarWidth;Object(a.C)(this._thumbEl,"translate3d("+e+"px, 0, 0)")},t.prototype._getDragPercentage=function(t){var e=t/this._thumbBarWidth*100;return this._previousChecked&&(e+=100),Math.max(0,Math.min(e,100))},t}(),y=function(){function t(){}return t.decorators=[{type:o.E,args:[{imports:[a.y,a.n,r.b,i.c,l.a],exports:[m,a.n],declarations:[m],providers:[{provide:s.f,useClass:a.e}]}]}],t.ctorParameters=function(){return[]},t}()},function(t,e,n){"use strict";function i(t){return r._42(0,[r._38(402653184,1,{_searchbarInput:0}),r._38(402653184,2,{_searchbarIcon:0}),r._38(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._40(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(22),a=n(18),s=n(2),l=n(20),c=n(118),u=n(5),p=n(4),d=r._16({encapsulation:2,styles:[],data:{}});r._14("ion-searchbar",c.a,function(t){return r._42(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";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(79),r=n(211),o=n(213),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(75),o=n(69),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(78)},function(t,e,n){"use strict";var i=n(0),r=n(112),o=n(12),a=n(6),s=n(45),l=n(14),c=n(10),u=n(39),p=n(219),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;ay&&!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,_),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(70),a=n(113);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(39),o=n(2),a=n(103),s=n(10),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(70),a=n(39),s=n(12),l=n(103),c=n(10),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(4),o=n(2),a=n(12),s=n(63),l=n(115),c=n(66),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(310),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(12),o=n(2),a=n(39),s=n(103),l=n(10),c=n(6),u=n(154),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 _});var i=n(0),r=n(4),o=n(55),a=(n.n(o),n(313)),s=(n.n(a),n(8)),l=n(2),c=n(15),u=n(70),p=n(9),d=n(63),h=n(115),f=n(12),m=n(66),g=n(5),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)}}(),_=function(t){function e(e,n,r,a,s,l,c,u,p,d){var h=t.call(this,e,s,l,"input","",r,u,p)||this;if(h._plt=n,h._app=a,h._content=c,h.ngControl=p,h._dom=d,h._clearInput=!1,h._readonly=!1,h._type="text",h._isTextarea=!1,h._onDestroy=new o.Subject,h._useAssist=!1,h._relocated=!1,h.autocomplete="",h.autocorrect="",h.placeholder="",h.min=null,h.max=null,h.step=null,h.input=new i.s,h.blur=new i.s,h.focus=new i.s,h.autocomplete=e.get("autocomplete","off"),h.autocorrect=e.get("autocorrect","off"),h._autoFocusAssist=e.get("autoFocusAssist","delay"),h._keyboardHeight=e.getNumber("keyboardHeight"),h._isTextarea=!("ION-TEXTAREA"!==s.nativeElement.tagName),h._isTextarea&&u&&u.setElementClass("item-textarea",!0),!c)return h;e.getBoolean("hideCaretOnScroll",!1)&&h._enableHideCaretOnScroll();var f=n.win();if(f.Ionic&&f.Ionic.keyboardPlugin){e.getBoolean("keyboardResizes",!1)?(h._keyboardHeight=e.getNumber("keyboardSafeArea",60),h._enableScrollMove()):(h._enableScrollPadding(),h._enableScrollMove())}else{h._useAssist=e.getBoolean("scrollAssist",!1);e.getBoolean("scrollPadding",h._useAssist)&&h._enableScrollPadding()}return h}return y(e,t),Object.defineProperty(e.prototype,"clearInput",{get:function(){return this._clearInput},set:function(t){this._clearInput=!this._isTextarea&&Object(f.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._isTextarea?"text":this._type},set:function(t){this._type=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Object(f.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clearOnEdit",{get:function(){return this._clearOnEdit},set:function(t){this._clearOnEdit=Object(f.o)(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){},e.prototype.ngAfterViewInit=function(){!1!==this.clearOnEdit&&"password"===this.type&&(this.clearOnEdit=!0);var t=this._elementRef.nativeElement,e=this._native.nativeElement;if(Object(u.b)(t,e),t.hasAttribute("tabIndex")&&t.removeAttribute("tabIndex"),t.hasAttribute("autofocus"))switch(t.removeAttribute("autofocus"),this._autoFocusAssist){case"immediate":e.focus();break;case"delay":this._plt.timeout(function(){return e.focus()},800)}this._initialize(),this.focus.observers.length>0&&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(12),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(12),o=n(66),a=n(91),s=n(5),l=n(178),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(307),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(39),a=n(12),s=n(103),l=n(10),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(95),a=n(2),s=n(15),l=n(9),c=n(39),u=n(12),p=n(17),d=n(219),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(26),g=n(155),y=n(5),_=n(113),b=n(117);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 _.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:y.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(103),o=n(10),a=n(6),s=n(39),l=n(133),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 u});var i=n(0),r=n(2),o=n(103),a=n(10),s=n(6),l=n(39),c=n(133),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(63),a=n(45),s=n(12),l=n(66),c=n(157),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(12),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(10),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(10),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";n.d(e,"a",function(){return l});var i=n(0),r=n(104),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(44))}(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